joris

Channel

Jul 5th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.11 KB | None | 0 0
  1. package model;
  2.  
  3. import com.google.gson.annotations.SerializedName;
  4.  
  5. public class Channel {
  6.  
  7.     @SerializedName("id")
  8.     private String id;
  9.     @SerializedName("name")
  10.     private String name;
  11.     @SerializedName("code")
  12.     private String code;
  13.     @SerializedName("description")
  14.     private String description;
  15.     @SerializedName("number")
  16.     private Integer number;
  17.     @SerializedName("definition")
  18.     private String definition;
  19.     @SerializedName("paket")
  20.     private String paket;
  21.     @SerializedName("logo")
  22.     private String logo;
  23.  
  24.     public Channel(String id, String name, String code, String description, Integer number, String definition, String paket, String logo) {
  25.         this.id = id;
  26.         this.name = name;
  27.         this.code = code;
  28.         this.description = description;
  29.         this.number = number;
  30.         this.definition = definition;
  31.         this.paket = paket;
  32.         this.logo = logo;
  33.     }
  34.  
  35.     public String getID() {
  36.         return id;
  37.     }
  38.  
  39.     public void setID(String id) {
  40.         this.id = id;
  41.     }
  42.  
  43.     public String getName() {
  44.         return name;
  45.     }
  46.  
  47.     public void setName(String name) {
  48.         this.name = name;
  49.     }
  50.  
  51.     public String getCode() {
  52.         return code;
  53.     }
  54.  
  55.     public void setCode(String code) {
  56.         this.code = code;
  57.     }
  58.  
  59.     public String getDescription() {
  60.         return description;
  61.     }
  62.  
  63.     public void setDescription(String description) {
  64.         this.description = description;
  65.     }
  66.  
  67.     public Integer getNumber() {
  68.         return number;
  69.     }
  70.  
  71.     public void setNumber(Integer number) {
  72.         this.number = number;
  73.     }
  74.  
  75.     public String getDefinition() {
  76.         return definition;
  77.     }
  78.  
  79.     public void setDefinition(String definition) {
  80.         this.definition = definition;
  81.     }
  82.  
  83.     public String getPaket() {
  84.         return paket;
  85.     }
  86.  
  87.     public void setPaket(String paket) {
  88.         this.paket = paket;
  89.     }
  90.  
  91.     public String getLogo() {
  92.         return logo;
  93.     }
  94.  
  95.     public void setLogo(String logo) {
  96.         this.logo = logo;
  97.     }
  98.  
  99. }
Add Comment
Please, Sign In to add comment