Class AppKey


  • public class AppKey
    extends java.lang.Object
    AppKey
    • Constructor Summary

      Constructors 
      Constructor Description
      AppKey()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AppKey displayName​(java.lang.String displayName)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getDisplayName()
      The name of the API key.
      java.lang.String getId()
      The unique ID of the API key, used when signing JWTs or accessing the API using Basic Authentication.
      java.lang.String getSecret()
      The secret of the API key, used when signing JWTs or accessing the API using Basic Authentication
      int hashCode()  
      AppKey id​(java.lang.String id)  
      AppKey secret​(java.lang.String secret)  
      void setDisplayName​(java.lang.String displayName)  
      void setId​(java.lang.String id)  
      void setSecret​(java.lang.String secret)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • JSON_PROPERTY_ID

        public static final java.lang.String JSON_PROPERTY_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_DISPLAY_NAME

        public static final java.lang.String JSON_PROPERTY_DISPLAY_NAME
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SECRET

        public static final java.lang.String JSON_PROPERTY_SECRET
        See Also:
        Constant Field Values
    • Constructor Detail

      • AppKey

        public AppKey()
    • Method Detail

      • id

        public AppKey id​(java.lang.String id)
      • getId

        @Nullable
        public java.lang.String getId()
        The unique ID of the API key, used when signing JWTs or accessing the API using Basic Authentication.
        Returns:
        id
      • setId

        public void setId​(java.lang.String id)
      • displayName

        public AppKey displayName​(java.lang.String displayName)
      • getDisplayName

        @Nullable
        public java.lang.String getDisplayName()
        The name of the API key.
        Returns:
        displayName
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
      • secret

        public AppKey secret​(java.lang.String secret)
      • getSecret

        @Nullable
        public java.lang.String getSecret()
        The secret of the API key, used when signing JWTs or accessing the API using Basic Authentication
        Returns:
        secret
      • setSecret

        public void setSecret​(java.lang.String secret)
      • 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