Package io.voucherify.client.model
Class ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry
java.lang.Object
io.voucherify.client.model.ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry
extends Object
Custom event metadata name.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIndicates the type of the custom event. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry given an JSON stringIndicates if the property has been deleted from the schema.Indicates if this property is optional or not for the resource.getType()Indicates the type of the custom event.inthashCode()voidsetDeleted(Boolean deleted) voidsetOptional(Boolean optional) voidtoJson()Convert an instance of ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_OPTIONAL
- See Also:
-
SERIALIZED_NAME_DELETED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry
public ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry()
-
-
Method Details
-
type
-
getType
@Nonnull public ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry.TypeEnum getType()Indicates the type of the custom event.- Returns:
- type
-
setType
public void setType(ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry.TypeEnum type) -
optional
public ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry optional(Boolean optional) -
getOptional
Indicates if this property is optional or not for the resource.- Returns:
- optional
-
setOptional
-
deleted
public ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry deleted(Boolean deleted) -
getDeleted
Indicates if the property has been deleted from the schema. A deleted schema is inactive, but it can be restored.- Returns:
- deleted
-
setDeleted
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry
-
toJson
Convert an instance of ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntry to an JSON string- Returns:
- JSON string
-