@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Role 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 |
| Modifier and Type | Method and Description |
|---|---|
Role |
attributes(RoleAttributes attributes) |
boolean |
equals(Object o)
Return true if this Role 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.
|
RoleAttributes |
getAttributes()
Attributes of the role.
|
String |
getId()
The unique identifier of the role.
|
RoleResponseRelationships |
getRelationships()
Relationships of the role object returned by the API.
|
RolesType |
getType()
Roles type.
|
int |
hashCode() |
Role |
id(String id) |
Role |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
Role |
relationships(RoleResponseRelationships relationships) |
void |
setAttributes(RoleAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(RoleResponseRelationships relationships) |
void |
setType(RolesType type) |
String |
toString() |
Role |
type(RolesType 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 Role()
public Role(RolesType type)
public Role attributes(RoleAttributes attributes)
@Nullable public RoleAttributes getAttributes()
public void setAttributes(RoleAttributes attributes)
@Nullable public String getId()
public void setId(String id)
public Role relationships(RoleResponseRelationships relationships)
@Nullable public RoleResponseRelationships getRelationships()
public void setRelationships(RoleResponseRelationships relationships)
public RolesType getType()
public void setType(RolesType type)
public Role 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 © 2024. All rights reserved.