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

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

    • SentimentModel

      public SentimentModel()
  • Method Details

    • getFeatures

      public List<String> getFeatures()
      Gets the features.

      The service features that are supported by the custom model.

      Returns:
      the features
    • 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
    • getCreated

      public Date getCreated()
      Gets the created.

      dateTime indicating when the model was created.

      Returns:
      the created
    • getLastTrained

      public Date getLastTrained()
      Gets the lastTrained.

      dateTime of last successful model training.

      Returns:
      the lastTrained
    • getLastDeployed

      public Date getLastDeployed()
      Gets the lastDeployed.

      dateTime of last successful model deployment.

      Returns:
      the lastDeployed
    • getName

      public String getName()
      Gets the name.

      A name for the model.

      Returns:
      the name
    • getUserMetadata

      public Map<String,​Object> getUserMetadata()
      Gets the userMetadata.

      An optional map of metadata key-value pairs to store with this model.

      Returns:
      the userMetadata
    • getLanguage

      public String getLanguage()
      Gets the language.

      The 2-letter language code of this model.

      Returns:
      the language
    • getDescription

      public String getDescription()
      Gets the description.

      An optional description of the model.

      Returns:
      the description
    • getModelVersion

      public String getModelVersion()
      Gets the modelVersion.

      An optional version string.

      Returns:
      the modelVersion
    • getNotices

      public List<Notice> getNotices()
      Gets the notices.
      Returns:
      the notices
    • 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
    • getVersionDescription

      public String getVersionDescription()
      Gets the versionDescription.

      The description of the version.

      Returns:
      the versionDescription