Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiConvertVoiceV1VoiceConvertPostRequest
- func (r ApiConvertVoiceV1VoiceConvertPostRequest) ApiKey(apiKey string) ApiConvertVoiceV1VoiceConvertPostRequest
- func (r ApiConvertVoiceV1VoiceConvertPostRequest) Execute() (*VoiceConversionResponse, *http.Response, error)
- func (r ApiConvertVoiceV1VoiceConvertPostRequest) VoiceConversionRequest(voiceConversionRequest VoiceConversionRequest) ApiConvertVoiceV1VoiceConvertPostRequest
- func (r ApiConvertVoiceV1VoiceConvertPostRequest) XApiKey(xApiKey string) ApiConvertVoiceV1VoiceConvertPostRequest
- type ApiCreateEmbeddingV1EmbedSpeakerPostRequest
- func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) ApiKey(apiKey string) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
- func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) EmbedSpeakerRequest(embedSpeakerRequest EmbedSpeakerRequest) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
- func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) Execute() (*EmbedSpeakerResponse, *http.Response, error)
- func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) XApiKey(xApiKey string) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
- type ApiCreateSpeechV1AudioSpeechPostRequest
- func (r ApiCreateSpeechV1AudioSpeechPostRequest) ApiKey(apiKey string) ApiCreateSpeechV1AudioSpeechPostRequest
- func (r ApiCreateSpeechV1AudioSpeechPostRequest) Execute() (*TextToSpeechResponse, *http.Response, error)
- func (r ApiCreateSpeechV1AudioSpeechPostRequest) TextToSpeechRequest(textToSpeechRequest TextToSpeechRequest) ApiCreateSpeechV1AudioSpeechPostRequest
- func (r ApiCreateSpeechV1AudioSpeechPostRequest) XApiKey(xApiKey string) ApiCreateSpeechV1AudioSpeechPostRequest
- type ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
- func (r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) ApiKey(apiKey string) ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
- func (r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) Execute() (*SpeechToTextResponse, *http.Response, error)
- func (r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) SpeechTranscribeRequest(speechTranscribeRequest SpeechTranscribeRequest) ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
- func (r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) XApiKey(xApiKey string) ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
- type ApiHealthHealthGetRequest
- type ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest
- func (r ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest) ApiKey(apiKey string) ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest
- func (r ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest) Execute() (*ModelList, *http.Response, error)
- func (r ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest) XApiKey(xApiKey string) ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest
- type ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest
- func (r ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest) ApiKey(apiKey string) ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest
- func (r ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest) Execute() (*ModelList, *http.Response, error)
- func (r ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest) XApiKey(xApiKey string) ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest
- type ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest
- func (r ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) ApiKey(apiKey string) ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest
- func (r ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) Execute() (*ModelList, *http.Response, error)
- func (r ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) XApiKey(xApiKey string) ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest
- type ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest
- func (r ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest) ApiKey(apiKey string) ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest
- func (r ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest) Execute() (interface{}, *http.Response, error)
- func (r ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest) XApiKey(xApiKey string) ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest
- type ApiShowVersionVersionGetRequest
- type AudioOutputOptions
- func (o *AudioOutputOptions) GetFormat() string
- func (o *AudioOutputOptions) GetFormatOk() (*string, bool)
- func (o *AudioOutputOptions) GetSampleRate() int32
- func (o *AudioOutputOptions) GetSampleRateOk() (*int32, bool)
- func (o *AudioOutputOptions) GetStream() bool
- func (o *AudioOutputOptions) GetStreamOk() (*bool, bool)
- func (o *AudioOutputOptions) HasFormat() bool
- func (o *AudioOutputOptions) HasSampleRate() bool
- func (o *AudioOutputOptions) HasStream() bool
- func (o AudioOutputOptions) MarshalJSON() ([]byte, error)
- func (o *AudioOutputOptions) SetFormat(v string)
- func (o *AudioOutputOptions) SetFormatNil()
- func (o *AudioOutputOptions) SetSampleRate(v int32)
- func (o *AudioOutputOptions) SetSampleRateNil()
- func (o *AudioOutputOptions) SetStream(v bool)
- func (o *AudioOutputOptions) SetStreamNil()
- func (o AudioOutputOptions) ToMap() (map[string]interface{}, error)
- func (o *AudioOutputOptions) UnmarshalJSON(data []byte) (err error)
- func (o *AudioOutputOptions) UnsetFormat()
- func (o *AudioOutputOptions) UnsetSampleRate()
- func (o *AudioOutputOptions) UnsetStream()
- type BasicAuth
- type Configuration
- type DefaultAPIService
- func (a *DefaultAPIService) ConvertVoiceV1VoiceConvertPost(ctx context.Context) ApiConvertVoiceV1VoiceConvertPostRequest
- func (a *DefaultAPIService) ConvertVoiceV1VoiceConvertPostExecute(r ApiConvertVoiceV1VoiceConvertPostRequest) (*VoiceConversionResponse, *http.Response, error)
- func (a *DefaultAPIService) CreateEmbeddingV1EmbedSpeakerPost(ctx context.Context) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
- func (a *DefaultAPIService) CreateEmbeddingV1EmbedSpeakerPostExecute(r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) (*EmbedSpeakerResponse, *http.Response, error)
- func (a *DefaultAPIService) CreateSpeechV1AudioSpeechPost(ctx context.Context) ApiCreateSpeechV1AudioSpeechPostRequest
- func (a *DefaultAPIService) CreateSpeechV1AudioSpeechPostExecute(r ApiCreateSpeechV1AudioSpeechPostRequest) (*TextToSpeechResponse, *http.Response, error)
- func (a *DefaultAPIService) CreateTranscriptionV1AudioTranscriptionsPost(ctx context.Context) ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
- func (a *DefaultAPIService) CreateTranscriptionV1AudioTranscriptionsPostExecute(r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) (*SpeechToTextResponse, *http.Response, error)
- func (a *DefaultAPIService) HealthHealthGet(ctx context.Context) ApiHealthHealthGetRequest
- func (a *DefaultAPIService) HealthHealthGetExecute(r ApiHealthHealthGetRequest) (map[string]interface{}, *http.Response, error)
- func (a *DefaultAPIService) ShowAvailableEmbeddingModelsV1EmbedModelsGet(ctx context.Context) ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest
- func (a *DefaultAPIService) ShowAvailableEmbeddingModelsV1EmbedModelsGetExecute(r ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest) (*ModelList, *http.Response, error)
- func (a *DefaultAPIService) ShowAvailableSpeechModelsV1AudioSpeechModelsGet(ctx context.Context) ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest
- func (a *DefaultAPIService) ShowAvailableSpeechModelsV1AudioSpeechModelsGetExecute(r ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest) (*ModelList, *http.Response, error)
- func (a *DefaultAPIService) ShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGet(ctx context.Context) ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest
- func (a *DefaultAPIService) ShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetExecute(r ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) (*ModelList, *http.Response, error)
- func (a *DefaultAPIService) ShowAvailableVoiceConversionModelsV1VoiceConvertModelsGet(ctx context.Context) ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest
- func (a *DefaultAPIService) ShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetExecute(r ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest) (interface{}, *http.Response, error)
- func (a *DefaultAPIService) ShowVersionVersionGet(ctx context.Context) ApiShowVersionVersionGetRequest
- func (a *DefaultAPIService) ShowVersionVersionGetExecute(r ApiShowVersionVersionGetRequest) (map[string]interface{}, *http.Response, error)
- type EmbedSpeakerRequest
- func (o *EmbedSpeakerRequest) GetInputAudio() string
- func (o *EmbedSpeakerRequest) GetInputAudioOk() (*string, bool)
- func (o *EmbedSpeakerRequest) GetModel() string
- func (o *EmbedSpeakerRequest) GetModelOk() (*string, bool)
- func (o *EmbedSpeakerRequest) HasInputAudio() bool
- func (o *EmbedSpeakerRequest) HasModel() bool
- func (o EmbedSpeakerRequest) MarshalJSON() ([]byte, error)
- func (o *EmbedSpeakerRequest) SetInputAudio(v string)
- func (o *EmbedSpeakerRequest) SetModel(v string)
- func (o EmbedSpeakerRequest) ToMap() (map[string]interface{}, error)
- func (o *EmbedSpeakerRequest) UnmarshalJSON(data []byte) (err error)
- type EmbedSpeakerResponse
- func (o *EmbedSpeakerResponse) GetCreated() int32
- func (o *EmbedSpeakerResponse) GetCreatedOk() (*int32, bool)
- func (o *EmbedSpeakerResponse) GetData() string
- func (o *EmbedSpeakerResponse) GetDataOk() (*string, bool)
- func (o *EmbedSpeakerResponse) GetId() string
- func (o *EmbedSpeakerResponse) GetIdOk() (*string, bool)
- func (o *EmbedSpeakerResponse) GetModel() string
- func (o *EmbedSpeakerResponse) GetModelOk() (*string, bool)
- func (o *EmbedSpeakerResponse) HasCreated() bool
- func (o *EmbedSpeakerResponse) HasData() bool
- func (o *EmbedSpeakerResponse) HasId() bool
- func (o *EmbedSpeakerResponse) HasModel() bool
- func (o EmbedSpeakerResponse) MarshalJSON() ([]byte, error)
- func (o *EmbedSpeakerResponse) SetCreated(v int32)
- func (o *EmbedSpeakerResponse) SetData(v string)
- func (o *EmbedSpeakerResponse) SetId(v string)
- func (o *EmbedSpeakerResponse) SetModel(v string)
- func (o EmbedSpeakerResponse) ToMap() (map[string]interface{}, error)
- func (o *EmbedSpeakerResponse) UnmarshalJSON(data []byte) (err error)
- type GenerationOptions
- func (o *GenerationOptions) GetEnergy() float32
- func (o *GenerationOptions) GetEnergyOk() (*float32, bool)
- func (o *GenerationOptions) GetPitch() float32
- func (o *GenerationOptions) GetPitchOk() (*float32, bool)
- func (o *GenerationOptions) GetSeed() int32
- func (o *GenerationOptions) GetSeedOk() (*int32, bool)
- func (o *GenerationOptions) GetSpeed() float32
- func (o *GenerationOptions) GetSpeedOk() (*float32, bool)
- func (o *GenerationOptions) GetStyle() int32
- func (o *GenerationOptions) GetStyleOk() (*int32, bool)
- func (o *GenerationOptions) HasEnergy() bool
- func (o *GenerationOptions) HasPitch() bool
- func (o *GenerationOptions) HasSeed() bool
- func (o *GenerationOptions) HasSpeed() bool
- func (o *GenerationOptions) HasStyle() bool
- func (o GenerationOptions) MarshalJSON() ([]byte, error)
- func (o *GenerationOptions) SetEnergy(v float32)
- func (o *GenerationOptions) SetEnergyNil()
- func (o *GenerationOptions) SetPitch(v float32)
- func (o *GenerationOptions) SetPitchNil()
- func (o *GenerationOptions) SetSeed(v int32)
- func (o *GenerationOptions) SetSeedNil()
- func (o *GenerationOptions) SetSpeed(v float32)
- func (o *GenerationOptions) SetSpeedNil()
- func (o *GenerationOptions) SetStyle(v int32)
- func (o *GenerationOptions) SetStyleNil()
- func (o GenerationOptions) ToMap() (map[string]interface{}, error)
- func (o *GenerationOptions) UnmarshalJSON(data []byte) (err error)
- func (o *GenerationOptions) UnsetEnergy()
- func (o *GenerationOptions) UnsetPitch()
- func (o *GenerationOptions) UnsetSeed()
- func (o *GenerationOptions) UnsetSpeed()
- func (o *GenerationOptions) UnsetStyle()
- type GenericOpenAPIError
- type HTTPValidationError
- func (o *HTTPValidationError) GetDetail() []ValidationError
- func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
- func (o *HTTPValidationError) HasDetail() bool
- func (o HTTPValidationError) MarshalJSON() ([]byte, error)
- func (o *HTTPValidationError) SetDetail(v []ValidationError)
- func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
- func (o *HTTPValidationError) UnmarshalJSON(data []byte) (err error)
- type LanguageOptions
- func (o *LanguageOptions) GetLanguage() string
- func (o *LanguageOptions) GetLanguageOk() (*string, bool)
- func (o *LanguageOptions) GetVoices() []VoiceOptions
- func (o *LanguageOptions) GetVoicesOk() ([]VoiceOptions, bool)
- func (o *LanguageOptions) HasLanguage() bool
- func (o *LanguageOptions) HasVoices() bool
- func (o LanguageOptions) MarshalJSON() ([]byte, error)
- func (o *LanguageOptions) SetLanguage(v string)
- func (o *LanguageOptions) SetVoices(v []VoiceOptions)
- func (o LanguageOptions) ToMap() (map[string]interface{}, error)
- func (o *LanguageOptions) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type ModelCard
- func (o *ModelCard) GetCreated() int32
- func (o *ModelCard) GetCreatedOk() (*int32, bool)
- func (o *ModelCard) GetId() string
- func (o *ModelCard) GetIdOk() (*string, bool)
- func (o *ModelCard) GetLanguages() []LanguageOptions
- func (o *ModelCard) GetLanguagesOk() ([]LanguageOptions, bool)
- func (o *ModelCard) GetObject() string
- func (o *ModelCard) GetObjectOk() (*string, bool)
- func (o *ModelCard) GetOwnedBy() string
- func (o *ModelCard) GetOwnedByOk() (*string, bool)
- func (o *ModelCard) GetParent() string
- func (o *ModelCard) GetParentOk() (*string, bool)
- func (o *ModelCard) GetRoot() string
- func (o *ModelCard) GetRootOk() (*string, bool)
- func (o *ModelCard) HasCreated() bool
- func (o *ModelCard) HasLanguages() bool
- func (o *ModelCard) HasObject() bool
- func (o *ModelCard) HasOwnedBy() bool
- func (o *ModelCard) HasParent() bool
- func (o *ModelCard) HasRoot() bool
- func (o ModelCard) MarshalJSON() ([]byte, error)
- func (o *ModelCard) SetCreated(v int32)
- func (o *ModelCard) SetId(v string)
- func (o *ModelCard) SetLanguages(v []LanguageOptions)
- func (o *ModelCard) SetObject(v string)
- func (o *ModelCard) SetOwnedBy(v string)
- func (o *ModelCard) SetParent(v string)
- func (o *ModelCard) SetParentNil()
- func (o *ModelCard) SetRoot(v string)
- func (o *ModelCard) SetRootNil()
- func (o ModelCard) ToMap() (map[string]interface{}, error)
- func (o *ModelCard) UnmarshalJSON(data []byte) (err error)
- func (o *ModelCard) UnsetParent()
- func (o *ModelCard) UnsetRoot()
- type ModelList
- func (o *ModelList) GetData() []ModelCard
- func (o *ModelList) GetDataOk() ([]ModelCard, bool)
- func (o *ModelList) GetObject() string
- func (o *ModelList) GetObjectOk() (*string, bool)
- func (o *ModelList) HasData() bool
- func (o *ModelList) HasObject() bool
- func (o ModelList) MarshalJSON() ([]byte, error)
- func (o *ModelList) SetData(v []ModelCard)
- func (o *ModelList) SetObject(v string)
- func (o ModelList) ToMap() (map[string]interface{}, error)
- func (o *ModelList) UnmarshalJSON(data []byte) (err error)
- type NullableAudioOutputOptions
- func (v NullableAudioOutputOptions) Get() *AudioOutputOptions
- func (v NullableAudioOutputOptions) IsSet() bool
- func (v NullableAudioOutputOptions) MarshalJSON() ([]byte, error)
- func (v *NullableAudioOutputOptions) Set(val *AudioOutputOptions)
- func (v *NullableAudioOutputOptions) UnmarshalJSON(src []byte) error
- func (v *NullableAudioOutputOptions) Unset()
- type NullableBool
- type NullableEmbedSpeakerRequest
- func (v NullableEmbedSpeakerRequest) Get() *EmbedSpeakerRequest
- func (v NullableEmbedSpeakerRequest) IsSet() bool
- func (v NullableEmbedSpeakerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableEmbedSpeakerRequest) Set(val *EmbedSpeakerRequest)
- func (v *NullableEmbedSpeakerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableEmbedSpeakerRequest) Unset()
- type NullableEmbedSpeakerResponse
- func (v NullableEmbedSpeakerResponse) Get() *EmbedSpeakerResponse
- func (v NullableEmbedSpeakerResponse) IsSet() bool
- func (v NullableEmbedSpeakerResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEmbedSpeakerResponse) Set(val *EmbedSpeakerResponse)
- func (v *NullableEmbedSpeakerResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEmbedSpeakerResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGenerationOptions
- func (v NullableGenerationOptions) Get() *GenerationOptions
- func (v NullableGenerationOptions) IsSet() bool
- func (v NullableGenerationOptions) MarshalJSON() ([]byte, error)
- func (v *NullableGenerationOptions) Set(val *GenerationOptions)
- func (v *NullableGenerationOptions) UnmarshalJSON(src []byte) error
- func (v *NullableGenerationOptions) Unset()
- type NullableHTTPValidationError
- func (v NullableHTTPValidationError) Get() *HTTPValidationError
- func (v NullableHTTPValidationError) IsSet() bool
- func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
- func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableHTTPValidationError) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLanguageOptions
- func (v NullableLanguageOptions) Get() *LanguageOptions
- func (v NullableLanguageOptions) IsSet() bool
- func (v NullableLanguageOptions) MarshalJSON() ([]byte, error)
- func (v *NullableLanguageOptions) Set(val *LanguageOptions)
- func (v *NullableLanguageOptions) UnmarshalJSON(src []byte) error
- func (v *NullableLanguageOptions) Unset()
- type NullableModelCard
- type NullableModelList
- type NullableSpeechToTextResponse
- func (v NullableSpeechToTextResponse) Get() *SpeechToTextResponse
- func (v NullableSpeechToTextResponse) IsSet() bool
- func (v NullableSpeechToTextResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSpeechToTextResponse) Set(val *SpeechToTextResponse)
- func (v *NullableSpeechToTextResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSpeechToTextResponse) Unset()
- type NullableSpeechTranscribeRequest
- func (v NullableSpeechTranscribeRequest) Get() *SpeechTranscribeRequest
- func (v NullableSpeechTranscribeRequest) IsSet() bool
- func (v NullableSpeechTranscribeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSpeechTranscribeRequest) Set(val *SpeechTranscribeRequest)
- func (v *NullableSpeechTranscribeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSpeechTranscribeRequest) Unset()
- type NullableString
- type NullableTextToSpeechRequest
- func (v NullableTextToSpeechRequest) Get() *TextToSpeechRequest
- func (v NullableTextToSpeechRequest) IsSet() bool
- func (v NullableTextToSpeechRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTextToSpeechRequest) Set(val *TextToSpeechRequest)
- func (v *NullableTextToSpeechRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTextToSpeechRequest) Unset()
- type NullableTextToSpeechResponse
- func (v NullableTextToSpeechResponse) Get() *TextToSpeechResponse
- func (v NullableTextToSpeechResponse) IsSet() bool
- func (v NullableTextToSpeechResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTextToSpeechResponse) Set(val *TextToSpeechResponse)
- func (v *NullableTextToSpeechResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTextToSpeechResponse) Unset()
- type NullableTime
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type NullableValidationErrorLocInner
- func (v NullableValidationErrorLocInner) Get() *ValidationErrorLocInner
- func (v NullableValidationErrorLocInner) IsSet() bool
- func (v NullableValidationErrorLocInner) MarshalJSON() ([]byte, error)
- func (v *NullableValidationErrorLocInner) Set(val *ValidationErrorLocInner)
- func (v *NullableValidationErrorLocInner) UnmarshalJSON(src []byte) error
- func (v *NullableValidationErrorLocInner) Unset()
- type NullableVoiceConversionRequest
- func (v NullableVoiceConversionRequest) Get() *VoiceConversionRequest
- func (v NullableVoiceConversionRequest) IsSet() bool
- func (v NullableVoiceConversionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableVoiceConversionRequest) Set(val *VoiceConversionRequest)
- func (v *NullableVoiceConversionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableVoiceConversionRequest) Unset()
- type NullableVoiceConversionResponse
- func (v NullableVoiceConversionResponse) Get() *VoiceConversionResponse
- func (v NullableVoiceConversionResponse) IsSet() bool
- func (v NullableVoiceConversionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVoiceConversionResponse) Set(val *VoiceConversionResponse)
- func (v *NullableVoiceConversionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVoiceConversionResponse) Unset()
- type NullableVoiceOptions
- func (v NullableVoiceOptions) Get() *VoiceOptions
- func (v NullableVoiceOptions) IsSet() bool
- func (v NullableVoiceOptions) MarshalJSON() ([]byte, error)
- func (v *NullableVoiceOptions) Set(val *VoiceOptions)
- func (v *NullableVoiceOptions) UnmarshalJSON(src []byte) error
- func (v *NullableVoiceOptions) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SpeechToTextResponse
- func (o *SpeechToTextResponse) GetCreated() int32
- func (o *SpeechToTextResponse) GetCreatedOk() (*int32, bool)
- func (o *SpeechToTextResponse) GetId() string
- func (o *SpeechToTextResponse) GetIdOk() (*string, bool)
- func (o *SpeechToTextResponse) GetLanguage() string
- func (o *SpeechToTextResponse) GetLanguageOk() (*string, bool)
- func (o *SpeechToTextResponse) GetModel() string
- func (o *SpeechToTextResponse) GetModelOk() (*string, bool)
- func (o *SpeechToTextResponse) GetText() string
- func (o *SpeechToTextResponse) GetTextOk() (*string, bool)
- func (o *SpeechToTextResponse) GetTimestamps() []map[string]interface{}
- func (o *SpeechToTextResponse) GetTimestampsOk() ([]map[string]interface{}, bool)
- func (o *SpeechToTextResponse) HasCreated() bool
- func (o *SpeechToTextResponse) HasId() bool
- func (o *SpeechToTextResponse) HasLanguage() bool
- func (o *SpeechToTextResponse) HasModel() bool
- func (o *SpeechToTextResponse) HasText() bool
- func (o *SpeechToTextResponse) HasTimestamps() bool
- func (o SpeechToTextResponse) MarshalJSON() ([]byte, error)
- func (o *SpeechToTextResponse) SetCreated(v int32)
- func (o *SpeechToTextResponse) SetId(v string)
- func (o *SpeechToTextResponse) SetLanguage(v string)
- func (o *SpeechToTextResponse) SetLanguageNil()
- func (o *SpeechToTextResponse) SetModel(v string)
- func (o *SpeechToTextResponse) SetText(v string)
- func (o *SpeechToTextResponse) SetTimestamps(v []map[string]interface{})
- func (o SpeechToTextResponse) ToMap() (map[string]interface{}, error)
- func (o *SpeechToTextResponse) UnmarshalJSON(data []byte) (err error)
- func (o *SpeechToTextResponse) UnsetLanguage()
- type SpeechTranscribeRequest
- func (o *SpeechTranscribeRequest) GetGetLanguage() bool
- func (o *SpeechTranscribeRequest) GetGetLanguageOk() (*bool, bool)
- func (o *SpeechTranscribeRequest) GetGetTimestamps() bool
- func (o *SpeechTranscribeRequest) GetGetTimestampsOk() (*bool, bool)
- func (o *SpeechTranscribeRequest) GetInputAudio() string
- func (o *SpeechTranscribeRequest) GetInputAudioOk() (*string, bool)
- func (o *SpeechTranscribeRequest) GetModel() string
- func (o *SpeechTranscribeRequest) GetModelOk() (*string, bool)
- func (o *SpeechTranscribeRequest) HasGetLanguage() bool
- func (o *SpeechTranscribeRequest) HasGetTimestamps() bool
- func (o *SpeechTranscribeRequest) HasInputAudio() bool
- func (o *SpeechTranscribeRequest) HasModel() bool
- func (o SpeechTranscribeRequest) MarshalJSON() ([]byte, error)
- func (o *SpeechTranscribeRequest) SetGetLanguage(v bool)
- func (o *SpeechTranscribeRequest) SetGetLanguageNil()
- func (o *SpeechTranscribeRequest) SetGetTimestamps(v bool)
- func (o *SpeechTranscribeRequest) SetGetTimestampsNil()
- func (o *SpeechTranscribeRequest) SetInputAudio(v string)
- func (o *SpeechTranscribeRequest) SetModel(v string)
- func (o SpeechTranscribeRequest) ToMap() (map[string]interface{}, error)
- func (o *SpeechTranscribeRequest) UnmarshalJSON(data []byte) (err error)
- func (o *SpeechTranscribeRequest) UnsetGetLanguage()
- func (o *SpeechTranscribeRequest) UnsetGetTimestamps()
- type TextToSpeechRequest
- func (o *TextToSpeechRequest) GetGenerationOptions() GenerationOptions
- func (o *TextToSpeechRequest) GetGenerationOptionsOk() (*GenerationOptions, bool)
- func (o *TextToSpeechRequest) GetInput() string
- func (o *TextToSpeechRequest) GetInputAudio() string
- func (o *TextToSpeechRequest) GetInputAudioOk() (*string, bool)
- func (o *TextToSpeechRequest) GetInputEmbedding() string
- func (o *TextToSpeechRequest) GetInputEmbeddingOk() (*string, bool)
- func (o *TextToSpeechRequest) GetInputOk() (*string, bool)
- func (o *TextToSpeechRequest) GetInputVadData() string
- func (o *TextToSpeechRequest) GetInputVadDataOk() (*string, bool)
- func (o *TextToSpeechRequest) GetInputVadMode() string
- func (o *TextToSpeechRequest) GetInputVadModeOk() (*string, bool)
- func (o *TextToSpeechRequest) GetLanguage() string
- func (o *TextToSpeechRequest) GetLanguageOk() (*string, bool)
- func (o *TextToSpeechRequest) GetMode() string
- func (o *TextToSpeechRequest) GetModeOk() (*string, bool)
- func (o *TextToSpeechRequest) GetModel() string
- func (o *TextToSpeechRequest) GetModelOk() (*string, bool)
- func (o *TextToSpeechRequest) GetOutputOptions() AudioOutputOptions
- func (o *TextToSpeechRequest) GetOutputOptionsOk() (*AudioOutputOptions, bool)
- func (o *TextToSpeechRequest) GetPostGenerationFilters() []VoiceConversionRequest
- func (o *TextToSpeechRequest) GetPostGenerationFiltersOk() ([]VoiceConversionRequest, bool)
- func (o *TextToSpeechRequest) GetVoice() string
- func (o *TextToSpeechRequest) GetVoiceOk() (*string, bool)
- func (o *TextToSpeechRequest) HasGenerationOptions() bool
- func (o *TextToSpeechRequest) HasInput() bool
- func (o *TextToSpeechRequest) HasInputAudio() bool
- func (o *TextToSpeechRequest) HasInputEmbedding() bool
- func (o *TextToSpeechRequest) HasInputVadData() bool
- func (o *TextToSpeechRequest) HasInputVadMode() bool
- func (o *TextToSpeechRequest) HasLanguage() bool
- func (o *TextToSpeechRequest) HasMode() bool
- func (o *TextToSpeechRequest) HasModel() bool
- func (o *TextToSpeechRequest) HasOutputOptions() bool
- func (o *TextToSpeechRequest) HasPostGenerationFilters() bool
- func (o *TextToSpeechRequest) HasVoice() bool
- func (o TextToSpeechRequest) MarshalJSON() ([]byte, error)
- func (o *TextToSpeechRequest) SetGenerationOptions(v GenerationOptions)
- func (o *TextToSpeechRequest) SetGenerationOptionsNil()
- func (o *TextToSpeechRequest) SetInput(v string)
- func (o *TextToSpeechRequest) SetInputAudio(v string)
- func (o *TextToSpeechRequest) SetInputAudioNil()
- func (o *TextToSpeechRequest) SetInputEmbedding(v string)
- func (o *TextToSpeechRequest) SetInputEmbeddingNil()
- func (o *TextToSpeechRequest) SetInputVadData(v string)
- func (o *TextToSpeechRequest) SetInputVadDataNil()
- func (o *TextToSpeechRequest) SetInputVadMode(v string)
- func (o *TextToSpeechRequest) SetInputVadModeNil()
- func (o *TextToSpeechRequest) SetLanguage(v string)
- func (o *TextToSpeechRequest) SetLanguageNil()
- func (o *TextToSpeechRequest) SetMode(v string)
- func (o *TextToSpeechRequest) SetModel(v string)
- func (o *TextToSpeechRequest) SetOutputOptions(v AudioOutputOptions)
- func (o *TextToSpeechRequest) SetOutputOptionsNil()
- func (o *TextToSpeechRequest) SetPostGenerationFilters(v []VoiceConversionRequest)
- func (o *TextToSpeechRequest) SetVoice(v string)
- func (o *TextToSpeechRequest) SetVoiceNil()
- func (o TextToSpeechRequest) ToMap() (map[string]interface{}, error)
- func (o *TextToSpeechRequest) UnmarshalJSON(data []byte) (err error)
- func (o *TextToSpeechRequest) UnsetGenerationOptions()
- func (o *TextToSpeechRequest) UnsetInputAudio()
- func (o *TextToSpeechRequest) UnsetInputEmbedding()
- func (o *TextToSpeechRequest) UnsetInputVadData()
- func (o *TextToSpeechRequest) UnsetInputVadMode()
- func (o *TextToSpeechRequest) UnsetLanguage()
- func (o *TextToSpeechRequest) UnsetOutputOptions()
- func (o *TextToSpeechRequest) UnsetVoice()
- type TextToSpeechResponse
- func (o *TextToSpeechResponse) GetCreated() int32
- func (o *TextToSpeechResponse) GetCreatedOk() (*int32, bool)
- func (o *TextToSpeechResponse) GetData() string
- func (o *TextToSpeechResponse) GetDataOk() (*string, bool)
- func (o *TextToSpeechResponse) GetId() string
- func (o *TextToSpeechResponse) GetIdOk() (*string, bool)
- func (o *TextToSpeechResponse) GetModel() string
- func (o *TextToSpeechResponse) GetModelOk() (*string, bool)
- func (o *TextToSpeechResponse) HasCreated() bool
- func (o *TextToSpeechResponse) HasData() bool
- func (o *TextToSpeechResponse) HasId() bool
- func (o *TextToSpeechResponse) HasModel() bool
- func (o TextToSpeechResponse) MarshalJSON() ([]byte, error)
- func (o *TextToSpeechResponse) SetCreated(v int32)
- func (o *TextToSpeechResponse) SetData(v string)
- func (o *TextToSpeechResponse) SetId(v string)
- func (o *TextToSpeechResponse) SetModel(v string)
- func (o TextToSpeechResponse) ToMap() (map[string]interface{}, error)
- func (o *TextToSpeechResponse) UnmarshalJSON(data []byte) (err error)
- type ValidationError
- func (o *ValidationError) GetLoc() []ValidationErrorLocInner
- func (o *ValidationError) GetLocOk() ([]ValidationErrorLocInner, bool)
- func (o *ValidationError) GetMsg() string
- func (o *ValidationError) GetMsgOk() (*string, bool)
- func (o *ValidationError) GetType() string
- func (o *ValidationError) GetTypeOk() (*string, bool)
- func (o ValidationError) MarshalJSON() ([]byte, error)
- func (o *ValidationError) SetLoc(v []ValidationErrorLocInner)
- func (o *ValidationError) SetMsg(v string)
- func (o *ValidationError) SetType(v string)
- func (o ValidationError) ToMap() (map[string]interface{}, error)
- func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
- type ValidationErrorLocInner
- type VoiceConversionRequest
- func (o *VoiceConversionRequest) GetGenerationOptions() GenerationOptions
- func (o *VoiceConversionRequest) GetGenerationOptionsOk() (*GenerationOptions, bool)
- func (o *VoiceConversionRequest) GetModel() string
- func (o *VoiceConversionRequest) GetModelOk() (*string, bool)
- func (o *VoiceConversionRequest) GetOutputOptions() AudioOutputOptions
- func (o *VoiceConversionRequest) GetOutputOptionsOk() (*AudioOutputOptions, bool)
- func (o *VoiceConversionRequest) GetSourceAudio() string
- func (o *VoiceConversionRequest) GetSourceAudioOk() (*string, bool)
- func (o *VoiceConversionRequest) GetTargetAudio() string
- func (o *VoiceConversionRequest) GetTargetAudioOk() (*string, bool)
- func (o *VoiceConversionRequest) GetTargetEmbedding() string
- func (o *VoiceConversionRequest) GetTargetEmbeddingOk() (*string, bool)
- func (o *VoiceConversionRequest) HasGenerationOptions() bool
- func (o *VoiceConversionRequest) HasModel() bool
- func (o *VoiceConversionRequest) HasOutputOptions() bool
- func (o *VoiceConversionRequest) HasSourceAudio() bool
- func (o *VoiceConversionRequest) HasTargetAudio() bool
- func (o *VoiceConversionRequest) HasTargetEmbedding() bool
- func (o VoiceConversionRequest) MarshalJSON() ([]byte, error)
- func (o *VoiceConversionRequest) SetGenerationOptions(v GenerationOptions)
- func (o *VoiceConversionRequest) SetGenerationOptionsNil()
- func (o *VoiceConversionRequest) SetModel(v string)
- func (o *VoiceConversionRequest) SetOutputOptions(v AudioOutputOptions)
- func (o *VoiceConversionRequest) SetOutputOptionsNil()
- func (o *VoiceConversionRequest) SetSourceAudio(v string)
- func (o *VoiceConversionRequest) SetTargetAudio(v string)
- func (o *VoiceConversionRequest) SetTargetAudioNil()
- func (o *VoiceConversionRequest) SetTargetEmbedding(v string)
- func (o *VoiceConversionRequest) SetTargetEmbeddingNil()
- func (o VoiceConversionRequest) ToMap() (map[string]interface{}, error)
- func (o *VoiceConversionRequest) UnmarshalJSON(data []byte) (err error)
- func (o *VoiceConversionRequest) UnsetGenerationOptions()
- func (o *VoiceConversionRequest) UnsetOutputOptions()
- func (o *VoiceConversionRequest) UnsetTargetAudio()
- func (o *VoiceConversionRequest) UnsetTargetEmbedding()
- type VoiceConversionResponse
- func (o *VoiceConversionResponse) GetCreated() int32
- func (o *VoiceConversionResponse) GetCreatedOk() (*int32, bool)
- func (o *VoiceConversionResponse) GetData() string
- func (o *VoiceConversionResponse) GetDataOk() (*string, bool)
- func (o *VoiceConversionResponse) GetId() string
- func (o *VoiceConversionResponse) GetIdOk() (*string, bool)
- func (o *VoiceConversionResponse) GetModel() string
- func (o *VoiceConversionResponse) GetModelOk() (*string, bool)
- func (o *VoiceConversionResponse) HasCreated() bool
- func (o *VoiceConversionResponse) HasData() bool
- func (o *VoiceConversionResponse) HasId() bool
- func (o *VoiceConversionResponse) HasModel() bool
- func (o VoiceConversionResponse) MarshalJSON() ([]byte, error)
- func (o *VoiceConversionResponse) SetCreated(v int32)
- func (o *VoiceConversionResponse) SetData(v string)
- func (o *VoiceConversionResponse) SetId(v string)
- func (o *VoiceConversionResponse) SetModel(v string)
- func (o VoiceConversionResponse) ToMap() (map[string]interface{}, error)
- func (o *VoiceConversionResponse) UnmarshalJSON(data []byte) (err error)
- type VoiceOptions
- func (o *VoiceOptions) GetStyles() []string
- func (o *VoiceOptions) GetStylesOk() ([]string, bool)
- func (o *VoiceOptions) GetVoice() string
- func (o *VoiceOptions) GetVoiceOk() (*string, bool)
- func (o *VoiceOptions) HasStyles() bool
- func (o *VoiceOptions) HasVoice() bool
- func (o VoiceOptions) MarshalJSON() ([]byte, error)
- func (o *VoiceOptions) SetStyles(v []string)
- func (o *VoiceOptions) SetVoice(v string)
- func (o VoiceOptions) ToMap() (map[string]interface{}, error)
- func (o *VoiceOptions) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultAPI *DefaultAPIService // contains filtered or unexported fields }
APIClient manages communication with the Harmony Speech Engine API API v0.1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiConvertVoiceV1VoiceConvertPostRequest ¶
type ApiConvertVoiceV1VoiceConvertPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConvertVoiceV1VoiceConvertPostRequest) ApiKey ¶ added in v0.1.1
func (r ApiConvertVoiceV1VoiceConvertPostRequest) ApiKey(apiKey string) ApiConvertVoiceV1VoiceConvertPostRequest
func (ApiConvertVoiceV1VoiceConvertPostRequest) Execute ¶
func (r ApiConvertVoiceV1VoiceConvertPostRequest) Execute() (*VoiceConversionResponse, *http.Response, error)
func (ApiConvertVoiceV1VoiceConvertPostRequest) VoiceConversionRequest ¶
func (r ApiConvertVoiceV1VoiceConvertPostRequest) VoiceConversionRequest(voiceConversionRequest VoiceConversionRequest) ApiConvertVoiceV1VoiceConvertPostRequest
func (ApiConvertVoiceV1VoiceConvertPostRequest) XApiKey ¶
func (r ApiConvertVoiceV1VoiceConvertPostRequest) XApiKey(xApiKey string) ApiConvertVoiceV1VoiceConvertPostRequest
type ApiCreateEmbeddingV1EmbedSpeakerPostRequest ¶
type ApiCreateEmbeddingV1EmbedSpeakerPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiCreateEmbeddingV1EmbedSpeakerPostRequest) ApiKey ¶ added in v0.1.1
func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) ApiKey(apiKey string) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
func (ApiCreateEmbeddingV1EmbedSpeakerPostRequest) EmbedSpeakerRequest ¶
func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) EmbedSpeakerRequest(embedSpeakerRequest EmbedSpeakerRequest) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
func (ApiCreateEmbeddingV1EmbedSpeakerPostRequest) Execute ¶
func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) Execute() (*EmbedSpeakerResponse, *http.Response, error)
func (ApiCreateEmbeddingV1EmbedSpeakerPostRequest) XApiKey ¶
func (r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) XApiKey(xApiKey string) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
type ApiCreateSpeechV1AudioSpeechPostRequest ¶
type ApiCreateSpeechV1AudioSpeechPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiCreateSpeechV1AudioSpeechPostRequest) ApiKey ¶ added in v0.1.1
func (r ApiCreateSpeechV1AudioSpeechPostRequest) ApiKey(apiKey string) ApiCreateSpeechV1AudioSpeechPostRequest
func (ApiCreateSpeechV1AudioSpeechPostRequest) Execute ¶
func (r ApiCreateSpeechV1AudioSpeechPostRequest) Execute() (*TextToSpeechResponse, *http.Response, error)
func (ApiCreateSpeechV1AudioSpeechPostRequest) TextToSpeechRequest ¶
func (r ApiCreateSpeechV1AudioSpeechPostRequest) TextToSpeechRequest(textToSpeechRequest TextToSpeechRequest) ApiCreateSpeechV1AudioSpeechPostRequest
func (ApiCreateSpeechV1AudioSpeechPostRequest) XApiKey ¶
func (r ApiCreateSpeechV1AudioSpeechPostRequest) XApiKey(xApiKey string) ApiCreateSpeechV1AudioSpeechPostRequest
type ApiCreateTranscriptionV1AudioTranscriptionsPostRequest ¶
type ApiCreateTranscriptionV1AudioTranscriptionsPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) Execute ¶
func (r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) Execute() (*SpeechToTextResponse, *http.Response, error)
func (ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) SpeechTranscribeRequest ¶
func (r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) SpeechTranscribeRequest(speechTranscribeRequest SpeechTranscribeRequest) ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
type ApiHealthHealthGetRequest ¶
type ApiHealthHealthGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest ¶
type ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest) Execute ¶
func (r ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest) Execute() (*ModelList, *http.Response, error)
type ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest ¶
type ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest) Execute ¶
func (r ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest) Execute() (*ModelList, *http.Response, error)
type ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest ¶
type ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) ApiKey ¶ added in v0.1.1
func (ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) Execute ¶
func (r ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) Execute() (*ModelList, *http.Response, error)
type ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest ¶
type ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest) Execute ¶
func (r ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest) Execute() (interface{}, *http.Response, error)
type ApiShowVersionVersionGetRequest ¶
type ApiShowVersionVersionGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiShowVersionVersionGetRequest) ApiKey ¶ added in v0.1.1
func (r ApiShowVersionVersionGetRequest) ApiKey(apiKey string) ApiShowVersionVersionGetRequest
func (ApiShowVersionVersionGetRequest) Execute ¶
func (r ApiShowVersionVersionGetRequest) Execute() (map[string]interface{}, *http.Response, error)
func (ApiShowVersionVersionGetRequest) XApiKey ¶
func (r ApiShowVersionVersionGetRequest) XApiKey(xApiKey string) ApiShowVersionVersionGetRequest
type AudioOutputOptions ¶
type AudioOutputOptions struct { Format NullableString `json:"format,omitempty"` SampleRate NullableInt32 `json:"sample_rate,omitempty"` Stream NullableBool `json:"stream,omitempty"` AdditionalProperties map[string]interface{} }
AudioOutputOptions struct for AudioOutputOptions
func NewAudioOutputOptions ¶
func NewAudioOutputOptions() *AudioOutputOptions
NewAudioOutputOptions instantiates a new AudioOutputOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAudioOutputOptionsWithDefaults ¶
func NewAudioOutputOptionsWithDefaults() *AudioOutputOptions
NewAudioOutputOptionsWithDefaults instantiates a new AudioOutputOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AudioOutputOptions) GetFormat ¶
func (o *AudioOutputOptions) GetFormat() string
GetFormat returns the Format field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AudioOutputOptions) GetFormatOk ¶
func (o *AudioOutputOptions) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AudioOutputOptions) GetSampleRate ¶
func (o *AudioOutputOptions) GetSampleRate() int32
GetSampleRate returns the SampleRate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AudioOutputOptions) GetSampleRateOk ¶
func (o *AudioOutputOptions) GetSampleRateOk() (*int32, bool)
GetSampleRateOk returns a tuple with the SampleRate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AudioOutputOptions) GetStream ¶
func (o *AudioOutputOptions) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AudioOutputOptions) GetStreamOk ¶
func (o *AudioOutputOptions) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AudioOutputOptions) HasFormat ¶
func (o *AudioOutputOptions) HasFormat() bool
HasFormat returns a boolean if a field has been set.
func (*AudioOutputOptions) HasSampleRate ¶
func (o *AudioOutputOptions) HasSampleRate() bool
HasSampleRate returns a boolean if a field has been set.
func (*AudioOutputOptions) HasStream ¶
func (o *AudioOutputOptions) HasStream() bool
HasStream returns a boolean if a field has been set.
func (AudioOutputOptions) MarshalJSON ¶
func (o AudioOutputOptions) MarshalJSON() ([]byte, error)
func (*AudioOutputOptions) SetFormat ¶
func (o *AudioOutputOptions) SetFormat(v string)
SetFormat gets a reference to the given NullableString and assigns it to the Format field.
func (*AudioOutputOptions) SetFormatNil ¶
func (o *AudioOutputOptions) SetFormatNil()
SetFormatNil sets the value for Format to be an explicit nil
func (*AudioOutputOptions) SetSampleRate ¶
func (o *AudioOutputOptions) SetSampleRate(v int32)
SetSampleRate gets a reference to the given NullableInt32 and assigns it to the SampleRate field.
func (*AudioOutputOptions) SetSampleRateNil ¶
func (o *AudioOutputOptions) SetSampleRateNil()
SetSampleRateNil sets the value for SampleRate to be an explicit nil
func (*AudioOutputOptions) SetStream ¶
func (o *AudioOutputOptions) SetStream(v bool)
SetStream gets a reference to the given NullableBool and assigns it to the Stream field.
func (*AudioOutputOptions) SetStreamNil ¶
func (o *AudioOutputOptions) SetStreamNil()
SetStreamNil sets the value for Stream to be an explicit nil
func (AudioOutputOptions) ToMap ¶
func (o AudioOutputOptions) ToMap() (map[string]interface{}, error)
func (*AudioOutputOptions) UnmarshalJSON ¶
func (o *AudioOutputOptions) UnmarshalJSON(data []byte) (err error)
func (*AudioOutputOptions) UnsetFormat ¶
func (o *AudioOutputOptions) UnsetFormat()
UnsetFormat ensures that no value is present for Format, not even an explicit nil
func (*AudioOutputOptions) UnsetSampleRate ¶
func (o *AudioOutputOptions) UnsetSampleRate()
UnsetSampleRate ensures that no value is present for SampleRate, not even an explicit nil
func (*AudioOutputOptions) UnsetStream ¶
func (o *AudioOutputOptions) UnsetStream()
UnsetStream ensures that no value is present for Stream, not even an explicit nil
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) ConvertVoiceV1VoiceConvertPost ¶
func (a *DefaultAPIService) ConvertVoiceV1VoiceConvertPost(ctx context.Context) ApiConvertVoiceV1VoiceConvertPostRequest
ConvertVoiceV1VoiceConvertPost Convert Voice
Convert the voice in an audio file or stream to a desired target voice.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConvertVoiceV1VoiceConvertPostRequest
func (*DefaultAPIService) ConvertVoiceV1VoiceConvertPostExecute ¶
func (a *DefaultAPIService) ConvertVoiceV1VoiceConvertPostExecute(r ApiConvertVoiceV1VoiceConvertPostRequest) (*VoiceConversionResponse, *http.Response, error)
Execute executes the request
@return VoiceConversionResponse
func (*DefaultAPIService) CreateEmbeddingV1EmbedSpeakerPost ¶
func (a *DefaultAPIService) CreateEmbeddingV1EmbedSpeakerPost(ctx context.Context) ApiCreateEmbeddingV1EmbedSpeakerPostRequest
CreateEmbeddingV1EmbedSpeakerPost Create Embedding
Create a speaker embedding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateEmbeddingV1EmbedSpeakerPostRequest
func (*DefaultAPIService) CreateEmbeddingV1EmbedSpeakerPostExecute ¶
func (a *DefaultAPIService) CreateEmbeddingV1EmbedSpeakerPostExecute(r ApiCreateEmbeddingV1EmbedSpeakerPostRequest) (*EmbedSpeakerResponse, *http.Response, error)
Execute executes the request
@return EmbedSpeakerResponse
func (*DefaultAPIService) CreateSpeechV1AudioSpeechPost ¶
func (a *DefaultAPIService) CreateSpeechV1AudioSpeechPost(ctx context.Context) ApiCreateSpeechV1AudioSpeechPostRequest
CreateSpeechV1AudioSpeechPost Create Speech
Generate speech Audio from text.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateSpeechV1AudioSpeechPostRequest
func (*DefaultAPIService) CreateSpeechV1AudioSpeechPostExecute ¶
func (a *DefaultAPIService) CreateSpeechV1AudioSpeechPostExecute(r ApiCreateSpeechV1AudioSpeechPostRequest) (*TextToSpeechResponse, *http.Response, error)
Execute executes the request
@return TextToSpeechResponse
func (*DefaultAPIService) CreateTranscriptionV1AudioTranscriptionsPost ¶
func (a *DefaultAPIService) CreateTranscriptionV1AudioTranscriptionsPost(ctx context.Context) ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
CreateTranscriptionV1AudioTranscriptionsPost Create Transcription
Create a transcription from audio.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateTranscriptionV1AudioTranscriptionsPostRequest
func (*DefaultAPIService) CreateTranscriptionV1AudioTranscriptionsPostExecute ¶
func (a *DefaultAPIService) CreateTranscriptionV1AudioTranscriptionsPostExecute(r ApiCreateTranscriptionV1AudioTranscriptionsPostRequest) (*SpeechToTextResponse, *http.Response, error)
Execute executes the request
@return SpeechToTextResponse
func (*DefaultAPIService) HealthHealthGet ¶
func (a *DefaultAPIService) HealthHealthGet(ctx context.Context) ApiHealthHealthGetRequest
HealthHealthGet Health
Health check endpoint to verify the status of all engine serving objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHealthHealthGetRequest
func (*DefaultAPIService) HealthHealthGetExecute ¶
func (a *DefaultAPIService) HealthHealthGetExecute(r ApiHealthHealthGetRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) ShowAvailableEmbeddingModelsV1EmbedModelsGet ¶
func (a *DefaultAPIService) ShowAvailableEmbeddingModelsV1EmbedModelsGet(ctx context.Context) ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest
ShowAvailableEmbeddingModelsV1EmbedModelsGet Show Available Embedding Models
Show available embedding models.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest
func (*DefaultAPIService) ShowAvailableEmbeddingModelsV1EmbedModelsGetExecute ¶
func (a *DefaultAPIService) ShowAvailableEmbeddingModelsV1EmbedModelsGetExecute(r ApiShowAvailableEmbeddingModelsV1EmbedModelsGetRequest) (*ModelList, *http.Response, error)
Execute executes the request
@return ModelList
func (*DefaultAPIService) ShowAvailableSpeechModelsV1AudioSpeechModelsGet ¶
func (a *DefaultAPIService) ShowAvailableSpeechModelsV1AudioSpeechModelsGet(ctx context.Context) ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest
ShowAvailableSpeechModelsV1AudioSpeechModelsGet Show Available Speech Models
Show available speech models.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest
func (*DefaultAPIService) ShowAvailableSpeechModelsV1AudioSpeechModelsGetExecute ¶
func (a *DefaultAPIService) ShowAvailableSpeechModelsV1AudioSpeechModelsGetExecute(r ApiShowAvailableSpeechModelsV1AudioSpeechModelsGetRequest) (*ModelList, *http.Response, error)
Execute executes the request
@return ModelList
func (*DefaultAPIService) ShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGet ¶
func (a *DefaultAPIService) ShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGet(ctx context.Context) ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest
ShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGet Show Available Transcription Models
Show available transcription models.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest
func (*DefaultAPIService) ShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetExecute ¶
func (a *DefaultAPIService) ShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetExecute(r ApiShowAvailableTranscriptionModelsV1AudioTranscriptionsModelsGetRequest) (*ModelList, *http.Response, error)
Execute executes the request
@return ModelList
func (*DefaultAPIService) ShowAvailableVoiceConversionModelsV1VoiceConvertModelsGet ¶
func (a *DefaultAPIService) ShowAvailableVoiceConversionModelsV1VoiceConvertModelsGet(ctx context.Context) ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest
ShowAvailableVoiceConversionModelsV1VoiceConvertModelsGet Show Available Voice Conversion Models
Show available voice conversion models.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest
func (*DefaultAPIService) ShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetExecute ¶
func (a *DefaultAPIService) ShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetExecute(r ApiShowAvailableVoiceConversionModelsV1VoiceConvertModelsGetRequest) (interface{}, *http.Response, error)
Execute executes the request
@return interface{}
func (*DefaultAPIService) ShowVersionVersionGet ¶
func (a *DefaultAPIService) ShowVersionVersionGet(ctx context.Context) ApiShowVersionVersionGetRequest
ShowVersionVersionGet Show Version
Fetch the Harmony Speech Engine version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShowVersionVersionGetRequest
func (*DefaultAPIService) ShowVersionVersionGetExecute ¶
func (a *DefaultAPIService) ShowVersionVersionGetExecute(r ApiShowVersionVersionGetRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type EmbedSpeakerRequest ¶
type EmbedSpeakerRequest struct { // the name of the model Model *string `json:"model,omitempty"` // Binary audio data to be processed, encoded in base64 InputAudio *string `json:"input_audio,omitempty"` AdditionalProperties map[string]interface{} }
EmbedSpeakerRequest EmbedSpeakerRequest Used to create a Speaker Embedding form a provided audio, which can later be re-used for Text-to-Speech or Voice Conversion functionality. Please refer to the documentation whether an embedding is compatible between different models.
func NewEmbedSpeakerRequest ¶
func NewEmbedSpeakerRequest() *EmbedSpeakerRequest
NewEmbedSpeakerRequest instantiates a new EmbedSpeakerRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEmbedSpeakerRequestWithDefaults ¶
func NewEmbedSpeakerRequestWithDefaults() *EmbedSpeakerRequest
NewEmbedSpeakerRequestWithDefaults instantiates a new EmbedSpeakerRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EmbedSpeakerRequest) GetInputAudio ¶
func (o *EmbedSpeakerRequest) GetInputAudio() string
GetInputAudio returns the InputAudio field value if set, zero value otherwise.
func (*EmbedSpeakerRequest) GetInputAudioOk ¶
func (o *EmbedSpeakerRequest) GetInputAudioOk() (*string, bool)
GetInputAudioOk returns a tuple with the InputAudio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbedSpeakerRequest) GetModel ¶
func (o *EmbedSpeakerRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*EmbedSpeakerRequest) GetModelOk ¶
func (o *EmbedSpeakerRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbedSpeakerRequest) HasInputAudio ¶
func (o *EmbedSpeakerRequest) HasInputAudio() bool
HasInputAudio returns a boolean if a field has been set.
func (*EmbedSpeakerRequest) HasModel ¶
func (o *EmbedSpeakerRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (EmbedSpeakerRequest) MarshalJSON ¶
func (o EmbedSpeakerRequest) MarshalJSON() ([]byte, error)
func (*EmbedSpeakerRequest) SetInputAudio ¶
func (o *EmbedSpeakerRequest) SetInputAudio(v string)
SetInputAudio gets a reference to the given string and assigns it to the InputAudio field.
func (*EmbedSpeakerRequest) SetModel ¶
func (o *EmbedSpeakerRequest) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (EmbedSpeakerRequest) ToMap ¶
func (o EmbedSpeakerRequest) ToMap() (map[string]interface{}, error)
func (*EmbedSpeakerRequest) UnmarshalJSON ¶
func (o *EmbedSpeakerRequest) UnmarshalJSON(data []byte) (err error)
type EmbedSpeakerResponse ¶ added in v0.0.2
type EmbedSpeakerResponse struct { Id *string `json:"id,omitempty"` // the name of the model Model *string `json:"model,omitempty"` Created *int32 `json:"created,omitempty"` // Speaker embedding data for the audio provided in the initial request, encoded in base64 Data *string `json:"data,omitempty"` AdditionalProperties map[string]interface{} }
EmbedSpeakerResponse EmbedSpeakerResult Result Speaker Embedding
func NewEmbedSpeakerResponse ¶ added in v0.0.2
func NewEmbedSpeakerResponse() *EmbedSpeakerResponse
NewEmbedSpeakerResponse instantiates a new EmbedSpeakerResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEmbedSpeakerResponseWithDefaults ¶ added in v0.0.2
func NewEmbedSpeakerResponseWithDefaults() *EmbedSpeakerResponse
NewEmbedSpeakerResponseWithDefaults instantiates a new EmbedSpeakerResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EmbedSpeakerResponse) GetCreated ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*EmbedSpeakerResponse) GetCreatedOk ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbedSpeakerResponse) GetData ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetData() string
GetData returns the Data field value if set, zero value otherwise.
func (*EmbedSpeakerResponse) GetDataOk ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbedSpeakerResponse) GetId ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*EmbedSpeakerResponse) GetIdOk ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbedSpeakerResponse) GetModel ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*EmbedSpeakerResponse) GetModelOk ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbedSpeakerResponse) HasCreated ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*EmbedSpeakerResponse) HasData ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*EmbedSpeakerResponse) HasId ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*EmbedSpeakerResponse) HasModel ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) HasModel() bool
HasModel returns a boolean if a field has been set.
func (EmbedSpeakerResponse) MarshalJSON ¶ added in v0.0.2
func (o EmbedSpeakerResponse) MarshalJSON() ([]byte, error)
func (*EmbedSpeakerResponse) SetCreated ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*EmbedSpeakerResponse) SetData ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) SetData(v string)
SetData gets a reference to the given string and assigns it to the Data field.
func (*EmbedSpeakerResponse) SetId ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*EmbedSpeakerResponse) SetModel ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (EmbedSpeakerResponse) ToMap ¶ added in v0.0.2
func (o EmbedSpeakerResponse) ToMap() (map[string]interface{}, error)
func (*EmbedSpeakerResponse) UnmarshalJSON ¶ added in v0.0.2
func (o *EmbedSpeakerResponse) UnmarshalJSON(data []byte) (err error)
type GenerationOptions ¶
type GenerationOptions struct { Seed NullableInt32 `json:"seed,omitempty"` Style NullableInt32 `json:"style,omitempty"` Speed NullableFloat32 `json:"speed,omitempty"` Pitch NullableFloat32 `json:"pitch,omitempty"` Energy NullableFloat32 `json:"energy,omitempty"` AdditionalProperties map[string]interface{} }
GenerationOptions struct for GenerationOptions
func NewGenerationOptions ¶
func NewGenerationOptions() *GenerationOptions
NewGenerationOptions instantiates a new GenerationOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGenerationOptionsWithDefaults ¶
func NewGenerationOptionsWithDefaults() *GenerationOptions
NewGenerationOptionsWithDefaults instantiates a new GenerationOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GenerationOptions) GetEnergy ¶
func (o *GenerationOptions) GetEnergy() float32
GetEnergy returns the Energy field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GenerationOptions) GetEnergyOk ¶
func (o *GenerationOptions) GetEnergyOk() (*float32, bool)
GetEnergyOk returns a tuple with the Energy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GenerationOptions) GetPitch ¶
func (o *GenerationOptions) GetPitch() float32
GetPitch returns the Pitch field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GenerationOptions) GetPitchOk ¶
func (o *GenerationOptions) GetPitchOk() (*float32, bool)
GetPitchOk returns a tuple with the Pitch field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GenerationOptions) GetSeed ¶
func (o *GenerationOptions) GetSeed() int32
GetSeed returns the Seed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GenerationOptions) GetSeedOk ¶
func (o *GenerationOptions) GetSeedOk() (*int32, bool)
GetSeedOk returns a tuple with the Seed field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GenerationOptions) GetSpeed ¶
func (o *GenerationOptions) GetSpeed() float32
GetSpeed returns the Speed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GenerationOptions) GetSpeedOk ¶
func (o *GenerationOptions) GetSpeedOk() (*float32, bool)
GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GenerationOptions) GetStyle ¶
func (o *GenerationOptions) GetStyle() int32
GetStyle returns the Style field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GenerationOptions) GetStyleOk ¶
func (o *GenerationOptions) GetStyleOk() (*int32, bool)
GetStyleOk returns a tuple with the Style field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GenerationOptions) HasEnergy ¶
func (o *GenerationOptions) HasEnergy() bool
HasEnergy returns a boolean if a field has been set.
func (*GenerationOptions) HasPitch ¶
func (o *GenerationOptions) HasPitch() bool
HasPitch returns a boolean if a field has been set.
func (*GenerationOptions) HasSeed ¶
func (o *GenerationOptions) HasSeed() bool
HasSeed returns a boolean if a field has been set.
func (*GenerationOptions) HasSpeed ¶
func (o *GenerationOptions) HasSpeed() bool
HasSpeed returns a boolean if a field has been set.
func (*GenerationOptions) HasStyle ¶
func (o *GenerationOptions) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (GenerationOptions) MarshalJSON ¶
func (o GenerationOptions) MarshalJSON() ([]byte, error)
func (*GenerationOptions) SetEnergy ¶
func (o *GenerationOptions) SetEnergy(v float32)
SetEnergy gets a reference to the given NullableFloat32 and assigns it to the Energy field.
func (*GenerationOptions) SetEnergyNil ¶
func (o *GenerationOptions) SetEnergyNil()
SetEnergyNil sets the value for Energy to be an explicit nil
func (*GenerationOptions) SetPitch ¶
func (o *GenerationOptions) SetPitch(v float32)
SetPitch gets a reference to the given NullableFloat32 and assigns it to the Pitch field.
func (*GenerationOptions) SetPitchNil ¶
func (o *GenerationOptions) SetPitchNil()
SetPitchNil sets the value for Pitch to be an explicit nil
func (*GenerationOptions) SetSeed ¶
func (o *GenerationOptions) SetSeed(v int32)
SetSeed gets a reference to the given NullableInt32 and assigns it to the Seed field.
func (*GenerationOptions) SetSeedNil ¶
func (o *GenerationOptions) SetSeedNil()
SetSeedNil sets the value for Seed to be an explicit nil
func (*GenerationOptions) SetSpeed ¶
func (o *GenerationOptions) SetSpeed(v float32)
SetSpeed gets a reference to the given NullableFloat32 and assigns it to the Speed field.
func (*GenerationOptions) SetSpeedNil ¶
func (o *GenerationOptions) SetSpeedNil()
SetSpeedNil sets the value for Speed to be an explicit nil
func (*GenerationOptions) SetStyle ¶
func (o *GenerationOptions) SetStyle(v int32)
SetStyle gets a reference to the given NullableInt32 and assigns it to the Style field.
func (*GenerationOptions) SetStyleNil ¶
func (o *GenerationOptions) SetStyleNil()
SetStyleNil sets the value for Style to be an explicit nil
func (GenerationOptions) ToMap ¶
func (o GenerationOptions) ToMap() (map[string]interface{}, error)
func (*GenerationOptions) UnmarshalJSON ¶
func (o *GenerationOptions) UnmarshalJSON(data []byte) (err error)
func (*GenerationOptions) UnsetEnergy ¶
func (o *GenerationOptions) UnsetEnergy()
UnsetEnergy ensures that no value is present for Energy, not even an explicit nil
func (*GenerationOptions) UnsetPitch ¶
func (o *GenerationOptions) UnsetPitch()
UnsetPitch ensures that no value is present for Pitch, not even an explicit nil
func (*GenerationOptions) UnsetSeed ¶
func (o *GenerationOptions) UnsetSeed()
UnsetSeed ensures that no value is present for Seed, not even an explicit nil
func (*GenerationOptions) UnsetSpeed ¶
func (o *GenerationOptions) UnsetSpeed()
UnsetSpeed ensures that no value is present for Speed, not even an explicit nil
func (*GenerationOptions) UnsetStyle ¶
func (o *GenerationOptions) UnsetStyle()
UnsetStyle ensures that no value is present for Style, not even an explicit nil
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HTTPValidationError ¶
type HTTPValidationError struct { Detail []ValidationError `json:"detail,omitempty"` AdditionalProperties map[string]interface{} }
HTTPValidationError struct for HTTPValidationError
func NewHTTPValidationError ¶
func NewHTTPValidationError() *HTTPValidationError
NewHTTPValidationError instantiates a new HTTPValidationError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHTTPValidationErrorWithDefaults ¶
func NewHTTPValidationErrorWithDefaults() *HTTPValidationError
NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HTTPValidationError) GetDetail ¶
func (o *HTTPValidationError) GetDetail() []ValidationError
GetDetail returns the Detail field value if set, zero value otherwise.
func (*HTTPValidationError) GetDetailOk ¶
func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPValidationError) HasDetail ¶
func (o *HTTPValidationError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (HTTPValidationError) MarshalJSON ¶
func (o HTTPValidationError) MarshalJSON() ([]byte, error)
func (*HTTPValidationError) SetDetail ¶
func (o *HTTPValidationError) SetDetail(v []ValidationError)
SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.
func (HTTPValidationError) ToMap ¶
func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
func (*HTTPValidationError) UnmarshalJSON ¶
func (o *HTTPValidationError) UnmarshalJSON(data []byte) (err error)
type LanguageOptions ¶ added in v0.0.5
type LanguageOptions struct { Language *string `json:"language,omitempty"` Voices []VoiceOptions `json:"voices,omitempty"` AdditionalProperties map[string]interface{} }
LanguageOptions struct for LanguageOptions
func NewLanguageOptions ¶ added in v0.0.5
func NewLanguageOptions() *LanguageOptions
NewLanguageOptions instantiates a new LanguageOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLanguageOptionsWithDefaults ¶ added in v0.0.5
func NewLanguageOptionsWithDefaults() *LanguageOptions
NewLanguageOptionsWithDefaults instantiates a new LanguageOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LanguageOptions) GetLanguage ¶ added in v0.0.5
func (o *LanguageOptions) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise.
func (*LanguageOptions) GetLanguageOk ¶ added in v0.0.5
func (o *LanguageOptions) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LanguageOptions) GetVoices ¶ added in v0.0.5
func (o *LanguageOptions) GetVoices() []VoiceOptions
GetVoices returns the Voices field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LanguageOptions) GetVoicesOk ¶ added in v0.0.5
func (o *LanguageOptions) GetVoicesOk() ([]VoiceOptions, bool)
GetVoicesOk returns a tuple with the Voices field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*LanguageOptions) HasLanguage ¶ added in v0.0.5
func (o *LanguageOptions) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*LanguageOptions) HasVoices ¶ added in v0.0.5
func (o *LanguageOptions) HasVoices() bool
HasVoices returns a boolean if a field has been set.
func (LanguageOptions) MarshalJSON ¶ added in v0.0.5
func (o LanguageOptions) MarshalJSON() ([]byte, error)
func (*LanguageOptions) SetLanguage ¶ added in v0.0.5
func (o *LanguageOptions) SetLanguage(v string)
SetLanguage gets a reference to the given string and assigns it to the Language field.
func (*LanguageOptions) SetVoices ¶ added in v0.0.5
func (o *LanguageOptions) SetVoices(v []VoiceOptions)
SetVoices gets a reference to the given []VoiceOptions and assigns it to the Voices field.
func (LanguageOptions) ToMap ¶ added in v0.0.5
func (o LanguageOptions) ToMap() (map[string]interface{}, error)
func (*LanguageOptions) UnmarshalJSON ¶ added in v0.0.5
func (o *LanguageOptions) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type ModelCard ¶ added in v0.0.2
type ModelCard struct { Id string `json:"id"` Object *string `json:"object,omitempty"` Created *int32 `json:"created,omitempty"` OwnedBy *string `json:"owned_by,omitempty"` Languages []LanguageOptions `json:"languages,omitempty"` Root NullableString `json:"root,omitempty"` Parent NullableString `json:"parent,omitempty"` AdditionalProperties map[string]interface{} }
ModelCard struct for ModelCard
func NewModelCard ¶ added in v0.0.2
NewModelCard instantiates a new ModelCard object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModelCardWithDefaults ¶ added in v0.0.2
func NewModelCardWithDefaults() *ModelCard
NewModelCardWithDefaults instantiates a new ModelCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ModelCard) GetCreated ¶ added in v0.0.2
GetCreated returns the Created field value if set, zero value otherwise.
func (*ModelCard) GetCreatedOk ¶ added in v0.0.2
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCard) GetIdOk ¶ added in v0.0.2
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ModelCard) GetLanguages ¶ added in v0.0.5
func (o *ModelCard) GetLanguages() []LanguageOptions
GetLanguages returns the Languages field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelCard) GetLanguagesOk ¶ added in v0.0.5
func (o *ModelCard) GetLanguagesOk() ([]LanguageOptions, bool)
GetLanguagesOk returns a tuple with the Languages field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ModelCard) GetObject ¶ added in v0.0.2
GetObject returns the Object field value if set, zero value otherwise.
func (*ModelCard) GetObjectOk ¶ added in v0.0.2
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCard) GetOwnedBy ¶ added in v0.0.2
GetOwnedBy returns the OwnedBy field value if set, zero value otherwise.
func (*ModelCard) GetOwnedByOk ¶ added in v0.0.2
GetOwnedByOk returns a tuple with the OwnedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCard) GetParent ¶ added in v0.0.2
GetParent returns the Parent field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelCard) GetParentOk ¶ added in v0.0.2
GetParentOk returns a tuple with the Parent field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ModelCard) GetRoot ¶ added in v0.0.2
GetRoot returns the Root field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelCard) GetRootOk ¶ added in v0.0.2
GetRootOk returns a tuple with the Root field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ModelCard) HasCreated ¶ added in v0.0.2
HasCreated returns a boolean if a field has been set.
func (*ModelCard) HasLanguages ¶ added in v0.0.5
HasLanguages returns a boolean if a field has been set.
func (*ModelCard) HasOwnedBy ¶ added in v0.0.2
HasOwnedBy returns a boolean if a field has been set.
func (ModelCard) MarshalJSON ¶ added in v0.0.2
func (*ModelCard) SetCreated ¶ added in v0.0.2
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*ModelCard) SetLanguages ¶ added in v0.0.5
func (o *ModelCard) SetLanguages(v []LanguageOptions)
SetLanguages gets a reference to the given []LanguageOptions and assigns it to the Languages field.
func (*ModelCard) SetObject ¶ added in v0.0.2
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ModelCard) SetOwnedBy ¶ added in v0.0.2
SetOwnedBy gets a reference to the given string and assigns it to the OwnedBy field.
func (*ModelCard) SetParent ¶ added in v0.0.2
SetParent gets a reference to the given NullableString and assigns it to the Parent field.
func (*ModelCard) SetParentNil ¶ added in v0.0.2
func (o *ModelCard) SetParentNil()
SetParentNil sets the value for Parent to be an explicit nil
func (*ModelCard) SetRoot ¶ added in v0.0.2
SetRoot gets a reference to the given NullableString and assigns it to the Root field.
func (*ModelCard) SetRootNil ¶ added in v0.0.2
func (o *ModelCard) SetRootNil()
SetRootNil sets the value for Root to be an explicit nil
func (*ModelCard) UnmarshalJSON ¶ added in v0.0.2
func (*ModelCard) UnsetParent ¶ added in v0.0.2
func (o *ModelCard) UnsetParent()
UnsetParent ensures that no value is present for Parent, not even an explicit nil
type ModelList ¶ added in v0.0.2
type ModelList struct { Object *string `json:"object,omitempty"` Data []ModelCard `json:"data,omitempty"` AdditionalProperties map[string]interface{} }
ModelList struct for ModelList
func NewModelList ¶ added in v0.0.2
func NewModelList() *ModelList
NewModelList instantiates a new ModelList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModelListWithDefaults ¶ added in v0.0.2
func NewModelListWithDefaults() *ModelList
NewModelListWithDefaults instantiates a new ModelList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ModelList) GetData ¶ added in v0.0.2
GetData returns the Data field value if set, zero value otherwise.
func (*ModelList) GetDataOk ¶ added in v0.0.2
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelList) GetObject ¶ added in v0.0.2
GetObject returns the Object field value if set, zero value otherwise.
func (*ModelList) GetObjectOk ¶ added in v0.0.2
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (ModelList) MarshalJSON ¶ added in v0.0.2
func (*ModelList) SetData ¶ added in v0.0.2
SetData gets a reference to the given []ModelCard and assigns it to the Data field.
func (*ModelList) SetObject ¶ added in v0.0.2
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ModelList) UnmarshalJSON ¶ added in v0.0.2
type NullableAudioOutputOptions ¶
type NullableAudioOutputOptions struct {
// contains filtered or unexported fields
}
func NewNullableAudioOutputOptions ¶
func NewNullableAudioOutputOptions(val *AudioOutputOptions) *NullableAudioOutputOptions
func (NullableAudioOutputOptions) Get ¶
func (v NullableAudioOutputOptions) Get() *AudioOutputOptions
func (NullableAudioOutputOptions) IsSet ¶
func (v NullableAudioOutputOptions) IsSet() bool
func (NullableAudioOutputOptions) MarshalJSON ¶
func (v NullableAudioOutputOptions) MarshalJSON() ([]byte, error)
func (*NullableAudioOutputOptions) Set ¶
func (v *NullableAudioOutputOptions) Set(val *AudioOutputOptions)
func (*NullableAudioOutputOptions) UnmarshalJSON ¶
func (v *NullableAudioOutputOptions) UnmarshalJSON(src []byte) error
func (*NullableAudioOutputOptions) Unset ¶
func (v *NullableAudioOutputOptions) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableEmbedSpeakerRequest ¶
type NullableEmbedSpeakerRequest struct {
// contains filtered or unexported fields
}
func NewNullableEmbedSpeakerRequest ¶
func NewNullableEmbedSpeakerRequest(val *EmbedSpeakerRequest) *NullableEmbedSpeakerRequest
func (NullableEmbedSpeakerRequest) Get ¶
func (v NullableEmbedSpeakerRequest) Get() *EmbedSpeakerRequest
func (NullableEmbedSpeakerRequest) IsSet ¶
func (v NullableEmbedSpeakerRequest) IsSet() bool
func (NullableEmbedSpeakerRequest) MarshalJSON ¶
func (v NullableEmbedSpeakerRequest) MarshalJSON() ([]byte, error)
func (*NullableEmbedSpeakerRequest) Set ¶
func (v *NullableEmbedSpeakerRequest) Set(val *EmbedSpeakerRequest)
func (*NullableEmbedSpeakerRequest) UnmarshalJSON ¶
func (v *NullableEmbedSpeakerRequest) UnmarshalJSON(src []byte) error
func (*NullableEmbedSpeakerRequest) Unset ¶
func (v *NullableEmbedSpeakerRequest) Unset()
type NullableEmbedSpeakerResponse ¶ added in v0.0.2
type NullableEmbedSpeakerResponse struct {
// contains filtered or unexported fields
}
func NewNullableEmbedSpeakerResponse ¶ added in v0.0.2
func NewNullableEmbedSpeakerResponse(val *EmbedSpeakerResponse) *NullableEmbedSpeakerResponse
func (NullableEmbedSpeakerResponse) Get ¶ added in v0.0.2
func (v NullableEmbedSpeakerResponse) Get() *EmbedSpeakerResponse
func (NullableEmbedSpeakerResponse) IsSet ¶ added in v0.0.2
func (v NullableEmbedSpeakerResponse) IsSet() bool
func (NullableEmbedSpeakerResponse) MarshalJSON ¶ added in v0.0.2
func (v NullableEmbedSpeakerResponse) MarshalJSON() ([]byte, error)
func (*NullableEmbedSpeakerResponse) Set ¶ added in v0.0.2
func (v *NullableEmbedSpeakerResponse) Set(val *EmbedSpeakerResponse)
func (*NullableEmbedSpeakerResponse) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableEmbedSpeakerResponse) UnmarshalJSON(src []byte) error
func (*NullableEmbedSpeakerResponse) Unset ¶ added in v0.0.2
func (v *NullableEmbedSpeakerResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGenerationOptions ¶
type NullableGenerationOptions struct {
// contains filtered or unexported fields
}
func NewNullableGenerationOptions ¶
func NewNullableGenerationOptions(val *GenerationOptions) *NullableGenerationOptions
func (NullableGenerationOptions) Get ¶
func (v NullableGenerationOptions) Get() *GenerationOptions
func (NullableGenerationOptions) IsSet ¶
func (v NullableGenerationOptions) IsSet() bool
func (NullableGenerationOptions) MarshalJSON ¶
func (v NullableGenerationOptions) MarshalJSON() ([]byte, error)
func (*NullableGenerationOptions) Set ¶
func (v *NullableGenerationOptions) Set(val *GenerationOptions)
func (*NullableGenerationOptions) UnmarshalJSON ¶
func (v *NullableGenerationOptions) UnmarshalJSON(src []byte) error
func (*NullableGenerationOptions) Unset ¶
func (v *NullableGenerationOptions) Unset()
type NullableHTTPValidationError ¶
type NullableHTTPValidationError struct {
// contains filtered or unexported fields
}
func NewNullableHTTPValidationError ¶
func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError
func (NullableHTTPValidationError) Get ¶
func (v NullableHTTPValidationError) Get() *HTTPValidationError
func (NullableHTTPValidationError) IsSet ¶
func (v NullableHTTPValidationError) IsSet() bool
func (NullableHTTPValidationError) MarshalJSON ¶
func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
func (*NullableHTTPValidationError) Set ¶
func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
func (*NullableHTTPValidationError) UnmarshalJSON ¶
func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
func (*NullableHTTPValidationError) Unset ¶
func (v *NullableHTTPValidationError) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLanguageOptions ¶ added in v0.0.5
type NullableLanguageOptions struct {
// contains filtered or unexported fields
}
func NewNullableLanguageOptions ¶ added in v0.0.5
func NewNullableLanguageOptions(val *LanguageOptions) *NullableLanguageOptions
func (NullableLanguageOptions) Get ¶ added in v0.0.5
func (v NullableLanguageOptions) Get() *LanguageOptions
func (NullableLanguageOptions) IsSet ¶ added in v0.0.5
func (v NullableLanguageOptions) IsSet() bool
func (NullableLanguageOptions) MarshalJSON ¶ added in v0.0.5
func (v NullableLanguageOptions) MarshalJSON() ([]byte, error)
func (*NullableLanguageOptions) Set ¶ added in v0.0.5
func (v *NullableLanguageOptions) Set(val *LanguageOptions)
func (*NullableLanguageOptions) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableLanguageOptions) UnmarshalJSON(src []byte) error
func (*NullableLanguageOptions) Unset ¶ added in v0.0.5
func (v *NullableLanguageOptions) Unset()
type NullableModelCard ¶ added in v0.0.2
type NullableModelCard struct {
// contains filtered or unexported fields
}
func NewNullableModelCard ¶ added in v0.0.2
func NewNullableModelCard(val *ModelCard) *NullableModelCard
func (NullableModelCard) Get ¶ added in v0.0.2
func (v NullableModelCard) Get() *ModelCard
func (NullableModelCard) IsSet ¶ added in v0.0.2
func (v NullableModelCard) IsSet() bool
func (NullableModelCard) MarshalJSON ¶ added in v0.0.2
func (v NullableModelCard) MarshalJSON() ([]byte, error)
func (*NullableModelCard) Set ¶ added in v0.0.2
func (v *NullableModelCard) Set(val *ModelCard)
func (*NullableModelCard) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableModelCard) UnmarshalJSON(src []byte) error
func (*NullableModelCard) Unset ¶ added in v0.0.2
func (v *NullableModelCard) Unset()
type NullableModelList ¶ added in v0.0.2
type NullableModelList struct {
// contains filtered or unexported fields
}
func NewNullableModelList ¶ added in v0.0.2
func NewNullableModelList(val *ModelList) *NullableModelList
func (NullableModelList) Get ¶ added in v0.0.2
func (v NullableModelList) Get() *ModelList
func (NullableModelList) IsSet ¶ added in v0.0.2
func (v NullableModelList) IsSet() bool
func (NullableModelList) MarshalJSON ¶ added in v0.0.2
func (v NullableModelList) MarshalJSON() ([]byte, error)
func (*NullableModelList) Set ¶ added in v0.0.2
func (v *NullableModelList) Set(val *ModelList)
func (*NullableModelList) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableModelList) UnmarshalJSON(src []byte) error
func (*NullableModelList) Unset ¶ added in v0.0.2
func (v *NullableModelList) Unset()
type NullableSpeechToTextResponse ¶ added in v0.0.2
type NullableSpeechToTextResponse struct {
// contains filtered or unexported fields
}
func NewNullableSpeechToTextResponse ¶ added in v0.0.2
func NewNullableSpeechToTextResponse(val *SpeechToTextResponse) *NullableSpeechToTextResponse
func (NullableSpeechToTextResponse) Get ¶ added in v0.0.2
func (v NullableSpeechToTextResponse) Get() *SpeechToTextResponse
func (NullableSpeechToTextResponse) IsSet ¶ added in v0.0.2
func (v NullableSpeechToTextResponse) IsSet() bool
func (NullableSpeechToTextResponse) MarshalJSON ¶ added in v0.0.2
func (v NullableSpeechToTextResponse) MarshalJSON() ([]byte, error)
func (*NullableSpeechToTextResponse) Set ¶ added in v0.0.2
func (v *NullableSpeechToTextResponse) Set(val *SpeechToTextResponse)
func (*NullableSpeechToTextResponse) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableSpeechToTextResponse) UnmarshalJSON(src []byte) error
func (*NullableSpeechToTextResponse) Unset ¶ added in v0.0.2
func (v *NullableSpeechToTextResponse) Unset()
type NullableSpeechTranscribeRequest ¶
type NullableSpeechTranscribeRequest struct {
// contains filtered or unexported fields
}
func NewNullableSpeechTranscribeRequest ¶
func NewNullableSpeechTranscribeRequest(val *SpeechTranscribeRequest) *NullableSpeechTranscribeRequest
func (NullableSpeechTranscribeRequest) Get ¶
func (v NullableSpeechTranscribeRequest) Get() *SpeechTranscribeRequest
func (NullableSpeechTranscribeRequest) IsSet ¶
func (v NullableSpeechTranscribeRequest) IsSet() bool
func (NullableSpeechTranscribeRequest) MarshalJSON ¶
func (v NullableSpeechTranscribeRequest) MarshalJSON() ([]byte, error)
func (*NullableSpeechTranscribeRequest) Set ¶
func (v *NullableSpeechTranscribeRequest) Set(val *SpeechTranscribeRequest)
func (*NullableSpeechTranscribeRequest) UnmarshalJSON ¶
func (v *NullableSpeechTranscribeRequest) UnmarshalJSON(src []byte) error
func (*NullableSpeechTranscribeRequest) Unset ¶
func (v *NullableSpeechTranscribeRequest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTextToSpeechRequest ¶
type NullableTextToSpeechRequest struct {
// contains filtered or unexported fields
}
func NewNullableTextToSpeechRequest ¶
func NewNullableTextToSpeechRequest(val *TextToSpeechRequest) *NullableTextToSpeechRequest
func (NullableTextToSpeechRequest) Get ¶
func (v NullableTextToSpeechRequest) Get() *TextToSpeechRequest
func (NullableTextToSpeechRequest) IsSet ¶
func (v NullableTextToSpeechRequest) IsSet() bool
func (NullableTextToSpeechRequest) MarshalJSON ¶
func (v NullableTextToSpeechRequest) MarshalJSON() ([]byte, error)
func (*NullableTextToSpeechRequest) Set ¶
func (v *NullableTextToSpeechRequest) Set(val *TextToSpeechRequest)
func (*NullableTextToSpeechRequest) UnmarshalJSON ¶
func (v *NullableTextToSpeechRequest) UnmarshalJSON(src []byte) error
func (*NullableTextToSpeechRequest) Unset ¶
func (v *NullableTextToSpeechRequest) Unset()
type NullableTextToSpeechResponse ¶ added in v0.0.2
type NullableTextToSpeechResponse struct {
// contains filtered or unexported fields
}
func NewNullableTextToSpeechResponse ¶ added in v0.0.2
func NewNullableTextToSpeechResponse(val *TextToSpeechResponse) *NullableTextToSpeechResponse
func (NullableTextToSpeechResponse) Get ¶ added in v0.0.2
func (v NullableTextToSpeechResponse) Get() *TextToSpeechResponse
func (NullableTextToSpeechResponse) IsSet ¶ added in v0.0.2
func (v NullableTextToSpeechResponse) IsSet() bool
func (NullableTextToSpeechResponse) MarshalJSON ¶ added in v0.0.2
func (v NullableTextToSpeechResponse) MarshalJSON() ([]byte, error)
func (*NullableTextToSpeechResponse) Set ¶ added in v0.0.2
func (v *NullableTextToSpeechResponse) Set(val *TextToSpeechResponse)
func (*NullableTextToSpeechResponse) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableTextToSpeechResponse) UnmarshalJSON(src []byte) error
func (*NullableTextToSpeechResponse) Unset ¶ added in v0.0.2
func (v *NullableTextToSpeechResponse) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type NullableValidationErrorLocInner ¶
type NullableValidationErrorLocInner struct {
// contains filtered or unexported fields
}
func NewNullableValidationErrorLocInner ¶
func NewNullableValidationErrorLocInner(val *ValidationErrorLocInner) *NullableValidationErrorLocInner
func (NullableValidationErrorLocInner) Get ¶
func (v NullableValidationErrorLocInner) Get() *ValidationErrorLocInner
func (NullableValidationErrorLocInner) IsSet ¶
func (v NullableValidationErrorLocInner) IsSet() bool
func (NullableValidationErrorLocInner) MarshalJSON ¶
func (v NullableValidationErrorLocInner) MarshalJSON() ([]byte, error)
func (*NullableValidationErrorLocInner) Set ¶
func (v *NullableValidationErrorLocInner) Set(val *ValidationErrorLocInner)
func (*NullableValidationErrorLocInner) UnmarshalJSON ¶
func (v *NullableValidationErrorLocInner) UnmarshalJSON(src []byte) error
func (*NullableValidationErrorLocInner) Unset ¶
func (v *NullableValidationErrorLocInner) Unset()
type NullableVoiceConversionRequest ¶
type NullableVoiceConversionRequest struct {
// contains filtered or unexported fields
}
func NewNullableVoiceConversionRequest ¶
func NewNullableVoiceConversionRequest(val *VoiceConversionRequest) *NullableVoiceConversionRequest
func (NullableVoiceConversionRequest) Get ¶
func (v NullableVoiceConversionRequest) Get() *VoiceConversionRequest
func (NullableVoiceConversionRequest) IsSet ¶
func (v NullableVoiceConversionRequest) IsSet() bool
func (NullableVoiceConversionRequest) MarshalJSON ¶
func (v NullableVoiceConversionRequest) MarshalJSON() ([]byte, error)
func (*NullableVoiceConversionRequest) Set ¶
func (v *NullableVoiceConversionRequest) Set(val *VoiceConversionRequest)
func (*NullableVoiceConversionRequest) UnmarshalJSON ¶
func (v *NullableVoiceConversionRequest) UnmarshalJSON(src []byte) error
func (*NullableVoiceConversionRequest) Unset ¶
func (v *NullableVoiceConversionRequest) Unset()
type NullableVoiceConversionResponse ¶ added in v0.0.2
type NullableVoiceConversionResponse struct {
// contains filtered or unexported fields
}
func NewNullableVoiceConversionResponse ¶ added in v0.0.2
func NewNullableVoiceConversionResponse(val *VoiceConversionResponse) *NullableVoiceConversionResponse
func (NullableVoiceConversionResponse) Get ¶ added in v0.0.2
func (v NullableVoiceConversionResponse) Get() *VoiceConversionResponse
func (NullableVoiceConversionResponse) IsSet ¶ added in v0.0.2
func (v NullableVoiceConversionResponse) IsSet() bool
func (NullableVoiceConversionResponse) MarshalJSON ¶ added in v0.0.2
func (v NullableVoiceConversionResponse) MarshalJSON() ([]byte, error)
func (*NullableVoiceConversionResponse) Set ¶ added in v0.0.2
func (v *NullableVoiceConversionResponse) Set(val *VoiceConversionResponse)
func (*NullableVoiceConversionResponse) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableVoiceConversionResponse) UnmarshalJSON(src []byte) error
func (*NullableVoiceConversionResponse) Unset ¶ added in v0.0.2
func (v *NullableVoiceConversionResponse) Unset()
type NullableVoiceOptions ¶ added in v0.0.5
type NullableVoiceOptions struct {
// contains filtered or unexported fields
}
func NewNullableVoiceOptions ¶ added in v0.0.5
func NewNullableVoiceOptions(val *VoiceOptions) *NullableVoiceOptions
func (NullableVoiceOptions) Get ¶ added in v0.0.5
func (v NullableVoiceOptions) Get() *VoiceOptions
func (NullableVoiceOptions) IsSet ¶ added in v0.0.5
func (v NullableVoiceOptions) IsSet() bool
func (NullableVoiceOptions) MarshalJSON ¶ added in v0.0.5
func (v NullableVoiceOptions) MarshalJSON() ([]byte, error)
func (*NullableVoiceOptions) Set ¶ added in v0.0.5
func (v *NullableVoiceOptions) Set(val *VoiceOptions)
func (*NullableVoiceOptions) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableVoiceOptions) UnmarshalJSON(src []byte) error
func (*NullableVoiceOptions) Unset ¶ added in v0.0.5
func (v *NullableVoiceOptions) Unset()
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SpeechToTextResponse ¶ added in v0.0.2
type SpeechToTextResponse struct { Id *string `json:"id,omitempty"` // the name of the model Model *string `json:"model,omitempty"` Created *int32 `json:"created,omitempty"` // text retrieved from the input audio Text *string `json:"text,omitempty"` Language NullableString `json:"language,omitempty"` Timestamps []map[string]interface{} `json:"timestamps,omitempty"` AdditionalProperties map[string]interface{} }
SpeechToTextResponse SpeechToTextResponse Result text determined from audio and optional language tag
func NewSpeechToTextResponse ¶ added in v0.0.2
func NewSpeechToTextResponse() *SpeechToTextResponse
NewSpeechToTextResponse instantiates a new SpeechToTextResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSpeechToTextResponseWithDefaults ¶ added in v0.0.2
func NewSpeechToTextResponseWithDefaults() *SpeechToTextResponse
NewSpeechToTextResponseWithDefaults instantiates a new SpeechToTextResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SpeechToTextResponse) GetCreated ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*SpeechToTextResponse) GetCreatedOk ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpeechToTextResponse) GetId ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SpeechToTextResponse) GetIdOk ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpeechToTextResponse) GetLanguage ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpeechToTextResponse) GetLanguageOk ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpeechToTextResponse) GetModel ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*SpeechToTextResponse) GetModelOk ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpeechToTextResponse) GetText ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetText() string
GetText returns the Text field value if set, zero value otherwise.
func (*SpeechToTextResponse) GetTextOk ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpeechToTextResponse) GetTimestamps ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetTimestamps() []map[string]interface{}
GetTimestamps returns the Timestamps field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpeechToTextResponse) GetTimestampsOk ¶ added in v0.0.2
func (o *SpeechToTextResponse) GetTimestampsOk() ([]map[string]interface{}, bool)
GetTimestampsOk returns a tuple with the Timestamps field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpeechToTextResponse) HasCreated ¶ added in v0.0.2
func (o *SpeechToTextResponse) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*SpeechToTextResponse) HasId ¶ added in v0.0.2
func (o *SpeechToTextResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*SpeechToTextResponse) HasLanguage ¶ added in v0.0.2
func (o *SpeechToTextResponse) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*SpeechToTextResponse) HasModel ¶ added in v0.0.2
func (o *SpeechToTextResponse) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*SpeechToTextResponse) HasText ¶ added in v0.0.2
func (o *SpeechToTextResponse) HasText() bool
HasText returns a boolean if a field has been set.
func (*SpeechToTextResponse) HasTimestamps ¶ added in v0.0.2
func (o *SpeechToTextResponse) HasTimestamps() bool
HasTimestamps returns a boolean if a field has been set.
func (SpeechToTextResponse) MarshalJSON ¶ added in v0.0.2
func (o SpeechToTextResponse) MarshalJSON() ([]byte, error)
func (*SpeechToTextResponse) SetCreated ¶ added in v0.0.2
func (o *SpeechToTextResponse) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*SpeechToTextResponse) SetId ¶ added in v0.0.2
func (o *SpeechToTextResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SpeechToTextResponse) SetLanguage ¶ added in v0.0.2
func (o *SpeechToTextResponse) SetLanguage(v string)
SetLanguage gets a reference to the given NullableString and assigns it to the Language field.
func (*SpeechToTextResponse) SetLanguageNil ¶ added in v0.0.2
func (o *SpeechToTextResponse) SetLanguageNil()
SetLanguageNil sets the value for Language to be an explicit nil
func (*SpeechToTextResponse) SetModel ¶ added in v0.0.2
func (o *SpeechToTextResponse) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*SpeechToTextResponse) SetText ¶ added in v0.0.2
func (o *SpeechToTextResponse) SetText(v string)
SetText gets a reference to the given string and assigns it to the Text field.
func (*SpeechToTextResponse) SetTimestamps ¶ added in v0.0.2
func (o *SpeechToTextResponse) SetTimestamps(v []map[string]interface{})
SetTimestamps gets a reference to the given []map[string]interface{} and assigns it to the Timestamps field.
func (SpeechToTextResponse) ToMap ¶ added in v0.0.2
func (o SpeechToTextResponse) ToMap() (map[string]interface{}, error)
func (*SpeechToTextResponse) UnmarshalJSON ¶ added in v0.0.2
func (o *SpeechToTextResponse) UnmarshalJSON(data []byte) (err error)
func (*SpeechToTextResponse) UnsetLanguage ¶ added in v0.0.2
func (o *SpeechToTextResponse) UnsetLanguage()
UnsetLanguage ensures that no value is present for Language, not even an explicit nil
type SpeechTranscribeRequest ¶
type SpeechTranscribeRequest struct { // the name of the model Model *string `json:"model,omitempty"` // Binary audio data of the reference speaker for synthesizing the text, encoded in base64 InputAudio *string `json:"input_audio,omitempty"` GetLanguage NullableBool `json:"get_language,omitempty"` GetTimestamps NullableBool `json:"get_timestamps,omitempty"` AdditionalProperties map[string]interface{} }
SpeechTranscribeRequest SpeechTranscribeRequest Used to apply ASR on a provided audio file Depending on model selection, the caller may need to provide additional params. Based on OpenAI STT API; extended for Harmony Speech Engine features.
func NewSpeechTranscribeRequest ¶
func NewSpeechTranscribeRequest() *SpeechTranscribeRequest
NewSpeechTranscribeRequest instantiates a new SpeechTranscribeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSpeechTranscribeRequestWithDefaults ¶
func NewSpeechTranscribeRequestWithDefaults() *SpeechTranscribeRequest
NewSpeechTranscribeRequestWithDefaults instantiates a new SpeechTranscribeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SpeechTranscribeRequest) GetGetLanguage ¶
func (o *SpeechTranscribeRequest) GetGetLanguage() bool
GetGetLanguage returns the GetLanguage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpeechTranscribeRequest) GetGetLanguageOk ¶
func (o *SpeechTranscribeRequest) GetGetLanguageOk() (*bool, bool)
GetGetLanguageOk returns a tuple with the GetLanguage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpeechTranscribeRequest) GetGetTimestamps ¶
func (o *SpeechTranscribeRequest) GetGetTimestamps() bool
GetGetTimestamps returns the GetTimestamps field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SpeechTranscribeRequest) GetGetTimestampsOk ¶
func (o *SpeechTranscribeRequest) GetGetTimestampsOk() (*bool, bool)
GetGetTimestampsOk returns a tuple with the GetTimestamps field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SpeechTranscribeRequest) GetInputAudio ¶
func (o *SpeechTranscribeRequest) GetInputAudio() string
GetInputAudio returns the InputAudio field value if set, zero value otherwise.
func (*SpeechTranscribeRequest) GetInputAudioOk ¶
func (o *SpeechTranscribeRequest) GetInputAudioOk() (*string, bool)
GetInputAudioOk returns a tuple with the InputAudio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpeechTranscribeRequest) GetModel ¶
func (o *SpeechTranscribeRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*SpeechTranscribeRequest) GetModelOk ¶
func (o *SpeechTranscribeRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpeechTranscribeRequest) HasGetLanguage ¶
func (o *SpeechTranscribeRequest) HasGetLanguage() bool
HasGetLanguage returns a boolean if a field has been set.
func (*SpeechTranscribeRequest) HasGetTimestamps ¶
func (o *SpeechTranscribeRequest) HasGetTimestamps() bool
HasGetTimestamps returns a boolean if a field has been set.
func (*SpeechTranscribeRequest) HasInputAudio ¶
func (o *SpeechTranscribeRequest) HasInputAudio() bool
HasInputAudio returns a boolean if a field has been set.
func (*SpeechTranscribeRequest) HasModel ¶
func (o *SpeechTranscribeRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (SpeechTranscribeRequest) MarshalJSON ¶
func (o SpeechTranscribeRequest) MarshalJSON() ([]byte, error)
func (*SpeechTranscribeRequest) SetGetLanguage ¶
func (o *SpeechTranscribeRequest) SetGetLanguage(v bool)
SetGetLanguage gets a reference to the given NullableBool and assigns it to the GetLanguage field.
func (*SpeechTranscribeRequest) SetGetLanguageNil ¶
func (o *SpeechTranscribeRequest) SetGetLanguageNil()
SetGetLanguageNil sets the value for GetLanguage to be an explicit nil
func (*SpeechTranscribeRequest) SetGetTimestamps ¶
func (o *SpeechTranscribeRequest) SetGetTimestamps(v bool)
SetGetTimestamps gets a reference to the given NullableBool and assigns it to the GetTimestamps field.
func (*SpeechTranscribeRequest) SetGetTimestampsNil ¶
func (o *SpeechTranscribeRequest) SetGetTimestampsNil()
SetGetTimestampsNil sets the value for GetTimestamps to be an explicit nil
func (*SpeechTranscribeRequest) SetInputAudio ¶
func (o *SpeechTranscribeRequest) SetInputAudio(v string)
SetInputAudio gets a reference to the given string and assigns it to the InputAudio field.
func (*SpeechTranscribeRequest) SetModel ¶
func (o *SpeechTranscribeRequest) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (SpeechTranscribeRequest) ToMap ¶
func (o SpeechTranscribeRequest) ToMap() (map[string]interface{}, error)
func (*SpeechTranscribeRequest) UnmarshalJSON ¶
func (o *SpeechTranscribeRequest) UnmarshalJSON(data []byte) (err error)
func (*SpeechTranscribeRequest) UnsetGetLanguage ¶
func (o *SpeechTranscribeRequest) UnsetGetLanguage()
UnsetGetLanguage ensures that no value is present for GetLanguage, not even an explicit nil
func (*SpeechTranscribeRequest) UnsetGetTimestamps ¶
func (o *SpeechTranscribeRequest) UnsetGetTimestamps()
UnsetGetTimestamps ensures that no value is present for GetTimestamps, not even an explicit nil
type TextToSpeechRequest ¶
type TextToSpeechRequest struct { // the name of the model Model *string `json:"model,omitempty"` // the text to synthesize Input *string `json:"input,omitempty"` // the operation mode for the model to process the request Mode *string `json:"mode,omitempty"` Language NullableString `json:"language,omitempty"` Voice NullableString `json:"voice,omitempty"` InputAudio NullableString `json:"input_audio,omitempty"` InputVadMode NullableString `json:"input_vad_mode,omitempty"` InputVadData NullableString `json:"input_vad_data,omitempty"` InputEmbedding NullableString `json:"input_embedding,omitempty"` GenerationOptions NullableGenerationOptions `json:"generation_options,omitempty"` OutputOptions NullableAudioOutputOptions `json:"output_options,omitempty"` PostGenerationFilters []VoiceConversionRequest `json:"post_generation_filters,omitempty"` AdditionalProperties map[string]interface{} }
TextToSpeechRequest TextToSpeechRequest Used to trigger a speech generation for the provided text input using the specified model. Depending on model selection, the caller may need to provide additional params. Based on OpenAI TTS API; extended for Harmony Speech Engine features.
func NewTextToSpeechRequest ¶
func NewTextToSpeechRequest() *TextToSpeechRequest
NewTextToSpeechRequest instantiates a new TextToSpeechRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTextToSpeechRequestWithDefaults ¶
func NewTextToSpeechRequestWithDefaults() *TextToSpeechRequest
NewTextToSpeechRequestWithDefaults instantiates a new TextToSpeechRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TextToSpeechRequest) GetGenerationOptions ¶
func (o *TextToSpeechRequest) GetGenerationOptions() GenerationOptions
GetGenerationOptions returns the GenerationOptions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetGenerationOptionsOk ¶
func (o *TextToSpeechRequest) GetGenerationOptionsOk() (*GenerationOptions, bool)
GetGenerationOptionsOk returns a tuple with the GenerationOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetInput ¶
func (o *TextToSpeechRequest) GetInput() string
GetInput returns the Input field value if set, zero value otherwise.
func (*TextToSpeechRequest) GetInputAudio ¶
func (o *TextToSpeechRequest) GetInputAudio() string
GetInputAudio returns the InputAudio field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetInputAudioOk ¶
func (o *TextToSpeechRequest) GetInputAudioOk() (*string, bool)
GetInputAudioOk returns a tuple with the InputAudio field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetInputEmbedding ¶
func (o *TextToSpeechRequest) GetInputEmbedding() string
GetInputEmbedding returns the InputEmbedding field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetInputEmbeddingOk ¶
func (o *TextToSpeechRequest) GetInputEmbeddingOk() (*string, bool)
GetInputEmbeddingOk returns a tuple with the InputEmbedding field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetInputOk ¶
func (o *TextToSpeechRequest) GetInputOk() (*string, bool)
GetInputOk returns a tuple with the Input field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TextToSpeechRequest) GetInputVadData ¶
func (o *TextToSpeechRequest) GetInputVadData() string
GetInputVadData returns the InputVadData field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetInputVadDataOk ¶
func (o *TextToSpeechRequest) GetInputVadDataOk() (*string, bool)
GetInputVadDataOk returns a tuple with the InputVadData field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetInputVadMode ¶
func (o *TextToSpeechRequest) GetInputVadMode() string
GetInputVadMode returns the InputVadMode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetInputVadModeOk ¶
func (o *TextToSpeechRequest) GetInputVadModeOk() (*string, bool)
GetInputVadModeOk returns a tuple with the InputVadMode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetLanguage ¶
func (o *TextToSpeechRequest) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetLanguageOk ¶
func (o *TextToSpeechRequest) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetMode ¶ added in v0.0.9
func (o *TextToSpeechRequest) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*TextToSpeechRequest) GetModeOk ¶ added in v0.0.9
func (o *TextToSpeechRequest) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TextToSpeechRequest) GetModel ¶
func (o *TextToSpeechRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*TextToSpeechRequest) GetModelOk ¶
func (o *TextToSpeechRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TextToSpeechRequest) GetOutputOptions ¶
func (o *TextToSpeechRequest) GetOutputOptions() AudioOutputOptions
GetOutputOptions returns the OutputOptions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetOutputOptionsOk ¶
func (o *TextToSpeechRequest) GetOutputOptionsOk() (*AudioOutputOptions, bool)
GetOutputOptionsOk returns a tuple with the OutputOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetPostGenerationFilters ¶
func (o *TextToSpeechRequest) GetPostGenerationFilters() []VoiceConversionRequest
GetPostGenerationFilters returns the PostGenerationFilters field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetPostGenerationFiltersOk ¶
func (o *TextToSpeechRequest) GetPostGenerationFiltersOk() ([]VoiceConversionRequest, bool)
GetPostGenerationFiltersOk returns a tuple with the PostGenerationFilters field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) GetVoice ¶
func (o *TextToSpeechRequest) GetVoice() string
GetVoice returns the Voice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TextToSpeechRequest) GetVoiceOk ¶
func (o *TextToSpeechRequest) GetVoiceOk() (*string, bool)
GetVoiceOk returns a tuple with the Voice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TextToSpeechRequest) HasGenerationOptions ¶
func (o *TextToSpeechRequest) HasGenerationOptions() bool
HasGenerationOptions returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasInput ¶
func (o *TextToSpeechRequest) HasInput() bool
HasInput returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasInputAudio ¶
func (o *TextToSpeechRequest) HasInputAudio() bool
HasInputAudio returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasInputEmbedding ¶
func (o *TextToSpeechRequest) HasInputEmbedding() bool
HasInputEmbedding returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasInputVadData ¶
func (o *TextToSpeechRequest) HasInputVadData() bool
HasInputVadData returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasInputVadMode ¶
func (o *TextToSpeechRequest) HasInputVadMode() bool
HasInputVadMode returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasLanguage ¶
func (o *TextToSpeechRequest) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasMode ¶ added in v0.0.9
func (o *TextToSpeechRequest) HasMode() bool
HasMode returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasModel ¶
func (o *TextToSpeechRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasOutputOptions ¶
func (o *TextToSpeechRequest) HasOutputOptions() bool
HasOutputOptions returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasPostGenerationFilters ¶
func (o *TextToSpeechRequest) HasPostGenerationFilters() bool
HasPostGenerationFilters returns a boolean if a field has been set.
func (*TextToSpeechRequest) HasVoice ¶
func (o *TextToSpeechRequest) HasVoice() bool
HasVoice returns a boolean if a field has been set.
func (TextToSpeechRequest) MarshalJSON ¶
func (o TextToSpeechRequest) MarshalJSON() ([]byte, error)
func (*TextToSpeechRequest) SetGenerationOptions ¶
func (o *TextToSpeechRequest) SetGenerationOptions(v GenerationOptions)
SetGenerationOptions gets a reference to the given NullableGenerationOptions and assigns it to the GenerationOptions field.
func (*TextToSpeechRequest) SetGenerationOptionsNil ¶
func (o *TextToSpeechRequest) SetGenerationOptionsNil()
SetGenerationOptionsNil sets the value for GenerationOptions to be an explicit nil
func (*TextToSpeechRequest) SetInput ¶
func (o *TextToSpeechRequest) SetInput(v string)
SetInput gets a reference to the given string and assigns it to the Input field.
func (*TextToSpeechRequest) SetInputAudio ¶
func (o *TextToSpeechRequest) SetInputAudio(v string)
SetInputAudio gets a reference to the given NullableString and assigns it to the InputAudio field.
func (*TextToSpeechRequest) SetInputAudioNil ¶
func (o *TextToSpeechRequest) SetInputAudioNil()
SetInputAudioNil sets the value for InputAudio to be an explicit nil
func (*TextToSpeechRequest) SetInputEmbedding ¶
func (o *TextToSpeechRequest) SetInputEmbedding(v string)
SetInputEmbedding gets a reference to the given NullableString and assigns it to the InputEmbedding field.
func (*TextToSpeechRequest) SetInputEmbeddingNil ¶
func (o *TextToSpeechRequest) SetInputEmbeddingNil()
SetInputEmbeddingNil sets the value for InputEmbedding to be an explicit nil
func (*TextToSpeechRequest) SetInputVadData ¶
func (o *TextToSpeechRequest) SetInputVadData(v string)
SetInputVadData gets a reference to the given NullableString and assigns it to the InputVadData field.
func (*TextToSpeechRequest) SetInputVadDataNil ¶
func (o *TextToSpeechRequest) SetInputVadDataNil()
SetInputVadDataNil sets the value for InputVadData to be an explicit nil
func (*TextToSpeechRequest) SetInputVadMode ¶
func (o *TextToSpeechRequest) SetInputVadMode(v string)
SetInputVadMode gets a reference to the given NullableString and assigns it to the InputVadMode field.
func (*TextToSpeechRequest) SetInputVadModeNil ¶
func (o *TextToSpeechRequest) SetInputVadModeNil()
SetInputVadModeNil sets the value for InputVadMode to be an explicit nil
func (*TextToSpeechRequest) SetLanguage ¶
func (o *TextToSpeechRequest) SetLanguage(v string)
SetLanguage gets a reference to the given NullableString and assigns it to the Language field.
func (*TextToSpeechRequest) SetLanguageNil ¶ added in v0.0.3
func (o *TextToSpeechRequest) SetLanguageNil()
SetLanguageNil sets the value for Language to be an explicit nil
func (*TextToSpeechRequest) SetMode ¶ added in v0.0.9
func (o *TextToSpeechRequest) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*TextToSpeechRequest) SetModel ¶
func (o *TextToSpeechRequest) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*TextToSpeechRequest) SetOutputOptions ¶
func (o *TextToSpeechRequest) SetOutputOptions(v AudioOutputOptions)
SetOutputOptions gets a reference to the given NullableAudioOutputOptions and assigns it to the OutputOptions field.
func (*TextToSpeechRequest) SetOutputOptionsNil ¶
func (o *TextToSpeechRequest) SetOutputOptionsNil()
SetOutputOptionsNil sets the value for OutputOptions to be an explicit nil
func (*TextToSpeechRequest) SetPostGenerationFilters ¶
func (o *TextToSpeechRequest) SetPostGenerationFilters(v []VoiceConversionRequest)
SetPostGenerationFilters gets a reference to the given []VoiceConversionRequest and assigns it to the PostGenerationFilters field.
func (*TextToSpeechRequest) SetVoice ¶
func (o *TextToSpeechRequest) SetVoice(v string)
SetVoice gets a reference to the given NullableString and assigns it to the Voice field.
func (*TextToSpeechRequest) SetVoiceNil ¶
func (o *TextToSpeechRequest) SetVoiceNil()
SetVoiceNil sets the value for Voice to be an explicit nil
func (TextToSpeechRequest) ToMap ¶
func (o TextToSpeechRequest) ToMap() (map[string]interface{}, error)
func (*TextToSpeechRequest) UnmarshalJSON ¶
func (o *TextToSpeechRequest) UnmarshalJSON(data []byte) (err error)
func (*TextToSpeechRequest) UnsetGenerationOptions ¶
func (o *TextToSpeechRequest) UnsetGenerationOptions()
UnsetGenerationOptions ensures that no value is present for GenerationOptions, not even an explicit nil
func (*TextToSpeechRequest) UnsetInputAudio ¶
func (o *TextToSpeechRequest) UnsetInputAudio()
UnsetInputAudio ensures that no value is present for InputAudio, not even an explicit nil
func (*TextToSpeechRequest) UnsetInputEmbedding ¶
func (o *TextToSpeechRequest) UnsetInputEmbedding()
UnsetInputEmbedding ensures that no value is present for InputEmbedding, not even an explicit nil
func (*TextToSpeechRequest) UnsetInputVadData ¶
func (o *TextToSpeechRequest) UnsetInputVadData()
UnsetInputVadData ensures that no value is present for InputVadData, not even an explicit nil
func (*TextToSpeechRequest) UnsetInputVadMode ¶
func (o *TextToSpeechRequest) UnsetInputVadMode()
UnsetInputVadMode ensures that no value is present for InputVadMode, not even an explicit nil
func (*TextToSpeechRequest) UnsetLanguage ¶ added in v0.0.3
func (o *TextToSpeechRequest) UnsetLanguage()
UnsetLanguage ensures that no value is present for Language, not even an explicit nil
func (*TextToSpeechRequest) UnsetOutputOptions ¶
func (o *TextToSpeechRequest) UnsetOutputOptions()
UnsetOutputOptions ensures that no value is present for OutputOptions, not even an explicit nil
func (*TextToSpeechRequest) UnsetVoice ¶
func (o *TextToSpeechRequest) UnsetVoice()
UnsetVoice ensures that no value is present for Voice, not even an explicit nil
type TextToSpeechResponse ¶ added in v0.0.2
type TextToSpeechResponse struct { Id *string `json:"id,omitempty"` // the name of the model Model *string `json:"model,omitempty"` Created *int32 `json:"created,omitempty"` // Audio Bytes in requested format of the initial request Data *string `json:"data,omitempty"` AdditionalProperties map[string]interface{} }
TextToSpeechResponse TextToSpeechResponse Extends AudioDataResponse with a request specific ID
func NewTextToSpeechResponse ¶ added in v0.0.2
func NewTextToSpeechResponse() *TextToSpeechResponse
NewTextToSpeechResponse instantiates a new TextToSpeechResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTextToSpeechResponseWithDefaults ¶ added in v0.0.2
func NewTextToSpeechResponseWithDefaults() *TextToSpeechResponse
NewTextToSpeechResponseWithDefaults instantiates a new TextToSpeechResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TextToSpeechResponse) GetCreated ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*TextToSpeechResponse) GetCreatedOk ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TextToSpeechResponse) GetData ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetData() string
GetData returns the Data field value if set, zero value otherwise.
func (*TextToSpeechResponse) GetDataOk ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TextToSpeechResponse) GetId ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TextToSpeechResponse) GetIdOk ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TextToSpeechResponse) GetModel ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*TextToSpeechResponse) GetModelOk ¶ added in v0.0.2
func (o *TextToSpeechResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TextToSpeechResponse) HasCreated ¶ added in v0.0.2
func (o *TextToSpeechResponse) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*TextToSpeechResponse) HasData ¶ added in v0.0.2
func (o *TextToSpeechResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*TextToSpeechResponse) HasId ¶ added in v0.0.2
func (o *TextToSpeechResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*TextToSpeechResponse) HasModel ¶ added in v0.0.2
func (o *TextToSpeechResponse) HasModel() bool
HasModel returns a boolean if a field has been set.
func (TextToSpeechResponse) MarshalJSON ¶ added in v0.0.2
func (o TextToSpeechResponse) MarshalJSON() ([]byte, error)
func (*TextToSpeechResponse) SetCreated ¶ added in v0.0.2
func (o *TextToSpeechResponse) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*TextToSpeechResponse) SetData ¶ added in v0.0.2
func (o *TextToSpeechResponse) SetData(v string)
SetData gets a reference to the given string and assigns it to the Data field.
func (*TextToSpeechResponse) SetId ¶ added in v0.0.2
func (o *TextToSpeechResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TextToSpeechResponse) SetModel ¶ added in v0.0.2
func (o *TextToSpeechResponse) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (TextToSpeechResponse) ToMap ¶ added in v0.0.2
func (o TextToSpeechResponse) ToMap() (map[string]interface{}, error)
func (*TextToSpeechResponse) UnmarshalJSON ¶ added in v0.0.2
func (o *TextToSpeechResponse) UnmarshalJSON(data []byte) (err error)
type ValidationError ¶
type ValidationError struct { Loc []ValidationErrorLocInner `json:"loc"` Msg string `json:"msg"` Type string `json:"type"` AdditionalProperties map[string]interface{} }
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(loc []ValidationErrorLocInner, msg string, type_ string) *ValidationError
NewValidationError instantiates a new ValidationError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ValidationError) GetLoc ¶
func (o *ValidationError) GetLoc() []ValidationErrorLocInner
GetLoc returns the Loc field value
func (*ValidationError) GetLocOk ¶
func (o *ValidationError) GetLocOk() ([]ValidationErrorLocInner, bool)
GetLocOk returns a tuple with the Loc field value and a boolean to check if the value has been set.
func (*ValidationError) GetMsg ¶
func (o *ValidationError) GetMsg() string
GetMsg returns the Msg field value
func (*ValidationError) GetMsgOk ¶
func (o *ValidationError) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (*ValidationError) GetType ¶
func (o *ValidationError) GetType() string
GetType returns the Type field value
func (*ValidationError) GetTypeOk ¶
func (o *ValidationError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetLoc ¶
func (o *ValidationError) SetLoc(v []ValidationErrorLocInner)
SetLoc sets field value
func (*ValidationError) SetType ¶
func (o *ValidationError) SetType(v string)
SetType sets field value
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
func (*ValidationError) UnmarshalJSON ¶
func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
type ValidationErrorLocInner ¶
ValidationErrorLocInner struct for ValidationErrorLocInner
func (ValidationErrorLocInner) MarshalJSON ¶
func (src ValidationErrorLocInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ValidationErrorLocInner) UnmarshalJSON ¶
func (dst *ValidationErrorLocInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type VoiceConversionRequest ¶
type VoiceConversionRequest struct { // the name of the model Model *string `json:"model,omitempty"` // Binary audio data to be processed, encoded in base64 SourceAudio *string `json:"source_audio,omitempty"` TargetAudio NullableString `json:"target_audio,omitempty"` TargetEmbedding NullableString `json:"target_embedding,omitempty"` GenerationOptions NullableGenerationOptions `json:"generation_options,omitempty"` OutputOptions NullableAudioOutputOptions `json:"output_options,omitempty"` AdditionalProperties map[string]interface{} }
VoiceConversionRequest VoiceConversionRequest Used to convert the tone or nature of a voice in a specific way. Depending on model selection, the caller may need to provide additional params.
func NewVoiceConversionRequest ¶
func NewVoiceConversionRequest() *VoiceConversionRequest
NewVoiceConversionRequest instantiates a new VoiceConversionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVoiceConversionRequestWithDefaults ¶
func NewVoiceConversionRequestWithDefaults() *VoiceConversionRequest
NewVoiceConversionRequestWithDefaults instantiates a new VoiceConversionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VoiceConversionRequest) GetGenerationOptions ¶
func (o *VoiceConversionRequest) GetGenerationOptions() GenerationOptions
GetGenerationOptions returns the GenerationOptions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VoiceConversionRequest) GetGenerationOptionsOk ¶
func (o *VoiceConversionRequest) GetGenerationOptionsOk() (*GenerationOptions, bool)
GetGenerationOptionsOk returns a tuple with the GenerationOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VoiceConversionRequest) GetModel ¶
func (o *VoiceConversionRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*VoiceConversionRequest) GetModelOk ¶
func (o *VoiceConversionRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoiceConversionRequest) GetOutputOptions ¶
func (o *VoiceConversionRequest) GetOutputOptions() AudioOutputOptions
GetOutputOptions returns the OutputOptions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VoiceConversionRequest) GetOutputOptionsOk ¶
func (o *VoiceConversionRequest) GetOutputOptionsOk() (*AudioOutputOptions, bool)
GetOutputOptionsOk returns a tuple with the OutputOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VoiceConversionRequest) GetSourceAudio ¶
func (o *VoiceConversionRequest) GetSourceAudio() string
GetSourceAudio returns the SourceAudio field value if set, zero value otherwise.
func (*VoiceConversionRequest) GetSourceAudioOk ¶
func (o *VoiceConversionRequest) GetSourceAudioOk() (*string, bool)
GetSourceAudioOk returns a tuple with the SourceAudio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoiceConversionRequest) GetTargetAudio ¶
func (o *VoiceConversionRequest) GetTargetAudio() string
GetTargetAudio returns the TargetAudio field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VoiceConversionRequest) GetTargetAudioOk ¶
func (o *VoiceConversionRequest) GetTargetAudioOk() (*string, bool)
GetTargetAudioOk returns a tuple with the TargetAudio field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VoiceConversionRequest) GetTargetEmbedding ¶
func (o *VoiceConversionRequest) GetTargetEmbedding() string
GetTargetEmbedding returns the TargetEmbedding field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VoiceConversionRequest) GetTargetEmbeddingOk ¶
func (o *VoiceConversionRequest) GetTargetEmbeddingOk() (*string, bool)
GetTargetEmbeddingOk returns a tuple with the TargetEmbedding field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VoiceConversionRequest) HasGenerationOptions ¶
func (o *VoiceConversionRequest) HasGenerationOptions() bool
HasGenerationOptions returns a boolean if a field has been set.
func (*VoiceConversionRequest) HasModel ¶
func (o *VoiceConversionRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*VoiceConversionRequest) HasOutputOptions ¶
func (o *VoiceConversionRequest) HasOutputOptions() bool
HasOutputOptions returns a boolean if a field has been set.
func (*VoiceConversionRequest) HasSourceAudio ¶
func (o *VoiceConversionRequest) HasSourceAudio() bool
HasSourceAudio returns a boolean if a field has been set.
func (*VoiceConversionRequest) HasTargetAudio ¶
func (o *VoiceConversionRequest) HasTargetAudio() bool
HasTargetAudio returns a boolean if a field has been set.
func (*VoiceConversionRequest) HasTargetEmbedding ¶
func (o *VoiceConversionRequest) HasTargetEmbedding() bool
HasTargetEmbedding returns a boolean if a field has been set.
func (VoiceConversionRequest) MarshalJSON ¶
func (o VoiceConversionRequest) MarshalJSON() ([]byte, error)
func (*VoiceConversionRequest) SetGenerationOptions ¶
func (o *VoiceConversionRequest) SetGenerationOptions(v GenerationOptions)
SetGenerationOptions gets a reference to the given NullableGenerationOptions and assigns it to the GenerationOptions field.
func (*VoiceConversionRequest) SetGenerationOptionsNil ¶
func (o *VoiceConversionRequest) SetGenerationOptionsNil()
SetGenerationOptionsNil sets the value for GenerationOptions to be an explicit nil
func (*VoiceConversionRequest) SetModel ¶
func (o *VoiceConversionRequest) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*VoiceConversionRequest) SetOutputOptions ¶
func (o *VoiceConversionRequest) SetOutputOptions(v AudioOutputOptions)
SetOutputOptions gets a reference to the given NullableAudioOutputOptions and assigns it to the OutputOptions field.
func (*VoiceConversionRequest) SetOutputOptionsNil ¶
func (o *VoiceConversionRequest) SetOutputOptionsNil()
SetOutputOptionsNil sets the value for OutputOptions to be an explicit nil
func (*VoiceConversionRequest) SetSourceAudio ¶
func (o *VoiceConversionRequest) SetSourceAudio(v string)
SetSourceAudio gets a reference to the given string and assigns it to the SourceAudio field.
func (*VoiceConversionRequest) SetTargetAudio ¶
func (o *VoiceConversionRequest) SetTargetAudio(v string)
SetTargetAudio gets a reference to the given NullableString and assigns it to the TargetAudio field.
func (*VoiceConversionRequest) SetTargetAudioNil ¶
func (o *VoiceConversionRequest) SetTargetAudioNil()
SetTargetAudioNil sets the value for TargetAudio to be an explicit nil
func (*VoiceConversionRequest) SetTargetEmbedding ¶
func (o *VoiceConversionRequest) SetTargetEmbedding(v string)
SetTargetEmbedding gets a reference to the given NullableString and assigns it to the TargetEmbedding field.
func (*VoiceConversionRequest) SetTargetEmbeddingNil ¶
func (o *VoiceConversionRequest) SetTargetEmbeddingNil()
SetTargetEmbeddingNil sets the value for TargetEmbedding to be an explicit nil
func (VoiceConversionRequest) ToMap ¶
func (o VoiceConversionRequest) ToMap() (map[string]interface{}, error)
func (*VoiceConversionRequest) UnmarshalJSON ¶
func (o *VoiceConversionRequest) UnmarshalJSON(data []byte) (err error)
func (*VoiceConversionRequest) UnsetGenerationOptions ¶
func (o *VoiceConversionRequest) UnsetGenerationOptions()
UnsetGenerationOptions ensures that no value is present for GenerationOptions, not even an explicit nil
func (*VoiceConversionRequest) UnsetOutputOptions ¶
func (o *VoiceConversionRequest) UnsetOutputOptions()
UnsetOutputOptions ensures that no value is present for OutputOptions, not even an explicit nil
func (*VoiceConversionRequest) UnsetTargetAudio ¶
func (o *VoiceConversionRequest) UnsetTargetAudio()
UnsetTargetAudio ensures that no value is present for TargetAudio, not even an explicit nil
func (*VoiceConversionRequest) UnsetTargetEmbedding ¶
func (o *VoiceConversionRequest) UnsetTargetEmbedding()
UnsetTargetEmbedding ensures that no value is present for TargetEmbedding, not even an explicit nil
type VoiceConversionResponse ¶ added in v0.0.2
type VoiceConversionResponse struct { Id *string `json:"id,omitempty"` // the name of the model Model *string `json:"model,omitempty"` Created *int32 `json:"created,omitempty"` // Audio Bytes in requested format of the initial request Data *string `json:"data,omitempty"` AdditionalProperties map[string]interface{} }
VoiceConversionResponse VoiceConversionResponse Extends AudioDataResponse with a request specific ID
func NewVoiceConversionResponse ¶ added in v0.0.2
func NewVoiceConversionResponse() *VoiceConversionResponse
NewVoiceConversionResponse instantiates a new VoiceConversionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVoiceConversionResponseWithDefaults ¶ added in v0.0.2
func NewVoiceConversionResponseWithDefaults() *VoiceConversionResponse
NewVoiceConversionResponseWithDefaults instantiates a new VoiceConversionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VoiceConversionResponse) GetCreated ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*VoiceConversionResponse) GetCreatedOk ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoiceConversionResponse) GetData ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetData() string
GetData returns the Data field value if set, zero value otherwise.
func (*VoiceConversionResponse) GetDataOk ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoiceConversionResponse) GetId ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VoiceConversionResponse) GetIdOk ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoiceConversionResponse) GetModel ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*VoiceConversionResponse) GetModelOk ¶ added in v0.0.2
func (o *VoiceConversionResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoiceConversionResponse) HasCreated ¶ added in v0.0.2
func (o *VoiceConversionResponse) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*VoiceConversionResponse) HasData ¶ added in v0.0.2
func (o *VoiceConversionResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*VoiceConversionResponse) HasId ¶ added in v0.0.2
func (o *VoiceConversionResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*VoiceConversionResponse) HasModel ¶ added in v0.0.2
func (o *VoiceConversionResponse) HasModel() bool
HasModel returns a boolean if a field has been set.
func (VoiceConversionResponse) MarshalJSON ¶ added in v0.0.2
func (o VoiceConversionResponse) MarshalJSON() ([]byte, error)
func (*VoiceConversionResponse) SetCreated ¶ added in v0.0.2
func (o *VoiceConversionResponse) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*VoiceConversionResponse) SetData ¶ added in v0.0.2
func (o *VoiceConversionResponse) SetData(v string)
SetData gets a reference to the given string and assigns it to the Data field.
func (*VoiceConversionResponse) SetId ¶ added in v0.0.2
func (o *VoiceConversionResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*VoiceConversionResponse) SetModel ¶ added in v0.0.2
func (o *VoiceConversionResponse) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (VoiceConversionResponse) ToMap ¶ added in v0.0.2
func (o VoiceConversionResponse) ToMap() (map[string]interface{}, error)
func (*VoiceConversionResponse) UnmarshalJSON ¶ added in v0.0.2
func (o *VoiceConversionResponse) UnmarshalJSON(data []byte) (err error)
type VoiceOptions ¶ added in v0.0.5
type VoiceOptions struct { Voice *string `json:"voice,omitempty"` Styles []string `json:"styles,omitempty"` AdditionalProperties map[string]interface{} }
VoiceOptions struct for VoiceOptions
func NewVoiceOptions ¶ added in v0.0.5
func NewVoiceOptions() *VoiceOptions
NewVoiceOptions instantiates a new VoiceOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVoiceOptionsWithDefaults ¶ added in v0.0.5
func NewVoiceOptionsWithDefaults() *VoiceOptions
NewVoiceOptionsWithDefaults instantiates a new VoiceOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VoiceOptions) GetStyles ¶ added in v0.0.5
func (o *VoiceOptions) GetStyles() []string
GetStyles returns the Styles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*VoiceOptions) GetStylesOk ¶ added in v0.0.5
func (o *VoiceOptions) GetStylesOk() ([]string, bool)
GetStylesOk returns a tuple with the Styles field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*VoiceOptions) GetVoice ¶ added in v0.0.5
func (o *VoiceOptions) GetVoice() string
GetVoice returns the Voice field value if set, zero value otherwise.
func (*VoiceOptions) GetVoiceOk ¶ added in v0.0.5
func (o *VoiceOptions) GetVoiceOk() (*string, bool)
GetVoiceOk returns a tuple with the Voice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VoiceOptions) HasStyles ¶ added in v0.0.5
func (o *VoiceOptions) HasStyles() bool
HasStyles returns a boolean if a field has been set.
func (*VoiceOptions) HasVoice ¶ added in v0.0.5
func (o *VoiceOptions) HasVoice() bool
HasVoice returns a boolean if a field has been set.
func (VoiceOptions) MarshalJSON ¶ added in v0.0.5
func (o VoiceOptions) MarshalJSON() ([]byte, error)
func (*VoiceOptions) SetStyles ¶ added in v0.0.5
func (o *VoiceOptions) SetStyles(v []string)
SetStyles gets a reference to the given []string and assigns it to the Styles field.
func (*VoiceOptions) SetVoice ¶ added in v0.0.5
func (o *VoiceOptions) SetVoice(v string)
SetVoice gets a reference to the given string and assigns it to the Voice field.
func (VoiceOptions) ToMap ¶ added in v0.0.5
func (o VoiceOptions) ToMap() (map[string]interface{}, error)
func (*VoiceOptions) UnmarshalJSON ¶ added in v0.0.5
func (o *VoiceOptions) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_audio_output_options.go
- model_embed_speaker_request.go
- model_embed_speaker_response.go
- model_generation_options.go
- model_http_validation_error.go
- model_language_options.go
- model_model_card.go
- model_model_list.go
- model_speech_to_text_response.go
- model_speech_transcribe_request.go
- model_text_to_speech_request.go
- model_text_to_speech_response.go
- model_validation_error.go
- model_validation_error_loc_inner.go
- model_voice_conversion_request.go
- model_voice_conversion_response.go
- model_voice_options.go
- response.go
- utils.go