@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PersonalAccessTokenUpdateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_SCOPES |
boolean |
unparsed |
| Constructor and Description |
|---|
PersonalAccessTokenUpdateAttributes() |
| Modifier and Type | Method and Description |
|---|---|
PersonalAccessTokenUpdateAttributes |
addScopesItem(String scopesItem) |
boolean |
equals(Object o)
Return true if this PersonalAccessTokenUpdateAttributes 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.
|
String |
getName()
Name of the access token.
|
List<String> |
getScopes()
Array of scopes to grant the access token.
|
int |
hashCode() |
PersonalAccessTokenUpdateAttributes |
name(String name) |
PersonalAccessTokenUpdateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PersonalAccessTokenUpdateAttributes |
scopes(List<String> scopes) |
void |
setName(String name) |
void |
setScopes(List<String> scopes) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_SCOPES
public PersonalAccessTokenUpdateAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public PersonalAccessTokenUpdateAttributes scopes(List<String> scopes)
public PersonalAccessTokenUpdateAttributes addScopesItem(String scopesItem)
@Nullable public List<String> getScopes()
public PersonalAccessTokenUpdateAttributes 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.