@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-10-28T14:12:34.799+01:00[Europe/Prague]") public class UserPermission extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserPermission.TypeEnum
The type of the permission.
|
| Constructor and Description |
|---|
UserPermission() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
any() |
UserPermission |
deprecatedKey(Boolean deprecatedKey) |
UserPermission |
description(String description) |
boolean |
equals(Object o) |
Boolean |
getDeprecatedKey()
Indicate whether the permission key is deprecated.
|
String |
getDescription()
The description of the permission.
|
Boolean |
getHavePermission()
Whether the permission is available to the user in the queried context.
|
String |
getId()
The ID of the permission.
|
String |
getKey()
The key of the permission.
|
String |
getName()
The name of the permission.
|
UserPermission.TypeEnum |
getType()
The type of the permission.
|
int |
hashCode() |
UserPermission |
havePermission(Boolean havePermission) |
UserPermission |
id(String id) |
UserPermission |
key(String key) |
UserPermission |
name(String name) |
void |
set(String name,
Object value) |
void |
setDeprecatedKey(Boolean deprecatedKey) |
void |
setDescription(String description) |
void |
setHavePermission(Boolean havePermission) |
void |
setId(String id) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setType(UserPermission.TypeEnum type) |
String |
toString() |
UserPermission |
type(UserPermission.TypeEnum type) |
public UserPermission id(String id)
public String getId()
public void setId(String id)
public UserPermission key(String key)
public String getKey()
public void setKey(String key)
public UserPermission name(String name)
public String getName()
public void setName(String name)
public UserPermission type(UserPermission.TypeEnum type)
public UserPermission.TypeEnum getType()
public void setType(UserPermission.TypeEnum type)
public UserPermission description(String description)
public String getDescription()
public void setDescription(String description)
public UserPermission havePermission(Boolean havePermission)
public Boolean getHavePermission()
public void setHavePermission(Boolean havePermission)
public UserPermission deprecatedKey(Boolean deprecatedKey)
public Boolean getDeprecatedKey()
public void setDeprecatedKey(Boolean deprecatedKey)
Copyright © 2011–2021 Everit Kft.. All rights reserved.