Class AttestationProperties

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

@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 AttestationProperties extends Object
AttestationProperties
  • Field Details

  • Constructor Details

    • AttestationProperties

      public AttestationProperties()
  • Method Details

    • _for

      public AttestationProperties _for(String _for)
    • getFor

      @Nullable public String getFor()
      The following is an example of the contents of Digest types: sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc This allows to abstract the digest behind this type and work only in those terms.
      Returns:
      _for
    • setFor

      public void setFor(String _for)
    • 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 AttestationProperties
    • fromJson

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

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