public class Model
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Model.Status
When the status is `available`, the model is ready to use.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
created |
protected java.lang.String |
description |
protected java.lang.String |
language |
protected java.lang.String |
modelId |
protected java.lang.String |
modelVersion |
protected java.lang.String |
status |
protected java.lang.String |
version |
protected java.lang.String |
versionDescription |
protected java.lang.String |
workspaceId |
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreated()
Gets the created.
|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getModelId()
Gets the modelId.
|
java.lang.String |
getModelVersion()
Gets the modelVersion.
|
java.lang.String |
getStatus()
Gets the status.
|
java.lang.String |
getVersion()
Gets the version.
|
java.lang.String |
getVersionDescription()
Gets the versionDescription.
|
java.lang.String |
getWorkspaceId()
Gets the workspaceId.
|
protected java.lang.String status
@SerializedName(value="model_id") protected java.lang.String modelId
protected java.lang.String language
protected java.lang.String description
@SerializedName(value="workspace_id") protected java.lang.String workspaceId
@SerializedName(value="model_version") protected java.lang.String modelVersion
protected java.lang.String version
@SerializedName(value="version_description") protected java.lang.String versionDescription
protected java.util.Date created
public java.lang.String getStatus()
When the status is `available`, the model is ready to use.
public java.lang.String getModelId()
Unique model ID.
public java.lang.String getLanguage()
ISO 639-1 code that indicates the language of the model.
public java.lang.String getDescription()
Model description.
public java.lang.String getWorkspaceId()
ID of the Watson Knowledge Studio workspace that deployed this model to Natural Language Understanding.
public java.lang.String getModelVersion()
The model version, if it was manually provided in Watson Knowledge Studio.
public java.lang.String getVersion()
(Deprecated — use `model_version`) The model version, if it was manually provided in Watson Knowledge Studio.
public java.lang.String getVersionDescription()
The description of the version, if it was manually provided in Watson Knowledge Studio.
public java.util.Date getCreated()
A dateTime indicating when the model was created.