Package io.voucherify.client.model
Class ManagementProjectsCustomEventSchema
java.lang.Object
io.voucherify.client.model.ManagementProjectsCustomEventSchema
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsCustomEventSchema
extends Object
Object containing the response to creating a custom event schema.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanCreate an instance of ManagementProjectsCustomEventSchema given an JSON stringTimestamp representing the date and time when the custom event schema was created.getId()Unique identifier of the custom event schema.getName()User-defined name of the custom event.The type of the object represented by JSON.Get schemaTimestamp representing the date and time when the custom event schema was updated.inthashCode()voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of ManagementProjectsCustomEventSchema to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SCHEMA
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsCustomEventSchema
public ManagementProjectsCustomEventSchema()
-
-
Method Details
-
id
-
getId
Unique identifier of the custom event schema.- Returns:
- id
-
setId
-
name
-
getName
User-defined name of the custom event. This is also shown in **Project Settings** > **Event Schema** in the Voucherify Dashboard.- Returns:
- name
-
setName
-
schema
-
getSchema
Get schema- Returns:
- schema
-
setSchema
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the custom event schema was created. The value is shown in the ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp representing the date and time when the custom event schema was updated. The value is shown in the ISO 8601 format.- Returns:
- updatedAt
-
setUpdatedAt
-
_object
public ManagementProjectsCustomEventSchema _object(ManagementProjectsCustomEventSchema.ObjectEnum _object) -
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ManagementProjectsCustomEventSchema given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsCustomEventSchema
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsCustomEventSchema
-
toJson
Convert an instance of ManagementProjectsCustomEventSchema to an JSON string- Returns:
- JSON string
-