Guest User

Post

a guest
Sep 1st, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.07 KB | None | 0 0
  1. package bjd.adrian.gson;
  2.  
  3. import com.google.gson.annotations.Expose;
  4. import com.google.gson.annotations.SerializedName;
  5.  
  6. import java.util.ArrayList;
  7. import java.util.List;
  8.  
  9. public class Post
  10. {
  11.     @SerializedName("table")
  12.     @Expose
  13.     private String table;
  14.     @SerializedName("currency")
  15.     @Expose
  16.     private String currency;
  17.     @SerializedName("code")
  18.     @Expose
  19.     private String code;
  20.     @SerializedName("rates")
  21.     @Expose
  22.     private List<Rates> rates = null;
  23.  
  24.     public String getTable() {
  25.         return table;
  26.     }
  27.  
  28.     public void setTable(String table) {
  29.         this.table = table;
  30.     }
  31.  
  32.     public String getCurrency() {
  33.         return currency;
  34.     }
  35.  
  36.     public void setCurrency(String currency) {
  37.         this.currency = currency;
  38.     }
  39.  
  40.     public String getCode() {
  41.         return code;
  42.     }
  43.  
  44.     public void setCode(String code) {
  45.         this.code = code;
  46.     }
  47.  
  48.     public List<Rates> getRates() {
  49.         return rates;
  50.     }
  51.  
  52.     public void setRates(List<Rates> rates) {
  53.         this.rates = rates;
  54.     }
  55. }
Add Comment
Please, Sign In to add comment