Package ai.shipeasy.admin.model
Class CreateConfigResponse
java.lang.Object
ai.shipeasy.admin.model.CreateConfigResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateConfigResponse
extends Object
CreateConfigResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateConfigResponseCreate an instance of CreateConfigResponse given an JSON stringgetId()Newly assigned config id.getName()Stable config key in `folder.name` form (two lowercase segments separated by a dot, e.g.inthashCode()voidvoidtoJson()Convert an instance of CreateConfigResponse 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
-
CreateConfigResponse
public CreateConfigResponse()
-
-
Method Details
-
id
-
getId
Newly assigned config id.- Returns:
- id
-
setId
-
name
-
getName
Stable config key in `folder.name` form (two lowercase segments separated by a dot, e.g. `pricing.tiers`). Used by SDKs as `Shipeasy.getConfig('<name>')`. 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 CreateConfigResponse
-
fromJson
Create an instance of CreateConfigResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateConfigResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateConfigResponse
-
toJson
Convert an instance of CreateConfigResponse to an JSON string- Returns:
- JSON string
-