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