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
  • Field Details

  • Constructor Details

    • PushI18nKeysRequestKeysInner

      public PushI18nKeysRequestKeysInner()
  • Method Details

    • key

      public PushI18nKeysRequestKeysInner key(@Nonnull String key)
    • getKey

      @Nonnull public String getKey()
      Dotted key path, e.g. `home.cta`.
      Returns:
      key
    • setKey

      public void setKey(@Nonnull String key)
    • value

      public PushI18nKeysRequestKeysInner value(@Nonnull String value)
    • getValue

      @Nonnull public String getValue()
      Translated value for the key.
      Returns:
      value
    • setValue

      public void setValue(@Nonnull String value)
    • description

      public PushI18nKeysRequestKeysInner description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      Optional human note stored with the key.
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • variables

      public PushI18nKeysRequestKeysInner variables(@Nullable List<String> variables)
    • addVariablesItem

      public PushI18nKeysRequestKeysInner addVariablesItem(String variablesItem)
    • getVariables

      @Nullable public List<String> getVariables()
      Optional explicit list of `{{var}}` placeholder names in the value. Auto-derived from the value when omitted.
      Returns:
      variables
    • setVariables

      public void setVariables(@Nullable List<String> variables)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static PushI18nKeysRequestKeysInner fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of PushI18nKeysRequestKeysInner to an JSON string
      Returns:
      JSON string