Class ApiKey
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.ApiKey
-
public class ApiKey extends java.lang.ObjectThe integration key.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_DISPLAY_NAMEstatic java.lang.StringJSON_PROPERTY_IDstatic java.lang.StringJSON_PROPERTY_SECRET
-
Constructor Summary
Constructors Constructor Description ApiKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiKeydisplayName(java.lang.String displayName)booleanequals(java.lang.Object o)java.lang.StringgetDisplayName()The name of the API key.java.lang.StringgetId()The unique ID of the API key, used when signing JWTs or accessing the API using Basic Authentication.java.lang.StringgetSecret()The secret of the API key, used when signing JWTs or accessing the API using Basic AuthenticationinthashCode()ApiKeyid(java.lang.String id)ApiKeysecret(java.lang.String secret)voidsetDisplayName(java.lang.String displayName)voidsetId(java.lang.String id)voidsetSecret(java.lang.String secret)java.lang.StringtoString()
-
-
-
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
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-