Package com.datadog.api.client.v2.model
Class PermissionAttributes
java.lang.Object
com.datadog.api.client.v2.model.PermissionAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PermissionAttributes
extends Object
Attributes of a permission.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNameAliasesItem(String nameAliasesItem) created(OffsetDateTime created) description(String description) displayName(String displayName) displayType(String displayType) booleanReturn true if this PermissionAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Creation time of the permission.Description of the permission.Displayed name for the permission.Display type.Name of the permission group.getName()Name of the permission.List of alias names for the permission.Whether or not the permission is restricted.inthashCode()nameAliases(List<String> nameAliases) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.restricted(Boolean restricted) voidsetCreated(OffsetDateTime created) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetDisplayType(String displayType) voidsetGroupName(String groupName) voidvoidsetNameAliases(List<String> nameAliases) voidsetRestricted(Boolean restricted) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_DISPLAY_TYPE
- See Also:
-
JSON_PROPERTY_GROUP_NAME
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NAME_ALIASES
- See Also:
-
JSON_PROPERTY_RESTRICTED
- See Also:
-
-
Constructor Details
-
PermissionAttributes
public PermissionAttributes()
-
-
Method Details
-
created
-
getCreated
Creation time of the permission.- Returns:
- created
-
setCreated
-
description
-
getDescription
Description of the permission.- Returns:
- description
-
setDescription
-
displayName
-
getDisplayName
Displayed name for the permission.- Returns:
- displayName
-
setDisplayName
-
displayType
-
getDisplayType
Display type.- Returns:
- displayType
-
setDisplayType
-
groupName
-
getGroupName
Name of the permission group.- Returns:
- groupName
-
setGroupName
-
name
-
getName
Name of the permission.- Returns:
- name
-
setName
-
nameAliases
-
addNameAliasesItem
-
getNameAliases
List of alias names for the permission.- Returns:
- nameAliases
-
setNameAliases
-
restricted
-
getRestricted
Whether or not the permission is restricted.- Returns:
- restricted
-
setRestricted
-
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:
- PermissionAttributes
-
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 PermissionAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-