Skip to content

Commit

Permalink
chore(natural-language-understanding): manual changes
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed May 27, 2020
1 parent 2ec3f75 commit 8e51881
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public class Model extends GenericModel {
@SerializedName("workspace_id")
protected String workspaceId;

@SerializedName("model_version")
protected String modelVersion;

protected String version;

@SerializedName("version_description")
Expand Down Expand Up @@ -94,10 +97,22 @@ public String getWorkspaceId() {
}

/**
* Gets the version.
* Gets the modelVersion.
*
* <p>The model version, if it was manually provided in Watson Knowledge Studio.
*
* @return the modelVersion
*/
public String getModelVersion() {
return modelVersion;
}

/**
* Gets the version.
*
* <p>(Deprecated — use `model_version`) The model version, if it was manually provided in Watson
* Knowledge Studio.
*
* @return the version
*/
public String getVersion() {
Expand Down

0 comments on commit 8e51881

Please sign in to comment.