@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-29T11:12:16.359+02:00[Europe/Berlin]") public class AuthorizationExceptionDto extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MESSAGE |
static String |
SERIALIZED_NAME_MISSING_AUTHORIZATIONS |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
AuthorizationExceptionDto() |
Modifier and Type | Method and Description |
---|---|
AuthorizationExceptionDto |
addMissingAuthorizationsItem(MissingAuthorizationDto missingAuthorizationsItem) |
boolean |
equals(Object o) |
String |
getMessage()
A detailed message of the error.
|
List<MissingAuthorizationDto> |
getMissingAuthorizations()
Get missingAuthorizations
|
String |
getType()
An exception class indicating the occurred error.
|
String |
getUserId()
The id of the user that does not have expected permissions
|
int |
hashCode() |
AuthorizationExceptionDto |
message(String message) |
AuthorizationExceptionDto |
missingAuthorizations(List<MissingAuthorizationDto> missingAuthorizations) |
void |
setMessage(String message) |
void |
setMissingAuthorizations(List<MissingAuthorizationDto> missingAuthorizations) |
void |
setType(String type) |
void |
setUserId(String userId) |
String |
toString() |
AuthorizationExceptionDto |
type(String type) |
AuthorizationExceptionDto |
userId(String userId) |
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_MISSING_AUTHORIZATIONS
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_MESSAGE
public AuthorizationExceptionDto userId(String userId)
@Nullable public String getUserId()
public void setUserId(String userId)
public AuthorizationExceptionDto missingAuthorizations(List<MissingAuthorizationDto> missingAuthorizations)
public AuthorizationExceptionDto addMissingAuthorizationsItem(MissingAuthorizationDto missingAuthorizationsItem)
@Nullable public List<MissingAuthorizationDto> getMissingAuthorizations()
public void setMissingAuthorizations(List<MissingAuthorizationDto> missingAuthorizations)
public AuthorizationExceptionDto type(String type)
@Nullable public String getType()
public void setType(String type)
public AuthorizationExceptionDto message(String message)
public void setMessage(String message)
Copyright © 2022. All rights reserved.