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({ "title", "name", "total_posts", "posts", "url", "updated", "description", "is_nsfw", "ask", "ask_page_title", "ask_anon", "share_likes", "likes" }) public class Blog { @JsonProperty("title") private String title; @JsonProperty("name") private String name; @JsonProperty("total_posts") private Integer totalPosts; @JsonProperty("posts") private Integer posts; @JsonProperty("url") private String url; @JsonProperty("updated") private Double updated; @JsonProperty("description") private String description; @JsonProperty("is_nsfw") private Boolean isNsfw; @JsonProperty("ask") private Boolean ask; @JsonProperty("ask_page_title") private String askPageTitle; @JsonProperty("ask_anon") private Boolean askAnon; @JsonProperty("share_likes") private Boolean shareLikes; @JsonProperty("likes") private Integer likes; @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>(); /** * * @return * The title */ @JsonProperty("title") public String getTitle() { return title; } /** * * @param title * The title */ @JsonProperty("title") public void setTitle(String title) { this.title = title; } /** * * @return * The name */ @JsonProperty("name") public String getName() { return name; } /** * * @param name * The name */ @JsonProperty("name") public void setName(String name) { this.name = name; } /** * * @return * The totalPosts */ @JsonProperty("total_posts") public Integer getTotalPosts() { return totalPosts; } /** * * @param totalPosts * The total_posts */ @JsonProperty("total_posts") public void setTotalPosts(Integer totalPosts) { this.totalPosts = totalPosts; } /** * * @return * The posts */ @JsonProperty("posts") public Integer getPosts() { return posts; } /** * * @param posts * The posts */ @JsonProperty("posts") public void setPosts(Integer posts) { this.posts = posts; } /** * * @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 updated */ @JsonProperty("updated") public Double getUpdated() { return updated; } /** * * @param updated * The updated */ @JsonProperty("updated") public void setUpdated(Double updated) { this.updated = updated; } /** * * @return * The description */ @JsonProperty("description") public String getDescription() { return description; } /** * * @param description * The description */ @JsonProperty("description") public void setDescription(String description) { this.description = description; } /** * * @return * The isNsfw */ @JsonProperty("is_nsfw") public Boolean getIsNsfw() { return isNsfw; } /** * * @param isNsfw * The is_nsfw */ @JsonProperty("is_nsfw") public void setIsNsfw(Boolean isNsfw) { this.isNsfw = isNsfw; } /** * * @return * The ask */ @JsonProperty("ask") public Boolean getAsk() { return ask; } /** * * @param ask * The ask */ @JsonProperty("ask") public void setAsk(Boolean ask) { this.ask = ask; } /** * * @return * The askPageTitle */ @JsonProperty("ask_page_title") public String getAskPageTitle() { return askPageTitle; } /** * * @param askPageTitle * The ask_page_title */ @JsonProperty("ask_page_title") public void setAskPageTitle(String askPageTitle) { this.askPageTitle = askPageTitle; } /** * * @return * The askAnon */ @JsonProperty("ask_anon") public Boolean getAskAnon() { return askAnon; } /** * * @param askAnon * The ask_anon */ @JsonProperty("ask_anon") public void setAskAnon(Boolean askAnon) { this.askAnon = askAnon; } /** * * @return * The shareLikes */ @JsonProperty("share_likes") public Boolean getShareLikes() { return shareLikes; } /** * * @param shareLikes * The share_likes */ @JsonProperty("share_likes") public void setShareLikes(Boolean shareLikes) { this.shareLikes = shareLikes; } /** * * @return * The likes */ @JsonProperty("likes") public Integer getLikes() { return likes; } /** * * @param likes * The likes */ @JsonProperty("likes") public void setLikes(Integer likes) { this.likes = likes; } @JsonAnyGetter public Map<String, Object> getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } }