Class CustomModel

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.text_to_speech.v1.model.CustomModel
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CustomModel
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about an existing custom model.
  • Constructor Details

    • CustomModel

      public CustomModel()
  • Method Details

    • getCustomizationId

      public String getCustomizationId()
      Gets the customizationId.

      The customization ID (GUID) of the custom model. The **Create a custom model** method returns only this field. It does not not return the other fields of this object.

      Returns:
      the customizationId
    • getName

      public String getName()
      Gets the name.

      The name of the custom model.

      Returns:
      the name
    • getLanguage

      public String getLanguage()
      Gets the language.

      The language identifier of the custom model (for example, `en-US`).

      Returns:
      the language
    • getOwner

      public String getOwner()
      Gets the owner.

      The GUID of the credentials for the instance of the service that owns the custom model.

      Returns:
      the owner
    • getCreated

      public String getCreated()
      Gets the created.

      The date and time in Coordinated Universal Time (UTC) at which the custom model was created. The value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).

      Returns:
      the created
    • getLastModified

      public String getLastModified()
      Gets the lastModified.

      The date and time in Coordinated Universal Time (UTC) at which the custom model was last modified. The `created` and `updated` fields are equal when a model is first added but has yet to be updated. The value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).

      Returns:
      the lastModified
    • getDescription

      public String getDescription()
      Gets the description.

      The description of the custom model.

      Returns:
      the description
    • getWords

      public List<Word> getWords()
      Gets the words.

      An array of `Word` objects that lists the words and their translations from the custom model. The words are listed in alphabetical order, with uppercase letters listed before lowercase letters. The array is empty if no words are defined for the custom model. This field is returned only by the **Get a custom model** method.

      Returns:
      the words
    • getPrompts

      public List<Prompt> getPrompts()
      Gets the prompts.

      An array of `Prompt` objects that provides information about the prompts that are defined for the specified custom model. The array is empty if no prompts are defined for the custom model. This field is returned only by the **Get a custom model** method.

      Returns:
      the prompts