Class AuthorizationExceptionDto
java.lang.Object
org.camunda.community.rest.client.dto.AuthorizationExceptionDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class AuthorizationExceptionDto
extends Object
AuthorizationExceptionDto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMissingAuthorizationsItem(MissingAuthorizationDto missingAuthorizationsItem) code(BigDecimal code) booleangetCode()The code allows your client application to identify the error in an automated fashion.A detailed message of the error.org.openapitools.jackson.nullable.JsonNullable<String>org.openapitools.jackson.nullable.JsonNullable<List<MissingAuthorizationDto>>getType()An exception class indicating the occurred error.org.openapitools.jackson.nullable.JsonNullable<String>The id of the user that does not have expected permissionsorg.openapitools.jackson.nullable.JsonNullable<String>inthashCode()missingAuthorizations(List<MissingAuthorizationDto> missingAuthorizations) voidsetCode(BigDecimal code) voidsetMessage(String message) voidsetMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> message) voidsetMissingAuthorizations(List<MissingAuthorizationDto> missingAuthorizations) voidsetMissingAuthorizations_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<MissingAuthorizationDto>> missingAuthorizations) voidvoidsetType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> 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_MESSAGE
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_MISSING_AUTHORIZATIONS
- See Also:
-
-
Constructor Details
-
AuthorizationExceptionDto
public AuthorizationExceptionDto()
-
-
Method Details
-
type
-
getType
An exception class indicating the occurred error.- Returns:
- type
-
getType_JsonNullable
-
setType_JsonNullable
-
setType
-
message
-
getMessage
A detailed message of the error.- Returns:
- message
-
getMessage_JsonNullable
-
setMessage_JsonNullable
-
setMessage
-
code
-
getCode
The code allows your client application to identify the error in an automated fashion. You can look up the meaning of all built-in codes and learn how to add custom codes in the [User Guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/error-handling/#exception-codes).- Returns:
- code
-
setCode
-
userId
-
getUserId
The id of the user that does not have expected permissions- Returns:
- userId
-
getUserId_JsonNullable
-
setUserId_JsonNullable
-
setUserId
-
missingAuthorizations
public AuthorizationExceptionDto missingAuthorizations(List<MissingAuthorizationDto> missingAuthorizations) -
addMissingAuthorizationsItem
public AuthorizationExceptionDto addMissingAuthorizationsItem(MissingAuthorizationDto missingAuthorizationsItem) -
getMissingAuthorizations
- Returns:
- missingAuthorizations
-
getMissingAuthorizations_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<MissingAuthorizationDto>> getMissingAuthorizations_JsonNullable() -
setMissingAuthorizations_JsonNullable
public void setMissingAuthorizations_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<MissingAuthorizationDto>> missingAuthorizations) -
setMissingAuthorizations
-
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
-