Package io.voucherify.client.model
Class CustomersPermanentDeletionCreateResponseBody
java.lang.Object
io.voucherify.client.model.CustomersPermanentDeletionCreateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CustomersPermanentDeletionCreateResponseBody
extends Object
Response body schema for **POST** `v1/customers/{customerId}/permanent-deletion`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanCreate an instance of CustomersPermanentDeletionCreateResponseBody given an JSON stringTimestamp representing the date and time when the customer was requested to be deleted in ISO 8601 format.Get dataJsongetId()Unique permanent deletion object ID.The type of the object represented by JSON.Object being deleted.Unique customer ID that is being deleted.Deletion status.inthashCode()relatedObject(String relatedObject) relatedObjectId(String relatedObjectId) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidvoidsetRelatedObject(String relatedObject) voidsetRelatedObjectId(String relatedObjectId) voidtoJson()Convert an instance of CustomersPermanentDeletionCreateResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_RELATED_OBJECT_ID
- See Also:
-
SERIALIZED_NAME_RELATED_OBJECT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_DATA_JSON
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomersPermanentDeletionCreateResponseBody
public CustomersPermanentDeletionCreateResponseBody()
-
-
Method Details
-
id
-
getId
Unique permanent deletion object ID.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the customer was requested to be deleted in ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
getRelatedObjectId
Unique customer ID that is being deleted.- Returns:
- relatedObjectId
-
setRelatedObjectId
-
getRelatedObject
Object being deleted.- Returns:
- relatedObject
-
setRelatedObject
-
status
-
getStatus
Deletion status.- Returns:
- status
-
setStatus
-
dataJson
public CustomersPermanentDeletionCreateResponseBody dataJson(CustomersPermanentDeletionCreateResponseBodyDataJson dataJson) -
getDataJson
Get dataJson- Returns:
- dataJson
-
setDataJson
-
_object
-
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static CustomersPermanentDeletionCreateResponseBody fromJson(String jsonString) throws IOException Create an instance of CustomersPermanentDeletionCreateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomersPermanentDeletionCreateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to CustomersPermanentDeletionCreateResponseBody
-
toJson
Convert an instance of CustomersPermanentDeletionCreateResponseBody to an JSON string- Returns:
- JSON string
-