public class MissingPricesTaskStatusImpl extends Object implements MissingPricesTaskStatus
Represents a URL path to poll to get the results of an Asynchronous Request.
| Constructor and Description |
|---|
MissingPricesTaskStatusImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ZonedDateTime |
getExpires()
The expiry date of the result.
|
MissingPricesPagedQueryResult |
getResult()
The response to an asynchronous request.
|
TaskStatusEnum |
getState() |
int |
hashCode() |
void |
setExpires(ZonedDateTime expires) |
void |
setResult(MissingPricesPagedQueryResult result) |
void |
setState(TaskStatusEnum state) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, withMissingPricesTaskStatuspublic TaskStatusEnum getState()
getState in interface MissingPricesTaskStatuspublic ZonedDateTime getExpires()
The expiry date of the result. You cannot access the result after the expiry date. Default: 1 day after the result first becomes available. This is only available when the TaskStatus state is SUCCESS.
getExpires in interface MissingPricesTaskStatuspublic MissingPricesPagedQueryResult getResult()
The response to an asynchronous request. The type depends on the request initiated. Only populated when the status is SUCCESS.
getResult in interface MissingPricesTaskStatuspublic void setState(TaskStatusEnum state)
setState in interface MissingPricesTaskStatuspublic void setExpires(ZonedDateTime expires)
setExpires in interface MissingPricesTaskStatuspublic void setResult(MissingPricesPagedQueryResult result)
setResult in interface MissingPricesTaskStatus