Package com.datadog.api.client.v2.model
Class FullApplicationKeyAttributes
java.lang.Object
com.datadog.api.client.v2.model.FullApplicationKeyAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FullApplicationKeyAttributes
extends Object
Attributes of a full application key.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScopesItem(String scopesItem) booleanReturn true if this FullApplicationKeyAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Creation date of the application key.getKey()The application key.getLast4()The last four characters of the application key.Last usage timestamp of the application key.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>getName()Name of the application key.Array of scopes to grant the application key.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetScopes_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> scopes) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_LAST4
- See Also:
-
JSON_PROPERTY_LAST_USED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
-
Constructor Details
-
FullApplicationKeyAttributes
public FullApplicationKeyAttributes()
-
-
Method Details
-
getCreatedAt
Creation date of the application key.- Returns:
- createdAt
-
getKey
The application key.- Returns:
- key
-
getLast4
The last four characters of the application key.- Returns:
- last4
-
getLastUsedAt
Last usage timestamp of the application key.- Returns:
- lastUsedAt
-
getLastUsedAt_JsonNullable
-
name
-
getName
Name of the application key.- Returns:
- name
-
setName
-
scopes
-
addScopesItem
-
getScopes
Array of scopes to grant the application key.- Returns:
- scopes
-
getScopes_JsonNullable
-
setScopes_JsonNullable
-
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:
- FullApplicationKeyAttributes
-
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 FullApplicationKeyAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-