Class HistoryResponse

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

@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 HistoryResponse extends Object
HistoryResponse provides details on image layers
  • Field Details

  • Constructor Details

    • HistoryResponse

      public HistoryResponse()
  • 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 HistoryResponse
    • fromJson

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

      public HistoryResponse comment(String comment)
    • getComment

      @Nullable public String getComment()
      Get comment
      Returns:
      comment
    • setComment

      public void setComment(String comment)
    • created

      public HistoryResponse created(Long created)
    • getCreated

      @Nullable public Long getCreated()
      Get created
      Returns:
      created
    • setCreated

      public void setCreated(Long created)
    • createdBy

      public HistoryResponse createdBy(String createdBy)
    • getCreatedBy

      @Nullable public String getCreatedBy()
      Get createdBy
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • id

      public HistoryResponse id(String id)
    • getId

      @Nullable public String getId()
      Get id
      Returns:
      id
    • setId

      public void setId(String id)
    • size

      public HistoryResponse size(Long size)
    • getSize

      @Nullable public Long getSize()
      Get size
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • tags

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

      public HistoryResponse addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Get 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 HistoryResponse to an JSON string
      Returns:
      JSON string