public class TeamRequests extends BaseRequests
baseUrl, client, gson| Constructor and Description |
|---|
TeamRequests(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
Team |
create(Team team) |
Boolean |
delete(String teamId) |
Team[] |
get() |
Team |
get(String teamId) |
Team |
update(Team team) |
sendDelete, sendJSONGet, sendJSONGet, sendJSONPost, sendJSONPut, sendMultiPartEntitypublic TeamRequests(String baseUrl)
public Team create(Team team) throws IOException
IOExceptionpublic Team[] get() throws IOException
IOExceptionpublic Team get(String teamId) throws IOException
IOExceptionpublic Boolean delete(String teamId) throws IOException
IOExceptionpublic Team update(Team team) throws IOException
IOExceptionCopyright © 2021. All rights reserved.