public final class Schema
extends Object
Constructor and Description |
---|
Schema(Map<String,Object> properties,
String type,
List<String> required)
Creates a new
Schema instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Map<String,Object> |
getProperties()
The properties of this schema.
|
List<String> |
getRequired()
The list of required properties.
|
String |
getType()
The type of this schema object.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"properties","type","required"}) public Schema(Map<String,Object> properties, String type, List<String> required)
Schema
instance.properties
- The properties of this schema.type
- The type of this schema object.required
- The list of required properties.public Map<String,Object> getProperties()
public String getType()
public List<String> getRequired()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object