Advertisement
RakaArdiansyah

Tread

Jun 9th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.76 KB | None | 0 0
  1.  
  2. package com.example.kibow.mchattingnotary.report_ticket.response;
  3.  
  4. import com.google.gson.annotations.Expose;
  5. import com.google.gson.annotations.SerializedName;
  6.  
  7. public class Tread {
  8.  
  9. @SerializedName("id")
  10. @Expose
  11. private Integer id;
  12. @SerializedName("type")
  13. @Expose
  14. private String type;
  15. @SerializedName("flags")
  16. @Expose
  17. private Integer flags;
  18. @SerializedName("poster")
  19. @Expose
  20. private String poster;
  21. @SerializedName("body")
  22. @Expose
  23. private String body;
  24. @SerializedName("ip_address")
  25. @Expose
  26. private String ipAddress;
  27. @SerializedName("created")
  28. @Expose
  29. private String created;
  30. @SerializedName("updated")
  31. @Expose
  32. private String updated;
  33.  
  34. public Integer getId() {
  35. return id;
  36. }
  37.  
  38. public void setId(Integer id) {
  39. this.id = id;
  40. }
  41.  
  42. public String getType() {
  43. return type;
  44. }
  45.  
  46. public void setType(String type) {
  47. this.type = type;
  48. }
  49.  
  50. public Integer getFlags() {
  51. return flags;
  52. }
  53.  
  54. public void setFlags(Integer flags) {
  55. this.flags = flags;
  56. }
  57.  
  58. public String getPoster() {
  59. return poster;
  60. }
  61.  
  62. public void setPoster(String poster) {
  63. this.poster = poster;
  64. }
  65.  
  66. public String getBody() {
  67. return body;
  68. }
  69.  
  70. public void setBody(String body) {
  71. this.body = body;
  72. }
  73.  
  74. public String getIpAddress() {
  75. return ipAddress;
  76. }
  77.  
  78. public void setIpAddress(String ipAddress) {
  79. this.ipAddress = ipAddress;
  80. }
  81.  
  82. public String getCreated() {
  83. return created;
  84. }
  85.  
  86. public void setCreated(String created) {
  87. this.created = created;
  88. }
  89.  
  90. public String getUpdated() {
  91. return updated;
  92. }
  93.  
  94. public void setUpdated(String updated) {
  95. this.updated = updated;
  96. }
  97.  
  98. }
  99.  
  100.  
  101. //public class Tread implements Parcelable{
  102. //
  103. // @SerializedName("id")
  104. // @Expose
  105. // private Integer id;
  106. // @SerializedName("type")
  107. // @Expose
  108. // private String type;
  109. // @SerializedName("flags")
  110. // @Expose
  111. // private Integer flags;
  112. // @SerializedName("poster")
  113. // @Expose
  114. // private String poster;
  115. // @SerializedName("body")
  116. // @Expose
  117. // private String body;
  118. // @SerializedName("ip_address")
  119. // @Expose
  120. // private String ipAddress;
  121. // @SerializedName("created")
  122. // @Expose
  123. // private String created;
  124. // @SerializedName("updated")
  125. // @Expose
  126. // private String updated;
  127. //
  128. // protected Tread(Parcel in) {
  129. // poster = in.readString();
  130. // body = in.readString();
  131. // ipAddress = in.readString();
  132. // created = in.readString();
  133. // updated = in.readString();
  134. // }
  135. //
  136. // public static final Creator<Tread> CREATOR = new Creator<Tread>() {
  137. // @Override
  138. // public Tread createFromParcel(Parcel in) {
  139. // return new Tread(in);
  140. // }
  141. //
  142. // @Override
  143. // public Tread[] newArray(int size) {
  144. // return new Tread[size];
  145. // }
  146. // };
  147. //
  148. // public Integer getId() {
  149. // return id;
  150. // }
  151. //
  152. // public void setId(Integer id) {
  153. // this.id = id;
  154. // }
  155. //
  156. // public String getType() {
  157. // return type;
  158. // }
  159. //
  160. // public void setType(String type) {
  161. // this.type = type;
  162. // }
  163. //
  164. // public Integer getFlags() {
  165. // return flags;
  166. // }
  167. //
  168. // public void setFlags(Integer flags) {
  169. // this.flags = flags;
  170. // }
  171. //
  172. // public String getPoster() {
  173. // return poster;
  174. // }
  175. //
  176. // public void setPoster(String poster) {
  177. // this.poster = poster;
  178. // }
  179. //
  180. // public String getBody() {
  181. // return body;
  182. // }
  183. //
  184. // public void setBody(String body) {
  185. // this.body = body;
  186. // }
  187. //
  188. // public String getIpAddress() {
  189. // return ipAddress;
  190. // }
  191. //
  192. // public void setIpAddress(String ipAddress) {
  193. // this.ipAddress = ipAddress;
  194. // }
  195. //
  196. // public String getCreated() {
  197. // return created;
  198. // }
  199. //
  200. // public void setCreated(String created) {
  201. // this.created = created;
  202. // }
  203. //
  204. // public String getUpdated() {
  205. // return updated;
  206. // }
  207. //
  208. // public void setUpdated(String updated) {
  209. // this.updated = updated;
  210. // }
  211. //
  212. // @Override
  213. // public int describeContents() {
  214. // return 0;
  215. // }
  216. //
  217. // @Override
  218. // public void writeToParcel(Parcel dest, int flags) {
  219. // dest.writeString(poster);
  220. // dest.writeString(body);
  221. // dest.writeString(ipAddress);
  222. // dest.writeString(created);
  223. // dest.writeString(updated);
  224. // }
  225. //}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement