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 |
---|---|
Date |
getCreated()
Gets the created date.
|
String |
getId()
Gets the id.
|
List<SpeechResults> |
getResults()
Gets the recognition results.
|
RecognitionJob.Status |
getStatus()
Gets the status.
|
Date |
getUpdated()
Gets the updated date.
|
String |
getUrl()
Gets the url.
|
String |
getUserToken()
Gets the user token.
|
void |
setCreated(Date created)
Sets the created date.
|
void |
setId(String id)
Sets the id.
|
void |
setResults(List<SpeechResults> results)
Sets the recognition results.
|
void |
setStatus(RecognitionJob.Status status)
Sets the status.
|
void |
setUpdated(Date updated)
Sets the updated date.
|
void |
setUrl(String url)
Sets the callback url.
|
void |
setUserToken(String userToken)
Sets the user token.
|
equals, hashCode, toString
public Date getUpdated()
public void setUpdated(Date updated)
updated
- the new updatedpublic String getId()
public Date getCreated()
public void setCreated(Date created)
created
- the new createdpublic List<SpeechResults> getResults()
public RecognitionJob.Status getStatus()
public String getUrl()
public String getUserToken()
public void setId(String id)
id
- the new idpublic void setResults(List<SpeechResults> results)
results
- the new resultspublic void setStatus(RecognitionJob.Status status)
status
- the new statuspublic void setUrl(String url)
url
- the new callback urlpublic void setUserToken(String userToken)
userToken
- the new user tokenCopyright © 2015–2016 IBM Watson. All rights reserved.