Package ai.shipeasy.admin.model
Class PushI18nKeysRequestKeysInner
java.lang.Object
ai.shipeasy.admin.model.PushI18nKeysRequestKeysInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class PushI18nKeysRequestKeysInner
extends Object
PushI18nKeysRequestKeysInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariablesItem(String variablesItem) description(String description) booleanstatic PushI18nKeysRequestKeysInnerCreate an instance of PushI18nKeysRequestKeysInner given an JSON stringOptional human note stored with the key.getKey()Dotted key path, e.g.getValue()Translated value for the key.Optional explicit list of `{{var}}` placeholder names in the value.inthashCode()voidsetDescription(String description) voidvoidvoidsetVariables(List<String> variables) toJson()Convert an instance of PushI18nKeysRequestKeysInner 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_KEY
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_VARIABLES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PushI18nKeysRequestKeysInner
public PushI18nKeysRequestKeysInner()
-
-
Method Details
-
key
-
getKey
Dotted key path, e.g. `home.cta`.- Returns:
- key
-
setKey
-
value
-
getValue
Translated value for the key.- Returns:
- value
-
setValue
-
description
-
getDescription
Optional human note stored with the key.- Returns:
- description
-
setDescription
-
variables
-
addVariablesItem
-
getVariables
Optional explicit list of `{{var}}` placeholder names in the value. Auto-derived from the value when omitted.- Returns:
- variables
-
setVariables
-
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 PushI18nKeysRequestKeysInner
-
fromJson
Create an instance of PushI18nKeysRequestKeysInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PushI18nKeysRequestKeysInner
- Throws:
IOException- if the JSON string is invalid with respect to PushI18nKeysRequestKeysInner
-
toJson
Convert an instance of PushI18nKeysRequestKeysInner to an JSON string- Returns:
- JSON string
-