Advertisement
Guest User

Untitled

a guest
Sep 12th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. package app.gamatechno.com.moviedb;
  2.  
  3. import java.io.Serializable;
  4. import java.util.List;
  5.  
  6. public class MovieModel implements Serializable {
  7.  
  8. public Integer vote_count;
  9. public Integer id;
  10. public Boolean video;
  11. public Float vote_average;
  12. public String title;
  13. public Float popularity;
  14. public String poster_path;
  15. public String original_language;
  16. public String original_title;
  17. public List<Integer> genre_ids;
  18. public String backdrop_path;
  19. public Boolean adult;
  20. public String overview;
  21. public String release_date;
  22.  
  23. public MovieModel(Integer vote_count, Integer id, Boolean video, Float vote_average, String title, Float popularity, String poster_path, String original_language, String original_title, List<Integer> genre_ids, String backdrop_path, Boolean adult, String overview, String release_date) {
  24. this.vote_count = vote_count;
  25. this.id = id;
  26. this.video = video;
  27. this.vote_average = vote_average;
  28. this.title = title;
  29. this.popularity = popularity;
  30. this.poster_path = poster_path;
  31. this.original_language = original_language;
  32. this.original_title = original_title;
  33. this.genre_ids = genre_ids;
  34. this.backdrop_path = backdrop_path;
  35. this.adult = adult;
  36. this.overview = overview;
  37. this.release_date = release_date;
  38. }
  39.  
  40. public Integer getVote_count() {
  41. return vote_count;
  42. }
  43.  
  44. public void setVote_count(Integer vote_count) {
  45. this.vote_count = vote_count;
  46. }
  47.  
  48. public Integer getId() {
  49. return id;
  50. }
  51.  
  52. public void setId(Integer id) {
  53. this.id = id;
  54. }
  55.  
  56. public Boolean getVideo() {
  57. return video;
  58. }
  59.  
  60. public void setVideo(Boolean video) {
  61. this.video = video;
  62. }
  63.  
  64. public Float getVote_average() {
  65. return vote_average;
  66. }
  67.  
  68. public void setVote_average(Float vote_average) {
  69. this.vote_average = vote_average;
  70. }
  71.  
  72. public String getTitle() {
  73. return title;
  74. }
  75.  
  76. public void setTitle(String title) {
  77. this.title = title;
  78. }
  79.  
  80. public Float getPopularity() {
  81. return popularity;
  82. }
  83.  
  84. public void setPopularity(Float popularity) {
  85. this.popularity = popularity;
  86. }
  87.  
  88. public String getPoster_path() {
  89. return poster_path;
  90. }
  91.  
  92. public void setPoster_path(String poster_path) {
  93. this.poster_path = poster_path;
  94. }
  95.  
  96. public String getOriginal_language() {
  97. return original_language;
  98. }
  99.  
  100. public void setOriginal_language(String original_language) {
  101. this.original_language = original_language;
  102. }
  103.  
  104. public String getOriginal_title() {
  105. return original_title;
  106. }
  107.  
  108. public void setOriginal_title(String original_title) {
  109. this.original_title = original_title;
  110. }
  111.  
  112. public List<Integer> getGenre_ids() {
  113. return genre_ids;
  114. }
  115.  
  116. public void setGenre_ids(List<Integer> genre_ids) {
  117. this.genre_ids = genre_ids;
  118. }
  119.  
  120. public String getBackdrop_path() {
  121. return backdrop_path;
  122. }
  123.  
  124. public void setBackdrop_path(String backdrop_path) {
  125. this.backdrop_path = backdrop_path;
  126. }
  127.  
  128. public Boolean getAdult() {
  129. return adult;
  130. }
  131.  
  132. public void setAdult(Boolean adult) {
  133. this.adult = adult;
  134. }
  135.  
  136. public String getOverview() {
  137. return overview;
  138. }
  139.  
  140. public void setOverview(String overview) {
  141. this.overview = overview;
  142. }
  143.  
  144. public String getRelease_date() {
  145. return release_date;
  146. }
  147.  
  148. public void setRelease_date(String release_date) {
  149. this.release_date = release_date;
  150. }
  151. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement