Package ai.shipeasy.admin.model
Class CreateGateTemplateResponse
java.lang.Object
ai.shipeasy.admin.model.CreateGateTemplateResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateGateTemplateResponse
extends Object
CreateGateTemplateResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateGateTemplateResponseCreate an instance of CreateGateTemplateResponse given an JSON stringgetId()Newly assigned template id (`gtpl_…`).getName()Get nameinthashCode()voidvoidtoJson()Convert an instance of CreateGateTemplateResponse 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
-
CreateGateTemplateResponse
public CreateGateTemplateResponse()
-
-
Method Details
-
id
-
getId
Newly assigned template id (`gtpl_…`).- Returns:
- id
-
setId
-
name
-
getName
Get name- 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 CreateGateTemplateResponse
-
fromJson
Create an instance of CreateGateTemplateResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateGateTemplateResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateGateTemplateResponse
-
toJson
Convert an instance of CreateGateTemplateResponse to an JSON string- Returns:
- JSON string
-