Package org.openapitools.client.model
Class AuthorizationDto
- java.lang.Object
-
- org.openapitools.client.model.AuthorizationDto
-
public class AuthorizationDto extends Object
AuthorizationDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_GROUP_IDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_PERMISSIONSstatic StringSERIALIZED_NAME_REMOVAL_TIMEstatic StringSERIALIZED_NAME_RESOURCE_IDstatic StringSERIALIZED_NAME_RESOURCE_TYPEstatic StringSERIALIZED_NAME_ROOT_PROCESS_INSTANCE_IDstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description AuthorizationDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationDtoaddPermissionsItem(String permissionsItem)booleanequals(Object o)StringgetGroupId()The id of the group this authorization has been created for.StringgetId()The id of the authorization.List<String>getPermissions()An array of Strings holding the permissions provided by this authorization.DategetRemovalTime()The removal time indicates the date a historic instance authorization is cleaned up.StringgetResourceId()The resource Id.IntegergetResourceType()An integer representing the resource type.StringgetRootProcessInstanceId()The process instance id of the root process instance the historic instance authorization is related to.IntegergetType()The type of the authorization (0=global, 1=grant, 2=revoke).StringgetUserId()The id of the user this authorization has been created for.AuthorizationDtogroupId(String groupId)inthashCode()AuthorizationDtoid(String id)AuthorizationDtopermissions(List<String> permissions)AuthorizationDtoremovalTime(Date removalTime)AuthorizationDtoresourceId(String resourceId)AuthorizationDtoresourceType(Integer resourceType)AuthorizationDtorootProcessInstanceId(String rootProcessInstanceId)voidsetGroupId(String groupId)voidsetId(String id)voidsetPermissions(List<String> permissions)voidsetRemovalTime(Date removalTime)voidsetResourceId(String resourceId)voidsetResourceType(Integer resourceType)voidsetRootProcessInstanceId(String rootProcessInstanceId)voidsetType(Integer type)voidsetUserId(String userId)StringtoString()AuthorizationDtotype(Integer type)AuthorizationDtouserId(String userId)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
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
-
SERIALIZED_NAME_REMOVAL_TIME
public static final String SERIALIZED_NAME_REMOVAL_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROOT_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_ROOT_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public AuthorizationDto id(String id)
-
getId
public String getId()
The id of the authorization.- Returns:
- id
-
setId
public void setId(String id)
-
type
public AuthorizationDto 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 AuthorizationDto permissions(List<String> permissions)
-
addPermissionsItem
public AuthorizationDto addPermissionsItem(String permissionsItem)
-
getPermissions
public List<String> getPermissions()
An array of Strings holding the permissions provided by this authorization.- Returns:
- permissions
-
userId
public AuthorizationDto 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 AuthorizationDto 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 AuthorizationDto 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 AuthorizationDto 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)
-
removalTime
public AuthorizationDto removalTime(Date removalTime)
-
getRemovalTime
public Date getRemovalTime()
The removal time indicates the date a historic instance authorization is cleaned up. A removal time can only be assigned to a historic instance authorization. Can be `null` when not related to a historic instance resource or when the removal time strategy is end and the root process instance is not finished. Default format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- removalTime
-
setRemovalTime
public void setRemovalTime(Date removalTime)
-
rootProcessInstanceId
public AuthorizationDto rootProcessInstanceId(String rootProcessInstanceId)
-
getRootProcessInstanceId
public String getRootProcessInstanceId()
The process instance id of the root process instance the historic instance authorization is related to. Can be `null` if not related to a historic instance resource.- Returns:
- rootProcessInstanceId
-
setRootProcessInstanceId
public void setRootProcessInstanceId(String rootProcessInstanceId)
-
-