@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RestrictionQueryRole extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
RestrictionQueryRole() |
RestrictionQueryRole(RestrictionQueryRoleAttribute attributes,
String id,
RolesType type) |
| Modifier and Type | Method and Description |
|---|---|
RestrictionQueryRole |
attributes(RestrictionQueryRoleAttribute attributes) |
boolean |
equals(Object o)
Return true if this RestrictionQueryRole 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.
|
RestrictionQueryRoleAttribute |
getAttributes()
Attributes of the role for a restriction query.
|
String |
getId()
ID of the role.
|
RolesType |
getType()
Roles type.
|
int |
hashCode() |
RestrictionQueryRole |
id(String id) |
RestrictionQueryRole |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(RestrictionQueryRoleAttribute attributes) |
void |
setId(String id) |
void |
setType(RolesType type) |
String |
toString() |
RestrictionQueryRole |
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_TYPE
public RestrictionQueryRole()
public RestrictionQueryRole(RestrictionQueryRoleAttribute attributes, String id, RolesType type)
public RestrictionQueryRole attributes(RestrictionQueryRoleAttribute attributes)
public RestrictionQueryRoleAttribute getAttributes()
public void setAttributes(RestrictionQueryRoleAttribute attributes)
public RestrictionQueryRole id(String id)
public String getId()
public void setId(String id)
public RestrictionQueryRole type(RolesType type)
public RolesType getType()
public void setType(RolesType type)
public RestrictionQueryRole 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.