Package io.voucherify.client.model
Class ManagementProjectsCustomEventSchemasUpdateResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsCustomEventSchemasUpdateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsCustomEventSchemasUpdateResponseBody
extends Object
Response body schema for **POST** `/management/v1/projects/{projectId}/custom-event-schema/{customEventSchemaId}`.
-
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 ManagementProjectsCustomEventSchemasUpdateResponseBody 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 ManagementProjectsCustomEventSchemasUpdateResponseBody 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
-
ManagementProjectsCustomEventSchemasUpdateResponseBody
public ManagementProjectsCustomEventSchemasUpdateResponseBody()
-
-
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
-
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsCustomEventSchemasUpdateResponseBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsCustomEventSchemasUpdateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsCustomEventSchemasUpdateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsCustomEventSchemasUpdateResponseBody
-
toJson
Convert an instance of ManagementProjectsCustomEventSchemasUpdateResponseBody to an JSON string- Returns:
- JSON string
-