package me.ccrama.redditslide.Tumblr; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "url", "width", "height" }) public class AltSize { @JsonProperty("url") private String url; @JsonProperty("width") private Integer width; @JsonProperty("height") private Integer height; @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>(); /** * * @return * The url */ @JsonProperty("url") public String getUrl() { return url; } /** * * @param url * The url */ @JsonProperty("url") public void setUrl(String url) { this.url = url; } /** * * @return * The width */ @JsonProperty("width") public Integer getWidth() { return width; } /** * * @param width * The width */ @JsonProperty("width") public void setWidth(Integer width) { this.width = width; } /** * * @return * The height */ @JsonProperty("height") public Integer getHeight() { return height; } /** * * @param height * The height */ @JsonProperty("height") public void setHeight(Integer height) { this.height = height; } @JsonAnyGetter public Map<String, Object> getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } }