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

public class Model
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Model.
  • Constructor Details

    • Model

      public Model()
  • Method Details

    • getStatus

      public String getStatus()
      Gets the status.

      When the status is `available`, the model is ready to use.

      Returns:
      the status
    • getModelId

      public String getModelId()
      Gets the modelId.

      Unique model ID.

      Returns:
      the modelId
    • getLanguage

      public String getLanguage()
      Gets the language.

      ISO 639-1 code that indicates the language of the model.

      Returns:
      the language
    • getDescription

      public String getDescription()
      Gets the description.

      Model description.

      Returns:
      the description
    • getWorkspaceId

      public String getWorkspaceId()
      Gets the workspaceId.

      ID of the Watson Knowledge Studio workspace that deployed this model to Natural Language Understanding.

      Returns:
      the workspaceId
    • getModelVersion

      public String getModelVersion()
      Gets the modelVersion.

      The model version, if it was manually provided in Watson Knowledge Studio.

      Returns:
      the modelVersion
    • getVersion

      public String getVersion()
      Gets the version.

      Deprecated — use `model_version`.

      Returns:
      the version
    • getVersionDescription

      public String getVersionDescription()
      Gets the versionDescription.

      The description of the version, if it was manually provided in Watson Knowledge Studio.

      Returns:
      the versionDescription
    • getCreated

      public Date getCreated()
      Gets the created.

      A dateTime indicating when the model was created.

      Returns:
      the created