Package ai.shipeasy.admin.model
Class UnsetKillswitchSwitchRequest
java.lang.Object
ai.shipeasy.admin.model.UnsetKillswitchSwitchRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UnsetKillswitchSwitchRequest
extends Object
Body for `DELETE /api/admin/killswitches/{id}/switch`. Removes one switch entry from one env.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UnsetKillswitchSwitchRequestCreate an instance of UnsetKillswitchSwitchRequest given an JSON stringgetEnv()Get envSwitch key to remove.inthashCode()voidvoidsetSwitchKey(String switchKey) toJson()Convert an instance of UnsetKillswitchSwitchRequest 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_ENV
- See Also:
-
SERIALIZED_NAME_SWITCH_KEY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UnsetKillswitchSwitchRequest
public UnsetKillswitchSwitchRequest()
-
-
Method Details
-
env
-
getEnv
Get env- Returns:
- env
-
setEnv
-
switchKey
-
getSwitchKey
Switch key to remove.- Returns:
- switchKey
-
setSwitchKey
-
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 UnsetKillswitchSwitchRequest
-
fromJson
Create an instance of UnsetKillswitchSwitchRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UnsetKillswitchSwitchRequest
- Throws:
IOException- if the JSON string is invalid with respect to UnsetKillswitchSwitchRequest
-
toJson
Convert an instance of UnsetKillswitchSwitchRequest to an JSON string- Returns:
- JSON string
-