Package io.voucherify.client.model
Class AsyncActionBase
java.lang.Object
io.voucherify.client.model.AsyncActionBase
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AsyncActionBase
extends Object
This is an object representing an asynchronous action.
-
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 TypeMethodDescription_object(AsyncActionBase.ObjectEnum _object) createdAt(OffsetDateTime createdAt) booleanstatic AsyncActionBaseCreate an instance of AsyncActionBase 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.Status 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) voidvoidsetObject(AsyncActionBase.ObjectEnum _object) voidsetOperationStatus(String operationStatus) voidsetProcessingTime(Integer processingTime) voidsetProgress(Integer progress) voidsetRequestId(String requestId) voidsetStatus(AsyncActionBase.StatusEnum status) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) status(AsyncActionBase.StatusEnum status) toJson()Convert an instance of AsyncActionBase 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AsyncActionBase
public AsyncActionBase()
-
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of AsyncActionBase given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AsyncActionBase
- Throws:
IOException- if the JSON string is invalid with respect to AsyncActionBase
-
toJson
Convert an instance of AsyncActionBase to an JSON string- Returns:
- JSON string
-