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