public class ObjectSchemaBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ObjectSchemaBuilder |
addObjectProperty(String name,
org.json.JSONObject object,
boolean required) |
ObjectSchemaBuilder |
addSimpleProperty(String name,
String type,
String description,
boolean required) |
static ObjectSchemaBuilder |
create(String description) |
org.json.JSONObject |
toJSON() |
public static ObjectSchemaBuilder create(String description)
public ObjectSchemaBuilder addSimpleProperty(String name, String type, String description, boolean required)
public ObjectSchemaBuilder addObjectProperty(String name, org.json.JSONObject object, boolean required)
public org.json.JSONObject toJSON()
Copyright © 2020 Software Atelier Kamber. All rights reserved.