Package org.openapitools.client.model
Class AuthorizationCheckResultDto
- java.lang.Object
-
- org.openapitools.client.model.AuthorizationCheckResultDto
-
public class AuthorizationCheckResultDto extends Object
AuthorizationCheckResultDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_IS_AUTHORIZEDstatic StringSERIALIZED_NAME_PERMISSION_NAMEstatic StringSERIALIZED_NAME_RESOURCE_IDstatic StringSERIALIZED_NAME_RESOURCE_NAME
-
Constructor Summary
Constructors Constructor Description AuthorizationCheckResultDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BooleangetIsAuthorized()True / false for isAuthorized.StringgetPermissionName()Name of the permission which was checked.StringgetResourceId()The id of the resource for which the permission check was performed.StringgetResourceName()The name of the resource for which the permission check was performed.inthashCode()AuthorizationCheckResultDtoisAuthorized(Boolean isAuthorized)AuthorizationCheckResultDtopermissionName(String permissionName)AuthorizationCheckResultDtoresourceId(String resourceId)AuthorizationCheckResultDtoresourceName(String resourceName)voidsetIsAuthorized(Boolean isAuthorized)voidsetPermissionName(String permissionName)voidsetResourceId(String resourceId)voidsetResourceName(String resourceName)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_PERMISSION_NAME
public static final String SERIALIZED_NAME_PERMISSION_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESOURCE_NAME
public static final String SERIALIZED_NAME_RESOURCE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESOURCE_ID
public static final String SERIALIZED_NAME_RESOURCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_AUTHORIZED
public static final String SERIALIZED_NAME_IS_AUTHORIZED
- See Also:
- Constant Field Values
-
-
Method Detail
-
permissionName
public AuthorizationCheckResultDto permissionName(String permissionName)
-
getPermissionName
public String getPermissionName()
Name of the permission which was checked.- Returns:
- permissionName
-
setPermissionName
public void setPermissionName(String permissionName)
-
resourceName
public AuthorizationCheckResultDto resourceName(String resourceName)
-
getResourceName
public String getResourceName()
The name of the resource for which the permission check was performed.- Returns:
- resourceName
-
setResourceName
public void setResourceName(String resourceName)
-
resourceId
public AuthorizationCheckResultDto resourceId(String resourceId)
-
getResourceId
public String getResourceId()
The id of the resource for which the permission check was performed.- Returns:
- resourceId
-
setResourceId
public void setResourceId(String resourceId)
-
isAuthorized
public AuthorizationCheckResultDto isAuthorized(Boolean isAuthorized)
-
getIsAuthorized
public Boolean getIsAuthorized()
True / false for isAuthorized.- Returns:
- isAuthorized
-
setIsAuthorized
public void setIsAuthorized(Boolean isAuthorized)
-
-