Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.kibow.mchattingnotary.report_ticket.response;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Tread {
- @SerializedName("id")
- @Expose
- private Integer id;
- @SerializedName("type")
- @Expose
- private String type;
- @SerializedName("flags")
- @Expose
- private Integer flags;
- @SerializedName("poster")
- @Expose
- private String poster;
- @SerializedName("body")
- @Expose
- private String body;
- @SerializedName("ip_address")
- @Expose
- private String ipAddress;
- @SerializedName("created")
- @Expose
- private String created;
- @SerializedName("updated")
- @Expose
- private String updated;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- public Integer getFlags() {
- return flags;
- }
- public void setFlags(Integer flags) {
- this.flags = flags;
- }
- public String getPoster() {
- return poster;
- }
- public void setPoster(String poster) {
- this.poster = poster;
- }
- public String getBody() {
- return body;
- }
- public void setBody(String body) {
- this.body = body;
- }
- public String getIpAddress() {
- return ipAddress;
- }
- public void setIpAddress(String ipAddress) {
- this.ipAddress = ipAddress;
- }
- public String getCreated() {
- return created;
- }
- public void setCreated(String created) {
- this.created = created;
- }
- public String getUpdated() {
- return updated;
- }
- public void setUpdated(String updated) {
- this.updated = updated;
- }
- }
- //public class Tread implements Parcelable{
- //
- // @SerializedName("id")
- // @Expose
- // private Integer id;
- // @SerializedName("type")
- // @Expose
- // private String type;
- // @SerializedName("flags")
- // @Expose
- // private Integer flags;
- // @SerializedName("poster")
- // @Expose
- // private String poster;
- // @SerializedName("body")
- // @Expose
- // private String body;
- // @SerializedName("ip_address")
- // @Expose
- // private String ipAddress;
- // @SerializedName("created")
- // @Expose
- // private String created;
- // @SerializedName("updated")
- // @Expose
- // private String updated;
- //
- // protected Tread(Parcel in) {
- // poster = in.readString();
- // body = in.readString();
- // ipAddress = in.readString();
- // created = in.readString();
- // updated = in.readString();
- // }
- //
- // public static final Creator<Tread> CREATOR = new Creator<Tread>() {
- // @Override
- // public Tread createFromParcel(Parcel in) {
- // return new Tread(in);
- // }
- //
- // @Override
- // public Tread[] newArray(int size) {
- // return new Tread[size];
- // }
- // };
- //
- // public Integer getId() {
- // return id;
- // }
- //
- // public void setId(Integer id) {
- // this.id = id;
- // }
- //
- // public String getType() {
- // return type;
- // }
- //
- // public void setType(String type) {
- // this.type = type;
- // }
- //
- // public Integer getFlags() {
- // return flags;
- // }
- //
- // public void setFlags(Integer flags) {
- // this.flags = flags;
- // }
- //
- // public String getPoster() {
- // return poster;
- // }
- //
- // public void setPoster(String poster) {
- // this.poster = poster;
- // }
- //
- // public String getBody() {
- // return body;
- // }
- //
- // public void setBody(String body) {
- // this.body = body;
- // }
- //
- // public String getIpAddress() {
- // return ipAddress;
- // }
- //
- // public void setIpAddress(String ipAddress) {
- // this.ipAddress = ipAddress;
- // }
- //
- // public String getCreated() {
- // return created;
- // }
- //
- // public void setCreated(String created) {
- // this.created = created;
- // }
- //
- // public String getUpdated() {
- // return updated;
- // }
- //
- // public void setUpdated(String updated) {
- // this.updated = updated;
- // }
- //
- // @Override
- // public int describeContents() {
- // return 0;
- // }
- //
- // @Override
- // public void writeToParcel(Parcel dest, int flags) {
- // dest.writeString(poster);
- // dest.writeString(body);
- // dest.writeString(ipAddress);
- // dest.writeString(created);
- // dest.writeString(updated);
- // }
- //}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement