public class RoleRevokeRequest extends java.lang.Object implements RESTRequest
Constructor and Description |
---|
RoleRevokeRequest()
Default constructor for RoleRevokeRequest.
|
RoleRevokeRequest(java.util.List<java.lang.String> roleNames)
Constructor for RoleRevokeRequest.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the fields of the request.
|
public RoleRevokeRequest(java.util.List<java.lang.String> roleNames)
roleNames
- The roleName for the RoleRevokeRequest.public RoleRevokeRequest()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- if the role names is not set or empty.