public class RecognitionJob extends GenericModel
id
.Modifier and Type | Class and Description |
---|---|
static class |
RecognitionJob.Status
RecognitionJob Status.
|
Constructor and Description |
---|
RecognitionJob() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreated()
Gets the created date.
|
java.lang.String |
getId()
Gets the job id.
|
java.util.List<SpeechResults> |
getResults()
Gets the recognition results.
|
RecognitionJob.Status |
getStatus()
Gets the status.
|
java.util.Date |
getUpdated()
Gets the updated date.
|
java.lang.String |
getUrl()
Gets the callback url.
|
java.lang.String |
getUserToken()
Gets the user token.
|
java.util.List<java.lang.String> |
getWarnings()
Gets the warnings if present.
|
void |
setCreated(java.util.Date created)
Sets the created date.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setResults(java.util.List<SpeechResults> results)
Sets the recognition results.
|
void |
setStatus(RecognitionJob.Status status)
Sets the status.
|
void |
setUpdated(java.util.Date updated)
Sets the updated date.
|
void |
setUrl(java.lang.String url)
Sets the callback url.
|
void |
setUserToken(java.lang.String userToken)
Sets the user token.
|
void |
setWarnings(java.util.List<java.lang.String> warnings)
Sets the warnings if present.
|
equals, hashCode, toString
public java.lang.String getId()
public RecognitionJob.Status getStatus()
public java.util.Date getCreated()
public java.util.Date getUpdated()
public java.lang.String getUrl()
public java.lang.String getUserToken()
public java.util.List<SpeechResults> getResults()
public java.util.List<java.lang.String> getWarnings()
public void setId(java.lang.String id)
id
- the new idpublic void setStatus(RecognitionJob.Status status)
status
- the new statuspublic void setCreated(java.util.Date created)
created
- the new createdpublic void setUpdated(java.util.Date updated)
updated
- the new updatedpublic void setUrl(java.lang.String url)
url
- the new callback urlpublic void setUserToken(java.lang.String userToken)
userToken
- the new user tokenpublic void setResults(java.util.List<SpeechResults> results)
results
- the new resultspublic void setWarnings(java.util.List<java.lang.String> warnings)
warnings
- the new warnings