Package org.openapitools.client.model
Class AuthorizationCreateDto
- java.lang.Object
-
- org.openapitools.client.model.AuthorizationCreateDto
-
public class AuthorizationCreateDto extends Object
AuthorizationCreateDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_GROUP_IDstatic StringSERIALIZED_NAME_PERMISSIONSstatic StringSERIALIZED_NAME_RESOURCE_IDstatic StringSERIALIZED_NAME_RESOURCE_TYPEstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description AuthorizationCreateDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationCreateDtoaddPermissionsItem(String permissionsItem)booleanequals(Object o)StringgetGroupId()The id of the group this authorization has been created for.List<String>getPermissions()An array of Strings holding the permissions provided by this authorization.StringgetResourceId()The resource Id.IntegergetResourceType()An integer representing the resource type.IntegergetType()The type of the authorization (0=global, 1=grant, 2=revoke).StringgetUserId()The id of the user this authorization has been created for.AuthorizationCreateDtogroupId(String groupId)inthashCode()AuthorizationCreateDtopermissions(List<String> permissions)AuthorizationCreateDtoresourceId(String resourceId)AuthorizationCreateDtoresourceType(Integer resourceType)voidsetGroupId(String groupId)voidsetPermissions(List<String> permissions)voidsetResourceId(String resourceId)voidsetResourceType(Integer resourceType)voidsetType(Integer type)voidsetUserId(String userId)StringtoString()AuthorizationCreateDtotype(Integer type)AuthorizationCreateDtouserId(String userId)
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PERMISSIONS
public static final String SERIALIZED_NAME_PERMISSIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROUP_ID
public static final String SERIALIZED_NAME_GROUP_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESOURCE_TYPE
public static final String SERIALIZED_NAME_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESOURCE_ID
public static final String SERIALIZED_NAME_RESOURCE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public AuthorizationCreateDto type(Integer type)
-
getType
public Integer getType()
The type of the authorization (0=global, 1=grant, 2=revoke). See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/authorization-service.md#authorization-type) for more information about authorization types.- Returns:
- type
-
setType
public void setType(Integer type)
-
permissions
public AuthorizationCreateDto permissions(List<String> permissions)
-
addPermissionsItem
public AuthorizationCreateDto addPermissionsItem(String permissionsItem)
-
getPermissions
public List<String> getPermissions()
An array of Strings holding the permissions provided by this authorization.- Returns:
- permissions
-
userId
public AuthorizationCreateDto userId(String userId)
-
getUserId
public String getUserId()
The id of the user this authorization has been created for. The value `*` represents a global authorization ranging over all users.- Returns:
- userId
-
setUserId
public void setUserId(String userId)
-
groupId
public AuthorizationCreateDto groupId(String groupId)
-
getGroupId
public String getGroupId()
The id of the group this authorization has been created for.- Returns:
- groupId
-
setGroupId
public void setGroupId(String groupId)
-
resourceType
public AuthorizationCreateDto resourceType(Integer resourceType)
-
getResourceType
public Integer getResourceType()
An integer representing the resource type. See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/authorization-service/#resources) for a list of integer representations of resource types.- Returns:
- resourceType
-
setResourceType
public void setResourceType(Integer resourceType)
-
resourceId
public AuthorizationCreateDto resourceId(String resourceId)
-
getResourceId
public String getResourceId()
The resource Id. The value `*` represents an authorization ranging over all instances of a resource.- Returns:
- resourceId
-
setResourceId
public void setResourceId(String resourceId)
-
-