public class TagCreateRequest extends java.lang.Object implements RESTRequest
| Constructor and Description |
|---|
TagCreateRequest()
This is the constructor that is used by Jackson deserializer
|
TagCreateRequest(java.lang.String name,
java.lang.String comment,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates a new TagCreateRequest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the request.
|
public TagCreateRequest(java.lang.String name,
java.lang.String comment,
java.util.Map<java.lang.String,java.lang.String> properties)
name - The name of the tag.comment - The comment of the tag.properties - The properties of the tag.public TagCreateRequest()
public void validate()
throws java.lang.IllegalArgumentException
validate in interface RESTMessagejava.lang.IllegalArgumentException - If the request is invalid, this exception is thrown.