public class SimilarProductsTaskStatusImpl extends Object implements SimilarProductsTaskStatus, io.vrap.rmf.base.client.ModelBase
Represents a URL path to poll to get the results of an Asynchronous Request.
| Constructor and Description |
|---|
SimilarProductsTaskStatusImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ZonedDateTime |
getExpires()
The expiry date of the result.
|
SimilarProductsPagedQueryResult |
getResult()
The response to an asynchronous request.
|
TaskStatusEnum |
getState() |
int |
hashCode() |
void |
setExpires(ZonedDateTime expires) |
void |
setResult(SimilarProductsPagedQueryResult result) |
void |
setState(TaskStatusEnum state) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withSimilarProductsTaskStatuspublic SimilarProductsTaskStatusImpl()
public TaskStatusEnum getState()
getState in interface SimilarProductsTaskStatuspublic 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 SimilarProductsTaskStatuspublic SimilarProductsPagedQueryResult getResult()
The response to an asynchronous request. The type depends on the request initiated. Only populated when the status is SUCCESS.
getResult in interface SimilarProductsTaskStatuspublic void setState(TaskStatusEnum state)
setState in interface SimilarProductsTaskStatuspublic void setExpires(ZonedDateTime expires)
setExpires in interface SimilarProductsTaskStatuspublic void setResult(SimilarProductsPagedQueryResult result)
setResult in interface SimilarProductsTaskStatus