Class TAuthenticationKey

    • Field Detail

      • keyId

        public int keyId
      • expirationDate

        public long expirationDate
      • creationDate

        public long creationDate
    • Constructor Detail

      • TAuthenticationKey

        public TAuthenticationKey()
      • TAuthenticationKey

        public TAuthenticationKey​(ByteBuffer secret)
      • TAuthenticationKey

        public TAuthenticationKey​(TAuthenticationKey other)
        Performs a deep copy on other.
    • Method Detail

      • getSecret

        public byte[] getSecret()
      • bufferForSecret

        public ByteBuffer bufferForSecret()
      • unsetSecret

        public void unsetSecret()
      • isSetSecret

        public boolean isSetSecret()
        Returns true if field secret is set (has been assigned a value) and false otherwise
      • setSecretIsSet

        public void setSecretIsSet​(boolean value)
      • getKeyId

        public int getKeyId()
      • unsetKeyId

        public void unsetKeyId()
      • isSetKeyId

        public boolean isSetKeyId()
        Returns true if field keyId is set (has been assigned a value) and false otherwise
      • setKeyIdIsSet

        public void setKeyIdIsSet​(boolean value)
      • getExpirationDate

        public long getExpirationDate()
      • setExpirationDate

        public TAuthenticationKey setExpirationDate​(long expirationDate)
      • unsetExpirationDate

        public void unsetExpirationDate()
      • isSetExpirationDate

        public boolean isSetExpirationDate()
        Returns true if field expirationDate is set (has been assigned a value) and false otherwise
      • setExpirationDateIsSet

        public void setExpirationDateIsSet​(boolean value)
      • getCreationDate

        public long getCreationDate()
      • unsetCreationDate

        public void unsetCreationDate()
      • isSetCreationDate

        public boolean isSetCreationDate()
        Returns true if field creationDate is set (has been assigned a value) and false otherwise
      • setCreationDateIsSet

        public void setCreationDateIsSet​(boolean value)
      • hashCode

        public int hashCode()
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
      • validate

        public void validate()
                      throws org.apache.thrift.TException