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) |
getDefaultErrorMessage, processErrorResponse, processResponse, sendDelete, sendJSONGet, sendJSONGet, sendJSONPost, sendJSONPut, sendMultiPartEntitypublic EnvironmentRequests(String baseUrl)
public Environment create(Environment environment) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic Environment[] get() throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic Environment get(String environmentId) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic Boolean delete(String environmentId) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic Environment update(Environment environment) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionCopyright © 2021. All rights reserved.