Package org.openapitools.client.model
Class AuthorizationUpdateDto
- java.lang.Object
-
- org.openapitools.client.model.AuthorizationUpdateDto
-
public class AuthorizationUpdateDto extends Object
AuthorizationUpdateDto
-
-
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_USER_ID
-
Constructor Summary
Constructors Constructor Description AuthorizationUpdateDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationUpdateDtoaddPermissionsItem(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.StringgetUserId()The id of the user this authorization has been created for.AuthorizationUpdateDtogroupId(String groupId)inthashCode()AuthorizationUpdateDtopermissions(List<String> permissions)AuthorizationUpdateDtoresourceId(String resourceId)AuthorizationUpdateDtoresourceType(Integer resourceType)voidsetGroupId(String groupId)voidsetPermissions(List<String> permissions)voidsetResourceId(String resourceId)voidsetResourceType(Integer resourceType)voidsetUserId(String userId)StringtoString()AuthorizationUpdateDtouserId(String userId)
-
-
-
Field Detail
-
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
-
permissions
public AuthorizationUpdateDto permissions(List<String> permissions)
-
addPermissionsItem
public AuthorizationUpdateDto addPermissionsItem(String permissionsItem)
-
getPermissions
public List<String> getPermissions()
An array of Strings holding the permissions provided by this authorization.- Returns:
- permissions
-
userId
public AuthorizationUpdateDto 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 AuthorizationUpdateDto 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 AuthorizationUpdateDto 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 AuthorizationUpdateDto 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)
-
-