Package com.datadog.api.client.v2.model
Class RoleUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.RoleUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RoleUpdateAttributes
extends Object
Attributes of the role.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReceivesPermissionsFromItem(String receivesPermissionsFromItem) booleanReturn true if this RoleUpdateAttributes 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()Name of the role.The managed role from which this role automatically inherits new permissions.The user count.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) voidsetUserCount(Integer userCount) 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
-
RoleUpdateAttributes
public RoleUpdateAttributes()
-
-
Method Details
-
getCreatedAt
Creation time of the role.- Returns:
- createdAt
-
getModifiedAt
Time of last role modification.- Returns:
- modifiedAt
-
name
-
getName
Name 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
-
userCount
-
getUserCount
The user count. maximum: 2147483647- Returns:
- userCount
-
setUserCount
-
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:
- RoleUpdateAttributes
-
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 RoleUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-