Class B2AuthorizationFilteredResponseField<T>


  • public class B2AuthorizationFilteredResponseField<T>
    extends java.lang.Object
    A generic class to represent response fields that are filtered based on authorization Parameter T will represent the different types of response field (e.g. B2FileRetention, B2BucketServerSideEncryption, etc.) This class isn't really for general use, but we need it public in order to build B2FileVersion outside this package.
    • Constructor Detail

      • B2AuthorizationFilteredResponseField

        public B2AuthorizationFilteredResponseField​(boolean isClientAuthorizedToRead,
                                                    T value)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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