Package com.datadog.api.client.v2.model
Class FullServiceAccessTokenAttributes
java.lang.Object
com.datadog.api.client.v2.model.FullServiceAccessTokenAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FullServiceAccessTokenAttributes
extends Object
Attributes of a full access token, including the token key.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScopesItem(String scopesItem) booleanReturn true if this FullServiceAccessTokenAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Creation date of the access token.Expiration date of the access token.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>getKey()The access token key.getName()Name of the access token.The public portion of the access token.Array of scopes granted to the access token.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PUBLIC_PORTION
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
-
Constructor Details
-
FullServiceAccessTokenAttributes
public FullServiceAccessTokenAttributes()
-
-
Method Details
-
getCreatedAt
Creation date of the access token.- Returns:
- createdAt
-
getExpiresAt
Expiration date of the access token.- Returns:
- expiresAt
-
getExpiresAt_JsonNullable
-
getKey
The access token key. Only returned upon creation.- Returns:
- key
-
name
-
getName
Name of the access token.- Returns:
- name
-
setName
-
getPublicPortion
The public portion of the access token.- Returns:
- publicPortion
-
scopes
-
addScopesItem
-
getScopes
Array of scopes granted to the access token.- Returns:
- scopes
-
setScopes
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- FullServiceAccessTokenAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this FullServiceAccessTokenAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-