Class ApiKey


  • public class ApiKey
    extends java.lang.Object
    The integration key.
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiKey()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApiKey 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()  
      ApiKey id​(java.lang.String id)  
      ApiKey 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

      • ApiKey

        public ApiKey()
    • Method Detail

      • id

        public ApiKey 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 ApiKey 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 ApiKey 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