Class Hash


  • @Generated("jsonschema2pojo")
    public class Hash
    extends java.lang.Object
    Specifies the hash algorithm and value for the content
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Hash.Algorithm
      The hashing function used to compute the hash value
    • Constructor Summary

      Constructors 
      Constructor Description
      Hash()  
    • Constructor Detail

      • Hash

        public Hash()
    • Method Detail

      • getAlgorithm

        public Hash.Algorithm getAlgorithm()
        The hashing function used to compute the hash value (Required)
      • setAlgorithm

        public void setAlgorithm​(Hash.Algorithm algorithm)
        The hashing function used to compute the hash value (Required)
      • getValue

        public java.lang.String getValue()
        The hash value for the content (Required)
      • setValue

        public void setValue​(java.lang.String value)
        The hash value for the content (Required)
      • withValue

        public Hash withValue​(java.lang.String value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object