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