Package io.voucherify.client.model
Class AsyncActionGetResponseBody
java.lang.Object
io.voucherify.client.model.AsyncActionGetResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AsyncActionGetResponseBody
extends Object
Response body schema for **GET** `v1/async-actions/{asyncActionId}`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON.static enumStatus of the async action. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic AsyncActionGetResponseBodyCreate an instance of AsyncActionGetResponseBody given an JSON stringTimestamp representing the date and time when the async action was scheduled in ISO 8601 format.getId()Async action unique ID.The type of the object represented by JSON.Status of async action processing.The length of time it took to process the request in milliseconds.% progress to completion of the asynchronous action.Unique request ID.Get resultStatus of the async action.getType()Type of async action.Timestamp representing the date and time when the async action was updated.inthashCode()operationStatus(String operationStatus) processingTime(Integer processingTime) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidsetOperationStatus(String operationStatus) voidsetProcessingTime(Integer processingTime) voidsetProgress(Integer progress) voidsetRequestId(String requestId) voidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of AsyncActionGetResponseBody to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_OPERATION_STATUS
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_PROCESSING_TIME
- See Also:
-
SERIALIZED_NAME_PROGRESS
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AsyncActionGetResponseBody
public AsyncActionGetResponseBody()
-
-
Method Details
-
id
-
getId
Async action unique ID.- Returns:
- id
-
setId
-
type
-
getType
Type of async action.- Returns:
- type
-
setType
-
status
-
getStatus
Status of the async action. Informs you whether the async action has already been completed.- Returns:
- status
-
setStatus
-
operationStatus
-
getOperationStatus
Status of async action processing. Informs about the async action status, whether it failed, succeeded, or the status is unknown.- Returns:
- operationStatus
-
setOperationStatus
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the async action was scheduled in ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp representing the date and time when the async action was updated. The value is shown in the ISO 8601 format.- Returns:
- updatedAt
-
setUpdatedAt
-
requestId
-
getRequestId
Unique request ID.- Returns:
- requestId
-
setRequestId
-
processingTime
-
getProcessingTime
The length of time it took to process the request in milliseconds.- Returns:
- processingTime
-
setProcessingTime
-
progress
-
getProgress
% progress to completion of the asynchronous action. minimum: 0 maximum: 100- Returns:
- progress
-
setProgress
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about the `async_action`.- Returns:
- _object
-
setObject
-
result
-
getResult
Get result- Returns:
- result
-
setResult
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of AsyncActionGetResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AsyncActionGetResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to AsyncActionGetResponseBody
-
toJson
Convert an instance of AsyncActionGetResponseBody to an JSON string- Returns:
- JSON string
-