Class ListI18nKeysResponseKeysInner

java.lang.Object
ai.shipeasy.admin.model.ListI18nKeysResponseKeysInner

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class ListI18nKeysResponseKeysInner extends Object
One i18n key row.
  • Field Details

  • Constructor Details

    • ListI18nKeysResponseKeysInner

      public ListI18nKeysResponseKeysInner()
  • Method Details

    • id

      public ListI18nKeysResponseKeysInner id(@Nonnull String id)
    • getId

      @Nonnull public String getId()
      Stable opaque key id.
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • key

      public ListI18nKeysResponseKeysInner 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 ListI18nKeysResponseKeysInner value(@Nonnull String value)
    • getValue

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

      public void setValue(@Nonnull String value)
    • description

      public ListI18nKeysResponseKeysInner 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 ListI18nKeysResponseKeysInner variables(@Nullable List<String> variables)
    • addVariablesItem

      public ListI18nKeysResponseKeysInner addVariablesItem(String variablesItem)
    • getVariables

      @Nullable public List<String> getVariables()
      `{{var}}` placeholder names in the value, or `null` when there are none.
      Returns:
      variables
    • setVariables

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

      public ListI18nKeysResponseKeysInner profileId(@Nullable String profileId)
    • getProfileId

      @Nullable public String getProfileId()
      Owning profile id.
      Returns:
      profileId
    • setProfileId

      public void setProfileId(@Nullable String profileId)
    • chunkId

      public ListI18nKeysResponseKeysInner chunkId(@Nullable String chunkId)
    • getChunkId

      @Nullable public String getChunkId()
      Owning chunk (authoring grouping) id.
      Returns:
      chunkId
    • setChunkId

      public void setChunkId(@Nullable String chunkId)
    • updatedAt

      public ListI18nKeysResponseKeysInner updatedAt(@Nullable String updatedAt)
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      ISO-8601 timestamp of the last edit.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable String updatedAt)
    • updatedBy

      public ListI18nKeysResponseKeysInner updatedBy(@Nullable String updatedBy)
    • getUpdatedBy

      @Nullable public String getUpdatedBy()
      Actor email that last edited the key.
      Returns:
      updatedBy
    • setUpdatedBy

      public void setUpdatedBy(@Nullable String updatedBy)
    • putAdditionalProperty

      public ListI18nKeysResponseKeysInner putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the ListI18nKeysResponseKeysInner instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 ListI18nKeysResponseKeysInner
    • fromJson

      public static ListI18nKeysResponseKeysInner fromJson(String jsonString) throws IOException
      Create an instance of ListI18nKeysResponseKeysInner given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ListI18nKeysResponseKeysInner
      Throws:
      IOException - if the JSON string is invalid with respect to ListI18nKeysResponseKeysInner
    • toJson

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