@Test public void shouldDeserializeFolder() throws Exception { final Metric metric = readObjectFromResource("/md/metric-folder.json", Metric.class); assertThat(metric.getFolders(), contains("/gdc/md/ge06jy0jr6h1hzaxei6d53evw276p3xc/obj/51430")); }
@JsonIgnore public Collection<String> getFolders() { return content.getFolders(); }
Metric extends AbstractObj implements Queryable, Updatable { @JsonIgnore public Collection<String> getFolders() { return content.getFolders(); } }
Metric extends AbstractObj implements Queryable, Updatable { @JsonIgnore public Collection<String> getFolders() { return content.getFolders(); } @JsonCreator private  Metric(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);  Metric(String title, String expression, String format); }
Metric extends AbstractObj implements Queryable, Updatable { @JsonIgnore public Collection<String> getFolders() { return content.getFolders(); } @JsonCreator private  Metric(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);  Metric(String title, String expression, String format); @JsonIgnore String getExpression(); @JsonIgnore String getFormat(); @JsonIgnore MaqlAst getMaqlAst(); @JsonIgnore Collection<String> getFolders(); @Override String toString(); }
Metric extends AbstractObj implements Queryable, Updatable { @JsonIgnore public Collection<String> getFolders() { return content.getFolders(); } @JsonCreator private  Metric(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);  Metric(String title, String expression, String format); @JsonIgnore String getExpression(); @JsonIgnore String getFormat(); @JsonIgnore MaqlAst getMaqlAst(); @JsonIgnore Collection<String> getFolders(); @Override String toString();  }