Package com.datadog.api.client.v2.model
Class ServiceAccessTokenAttributes
java.lang.Object
com.datadog.api.client.v2.model.ServiceAccessTokenAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceAccessTokenAttributes
extends Object
Attributes of an access token.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScopesItem(String scopesItem) booleanReturn true if this ServiceAccessTokenAttributes 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>Date the access token was last used.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>Date of last modification of the access token.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>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_LAST_USED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PUBLIC_PORTION
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
-
Constructor Details
-
ServiceAccessTokenAttributes
public ServiceAccessTokenAttributes()
-
-
Method Details
-
getCreatedAt
Creation date of the access token.- Returns:
- createdAt
-
getExpiresAt
Expiration date of the access token.- Returns:
- expiresAt
-
getExpiresAt_JsonNullable
-
getLastUsedAt
Date the access token was last used.- Returns:
- lastUsedAt
-
getLastUsedAt_JsonNullable
-
getModifiedAt
Date of last modification of the access token.- Returns:
- modifiedAt
-
getModifiedAt_JsonNullable
-
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:
- ServiceAccessTokenAttributes
-
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 ServiceAccessTokenAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-