Class SentimentModel
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SentimentModel.Status
When the status is `available`, the model is ready to use. -
Constructor Summary
Constructors Constructor Description SentimentModel()
-
Method Summary
Modifier and Type Method Description Date
getCreated()
Gets the created.String
getDescription()
Gets the description.List<String>
getFeatures()
Gets the features.String
getLanguage()
Gets the language.Date
getLastDeployed()
Gets the lastDeployed.Date
getLastTrained()
Gets the lastTrained.String
getModelId()
Gets the modelId.String
getModelVersion()
Gets the modelVersion.String
getName()
Gets the name.List<Notice>
getNotices()
Gets the notices.String
getStatus()
Gets the status.Map<String,Object>
getUserMetadata()
Gets the userMetadata.String
getVersionDescription()
Gets the versionDescription.String
getWorkspaceId()
Gets the workspaceId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SentimentModel
public SentimentModel()
-
-
Method Details
-
getFeatures
Gets the features.The service features that are supported by the custom model.
- Returns:
- the features
-
getStatus
Gets the status.When the status is `available`, the model is ready to use.
- Returns:
- the status
-
getModelId
Gets the modelId.Unique model ID.
- Returns:
- the modelId
-
getCreated
Gets the created.dateTime indicating when the model was created.
- Returns:
- the created
-
getLastTrained
Gets the lastTrained.dateTime of last successful model training.
- Returns:
- the lastTrained
-
getLastDeployed
Gets the lastDeployed.dateTime of last successful model deployment.
- Returns:
- the lastDeployed
-
getName
Gets the name.A name for the model.
- Returns:
- the name
-
getUserMetadata
Gets the userMetadata.An optional map of metadata key-value pairs to store with this model.
- Returns:
- the userMetadata
-
getLanguage
Gets the language.The 2-letter language code of this model.
- Returns:
- the language
-
getDescription
Gets the description.An optional description of the model.
- Returns:
- the description
-
getModelVersion
Gets the modelVersion.An optional version string.
- Returns:
- the modelVersion
-
getNotices
Gets the notices.- Returns:
- the notices
-
getWorkspaceId
Gets the workspaceId.ID of the Watson Knowledge Studio workspace that deployed this model to Natural Language Understanding.
- Returns:
- the workspaceId
-
getVersionDescription
Gets the versionDescription.The description of the version.
- Returns:
- the versionDescription
-