Class History

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class History extends Object
History
  • Field Details

  • Constructor Details

    • History

      public History()
  • Method Details

    • author

      public History author(String author)
    • getAuthor

      @Nullable public String getAuthor()
      Author is the author of the build point.
      Returns:
      author
    • setAuthor

      public void setAuthor(String author)
    • comment

      public History comment(String comment)
    • getComment

      @Nullable public String getComment()
      Comment is a custom message set when creating the layer.
      Returns:
      comment
    • setComment

      public void setComment(String comment)
    • created

      public History created(OffsetDateTime created)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Created is the combined date and time at which the layer was created, formatted as defined by RFC 3339, section 5.6.
      Returns:
      created
    • setCreated

      public void setCreated(OffsetDateTime created)
    • createdBy

      public History createdBy(String createdBy)
    • getCreatedBy

      @Nullable public String getCreatedBy()
      CreatedBy is the command which created the layer.
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • emptyLayer

      public History emptyLayer(Boolean emptyLayer)
    • getEmptyLayer

      @Nullable public Boolean getEmptyLayer()
      EmptyLayer is used to mark if the history item created a filesystem diff.
      Returns:
      emptyLayer
    • setEmptyLayer

      public void setEmptyLayer(Boolean emptyLayer)
    • 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 History
    • fromJson

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

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