Back to project page InitHub-Android.
The source code is released under:
MIT License
If you think the Android project InitHub-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.solutiosoft.android.inithub.entities; /* www. j a v a 2s. c o m*/ public class User { //private variables private int _id; private String _email; private String _api_key; // Empty constructor public User(){ } // constructor public User(int id, String email, String api_key){ this._id = id; this._email = email; this._api_key = api_key; } // constructor public User(String email, String api_key){ this._email = email; this._api_key = api_key; } // getting ID public int getID(){ return this._id; } // setting id public void setID(int id){ this._id = id; } // getting name public String getEmail(){ return this._email; } // setting name public void setEmail(String email){ this._email = email; } // getting phone number public String getApiKey(){ return this._api_key; } // setting phone number public void setApiKey(String api_key){ this._api_key = api_key; } }