Package ai.shipeasy.admin.model
Class CreateUniverseResponse
java.lang.Object
ai.shipeasy.admin.model.CreateUniverseResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateUniverseResponse
extends Object
CreateUniverseResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateUniverseResponseCreate an instance of CreateUniverseResponse given an JSON stringgetId()Newly assigned universe id.getName()Stable universe key.inthashCode()voidvoidtoJson()Convert an instance of CreateUniverseResponse 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
-
CreateUniverseResponse
public CreateUniverseResponse()
-
-
Method Details
-
id
-
getId
Newly assigned universe id.- Returns:
- id
-
setId
-
name
-
getName
Stable universe key. Single segment or `folder.name`. Lowercase letters, digits, `_` or `-`; max 128 chars. Immutable after create.- 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 CreateUniverseResponse
-
fromJson
Create an instance of CreateUniverseResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateUniverseResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateUniverseResponse
-
toJson
Convert an instance of CreateUniverseResponse to an JSON string- Returns:
- JSON string
-