water.bindings.pojos.MetadataV3 Maven / Gradle / Ivy
package water.bindings.pojos;
import com.google.gson.Gson;
public class MetadataV3 extends MetadataBase {
/* INHERITED: Number for specifying an endpoint
public int num = 0;
*/
/* INHERITED: HTTP method (GET, POST, DELETE) if fetching by path
public String http_method = "";
*/
/* INHERITED: Path for specifying an endpoint
public String path = "";
*/
/* INHERITED: Class name, for fetching docs for a schema (DEPRECATED)
public String classname = "";
*/
/* INHERITED: Schema name (e.g., DocsV1), for fetching docs for a schema
public String schemaname = "";
*/
/* INHERITED: List of endpoint routes
public RouteV3[] routes = null;
*/
/* INHERITED: List of schemas
public SchemaMetadataV3[] schemas = null;
*/
/* INHERITED: Table of Contents Markdown
public String markdown = "";
*/
/* INHERITED: Comma-separated list of JSON field paths to exclude from the result, used like: "/3/Frames?_exclude_fields=frames/frame_id/URL,__meta"
public String _exclude_fields = "";
*/
public MetadataV3() {
num = 0;
http_method = "";
path = "";
classname = "";
schemaname = "";
routes = null;
schemas = null;
markdown = "";
_exclude_fields = "";
}
/** Return the contents of this object as a JSON String. */
@Override
public String toString() {
return new Gson().toJson(this);
}
}