Class AuthorizationDto
java.lang.Object
org.camunda.community.rest.client.dto.AuthorizationDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class AuthorizationDto
extends Object
AuthorizationDto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPermissionsItem(String permissionsItem) booleanThe id of the group this authorization has been created for.org.openapitools.jackson.nullable.JsonNullable<String>getId()The id of the authorization.org.openapitools.jackson.nullable.JsonNullable<String>An array of Strings holding the permissions provided by this authorization.The removal time indicates the date a historic instance authorization is cleaned up.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The resource Id.org.openapitools.jackson.nullable.JsonNullable<String>An integer representing the resource type.org.openapitools.jackson.nullable.JsonNullable<Integer>The process instance id of the root process instance the historic instance authorization is related to.org.openapitools.jackson.nullable.JsonNullable<String>getType()The type of the authorization (0=global, 1=grant, 2=revoke).org.openapitools.jackson.nullable.JsonNullable<Integer>The id of the user this authorization has been created for.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()permissions(List<String> permissions) removalTime(OffsetDateTime removalTime) resourceId(String resourceId) resourceType(Integer resourceType) rootProcessInstanceId(String rootProcessInstanceId) voidsetGroupId(String groupId) voidsetGroupId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> groupId) voidvoidsetId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> id) voidsetPermissions(List<String> permissions) voidsetPermissions_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> permissions) voidsetRemovalTime(OffsetDateTime removalTime) voidsetRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> removalTime) voidsetResourceId(String resourceId) voidsetResourceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> resourceId) voidsetResourceType(Integer resourceType) voidsetResourceType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> resourceType) voidsetRootProcessInstanceId(String rootProcessInstanceId) voidsetRootProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> rootProcessInstanceId) voidvoidsetType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> type) voidvoidsetUserId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> userId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_PERMISSIONS
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_GROUP_ID
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE
- See Also:
-
JSON_PROPERTY_RESOURCE_ID
- See Also:
-
JSON_PROPERTY_REMOVAL_TIME
- See Also:
-
JSON_PROPERTY_ROOT_PROCESS_INSTANCE_ID
- See Also:
-
-
Constructor Details
-
AuthorizationDto
public AuthorizationDto()
-
-
Method Details
-
id
-
getId
The id of the authorization.- Returns:
- id
-
getId_JsonNullable
-
setId_JsonNullable
-
setId
-
type
-
getType
The type of the authorization (0=global, 1=grant, 2=revoke). See the [User Guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/authorization-service.md#authorization-type) for more information about authorization types.- Returns:
- type
-
getType_JsonNullable
-
setType_JsonNullable
-
setType
-
permissions
-
addPermissionsItem
-
getPermissions
An array of Strings holding the permissions provided by this authorization.- Returns:
- permissions
-
getPermissions_JsonNullable
-
setPermissions_JsonNullable
-
setPermissions
-
userId
-
getUserId
The id of the user this authorization has been created for. The value `*` represents a global authorization ranging over all users.- Returns:
- userId
-
getUserId_JsonNullable
-
setUserId_JsonNullable
-
setUserId
-
groupId
-
getGroupId
The id of the group this authorization has been created for.- Returns:
- groupId
-
getGroupId_JsonNullable
-
setGroupId_JsonNullable
-
setGroupId
-
resourceType
-
getResourceType
An integer representing the resource type. See the [User Guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/authorization-service/#resources) for a list of integer representations of resource types.- Returns:
- resourceType
-
getResourceType_JsonNullable
-
setResourceType_JsonNullable
public void setResourceType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> resourceType) -
setResourceType
-
resourceId
-
getResourceId
The resource Id. The value `*` represents an authorization ranging over all instances of a resource.- Returns:
- resourceId
-
getResourceId_JsonNullable
-
setResourceId_JsonNullable
public void setResourceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> resourceId) -
setResourceId
-
removalTime
-
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
-
getRemovalTime_JsonNullable
-
setRemovalTime_JsonNullable
public void setRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> removalTime) -
setRemovalTime
-
rootProcessInstanceId
-
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
-
getRootProcessInstanceId_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getRootProcessInstanceId_JsonNullable() -
setRootProcessInstanceId_JsonNullable
public void setRootProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> rootProcessInstanceId) -
setRootProcessInstanceId
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-