Skip to content

Commit b6dc3ac

Browse files
committed
feat(Speech to Text): Add updated prop to AcousticModel and LanguageModel
1 parent 3674ec7 commit b6dc3ac

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AcousticModel.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public interface Status {
5151
@SerializedName("customization_id")
5252
private String customizationId;
5353
private String created;
54+
private String updated;
5455
private String language;
5556
private List<String> versions;
5657
private String owner;
@@ -86,6 +87,19 @@ public String getCreated() {
8687
return created;
8788
}
8889

90+
/**
91+
* Gets the updated.
92+
*
93+
* The date and time in Coordinated Universal Time (UTC) at which the custom acoustic model was last modified. The
94+
* `created` and `updated` fields are equal when an acoustic model is first added but has yet to be updated. The value
95+
* is provided in full ISO 8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
96+
*
97+
* @return the updated
98+
*/
99+
public String getUpdated() {
100+
return updated;
101+
}
102+
89103
/**
90104
* Gets the language.
91105
*

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/LanguageModel.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public interface Status {
5151
@SerializedName("customization_id")
5252
private String customizationId;
5353
private String created;
54+
private String updated;
5455
private String language;
5556
private String dialect;
5657
private List<String> versions;
@@ -88,6 +89,19 @@ public String getCreated() {
8889
return created;
8990
}
9091

92+
/**
93+
* Gets the updated.
94+
*
95+
* The date and time in Coordinated Universal Time (UTC) at which the custom language model was last modified. The
96+
* `created` and `updated` fields are equal when a language model is first added but has yet to be updated. The value
97+
* is provided in full ISO 8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
98+
*
99+
* @return the updated
100+
*/
101+
public String getUpdated() {
102+
return updated;
103+
}
104+
91105
/**
92106
* Gets the language.
93107
*

0 commit comments

Comments
 (0)