Package ai.shipeasy.admin.model
Class ListEventsResponseInnerPropertiesInner
java.lang.Object
ai.shipeasy.admin.model.ListEventsResponseInnerPropertiesInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListEventsResponseInnerPropertiesInner
extends Object
One typed property declared on a catalogued event.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumValue type of the property as recorded on the event. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanCreate an instance of ListEventsResponseInnerPropertiesInner given an JSON stringHuman-readable description of the property.getName()Property key, e.g.Whether the property must be present on every emitted event.getType()Value type of the property as recorded on the event.inthashCode()voidsetDescription(String description) voidvoidsetRequired(Boolean required) voidtoJson()Convert an instance of ListEventsResponseInnerPropertiesInner to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_REQUIRED
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListEventsResponseInnerPropertiesInner
public ListEventsResponseInnerPropertiesInner()
-
-
Method Details
-
name
-
getName
Property key, e.g. `amount` or `plan`.- Returns:
- name
-
setName
-
type
public ListEventsResponseInnerPropertiesInner type(@Nonnull ListEventsResponseInnerPropertiesInner.TypeEnum type) -
getType
Value type of the property as recorded on the event.- Returns:
- type
-
setType
-
required
-
getRequired
Whether the property must be present on every emitted event.- Returns:
- required
-
setRequired
-
description
-
getDescription
Human-readable description of the property.- Returns:
- description
-
setDescription
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ListEventsResponseInnerPropertiesInner
-
fromJson
Create an instance of ListEventsResponseInnerPropertiesInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListEventsResponseInnerPropertiesInner
- Throws:
IOException- if the JSON string is invalid with respect to ListEventsResponseInnerPropertiesInner
-
toJson
Convert an instance of ListEventsResponseInnerPropertiesInner to an JSON string- Returns:
- JSON string
-