123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376 |
- package club.thepenguins.android.data;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- import java.util.List;
- public class Comments {
- @SerializedName("id")
- @Expose
- private Integer id;
- @SerializedName("post")
- @Expose
- private Integer post;
- @SerializedName("parent")
- @Expose
- private Integer parent;
- @SerializedName("author")
- @Expose
- private Integer author;
- @SerializedName("author_name")
- @Expose
- private String authorName;
- @SerializedName("author_url")
- @Expose
- private String authorUrl;
- @SerializedName("date")
- @Expose
- private String date;
- @SerializedName("date_gmt")
- @Expose
- private String dateGmt;
- @SerializedName("content")
- @Expose
- private Content content;
- @SerializedName("link")
- @Expose
- private String link;
- @SerializedName("status")
- @Expose
- private String status;
- @SerializedName("type")
- @Expose
- private String type;
- @SerializedName("author_avatar_urls")
- @Expose
- private AuthorAvatarUrls authorAvatarUrls;
- @SerializedName("meta")
- @Expose
- private List<Object> meta = null;
- @SerializedName("_links")
- @Expose
- private Links links;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getPost() {
- return post;
- }
- public void setPost(Integer post) {
- this.post = post;
- }
- public Integer getParent() {
- return parent;
- }
- public void setParent(Integer parent) {
- this.parent = parent;
- }
- public Integer getAuthor() {
- return author;
- }
- public void setAuthor(Integer author) {
- this.author = author;
- }
- public String getAuthorName() {
- return authorName;
- }
- public void setAuthorName(String authorName) {
- this.authorName = authorName;
- }
- public String getAuthorUrl() {
- return authorUrl;
- }
- public void setAuthorUrl(String authorUrl) {
- this.authorUrl = authorUrl;
- }
- public String getDate() {
- return date;
- }
- public void setDate(String date) {
- this.date = date;
- }
- public String getDateGmt() {
- return dateGmt;
- }
- public void setDateGmt(String dateGmt) {
- this.dateGmt = dateGmt;
- }
- public Content getContent() {
- return content;
- }
- public void setContent(Content content) {
- this.content = content;
- }
- public String getLink() {
- return link;
- }
- public void setLink(String link) {
- this.link = link;
- }
- public String getStatus() {
- return status;
- }
- public void setStatus(String status) {
- this.status = status;
- }
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- public AuthorAvatarUrls getAuthorAvatarUrls() {
- return authorAvatarUrls;
- }
- public void setAuthorAvatarUrls(AuthorAvatarUrls authorAvatarUrls) {
- this.authorAvatarUrls = authorAvatarUrls;
- }
- public List<Object> getMeta() {
- return meta;
- }
- public void setMeta(List<Object> meta) {
- this.meta = meta;
- }
- public Links getLinks() {
- return links;
- }
- public void setLinks(Links links) {
- this.links = links;
- }
- public class Author {
- @SerializedName("embeddable")
- @Expose
- private Boolean embeddable;
- @SerializedName("href")
- @Expose
- private String href;
- public Boolean getEmbeddable() {
- return embeddable;
- }
- public void setEmbeddable(Boolean embeddable) {
- this.embeddable = embeddable;
- }
- public String getHref() {
- return href;
- }
- public void setHref(String href) {
- this.href = href;
- }
- }
- public class AuthorAvatarUrls {
- @SerializedName("24")
- @Expose
- private String _24;
- @SerializedName("48")
- @Expose
- private String _48;
- @SerializedName("96")
- @Expose
- private String _96;
- public String get24() {
- return _24;
- }
- public void set24(String _24) {
- this._24 = _24;
- }
- public String get48() {
- return _48;
- }
- public void set48(String _48) {
- this._48 = _48;
- }
- public String get96() {
- return _96;
- }
- public void set96(String _96) {
- this._96 = _96;
- }
- }
- public class Collection {
- @SerializedName("href")
- @Expose
- private String href;
- public String getHref() {
- return href;
- }
- public void setHref(String href) {
- this.href = href;
- }
- }
- public class Content {
- @SerializedName("rendered")
- @Expose
- private String rendered;
- public String getRendered() {
- return rendered;
- }
- public void setRendered(String rendered) {
- this.rendered = rendered;
- }
- }
- public class Links {
- @SerializedName("self")
- @Expose
- private List<Self> self = null;
- @SerializedName("collection")
- @Expose
- private List<Collection> collection = null;
- @SerializedName("author")
- @Expose
- private List<Author> author = null;
- @SerializedName("up")
- @Expose
- private List<Up> up = null;
- public List<Self> getSelf() {
- return self;
- }
- public void setSelf(List<Self> self) {
- this.self = self;
- }
- public List<Collection> getCollection() {
- return collection;
- }
- public void setCollection(List<Collection> collection) {
- this.collection = collection;
- }
- public List<Author> getAuthor() {
- return author;
- }
- public void setAuthor(List<Author> author) {
- this.author = author;
- }
- public List<Up> getUp() {
- return up;
- }
- public void setUp(List<Up> up) {
- this.up = up;
- }
- }
- public class Self {
- @SerializedName("href")
- @Expose
- private String href;
- public String getHref() {
- return href;
- }
- public void setHref(String href) {
- this.href = href;
- }
- }
- public class Up {
- @SerializedName("embeddable")
- @Expose
- private Boolean embeddable;
- @SerializedName("post_type")
- @Expose
- private String postType;
- @SerializedName("href")
- @Expose
- private String href;
- public Boolean getEmbeddable() {
- return embeddable;
- }
- public void setEmbeddable(Boolean embeddable) {
- this.embeddable = embeddable;
- }
- public String getPostType() {
- return postType;
- }
- public void setPostType(String postType) {
- this.postType = postType;
- }
- public String getHref() {
- return href;
- }
- public void setHref(String href) {
- this.href = href;
- }
- }
- }
|