Package ai.shipeasy.admin.model
Class UnsetKillswitchSwitchResponse
java.lang.Object
ai.shipeasy.admin.model.UnsetKillswitchSwitchResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UnsetKillswitchSwitchResponse
extends Object
UnsetKillswitchSwitchResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of UnsetKillswitchSwitchResponse given an JSON stringgetEnv()Get envgetId()Get id`true` if the entry existed and was removed, `false` if no-op.Single-segment switch key (lowercase letters, digits, `_`/`-`; no dots).inthashCode()voidvoidvoidsetRemoved(Boolean removed) voidsetSwitchKey(String switchKey) toJson()Convert an instance of UnsetKillswitchSwitchResponse 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_ENV
- See Also:
-
SERIALIZED_NAME_SWITCH_KEY
- See Also:
-
SERIALIZED_NAME_REMOVED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UnsetKillswitchSwitchResponse
public UnsetKillswitchSwitchResponse()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
env
-
getEnv
Get env- Returns:
- env
-
setEnv
-
switchKey
-
getSwitchKey
Single-segment switch key (lowercase letters, digits, `_`/`-`; no dots). Used as the nested switch entry inside a killswitch's `switches` map.- Returns:
- switchKey
-
setSwitchKey
-
removed
-
getRemoved
`true` if the entry existed and was removed, `false` if no-op.- Returns:
- removed
-
setRemoved
-
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 UnsetKillswitchSwitchResponse
-
fromJson
Create an instance of UnsetKillswitchSwitchResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UnsetKillswitchSwitchResponse
- Throws:
IOException- if the JSON string is invalid with respect to UnsetKillswitchSwitchResponse
-
toJson
Convert an instance of UnsetKillswitchSwitchResponse to an JSON string- Returns:
- JSON string
-