public class AIResponse extends Object implements Serializable
| Constructor and Description |
|---|
AIResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
String |
getId()
Unique identifier of the result.
|
Result |
getResult()
Contains the results of the natual language processing.
|
String |
getSessionId()
Session ID
|
Status |
getStatus()
Contains data on how the request succeeded or failed.
|
Date |
getTimestamp()
Date and time of the request in UTC timezone using ISO-8601 format.
|
boolean |
isError() |
void |
setId(String id) |
void |
setResult(Result result) |
void |
setSessionId(String sessionId) |
void |
setStatus(Status status) |
void |
setTimestamp(Date timestamp) |
String |
toString() |
public String getId()
public void setId(String id)
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public Result getResult()
public void setResult(Result result)
public Status getStatus()
public void setStatus(Status status)
public String getSessionId()
public void setSessionId(String sessionId)
public boolean isError()
public void cleanup()
Copyright © 2017. All rights reserved.