Class AuthorizationCreateDto
java.lang.Object
org.camunda.community.rest.client.dto.AuthorizationCreateDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class AuthorizationCreateDto
extends Object
AuthorizationCreateDto
-
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>An array of Strings holding the permissions provided by this authorization.The resource Id.org.openapitools.jackson.nullable.JsonNullable<String>An integer representing the resource type.org.openapitools.jackson.nullable.JsonNullable<Integer>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) resourceId(String resourceId) resourceType(Integer resourceType) voidsetGroupId(String groupId) voidsetGroupId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> groupId) voidsetPermissions(List<String> permissions) voidsetPermissions_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> permissions) voidsetResourceId(String resourceId) voidsetResourceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> resourceId) voidsetResourceType(Integer resourceType) voidsetResourceType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> resourceType) 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_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:
-
-
Constructor Details
-
AuthorizationCreateDto
public AuthorizationCreateDto()
-
-
Method Details
-
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
-
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
-