Class HistoryResponseItem

java.lang.Object
io.github.alersrt.pod4j.openapi.model.HistoryResponseItem

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class HistoryResponseItem extends Object
HistoryResponseItem individual image layer information in response to ImageHistory operation
  • Field Details

  • Constructor Details

    • HistoryResponseItem

      public HistoryResponseItem()
  • Method Details

    • 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 HistoryResponseItem
    • fromJson

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

      public HistoryResponseItem comment(String comment)
    • getComment

      @Nonnull @NotNull public @NotNull String getComment()
      comment
      Returns:
      comment
    • setComment

      public void setComment(String comment)
    • created

      public HistoryResponseItem created(Long created)
    • getCreated

      @Nonnull @NotNull public @NotNull Long getCreated()
      created
      Returns:
      created
    • setCreated

      public void setCreated(Long created)
    • createdBy

      public HistoryResponseItem createdBy(String createdBy)
    • getCreatedBy

      @Nonnull @NotNull public @NotNull String getCreatedBy()
      created by
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • id

      public HistoryResponseItem id(String id)
    • getId

      @Nonnull @NotNull public @NotNull String getId()
      Id
      Returns:
      id
    • setId

      public void setId(String id)
    • size

      public HistoryResponseItem size(Long size)
    • getSize

      @Nonnull @NotNull public @NotNull Long getSize()
      size
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • tags

      public HistoryResponseItem tags(List<String> tags)
    • addTagsItem

      public HistoryResponseItem addTagsItem(String tagsItem)
    • getTags

      @Nonnull @NotNull public @NotNull List<String> getTags()
      tags
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • 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
    • toJson

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