Package com.datadog.api.client.v2.model
Class RoleCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.RoleCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RoleCreateAttributes
extends Object
Attributes of the created role.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReceivesPermissionsFromItem(String receivesPermissionsFromItem) booleanReturn true if this RoleCreateAttributes 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.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:
-
-
Constructor Details
-
RoleCreateAttributes
public RoleCreateAttributes() -
RoleCreateAttributes
-
-
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
-
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:
- RoleCreateAttributes
-
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 RoleCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-