Package io.voucherify.client.model
Class CategoriesUpdateResponseBody
java.lang.Object
io.voucherify.client.model.CategoriesUpdateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CategoriesUpdateResponseBody
extends Object
Response body schema for **PUT** `v1/categories/{categoryId}`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets _object -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic CategoriesUpdateResponseBodyCreate an instance of CategoriesUpdateResponseBody given an JSON stringTimestamp representing the date and time when the category was created.Category hierarchy.getId()Unique category ID assigned by Voucherify.getName()Category name.Get _objectTimestamp representing the date and time when the category was updated.inthashCode()voidsetCreatedAt(OffsetDateTime createdAt) voidsetHierarchy(Integer hierarchy) voidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of CategoriesUpdateResponseBody to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_HIERARCHY
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CategoriesUpdateResponseBody
public CategoriesUpdateResponseBody()
-
-
Method Details
-
id
-
getId
Unique category ID assigned by Voucherify.- Returns:
- id
-
setId
-
name
-
getName
Category name.- Returns:
- name
-
setName
-
hierarchy
-
getHierarchy
Category hierarchy. Categories with lower hierarchy are processed before categories with higher hierarchy value. minimum: 0- Returns:
- hierarchy
-
setHierarchy
-
_object
-
getObject
Get _object- Returns:
- _object
-
setObject
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the category was created. The value is shown in the ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp representing the date and time when the category was updated. The value is shown in the ISO 8601 format.- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of CategoriesUpdateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CategoriesUpdateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to CategoriesUpdateResponseBody
-
toJson
Convert an instance of CategoriesUpdateResponseBody to an JSON string- Returns:
- JSON string
-