Package net.gini.android.authorization
Class User
- java.lang.Object
-
- net.gini.android.authorization.User
-
public class User extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static User
fromApiResponse(org.json.JSONObject apiResponse)
java.lang.String
getUserId()
java.lang.String
getUsername()
-
-
-
Method Detail
-
getUserId
public java.lang.String getUserId()
-
getUsername
public java.lang.String getUsername()
-
fromApiResponse
public static User fromApiResponse(org.json.JSONObject apiResponse) throws org.json.JSONException
- Throws:
org.json.JSONException
-
-