Structures

The following structures are available globally.

  • Information about an existing custom model.

    See more

    Declaration

    Swift

    public struct CustomModel : Codable, Equatable
  • Information about existing custom models.

    See more

    Declaration

    Swift

    public struct CustomModels : Codable, Equatable
  • Information about a custom prompt.

    See more

    Declaration

    Swift

    public struct Prompt : Codable, Equatable
  • Information about the prompt that is to be added to a custom model. The following example of a PromptMetadata object includes both the required prompt text and an optional speaker model ID: { "prompt_text": "Thank you and good-bye!", "speaker_id": "823068b2-ed4e-11ea-b6e0-7b6456aa95cc" }.

    See more

    Declaration

    Swift

    public struct PromptMetadata : Codable, Equatable
  • Information about the custom prompts that are defined for a custom model.

    See more

    Declaration

    Swift

    public struct Prompts : Codable, Equatable
  • The pronunciation of the specified text.

    See more

    Declaration

    Swift

    public struct Pronunciation : Codable, Equatable
  • Information about a speaker model.

    See more

    Declaration

    Swift

    public struct Speaker : Codable, Equatable
  • A custom models for which the speaker has defined prompts.

    See more

    Declaration

    Swift

    public struct SpeakerCustomModel : Codable, Equatable
  • Custom models for which the speaker has defined prompts.

    See more

    Declaration

    Swift

    public struct SpeakerCustomModels : Codable, Equatable
  • The speaker ID of the speaker model.

    See more

    Declaration

    Swift

    public struct SpeakerModel : Codable, Equatable
  • A prompt that a speaker has defined for a custom model.

    See more

    Declaration

    Swift

    public struct SpeakerPrompt : Codable, Equatable
  • Information about all speaker models for the service instance.

    See more

    Declaration

    Swift

    public struct Speakers : Codable, Equatable
  • Additional service features that are supported with the voice.

    See more

    Declaration

    Swift

    public struct SupportedFeatures : Codable, Equatable
  • Information about the translation for the specified text.

    See more

    Declaration

    Swift

    public struct Translation : Codable, Equatable
  • Information about an available voice.

    See more

    Declaration

    Swift

    public struct Voice : Codable, Equatable
  • Information about all available voices.

    See more

    Declaration

    Swift

    public struct Voices : Codable, Equatable
  • Information about a word for the custom model.

    See more

    Declaration

    Swift

    public struct Word : Codable, Equatable
  • For the Add custom words method, one or more words that are to be added or updated for the custom model and the translation for each specified word. For the List custom words method, the words and their translations from the custom model.

    See more

    Declaration

    Swift

    public struct Words : Codable, Equatable