Skip to content

Instantly share code, notes, and snippets.

@vishalhalani
Created January 2, 2019 06:39
Show Gist options
  • Save vishalhalani/0164c103139b2a26a618d34261e0f436 to your computer and use it in GitHub Desktop.
Save vishalhalani/0164c103139b2a26a618d34261e0f436 to your computer and use it in GitHub Desktop.
pojo class to get and set value of web request
public class LoginModel extends BaseDetailModel {
@SerializedName("email")
@Expose
private String email;
@SerializedName("password")
@Expose
private String password;
public LoginModel(String email, String password, String api_token, String udid, String device_type) {
super(api_token, udid, device_type);
this.email = email;
this.password = password;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment