String name;
@JsonProperty("schema")
- String schema;
+ Object schema;
- public PolicyType(String name, String schema) {
+ public PolicyType(String name, Object schema) {
this.name = name;
this.schema = schema;
}
this.name = name;
}
- public String getSchema() {
+ public Object getSchema() {
return schema;
}
- public void setSchema(String schema) {
+ public void setSchema(Object schema) {
this.schema = schema;
}
@Override
public String toString() {
- return "[name:" + name + ", schema:" + schema + "]";
+ return "[name:" + name + ", schema:" + schema.toString() + "]";
}
}