@ClassPreamble(author="Maksym Novozhylov <mnovozhilov@upwork.com>", date="6/4/2014", currentRevision=1, lastModified="6/4/2014", lastModifiedBy="Maksym Novozhylov", reviewers="Yiota Tsakiri") public final class Companies extends java.lang.Object
| Constructor and Description |
|---|
Companies(OAuthClient client) |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
getList()
Get Companies Info
|
JSONObject |
getSpecific(java.lang.String cmpReference)
Get Specific Company
|
JSONObject |
getTeams(java.lang.String cmpReference)
Get Teams in Company
|
JSONObject |
getUsers(java.lang.String cmpReference)
Get Users in Company
|
public Companies(OAuthClient client)
public JSONObject getList()
throws JSONException
JSONObjectJSONException - If error occurredpublic JSONObject getSpecific(java.lang.String cmpReference)
throws JSONException
cmpReference - Company referenceJSONObjectJSONException - If error occurredpublic JSONObject getTeams(java.lang.String cmpReference)
throws JSONException
cmpReference - Company referenceJSONObjectJSONException - If error occurredpublic JSONObject getUsers(java.lang.String cmpReference)
throws JSONException
cmpReference - Company referenceJSONObjectJSONException - If error occurred