@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AccessTokenListItem extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
AccessTokenListItem() |
| Modifier and Type | Method and Description |
|---|---|
AccessTokenListItem |
attributes(PersonalAccessTokenAttributes attributes) |
boolean |
equals(Object o)
Return true if this AccessTokenListItem object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
PersonalAccessTokenAttributes |
getAttributes()
Attributes of an access token.
|
String |
getId()
ID of the access token.
|
AccessTokenListItemRelationships |
getRelationships()
Resources related to the access token entry in the mixed list response.
|
AccessTokensType |
getType()
Resource type returned by the access tokens list endpoint.
|
int |
hashCode() |
AccessTokenListItem |
id(String id) |
AccessTokenListItem |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AccessTokenListItem |
relationships(AccessTokenListItemRelationships relationships) |
void |
setAttributes(PersonalAccessTokenAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(AccessTokenListItemRelationships relationships) |
void |
setType(AccessTokensType type) |
String |
toString() |
AccessTokenListItem |
type(AccessTokensType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public AccessTokenListItem attributes(PersonalAccessTokenAttributes attributes)
@Nullable public PersonalAccessTokenAttributes getAttributes()
public void setAttributes(PersonalAccessTokenAttributes attributes)
public AccessTokenListItem id(String id)
@Nullable public String getId()
public void setId(String id)
public AccessTokenListItem relationships(AccessTokenListItemRelationships relationships)
@Nullable public AccessTokenListItemRelationships getRelationships()
public void setRelationships(AccessTokenListItemRelationships relationships)
public AccessTokenListItem type(AccessTokensType type)
@Nullable public AccessTokensType getType()
public void setType(AccessTokensType type)
public AccessTokenListItem putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.