Class TranslationModel

All Implemented Interfaces:

public class TranslationModel
Response payload for models.
  • Constructor Details

    • TranslationModel

      public TranslationModel()
  • Method Details

    • getModelId

      public String getModelId()
      Gets the modelId.

      A globally unique string that identifies the underlying model that is used for translation.

      the modelId
    • getName

      public String getName()
      Gets the name.

      Optional name that can be specified when the model is created.

      the name
    • getSource

      public String getSource()
      Gets the source.

      Translation source language code.

      the source
    • getTarget

      public String getTarget()
      Gets the target.

      Translation target language code.

      the target
    • getBaseModelId

      public String getBaseModelId()
      Gets the baseModelId.

      Model ID of the base model that was used to customize the model. If the model is not a custom model, this will be an empty string.

      the baseModelId
    • getDomain

      public String getDomain()
      Gets the domain.

      The domain of the translation model.

      the domain
    • isCustomizable

      public Boolean isCustomizable()
      Gets the customizable.

      Whether this model can be used as a base for customization. Customized models are not further customizable, and some base models are not customizable.

      the customizable
    • isDefaultModel

      public Boolean isDefaultModel()
      Gets the defaultModel.

      Whether or not the model is a default model. A default model is the model for a given language pair that will be used when that language pair is specified in the source and target parameters.

      the defaultModel
    • getOwner

      public String getOwner()
      Gets the owner.

      Either an empty string, indicating the model is not a custom model, or the ID of the service instance that created the model.

      the owner
    • getStatus

      public String getStatus()
      Gets the status.

      Availability of a model.

      the status