Class ListConfigsResponseDataInnerDraftsValue

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

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

  • Constructor Details

    • ListConfigsResponseDataInnerDraftsValue

      public ListConfigsResponseDataInnerDraftsValue()
  • Method Details

    • updatedAt

      public ListConfigsResponseDataInnerDraftsValue updatedAt(@Nonnull String updatedAt)
    • getUpdatedAt

      @Nonnull public String getUpdatedAt()
      ISO-8601 last-edit timestamp on the draft.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nonnull String updatedAt)
    • authorEmail

      public ListConfigsResponseDataInnerDraftsValue authorEmail(@Nonnull String authorEmail)
    • getAuthorEmail

      @Nonnull public String getAuthorEmail()
      Email/id of the actor who last edited the draft.
      Returns:
      authorEmail
    • setAuthorEmail

      public void setAuthorEmail(@Nonnull String authorEmail)
    • baseVersion

      public ListConfigsResponseDataInnerDraftsValue baseVersion(@Nonnull Integer baseVersion)
    • getBaseVersion

      @Nonnull public Integer getBaseVersion()
      Published version the draft was forked from. minimum: -9007199254740991 maximum: 9007199254740991
      Returns:
      baseVersion
    • setBaseVersion

      public void setBaseVersion(@Nonnull Integer baseVersion)
    • 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 ListConfigsResponseDataInnerDraftsValue
    • fromJson

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

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