@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PermissionAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_DISPLAY_NAME |
static String |
JSON_PROPERTY_DISPLAY_TYPE |
static String |
JSON_PROPERTY_GROUP_NAME |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RESTRICTED |
boolean |
unparsed |
| Constructor and Description |
|---|
PermissionAttributes() |
| Modifier and Type | Method and Description |
|---|---|
PermissionAttributes |
created(OffsetDateTime created) |
PermissionAttributes |
description(String description) |
PermissionAttributes |
displayName(String displayName) |
PermissionAttributes |
displayType(String displayType) |
boolean |
equals(Object o)
Return true if this PermissionAttributes 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.
|
OffsetDateTime |
getCreated()
Creation time of the permission.
|
String |
getDescription()
Description of the permission.
|
String |
getDisplayName()
Displayed name for the permission.
|
String |
getDisplayType()
Display type.
|
String |
getGroupName()
Name of the permission group.
|
String |
getName()
Name of the permission.
|
Boolean |
getRestricted()
Whether or not the permission is restricted.
|
PermissionAttributes |
groupName(String groupName) |
int |
hashCode() |
PermissionAttributes |
name(String name) |
PermissionAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PermissionAttributes |
restricted(Boolean restricted) |
void |
setCreated(OffsetDateTime created) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setDisplayType(String displayType) |
void |
setGroupName(String groupName) |
void |
setName(String name) |
void |
setRestricted(Boolean restricted) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DISPLAY_NAME
public static final String JSON_PROPERTY_DISPLAY_TYPE
public static final String JSON_PROPERTY_GROUP_NAME
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RESTRICTED
public PermissionAttributes created(OffsetDateTime created)
@Nullable public OffsetDateTime getCreated()
public void setCreated(OffsetDateTime created)
public PermissionAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public PermissionAttributes displayName(String displayName)
@Nullable public String getDisplayName()
public void setDisplayName(String displayName)
public PermissionAttributes displayType(String displayType)
@Nullable public String getDisplayType()
public void setDisplayType(String displayType)
public PermissionAttributes groupName(String groupName)
@Nullable public String getGroupName()
public void setGroupName(String groupName)
public PermissionAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public PermissionAttributes restricted(Boolean restricted)
@Nullable public Boolean getRestricted()
public void setRestricted(Boolean restricted)
public PermissionAttributes 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 © 2024. All rights reserved.