Package com.datadog.api.client.v2.model
Class RoleAttributes
java.lang.Object
com.datadog.api.client.v2.model.RoleAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RoleAttributes
extends Object
Attributes of the role.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReceivesPermissionsFromItem(String receivesPermissionsFromItem) booleanReturn true if this RoleAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Creation time of the role.Time of last role modification.getName()The name of the role.The managed role from which this role automatically inherits new permissions.Number of users with that role.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.receivesPermissionsFrom(List<String> receivesPermissionsFrom) voidvoidsetReceivesPermissionsFrom(List<String> receivesPermissionsFrom) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RECEIVES_PERMISSIONS_FROM
- See Also:
-
JSON_PROPERTY_USER_COUNT
- See Also:
-
-
Constructor Details
-
RoleAttributes
public RoleAttributes()
-
-
Method Details
-
getCreatedAt
Creation time of the role.- Returns:
- createdAt
-
getModifiedAt
Time of last role modification.- Returns:
- modifiedAt
-
name
-
getName
The name of the role. The name is neither unique nor a stable identifier of the role.- Returns:
- name
-
setName
-
receivesPermissionsFrom
-
addReceivesPermissionsFromItem
-
getReceivesPermissionsFrom
The managed role from which this role automatically inherits new permissions. Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". If empty or not specified, the role does not automatically inherit permissions from any managed role.- Returns:
- receivesPermissionsFrom
-
setReceivesPermissionsFrom
-
getUserCount
Number of users with that role.- Returns:
- userCount
-
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:
- RoleAttributes
-
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 RoleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-