Package io.voucherify.client.model
Class ManagementProjectsCustomEventSchemasCreateRequestBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsCustomEventSchemasCreateRequestBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsCustomEventSchemasCreateRequestBody
extends Object
Request body schema for **POST** `/management/v1/projects/{projectId}/custom-event-schema`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsCustomEventSchemasCreateRequestBody given an JSON stringgetName()User-defined name of the custom event.Get schemainthashCode()voidvoidtoJson()Convert an instance of ManagementProjectsCustomEventSchemasCreateRequestBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SCHEMA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsCustomEventSchemasCreateRequestBody
public ManagementProjectsCustomEventSchemasCreateRequestBody()
-
-
Method Details
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsCustomEventSchemasCreateRequestBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsCustomEventSchemasCreateRequestBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsCustomEventSchemasCreateRequestBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsCustomEventSchemasCreateRequestBody
-
toJson
Convert an instance of ManagementProjectsCustomEventSchemasCreateRequestBody to an JSON string- Returns:
- JSON string
-