Package ai.shipeasy.admin.model
Class GetKillswitchResponse
java.lang.Object
ai.shipeasy.admin.model.GetKillswitchResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GetKillswitchResponse
extends Object
GetKillswitchResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic GetKillswitchResponseCreate an instance of GetKillswitchResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Free-form description or `null`.getEnvs()Per-env latest value, switches, version, and publish timestamp.getId()Stable opaque killswitch id.getName()Stable config key in `folder.name` form (two lowercase segments separated by a dot, e.g.ISO-8601 timestamp of last mutation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putEnvsItem(String key, ListKillswitchesResponseDataInnerEnvsValue envsItem) voidsetDescription(String description) voidvoidvoidvoidsetUpdatedAt(String updatedAt) toJson()Convert an instance of GetKillswitchResponse 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:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_ENVS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetKillswitchResponse
public GetKillswitchResponse()
-
-
Method Details
-
id
-
getId
Stable opaque 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
-
description
-
getDescription
Free-form description or `null`.- Returns:
- description
-
setDescription
-
updatedAt
-
getUpdatedAt
ISO-8601 timestamp of last mutation.- Returns:
- updatedAt
-
setUpdatedAt
-
envs
public GetKillswitchResponse envs(@Nonnull Map<String, ListKillswitchesResponseDataInnerEnvsValue> envs) -
putEnvsItem
public GetKillswitchResponse putEnvsItem(String key, ListKillswitchesResponseDataInnerEnvsValue envsItem) -
getEnvs
Per-env latest value, switches, version, and publish timestamp.- Returns:
- envs
-
setEnvs
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the GetKillswitchResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 GetKillswitchResponse
-
fromJson
Create an instance of GetKillswitchResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetKillswitchResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetKillswitchResponse
-
toJson
Convert an instance of GetKillswitchResponse to an JSON string- Returns:
- JSON string
-