public class GetUser extends Initialization
DELETE_ATTACHMENT, DELETE_SIGN_OUT, easyqaUserAPI, GET_ISSUE_LIST, GET_MEMBERS_LIST, GET_ORG_MEMBERS_LIST, GET_USER, ID_ISSUE, ID_ORGANIZATION, ID_PROJECTS, ID_ROLE, ID_STATUS, ID_TEST_CASE, ID_TEST_MODULE, ID_TEST_OBJECT, ID_TEST_PLAN, ID_TEST_RUN, ID_TEST_RUN_RESULT, imageType, ISSUE_INFO, MODULE_TEST_CASES, ORGANIZATION, ORGANIZATION_ROLE, POST_SIGN_IN, PROJECT, PROJECT_ID_ISSUE, STATUSES, TEST_CASES, TEST_MODULE, TEST_OBJECT, TEST_PLAN, TEST_PLAN_TEST_CASES, TEST_RUN, TEST_RUN_RESULT, textType, UPLOAD_ATTACHMENT, UPLOAD_ATTACHMENT_ID_PROJECT, UPLOAD_CRASH, UPLOAD_ISSUE, videoType
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getUserByEmail(String email)
Method for getting the user by email
|
Map<String,String> |
getUserByID(String id)
Method for getting the user by id
|
public GetUser(String url)
public Map<String,String> getUserByEmail(String email) throws IOException, org.json.JSONException
email
- an email of the userIOException
- for incorrect parsing of the server responseorg.json.JSONException
- if the server returns not Json objectpublic Map<String,String> getUserByID(String id) throws IOException, org.json.JSONException
id
- an id of the userIOException
- for incorrect parsing of the server responseorg.json.JSONException
- if the server returns not Json objectCopyright © 2016–2017. All rights reserved.