com.barchart.ondemand.api.responses.SpecialOptionsClassifications Maven / Gradle / Ivy
The newest version!
package com.barchart.ondemand.api.responses;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SpecialOptionsClassifications extends ResponseBase {
@JsonProperty("results")
private List results = new ArrayList();
private Map additionalProperties = new HashMap();
public Collection all() {
return results;
}
public SpecialOptionsClassification forRoot(final String root) {
if (results == null) {
return null;
}
for (SpecialOptionsClassification soc : all()) {
if (soc.getRoot().equals(root)) {
return soc;
}
}
return null;
}
public List getResults() {
return results;
}
public void setResults(List results) {
this.results = results;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy