************model***********
1)AddCommentModel.java
1)AddCommentModel.java
package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 23/12/16. */ public class AddCommentModel { @SerializedName("postId") private String postId; @SerializedName("userId") private String userId; @SerializedName("spotId") private String spotId; @SerializedName("createdOn") private String createdOn; @SerializedName("updatedOn") private String updatedOn; @SerializedName("createdBy") private String createdBy; @SerializedName("commentId") private int commentId; public String getPostId() { return postId; } public void setPostId(String postId) { this.postId = postId; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getUpdatedOn() { return updatedOn; } public void setUpdatedOn(String updatedOn) { this.updatedOn = updatedOn; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public int getCommentId() { return commentId; } public void setCommentId(int commentId) { this.commentId = commentId; } }
2)AddPostModel.java
====================
package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by rushil on 22/12/16. */ public class AddPostModel extends BaseModel { @SerializedName("postMediaDetails") private List<PostMediaDetails> postMediaDetails; public List<PostMediaDetails> getPostMediaDetails() { return postMediaDetails; } public void setPostMediaDetails(List<PostMediaDetails> postMediaDetails) { this.postMediaDetails = postMediaDetails; } public static class PostMediaDetails { @SerializedName("mediaID") private int mediaID; @SerializedName("userId") private String userId; @SerializedName("spotId") private String spotId; @SerializedName("postId") private int postId; @SerializedName("mediaType") private String mediaType; @SerializedName("mediaUrl") private String mediaUrl; @SerializedName("points") private int points; @SerializedName("totalLikes") private int totalLikes; @SerializedName("createdBy") private String createdBy; @SerializedName("createdOn") private String createdOn; public int getMediaID() { return mediaID; } public void setMediaID(int mediaID) { this.mediaID = mediaID; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public int getPostId() { return postId; } public void setPostId(int postId) { this.postId = postId; } public String getMediaType() { return mediaType; } public void setMediaType(String mediaType) { this.mediaType = mediaType; } public String getMediaUrl() { return mediaUrl; } public void setMediaUrl(String mediaUrl) { this.mediaUrl = mediaUrl; } public int getPoints() { return points; } public void setPoints(int points) { this.points = points; } public int getTotalLikes() { return totalLikes; } public void setTotalLikes(int totalLikes) { this.totalLikes = totalLikes; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } } }
3)AppUserModel.java
==================
package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by rushil on 16/12/16. */ public class AppUserModel extends BaseModel { @SerializedName("user") private List<User> user; @SerializedName("totalCount") private int totalCount; public List<User> getUser() { return user; } public void setUser(List<User> user) { this.user = user; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class User { @SerializedName("userId") private int userId; @SerializedName("username") private String username; @SerializedName("userType") private int userType; @SerializedName("email") private String email; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("curLat") private String curLat; @SerializedName("curLong") private String curLong; @SerializedName("isVerified") private int isVerified; @SerializedName("isActive") private int isActive; @SerializedName("isDelete") private int isDelete; @SerializedName("facebookId") private String facebookId; @SerializedName("cityID") private String cityID; @SerializedName("stateID") private String stateID; @SerializedName("countryID") private String countryID; @SerializedName("lastLogeedIn") private String lastLogeedIn; @SerializedName("userProfile") private String userProfile; @SerializedName("createdBy") private int createdBy; @SerializedName("updatedBy") private int updatedBy; @SerializedName("createdOn") private String createdOn; @SerializedName("updatedOn") private String updatedOn; @SerializedName("password_reset_token") private String password_reset_token; @SerializedName("reset_token_date_time") private String reset_token_date_time; @SerializedName("password") private String password; @SerializedName("isInvitedSpot") private int isInvitedSpot; public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public int getUserType() { return userType; } public void setUserType(int userType) { this.userType = userType; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getCurLat() { return curLat; } public void setCurLat(String curLat) { this.curLat = curLat; } public String getCurLong() { return curLong; } public void setCurLong(String curLong) { this.curLong = curLong; } public int getIsVerified() { return isVerified; } public void setIsVerified(int isVerified) { this.isVerified = isVerified; } public int getIsActive() { return isActive; } public void setIsActive(int isActive) { this.isActive = isActive; } public int getIsDelete() { return isDelete; } public void setIsDelete(int isDelete) { this.isDelete = isDelete; } public String getFacebookId() { return facebookId; } public void setFacebookId(String facebookId) { this.facebookId = facebookId; } public String getCityID() { return cityID; } public void setCityID(String cityID) { this.cityID = cityID; } public String getStateID() { return stateID; } public void setStateID(String stateID) { this.stateID = stateID; } public String getCountryID() { return countryID; } public void setCountryID(String countryID) { this.countryID = countryID; } public String getLastLogeedIn() { return lastLogeedIn; } public void setLastLogeedIn(String lastLogeedIn) { this.lastLogeedIn = lastLogeedIn; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public int getUpdatedBy() { return updatedBy; } public void setUpdatedBy(int updatedBy) { this.updatedBy = updatedBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getUpdatedOn() { return updatedOn; } public void setUpdatedOn(String updatedOn) { this.updatedOn = updatedOn; } public String getPassword_reset_token() { return password_reset_token; } public void setPassword_reset_token(String password_reset_token) { this.password_reset_token = password_reset_token; } public String getReset_token_date_time() { return reset_token_date_time; } public void setReset_token_date_time(String reset_token_date_time) { this.reset_token_date_time = reset_token_date_time; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public int getIsInvitedSpot() { return isInvitedSpot; } public void setIsInvitedSpot(int isInvitedSpot) { this.isInvitedSpot = isInvitedSpot; } } }
4)BaseModel.java
==================
package com.eppico.models; import com.google.gson.Gson; import java.io.Serializable; /** * Created by rushil on 14/12/16. */ public class BaseModel implements Serializable { public static Gson GSON=new Gson(); /**Convert Model class to JsonObject*/ public String toJson() { try { if(GSON==null) GSON=new Gson(); return GSON.toJson(this); }catch (Exception e) { e.printStackTrace(); } return null; } /**Convert Model class to JsonObject*/ public static String toJson(Object modelClass) { try { if(GSON==null) GSON=new Gson(); return GSON.toJson(modelClass); }catch (Exception e) { e.printStackTrace(); } return null; } /**Convert JsonObject to Model class*/ public static Object toModelClass(String strJson, Class<?> modelClass) { try { if(GSON==null) GSON=new Gson(); if(strJson!=null && strJson.length()>0) return GSON.fromJson(strJson,modelClass); }catch (Exception e) { e.printStackTrace(); } return null; } }
5)CategoryModel.java
=====================
package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 14/12/16. */ public class CategoryModel { @SerializedName("catId") private int catId; @SerializedName("catName") private String catName; @SerializedName("catDesc") private String catDesc; @SerializedName("catIsActive") private int catIsActive; @SerializedName("createdBy") private int createdBy; @SerializedName("updatedBy") private int updatedBy; @SerializedName("createdOn") private String createdOn; @SerializedName("updatedOn") private String updatedOn; @SerializedName("isDelete") private int isDelete; public int getCatId() { return catId; } public void setCatId(int catId) { this.catId = catId; } public String getCatName() { return catName; } public void setCatName(String catName) { this.catName = catName; } public String getCatDesc() { return catDesc; } public void setCatDesc(String catDesc) { this.catDesc = catDesc; } public int getCatIsActive() { return catIsActive; } public void setCatIsActive(int catIsActive) { this.catIsActive = catIsActive; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public int getUpdatedBy() { return updatedBy; } public void setUpdatedBy(int updatedBy) { this.updatedBy = updatedBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getUpdatedOn() { return updatedOn; } public void setUpdatedOn(String updatedOn) { this.updatedOn = updatedOn; } public int getIsDelete() { return isDelete; } public void setIsDelete(int isDelete) { this.isDelete = isDelete; } }
6)CheckedInSpotModel.java=========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 22/12/16. */ public class CheckedInSpotModel extends BaseModel { @SerializedName("spotId") private String spotId; @SerializedName("userId") private int userId; @SerializedName("allow") private boolean allow; @SerializedName("totalCheckInUser") private int totalCheckInUser; public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public boolean getAllow() { return allow; } public void setAllow(boolean allow) { this.allow = allow; } public int getTotalCheckInUser() { return totalCheckInUser; } public void setTotalCheckInUser(int totalCheckInUser) { this.totalCheckInUser = totalCheckInUser; } }7)CheckInUserModel.java========================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 21/12/16. */ public class CheckInUserModel { @SerializedName("user") private List<User> user; @SerializedName("totalCount") private int totalCount; public List<User> getUser() { return user; } public void setUser(List<User> user) { this.user = user; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class User { @SerializedName("Id") private int Id; @SerializedName("spotId") private int spotId; @SerializedName("userId") private int userId; @SerializedName("checkin") private String checkin; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userProfile") private String userProfile; @SerializedName("city") private String city; @SerializedName("state") private String state; @SerializedName("country") private String country; @SerializedName("userIsFollowing") private int userIsFollowing; // Custom variable private int position; public int getPosition() { return position; } public void setPosition(int position) { this.position = position; } public int getId() { return Id; } public void setId(int Id) { this.Id = Id; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getCheckin() { return checkin; } public void setCheckin(String checkin) { this.checkin = checkin; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getState() { return state; } public void setState(String state) { this.state = state; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public int getUserIsFollowing() { return userIsFollowing; } public void setUserIsFollowing(int userIsFollowing) { this.userIsFollowing = userIsFollowing; } } }8)CommentListModel.java========================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 28/12/16. */ public class CommentListModel { @SerializedName("commentList") private List<CommentList> commentList; @SerializedName("totalCount") private int totalCount; public List<CommentList> getCommentList() { return commentList; } public void setCommentList(List<CommentList> commentList) { this.commentList = commentList; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class CommentList { @SerializedName("commentId") private int commentId; @SerializedName("spotId") private int spotId; @SerializedName("postId") private int postId; @SerializedName("userId") private int userId; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userProfile") private String userProfile; @SerializedName("commentDesc") private String commentDesc; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; public int getCommentId() { return commentId; } public void setCommentId(int commentId) { this.commentId = commentId; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public int getPostId() { return postId; } public void setPostId(int postId) { this.postId = postId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public String getCommentDesc() { return commentDesc; } public void setCommentDesc(String commentDesc) { this.commentDesc = commentDesc; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } } }9)CreateSpotModel.java=======================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 15/12/16. */ public class CreateSpotModel extends BaseModel { private int radius; @SerializedName("spotId") private int spotId; @SerializedName("catId") private String catId; @SerializedName("userId") private String userId; @SerializedName("radiusId") private String radiusId; @SerializedName("spotImage") private String spotImage; @SerializedName("spotName") private String spotName; @SerializedName("spotShortDesc") private String spotShortDesc; @SerializedName("spotDetailDesc") private String spotDetailDesc; @SerializedName("spotLocation") private String spotLocation; @SerializedName("spotLatLong") private String spotLatLong; public int getRadius() { return radius; } public void setRadius(int radius) { this.radius = radius; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public String getCatId() { return catId; } public void setCatId(String catId) { this.catId = catId; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getRadiusId() { return radiusId; } public void setRadiusId(String radiusId) { this.radiusId = radiusId; } public String getSpotImage() { return spotImage; } public void setSpotImage(String spotImage) { this.spotImage = spotImage; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotShortDesc() { return spotShortDesc; } public void setSpotShortDesc(String spotShortDesc) { this.spotShortDesc = spotShortDesc; } public String getSpotDetailDesc() { return spotDetailDesc; } public void setSpotDetailDesc(String spotDetailDesc) { this.spotDetailDesc = spotDetailDesc; } public String getSpotLocation() { return spotLocation; } public void setSpotLocation(String spotLocation) { this.spotLocation = spotLocation; } public String getSpotLatLong() { return spotLatLong; } public void setSpotLatLong(String spotLatLong) { this.spotLatLong = spotLatLong; } }10)deleteCommentModel.java===========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 2/1/17. */ public class deleteCommentModel { @SerializedName("msg") private String msg; public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } }11)DeletePostModel.java========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 26/12/16. */ public class DeletePostModel extends BaseModel { @SerializedName("msg") private String msg; public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } }12)EditProfileModel.java========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 26/12/16. */ public class EditProfileModel { @SerializedName("userId") private int userId; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userimage") private String userimage; @SerializedName("email") private String email; @SerializedName("curLat") private String curLat; @SerializedName("curLong") private String curLong; public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getUserimage() { return userimage; } public void setUserimage(String userimage) { this.userimage = userimage; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getCurLat() { return curLat; } public void setCurLat(String curLat) { this.curLat = curLat; } public String getCurLong() { return curLong; } public void setCurLong(String curLong) { this.curLong = curLong; } }13)EditSpotModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 29/12/16. */ public class EditSpotModel extends BaseModel { @SerializedName("msg") private String msg; public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } }14)FollowersListModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 21/12/16. */ public class FollowersListModel extends BaseModel { @SerializedName("Followuser") private List<Followuser> Followuser; @SerializedName("totalCount") private int totalCount; public List<Followuser> getFollowuser() { return Followuser; } public void setFollowuser(List<Followuser> Followuser) { this.Followuser = Followuser; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class Followuser { @SerializedName("spotId") private String spotId; @SerializedName("userId") private int userId; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userProfile") private String userProfile; @SerializedName("cityID") private String cityID; @SerializedName("stateID") private String stateID; @SerializedName("countryID") private String countryID; @SerializedName("userIsFollowing") private int userIsFollowing; // Custom variable int position; public int getPosition() { return position; } public void setPosition(int position) { this.position = position; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public String getCityID() { return cityID; } public void setCityID(String cityID) { this.cityID = cityID; } public String getStateID() { return stateID; } public void setStateID(String stateID) { this.stateID = stateID; } public String getCountryID() { return countryID; } public void setCountryID(String countryID) { this.countryID = countryID; } public int getUserIsFollowing() { return userIsFollowing; } public void setUserIsFollowing(int userIsFollowing) { this.userIsFollowing = userIsFollowing; } } }15)FollowingListModel.java==========================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 3/1/17. */ public class FollowingListModel { @SerializedName("FollowingSpot") private List<FollowingSpot> FollowingSpot; @SerializedName("totalCount") private int totalCount; public List<FollowingSpot> getFollowingSpot() { return FollowingSpot; } public void setFollowingSpot(List<FollowingSpot> FollowingSpot) { this.FollowingSpot = FollowingSpot; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class FollowingSpot { @SerializedName("spotFollowerId") private int spotFollowerId; @SerializedName("spotId") private int spotId; @SerializedName("spotName") private String spotName; @SerializedName("spotDetailDesc") private String spotDetailDesc; @SerializedName("spotImage") private String spotImage; @SerializedName("spotIsFollowing") private int spotIsFollowing; @SerializedName("createdBy") private String createdBy; @SerializedName("createdOn") private String createdOn; // Custom variables private int position; public int getPosition() { return position; } public void setPosition(int position) { this.position = position; } public int getSpotFollowerId() { return spotFollowerId; } public void setSpotFollowerId(int spotFollowerId) { this.spotFollowerId = spotFollowerId; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotDetailDesc() { return spotDetailDesc; } public void setSpotDetailDesc(String spotDetailDesc) { this.spotDetailDesc = spotDetailDesc; } public String getSpotImage() { return spotImage; } public void setSpotImage(String spotImage) { this.spotImage = spotImage; } public int getSpotIsFollowing() { return spotIsFollowing; } public void setSpotIsFollowing(int spotIsFollowing) { this.spotIsFollowing = spotIsFollowing; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } } }16)FollowSpotModel.java========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 31/12/16. */ public class FollowSpotModel { @SerializedName("spotId") private String spotId; @SerializedName("userId") private String userId; @SerializedName("spotIsFollowing") private int spotIsFollowing; @SerializedName("createdOn") private String createdOn; @SerializedName("updatedOn") private String updatedOn; @SerializedName("createdBy") private String createdBy; @SerializedName("spotFollowerId") private int spotFollowerId; @SerializedName("spotFollowersCount") private int spotFollowersCount; public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public int getSpotIsFollowing() { return spotIsFollowing; } public void setSpotIsFollowing(int spotIsFollowing) { this.spotIsFollowing = spotIsFollowing; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getUpdatedOn() { return updatedOn; } public void setUpdatedOn(String updatedOn) { this.updatedOn = updatedOn; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public int getSpotFollowerId() { return spotFollowerId; } public void setSpotFollowerId(int spotFollowerId) { this.spotFollowerId = spotFollowerId; } public int getSpotFollowersCount() { return spotFollowersCount; } public void setSpotFollowersCount(int spotFollowersCount) { this.spotFollowersCount = spotFollowersCount; } }17)FollowUserModel.java=========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 3/1/17. */ public class FollowUserModel extends BaseModel { @SerializedName("FollowerId") private int FollowerId; @SerializedName("userId") private int userId; @SerializedName("userFollowerId") private int userFollowerId; @SerializedName("userIsFollowing") private int userIsFollowing; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; public int getFollowerId() { return FollowerId; } public void setFollowerId(int FollowerId) { this.FollowerId = FollowerId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public int getUserFollowerId() { return userFollowerId; } public void setUserFollowerId(int userFollowerId) { this.userFollowerId = userFollowerId; } public int getUserIsFollowing() { return userIsFollowing; } public void setUserIsFollowing(int userIsFollowing) { this.userIsFollowing = userIsFollowing; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } }18)InviteFriendModel.java==========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 15/12/16. */ public class InviteFriendModel extends BaseModel { @SerializedName("userId") private String userId; @SerializedName("spotId") private String spotId; @SerializedName("spInviteFBId") private int spInviteFBId; @SerializedName("spInviteType") private String spInviteType; @SerializedName("createdBy") private String createdBy; @SerializedName("updatedBy") private String updatedBy; @SerializedName("createdOn") private String createdOn; public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public int getSpInviteFBId() { return spInviteFBId; } public void setSpInviteFBId(int spInviteFBId) { this.spInviteFBId = spInviteFBId; } public String getSpInviteType() { return spInviteType; } public void setSpInviteType(String spInviteType) { this.spInviteType = spInviteType; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public String getUpdatedBy() { return updatedBy; } public void setUpdatedBy(String updatedBy) { this.updatedBy = updatedBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } }19)InviteSpotDetailModel.java==============================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 20/12/16. */ public class InviteSpotDetailModel extends BaseModel { @SerializedName("spotId") private int spotId; @SerializedName("userId") private int userId; @SerializedName("catId") private String catId; @SerializedName("firstName") private String firstName; @SerializedName("lasttName") private String lasttName; @SerializedName("radiusId") private String radiusId; @SerializedName("spotType") private int spotType; @SerializedName("spotName") private String spotName; @SerializedName("spotDetailDesc") private String spotDetailDesc; @SerializedName("spotImage") private String spotImage; @SerializedName("ThumbUrl") private String ThumbUrl; @SerializedName("spotLocation") private String spotLocation; @SerializedName("spotLatLong") private String spotLatLong; @SerializedName("spotNoOfUsers") private int spotNoOfUsers; @SerializedName("spotFollowings") private int spotFollowings; @SerializedName("spotFollowerId") private int spotFollowerId; @SerializedName("isSpotFollow") private int isSpotFollow; @SerializedName("isActive") private int isActive; @SerializedName("spotLike") private int spotLike; @SerializedName("createdOn") private String createdOn; @SerializedName("latLong") private String latLong; @SerializedName("postMedia") private PostMedia postMedia; public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getCatId() { return catId; } public void setCatId(String catId) { this.catId = catId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLasttName() { return lasttName; } public void setLasttName(String lasttName) { this.lasttName = lasttName; } public String getRadiusId() { return radiusId; } public void setRadiusId(String radiusId) { this.radiusId = radiusId; } public int getSpotType() { return spotType; } public void setSpotType(int spotType) { this.spotType = spotType; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotDetailDesc() { return spotDetailDesc; } public void setSpotDetailDesc(String spotDetailDesc) { this.spotDetailDesc = spotDetailDesc; } public String getSpotImage() { return spotImage; } public void setSpotImage(String spotImage) { this.spotImage = spotImage; } public String getThumbUrl() { return ThumbUrl; } public void setThumbUrl(String ThumbUrl) { this.ThumbUrl = ThumbUrl; } public String getSpotLocation() { return spotLocation; } public void setSpotLocation(String spotLocation) { this.spotLocation = spotLocation; } public String getSpotLatLong() { return spotLatLong; } public void setSpotLatLong(String spotLatLong) { this.spotLatLong = spotLatLong; } public int getSpotNoOfUsers() { return spotNoOfUsers; } public void setSpotNoOfUsers(int spotNoOfUsers) { this.spotNoOfUsers = spotNoOfUsers; } public int getSpotFollowings() { return spotFollowings; } public void setSpotFollowings(int spotFollowings) { this.spotFollowings = spotFollowings; } public int getSpotFollowerId() { return spotFollowerId; } public void setSpotFollowerId(int spotFollowerId) { this.spotFollowerId = spotFollowerId; } public int getIsSpotFollow() { return isSpotFollow; } public void setIsSpotFollow(int isSpotFollow) { this.isSpotFollow = isSpotFollow; } public int getIsActive() { return isActive; } public void setIsActive(int isActive) { this.isActive = isActive; } public int getSpotLike() { return spotLike; } public void setSpotLike(int spotLike) { this.spotLike = spotLike; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getLatLong() { return latLong; } public void setLatLong(String latLong) { this.latLong = latLong; } public PostMedia getPostMedia() { return postMedia; } public void setPostMedia(PostMedia postMedia) { this.postMedia = postMedia; } public static class PostMediaDetails { @SerializedName("mediaID") private int mediaID; @SerializedName("userId") private int userId; @SerializedName("spotId") private int spotId; @SerializedName("postId") private int postId; @SerializedName("mediaType") private String mediaType; @SerializedName("mediaUrl") private String mediaUrl; @SerializedName("thumbUrl") private String thumbUrl; @SerializedName("points") private double points; @SerializedName("totalLikes") private int totalLikes; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; public int getMediaID() { return mediaID; } public void setMediaID(int mediaID) { this.mediaID = mediaID; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public int getPostId() { return postId; } public void setPostId(int postId) { this.postId = postId; } public String getMediaType() { return mediaType; } public void setMediaType(String mediaType) { this.mediaType = mediaType; } public String getMediaUrl() { return mediaUrl; } public void setMediaUrl(String mediaUrl) { this.mediaUrl = mediaUrl; } public String getThumbUrl() { return thumbUrl; } public void setThumbUrl(String thumbUrl) { this.thumbUrl = thumbUrl; } public double getPoints() { return points; } public void setPoints(double points) { this.points = points; } public int getTotalLikes() { return totalLikes; } public void setTotalLikes(int totalLikes) { this.totalLikes = totalLikes; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } } public static class PostMedia { @SerializedName("postMediaDetails") private List<PostMediaDetails> postMediaDetails; @SerializedName("totalCount") private int totalCount; public List<PostMediaDetails> getPostMediaDetails() { return postMediaDetails; } public void setPostMediaDetails(List<PostMediaDetails> postMediaDetails) { this.postMediaDetails = postMediaDetails; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } } }20)InviteSpotListModel.java============================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 15/12/16. */ public class InviteSpotListModel extends BaseModel { @SerializedName("spotInvitaionUserList") private List<SpotInvitaionUserList> spotInvitaionUserList; @SerializedName("totalCount") private int totalCount; public List<SpotInvitaionUserList> getSpotInvitaionUserList() { return spotInvitaionUserList; } public void setSpotInvitaionUserList(List<SpotInvitaionUserList> spotInvitaionUserList) { this.spotInvitaionUserList = spotInvitaionUserList; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class SpotInvitaionUserList { @SerializedName("spInviteID") private int spInviteID; @SerializedName("userId") private int userId; @SerializedName("spotId") private int spotId; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("spotName") private String spotName; @SerializedName("spotDetailDesc") private String spotDetailDesc; @SerializedName("spotImage") private String spotImage; @SerializedName("spotLocation") private String spotLocation; @SerializedName("spotNoOfUsers") private int spotNoOfUsers; @SerializedName("spotFollowings") private int spotFollowings; @SerializedName("createOn") private String createOn; @SerializedName("spotType") private int spotType; @SerializedName("latLongList") private List<String> latLongList; public int getSpInviteID() { return spInviteID; } public void setSpInviteID(int spInviteID) { this.spInviteID = spInviteID; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotDetailDesc() { return spotDetailDesc; } public void setSpotDetailDesc(String spotDetailDesc) { this.spotDetailDesc = spotDetailDesc; } public String getSpotImage() { return spotImage; } public void setSpotImage(String spotImage) { this.spotImage = spotImage; } public String getSpotLocation() { return spotLocation; } public void setSpotLocation(String spotLocation) { this.spotLocation = spotLocation; } public int getSpotNoOfUsers() { return spotNoOfUsers; } public void setSpotNoOfUsers(int spotNoOfUsers) { this.spotNoOfUsers = spotNoOfUsers; } public int getSpotFollowings() { return spotFollowings; } public void setSpotFollowings(int spotFollowings) { this.spotFollowings = spotFollowings; } public String getCreateOn() { return createOn; } public void setCreateOn(String createOn) { this.createOn = createOn; } public int getSpotType() { return spotType; } public void setSpotType(int spotType) { this.spotType = spotType; } public List<String> getLatLongList() { return latLongList; } public void setLatLongList(List<String> latLongList) { this.latLongList = latLongList; } } }21)LeadershipBoardModel.java=============================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 6/1/17. */ public class LeadershipBoardModel { @SerializedName("point") private String point; @SerializedName("userId") private String userId; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userProfile") private String userProfile; @SerializedName("cityID") private String cityID; public String getPoint() { return point; } public void setPoint(String point) { this.point = point; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } }22)LikeModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 5/1/17. */ public class LikeModel { @SerializedName("spotId") private String spotId; @SerializedName("postId") private String postId; @SerializedName("mediaID") private String mediaID; @SerializedName("userId") private int userId; @SerializedName("createdOn") private String createdOn; @SerializedName("createdBy") private int createdBy; @SerializedName("likeId") private int likeId; @SerializedName("totalLikes") private int totalLikes; public int getTotalLikes() { return totalLikes; } public void setTotalLikes(int totalLikes) { this.totalLikes = totalLikes; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public String getPostId() { return postId; } public void setPostId(String postId) { this.postId = postId; } public String getMediaID() { return mediaID; } public void setMediaID(String mediaID) { this.mediaID = mediaID; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public int getLikeId() { return likeId; } public void setLikeId(int likeId) { this.likeId = likeId; } }23)LoginModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 14/12/16. */ public class LoginModel extends BaseModel { private String facebookId; private String userImageLocal; @SerializedName("userId") private int userId; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userimage") private String userimage; @SerializedName("email") private String email; @SerializedName("curLat") private String curLat; @SerializedName("curLong") private String curLong; @SerializedName("authorization") private String authorization; public String getFacebookId() { return facebookId; } public void setFacebookId(String facebookId) { this.facebookId = facebookId; } public String getUserImageLocal() { return userImageLocal; } public void setUserImageLocal(String userImageLocal) { this.userImageLocal = userImageLocal; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getUserimage() { return userimage; } public void setUserimage(String userimage) { this.userimage = userimage; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getCurLat() { return curLat; } public void setCurLat(String curLat) { this.curLat = curLat; } public String getCurLong() { return curLong; } public void setCurLong(String curLong) { this.curLong = curLong; } public String getAuthorization() { return authorization; } public void setAuthorization(String authorization) { this.authorization = authorization; } }24)LogoutModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 22/12/16. */ public class LogoutModel extends BaseModel { @SerializedName("message") private String message; public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } }25)PostDetailModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 22/12/16. */ public class PostDetailModel { @SerializedName("postDetails") private List<PostDetails> postDetails; public List<PostDetails> getPostDetails() { return postDetails; } public void setPostDetails(List<PostDetails> postDetails) { this.postDetails = postDetails; } public static class PostComments { @SerializedName("commentId") private int commentId; @SerializedName("spotId") private String spotId; @SerializedName("postId") private int postId; @SerializedName("userId") private int userId; @SerializedName("commentDesc") private String commentDesc; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userProfile") private String userProfile; public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getFirstname() { return firstName; } public void setFirstname(String firstname) { this.firstName = firstname; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public int getCommentId() { return commentId; } public void setCommentId(int commentId) { this.commentId = commentId; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public int getPostId() { return postId; } public void setPostId(int postId) { this.postId = postId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getCommentDesc() { return commentDesc; } public void setCommentDesc(String commentDesc) { this.commentDesc = commentDesc; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } } public static class Postcomment { @SerializedName("postComments") private List<PostComments> postComments; @SerializedName("totalCount") private int totalCount; public List<PostComments> getPostComments() { return postComments; } public void setPostComments(List<PostComments> postComments) { this.postComments = postComments; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } } public static class PostDetails { @SerializedName("spotUserId") private int spotUserId; @SerializedName("userId") private int userId; @SerializedName("spotId") private int spotId; @SerializedName("postId") private int postId; @SerializedName("mediaID") private int mediaID; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("userProfile") private String userProfile; @SerializedName("spotName") private String spotName; @SerializedName("spotDetailDesc") private String spotDetailDesc; @SerializedName("postDesc") private String postDesc; @SerializedName("mediaType") private String mediaType; @SerializedName("mediaUrl") private String mediaUrl; @SerializedName("ThumbUrl") private String ThumbUrl; @SerializedName("points") private float points; @SerializedName("totalLikes") private int totalLikes; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; @SerializedName("Postcomment") private Postcomment Postcomment; @SerializedName("islike") private int isLike; @SerializedName("isAbuse") private int isAbuse; @SerializedName("isSpotActive") private int isSpotActive; public int getSpotUserId() { return spotUserId; } public void setSpotUserId(int spotUserId) { this.spotUserId = spotUserId; } public int getIsAbuse() { return isAbuse; } public void setIsAbuse(int isAbuse) { this.isAbuse = isAbuse; } public int getIsSpotActive() { return isSpotActive; } public void setIsSpotActive(int isSpotActive) { this.isSpotActive = isSpotActive; } public int getIsLike() { return isLike; } public void setIsLike(int isLike) { this.isLike = isLike; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public int getPostId() { return postId; } public void setPostId(int postId) { this.postId = postId; } public int getMediaID() { return mediaID; } public void setMediaID(int mediaID) { this.mediaID = mediaID; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotDetailDesc() { return spotDetailDesc; } public void setSpotDetailDesc(String spotDetailDesc) { this.spotDetailDesc = spotDetailDesc; } public String getPostDesc() { return postDesc; } public void setPostDesc(String postDesc) { this.postDesc = postDesc; } public String getMediaType() { return mediaType; } public void setMediaType(String mediaType) { this.mediaType = mediaType; } public String getMediaUrl() { return mediaUrl; } public void setMediaUrl(String mediaUrl) { this.mediaUrl = mediaUrl; } public String getThumbUrl() { return ThumbUrl; } public void setThumbUrl(String ThumbUrl) { this.ThumbUrl = ThumbUrl; } public float getPoints() { return points; } public void setPoints(float points) { this.points = points; } public int getTotalLikes() { return totalLikes; } public void setTotalLikes(int totalLikes) { this.totalLikes = totalLikes; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public Postcomment getPostcomment() { return Postcomment; } public void setPostcomment(Postcomment Postcomment) { this.Postcomment = Postcomment; } } }26)ProfileDetailModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 14/12/16. */ public class ProfileDetailModel extends BaseModel{ @SerializedName("userId") private int userId; @SerializedName("email") private String email; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("curLat") private String curLat; @SerializedName("curLong") private String curLong; @SerializedName("facebookId") private String facebookId; @SerializedName("userProfile") private String userProfile; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; @SerializedName("followers") private int followers; @SerializedName("following") private int following; @SerializedName("postMedia") private PostMedia postMedia; @SerializedName("userIsFollowing") private int userIsFollowing; @SerializedName("isLeadershipWon") private int isLeadershipWon; public int getIsLeadershipWon() { return isLeadershipWon; } public void setIsLeadershipWon(int isLeadershipWon) { this.isLeadershipWon = isLeadershipWon; } public int getUserIsFollowing() { return userIsFollowing; } public void setUserIsFollowing(int userIsFollowing) { this.userIsFollowing = userIsFollowing; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getCurLat() { return curLat; } public void setCurLat(String curLat) { this.curLat = curLat; } public String getCurLong() { return curLong; } public void setCurLong(String curLong) { this.curLong = curLong; } public String getFacebookId() { return facebookId; } public void setFacebookId(String facebookId) { this.facebookId = facebookId; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public int getFollowers() { return followers; } public void setFollowers(int followers) { this.followers = followers; } public int getFollowing() { return following; } public void setFollowing(int following) { this.following = following; } public PostMedia getPostMedia() { return postMedia; } public void setPostMedia(PostMedia postMedia) { this.postMedia = postMedia; } public static class PostMediaDetails { @SerializedName("mediaID") private int mediaID; @SerializedName("userId") private int userId; @SerializedName("spotId") private int spotId; @SerializedName("postId") private int postId; @SerializedName("mediaType") private String mediaType; @SerializedName("mediaUrl") private String mediaUrl; @SerializedName("thumbUrl") private String thumbUrl; @SerializedName("points") private double points; @SerializedName("totalLikes") private int totalLikes; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; public int getMediaID() { return mediaID; } public void setMediaID(int mediaID) { this.mediaID = mediaID; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public int getPostId() { return postId; } public void setPostId(int postId) { this.postId = postId; } public String getMediaType() { return mediaType; } public void setMediaType(String mediaType) { this.mediaType = mediaType; } public String getMediaUrl() { return mediaUrl; } public void setMediaUrl(String mediaUrl) { this.mediaUrl = mediaUrl; } public String getThumbUrl() { return thumbUrl; } public void setThumbUrl(String thumbUrl) { this.thumbUrl = thumbUrl; } public double getPoints() { return points; } public void setPoints(double points) { this.points = points; } public int getTotalLikes() { return totalLikes; } public void setTotalLikes(int totalLikes) { this.totalLikes = totalLikes; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } } public static class PostMedia { @SerializedName("postMediaDetails") private List<PostMediaDetails> postMediaDetails; @SerializedName("totalCount") private int totalCount; public List<PostMediaDetails> getPostMediaDetails() { return postMediaDetails; } public void setPostMediaDetails(List<PostMediaDetails> postMediaDetails) { this.postMediaDetails = postMediaDetails; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } } }27)RadiusModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 14/12/16. */ public class RadiusModel { @SerializedName("radiusID") private int radiusID; @SerializedName("length") private String length; @SerializedName("desc") private String desc; @SerializedName("createdBy") private int createdBy; @SerializedName("updatedBy") private int updatedBy; @SerializedName("createdOn") private String createdOn; @SerializedName("updatedOn") private String updatedOn; @SerializedName("isDelete") private int isDelete; public int getRadiusID() { return radiusID; } public void setRadiusID(int radiusID) { this.radiusID = radiusID; } public String getLength() { return length; } public void setLength(String length) { this.length = length; } public String getDesc() { return desc; } public void setDesc(String desc) { this.desc = desc; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public int getUpdatedBy() { return updatedBy; } public void setUpdatedBy(int updatedBy) { this.updatedBy = updatedBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getUpdatedOn() { return updatedOn; } public void setUpdatedOn(String updatedOn) { this.updatedOn = updatedOn; } public int getIsDelete() { return isDelete; } public void setIsDelete(int isDelete) { this.isDelete = isDelete; } }28)ReportAbuseModel.java=========================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 23/12/16. */ public class ReportAbuseModel { @SerializedName("postId") private String postId; @SerializedName("userId") private String userId; @SerializedName("spotId") private String spotId; @SerializedName("desc") private String desc; @SerializedName("createdOn") private String createdOn; @SerializedName("updatedOn") private String updatedOn; @SerializedName("createdBy") private String createdBy; @SerializedName("reportID") private int reportID; public String getPostId() { return postId; } public void setPostId(String postId) { this.postId = postId; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public String getDesc() { return desc; } public void setDesc(String desc) { this.desc = desc; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getUpdatedOn() { return updatedOn; } public void setUpdatedOn(String updatedOn) { this.updatedOn = updatedOn; } public String getCreatedBy() { return createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public int getReportID() { return reportID; } public void setReportID(int reportID) { this.reportID = reportID; } }29)SearchSpotModel.java=========================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 21/12/16. */ public class SearchSpotModel extends BaseModel { @SerializedName("spotList") private List<SpotList> spotList; @SerializedName("totalCount") private int totalCount; public List<SpotList> getSpotList() { return spotList; } public void setSpotList(List<SpotList> spotList) { this.spotList = spotList; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class SpotList { @SerializedName("userId") private int userId; @SerializedName("spotId") private int spotId; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("spotName") private String spotName; @SerializedName("spotDetailDesc") private String spotDetailDesc; @SerializedName("spotImage") private String spotImage; @SerializedName("createOn") private String createOn; public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotDetailDesc() { return spotDetailDesc; } public void setSpotDetailDesc(String spotDetailDesc) { this.spotDetailDesc = spotDetailDesc; } public String getSpotImage() { return spotImage; } public void setSpotImage(String spotImage) { this.spotImage = spotImage; } public String getCreateOn() { return createOn; } public void setCreateOn(String createOn) { this.createOn = createOn; } } }30)SearchUserListModel.java===========================package com.eppico.models; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by manisha on 3/1/17. */ public class SearchUserListModel { @SerializedName("user") private List<User> user; @SerializedName("totalCount") private int totalCount; public List<User> getUser() { return user; } public void setUser(List<User> user) { this.user = user; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public static class User { @SerializedName("userId") private int userId; @SerializedName("email") private String email; @SerializedName("firstName") private String firstName; @SerializedName("lastName") private String lastName; @SerializedName("curLat") private String curLat; @SerializedName("curLong") private String curLong; @SerializedName("facebookId") private String facebookId; @SerializedName("userProfile") private String userProfile; @SerializedName("countryID") private String countryID; @SerializedName("createdBy") private int createdBy; @SerializedName("createdOn") private String createdOn; @SerializedName("userIsFollowing") private int userIsFollowing; @SerializedName("cityID") private String cityID; // Custom variables private int position; public int getPosition() { return position; } public void setPosition(int position) { this.position = position; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getCurLat() { return curLat; } public void setCurLat(String curLat) { this.curLat = curLat; } public String getCurLong() { return curLong; } public void setCurLong(String curLong) { this.curLong = curLong; } public String getFacebookId() { return facebookId; } public void setFacebookId(String facebookId) { this.facebookId = facebookId; } public String getUserProfile() { return userProfile; } public void setUserProfile(String userProfile) { this.userProfile = userProfile; } public String getCountryID() { return countryID; } public void setCountryID(String countryID) { this.countryID = countryID; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public int getUserIsFollowing() { return userIsFollowing; } public void setUserIsFollowing(int userIsFollowing) { this.userIsFollowing = userIsFollowing; } public String getCityID() { return cityID; } public void setCityID(String cityID) { this.cityID = cityID; } } }31)SlidingMenuModel.java=========================package com.eppico.models; /** * Created by Maitrey on 12/21/2015. */public class SlidingMenuModel { private int mId; private String mName; private int mIcon; public void setId(int id) {this.mId = id;} public int getId() {return mId;} public String getName() { return mName; } public void setName(String name) { this.mName = name; } public int getIcon() { return mIcon; } public void setIcon(int icon) { this.mIcon = icon; } }32)SpotModel.java=====================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by rushil on 14/12/16. */ public class SpotModel { @SerializedName("spotId") private int spotId; @SerializedName("catId") private int catId; @SerializedName("userId") private int userId; @SerializedName("radiusId") private int radiusId; @SerializedName("spotType") private int spotType; @SerializedName("spotName") private String spotName; @SerializedName("spotShortDesc") private String spotShortDesc; @SerializedName("spotDetailDesc") private String spotDetailDesc; @SerializedName("spotImage") private String spotImage; @SerializedName("spotLocation") private String spotLocation; @SerializedName("spotStartDateTime") private String spotStartDateTime; @SerializedName("spotEndDateTime") private String spotEndDateTime; @SerializedName("spotLatLong") private String spotLatLong; @SerializedName("spotNoOfUsers") private String spotNoOfUsers; @SerializedName("spotFollowings") private String spotFollowings; @SerializedName("spotLike") private int spotLike; @SerializedName("isActive") private int isActive; @SerializedName("createdBy") private int createdBy; @SerializedName("updatedBy") private int updatedBy; @SerializedName("createdOn") private String createdOn; @SerializedName("updatedOn") private String updatedOn; @SerializedName("isDeleted") private int isDeleted; public int getSpotId() { return spotId; } public void setSpotId(int spotId) { this.spotId = spotId; } public int getCatId() { return catId; } public void setCatId(int catId) { this.catId = catId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public int getRadiusId() { return radiusId; } public void setRadiusId(int radiusId) { this.radiusId = radiusId; } public int getSpotType() { return spotType; } public void setSpotType(int spotType) { this.spotType = spotType; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotShortDesc() { return spotShortDesc; } public void setSpotShortDesc(String spotShortDesc) { this.spotShortDesc = spotShortDesc; } public String getSpotDetailDesc() { return spotDetailDesc; } public void setSpotDetailDesc(String spotDetailDesc) { this.spotDetailDesc = spotDetailDesc; } public String getSpotImage() { return spotImage; } public void setSpotImage(String spotImage) { this.spotImage = spotImage; } public String getSpotLocation() { return spotLocation; } public void setSpotLocation(String spotLocation) { this.spotLocation = spotLocation; } public String getSpotStartDateTime() { return spotStartDateTime; } public void setSpotStartDateTime(String spotStartDateTime) { this.spotStartDateTime = spotStartDateTime; } public String getSpotEndDateTime() { return spotEndDateTime; } public void setSpotEndDateTime(String spotEndDateTime) { this.spotEndDateTime = spotEndDateTime; } public String getSpotLatLong() { return spotLatLong; } public void setSpotLatLong(String spotLatLong) { this.spotLatLong = spotLatLong; } public String getSpotNoOfUsers() { return spotNoOfUsers; } public void setSpotNoOfUsers(String spotNoOfUsers) { this.spotNoOfUsers = spotNoOfUsers; } public String getSpotFollowings() { return spotFollowings; } public void setSpotFollowings(String spotFollowings) { this.spotFollowings = spotFollowings; } public int getSpotLike() { return spotLike; } public void setSpotLike(int spotLike) { this.spotLike = spotLike; } public int getIsActive() { return isActive; } public void setIsActive(int isActive) { this.isActive = isActive; } public int getCreatedBy() { return createdBy; } public void setCreatedBy(int createdBy) { this.createdBy = createdBy; } public int getUpdatedBy() { return updatedBy; } public void setUpdatedBy(int updatedBy) { this.updatedBy = updatedBy; } public String getCreatedOn() { return createdOn; } public void setCreatedOn(String createdOn) { this.createdOn = createdOn; } public String getUpdatedOn() { return updatedOn; } public void setUpdatedOn(String updatedOn) { this.updatedOn = updatedOn; } public int getIsDeleted() { return isDeleted; } public void setIsDeleted(int isDeleted) { this.isDeleted = isDeleted; } }33)UserLeaderShipListModel.java=================================package com.eppico.models; import com.google.gson.annotations.SerializedName; /** * Created by manisha on 23/1/17. */ public class UserLeaderShipListModel { @SerializedName("point") private String point; @SerializedName("userId") private String userId; @SerializedName("spotId") private String spotId; @SerializedName("spotName") private String spotName; @SerializedName("spotImage") private String spotImage; public String getPoint() { return point; } public void setPoint(String point) { this.point = point; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getSpotId() { return spotId; } public void setSpotId(String spotId) { this.spotId = spotId; } public String getSpotName() { return spotName; } public void setSpotName(String spotName) { this.spotName = spotName; } public String getSpotImage() { return spotImage; } public void setSpotImage(String spotImage) { this.spotImage = spotImage; } }
No comments:
Post a Comment