Package ai.shipeasy.admin.model
Class CreateEventResponse
java.lang.Object
ai.shipeasy.admin.model.CreateEventResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateEventResponse
extends Object
Result of creating (or approving an existing pending) event.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateEventResponseCreate an instance of CreateEventResponse given an JSON stringgetId()Newly assigned event id.getName()The event name that was registered.inthashCode()voidvoidtoJson()Convert an instance of CreateEventResponse 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateEventResponse
public CreateEventResponse()
-
-
Method Details
-
id
-
getId
Newly assigned event id.- Returns:
- id
-
setId
-
name
-
getName
The event name that was registered.- Returns:
- name
-
setName
-
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 CreateEventResponse
-
fromJson
Create an instance of CreateEventResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateEventResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateEventResponse
-
toJson
Convert an instance of CreateEventResponse to an JSON string- Returns:
- JSON string
-