Advertisement
Guest User

Untitled

a guest
May 25th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.87 KB | None | 0 0
  1. public class reviewResponse {
  2.  
  3.         @SerializedName("userId")
  4.         @Expose
  5.         public int userId;
  6.         @SerializedName("routeId")
  7.         @Expose
  8.         public int routeId;
  9.         @SerializedName("driverId")
  10.         @Expose
  11.         public int driverId;
  12.         @SerializedName("text")
  13.         @Expose
  14.         public String text;
  15.         @SerializedName("timestamp")
  16.         @Expose
  17.         public String timestamp;
  18.  
  19.         public int getUserId()
  20.         {
  21.             return userId;
  22.         }
  23.  
  24.         public int getRouteId()
  25.         {
  26.             return routeId;
  27.         }
  28.  
  29.         public int getDriverId()
  30.         {
  31.             return driverId;
  32.         }
  33.  
  34.         public String getText()
  35.         {
  36.             return text;
  37.         }
  38.  
  39.         public String getTimestamp()
  40.         {
  41.             return timestamp;
  42.         }
  43.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement