Package ai.shipeasy.admin.model
Class SetKillswitchSwitchResponse
java.lang.Object
ai.shipeasy.admin.model.SetKillswitchSwitchResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class SetKillswitchSwitchResponse
extends Object
SetKillswitchSwitchResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SetKillswitchSwitchResponseCreate an instance of SetKillswitchSwitchResponse given an JSON stringgetEnv()Get envgetId()Get idSingle-segment switch key (lowercase letters, digits, `_`/`-`; no dots).getValue()Get valueinthashCode()voidvoidvoidsetSwitchKey(String switchKey) voidtoJson()Convert an instance of SetKillswitchSwitchResponse 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_VALUE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SetKillswitchSwitchResponse
public SetKillswitchSwitchResponse()
-
-
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
-
value
-
getValue
Get value- Returns:
- value
-
setValue
-
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 SetKillswitchSwitchResponse
-
fromJson
Create an instance of SetKillswitchSwitchResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SetKillswitchSwitchResponse
- Throws:
IOException- if the JSON string is invalid with respect to SetKillswitchSwitchResponse
-
toJson
Convert an instance of SetKillswitchSwitchResponse to an JSON string- Returns:
- JSON string
-