public class PromptAnswer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_METADATA |
static String |
SERIALIZED_NAME_RESULT |
static String |
SERIALIZED_NAME_TIME |
| Constructor and Description |
|---|
PromptAnswer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AnswerMetadata |
getMetadata()
Get metadata
|
Boolean |
getResult()
The user's answer to whether or not they approve this prompt.
|
BigDecimal |
getTime()
The unix timestamp when the user answered the prompt.
|
int |
hashCode() |
PromptAnswer |
metadata(AnswerMetadata metadata) |
PromptAnswer |
result(Boolean result) |
void |
setMetadata(AnswerMetadata metadata) |
void |
setResult(Boolean result) |
void |
setTime(BigDecimal time) |
PromptAnswer |
time(BigDecimal time) |
String |
toString() |
public static final String SERIALIZED_NAME_TIME
public static final String SERIALIZED_NAME_RESULT
public static final String SERIALIZED_NAME_METADATA
public PromptAnswer time(BigDecimal time)
public BigDecimal getTime()
public void setTime(BigDecimal time)
public PromptAnswer result(Boolean result)
public Boolean getResult()
public void setResult(Boolean result)
public PromptAnswer metadata(AnswerMetadata metadata)
public AnswerMetadata getMetadata()
public void setMetadata(AnswerMetadata metadata)
Copyright © 2019. All rights reserved.