Class ListI18nProfilesResponseInner

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

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

  • Constructor Details

    • ListI18nProfilesResponseInner

      public ListI18nProfilesResponseInner()
  • Method Details

    • id

      public ListI18nProfilesResponseInner id(@Nonnull String id)
    • getId

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

      public void setId(@Nonnull String id)
    • name

      public ListI18nProfilesResponseInner name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Profile handle, e.g. `en:prod` or `fr:prod`.
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • isDefault

      public ListI18nProfilesResponseInner isDefault(@Nullable BigDecimal isDefault)
    • getIsDefault

      @Nullable public BigDecimal getIsDefault()
      `1` for the project's single default profile (always seeded as `en:prod`), else `0`.
      Returns:
      isDefault
    • setIsDefault

      public void setIsDefault(@Nullable BigDecimal isDefault)
    • createdAt

      public ListI18nProfilesResponseInner createdAt(@Nullable String createdAt)
    • getCreatedAt

      @Nullable public String getCreatedAt()
      ISO-8601 timestamp of creation.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable String createdAt)
    • deletedAt

      public ListI18nProfilesResponseInner deletedAt(@Nullable String deletedAt)
    • getDeletedAt

      @Nullable public String getDeletedAt()
      ISO-8601 soft-delete timestamp, or `null` if live.
      Returns:
      deletedAt
    • setDeletedAt

      public void setDeletedAt(@Nullable String deletedAt)
    • 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 ListI18nProfilesResponseInner
    • fromJson

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

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