public class GroupAddRequest extends java.lang.Object implements RESTRequest
Constructor and Description |
---|
GroupAddRequest()
Default constructor for GroupAddRequest.
|
GroupAddRequest(java.lang.String name)
Creates a new GroupAddRequest.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the
GroupAddRequest request. |
public GroupAddRequest()
public GroupAddRequest(java.lang.String name)
name
- The name of the group.public void validate() throws java.lang.IllegalArgumentException
GroupAddRequest
request.validate
in interface RESTMessage
java.lang.IllegalArgumentException
- If the request is invalid, this exception is thrown.