Class Model
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Model.Status
When the status is `available`, the model is ready to use. -
Constructor Summary
Constructors Constructor Description Model()
-
Method Summary
Modifier and Type Method Description Date
getCreated()
Gets the created.String
getDescription()
Gets the description.String
getLanguage()
Gets the language.String
getModelId()
Gets the modelId.String
getModelVersion()
Gets the modelVersion.String
getStatus()
Gets the status.String
getVersion()
Gets the version.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
-
Model
public Model()
-
-
Method Details
-
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
-
getLanguage
Gets the language.ISO 639-1 code that indicates the language of the model.
- Returns:
- the language
-
getDescription
Gets the description.Model description.
- Returns:
- the description
-
getWorkspaceId
Gets the workspaceId.ID of the Watson Knowledge Studio workspace that deployed this model to Natural Language Understanding.
- Returns:
- the workspaceId
-
getModelVersion
Gets the modelVersion.The model version, if it was manually provided in Watson Knowledge Studio.
- Returns:
- the modelVersion
-
getVersion
Gets the version.Deprecated — use `model_version`.
- Returns:
- the version
-
getVersionDescription
Gets the versionDescription.The description of the version, if it was manually provided in Watson Knowledge Studio.
- Returns:
- the versionDescription
-
getCreated
Gets the created.A dateTime indicating when the model was created.
- Returns:
- the created
-