Package ai.shipeasy.admin.model
Class KillswitchValue
java.lang.Object
ai.shipeasy.admin.model.KillswitchValue
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class KillswitchValue
extends Object
Runtime killswitch payload returned to SDKs.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic KillswitchValueCreate an instance of KillswitchValue given an JSON stringPer-switch overrides; a matching key takes precedence over `value`.getValue()Default boolean delivered when no `switches` entry matches.inthashCode()putSwitchesItem(String key, Boolean switchesItem) voidsetSwitches(Map<String, Boolean> switches) voidtoJson()Convert an instance of KillswitchValue 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_VALUE
- See Also:
-
SERIALIZED_NAME_SWITCHES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
KillswitchValue
public KillswitchValue()
-
-
Method Details
-
value
-
getValue
Default boolean delivered when no `switches` entry matches.- Returns:
- value
-
setValue
-
switches
-
putSwitchesItem
-
getSwitches
Per-switch overrides; a matching key takes precedence over `value`.- Returns:
- switches
-
setSwitches
-
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 KillswitchValue
-
fromJson
Create an instance of KillswitchValue given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of KillswitchValue
- Throws:
IOException- if the JSON string is invalid with respect to KillswitchValue
-
toJson
Convert an instance of KillswitchValue to an JSON string- Returns:
- JSON string
-