public class LayersApi extends Object
| Constructor and Description |
|---|
LayersApi() |
LayersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
LayerDTO |
createLayer(String workspaceId,
String ciId,
LayerDTO body)
Create a new layer for given product
|
com.squareup.okhttp.Call |
createLayerAsync(String workspaceId,
String ciId,
LayerDTO body,
ApiCallback<LayerDTO> callback)
Create a new layer for given product (asynchronously)
|
ApiResponse<LayerDTO> |
createLayerWithHttpInfo(String workspaceId,
String ciId,
LayerDTO body)
Create a new layer for given product
|
MarkerDTO |
createMarker(String workspaceId,
String ciId,
Integer layerId,
MarkerDTO body)
Create a new marker in a given layer
|
com.squareup.okhttp.Call |
createMarkerAsync(String workspaceId,
String ciId,
Integer layerId,
MarkerDTO body,
ApiCallback<MarkerDTO> callback)
Create a new marker in a given layer (asynchronously)
|
ApiResponse<MarkerDTO> |
createMarkerWithHttpInfo(String workspaceId,
String ciId,
Integer layerId,
MarkerDTO body)
Create a new marker in a given layer
|
void |
deleteLayer(String workspaceId,
String ciId,
Integer layerId)
Delete layer
|
com.squareup.okhttp.Call |
deleteLayerAsync(String workspaceId,
String ciId,
Integer layerId,
ApiCallback<Void> callback)
Delete layer (asynchronously)
|
ApiResponse<Void> |
deleteLayerWithHttpInfo(String workspaceId,
String ciId,
Integer layerId)
Delete layer
|
void |
deleteMarker(String workspaceId,
String ciId,
Integer layerId,
Integer markerId)
Delete marker
|
com.squareup.okhttp.Call |
deleteMarkerAsync(String workspaceId,
String ciId,
Integer layerId,
Integer markerId,
ApiCallback<Void> callback)
Delete marker (asynchronously)
|
ApiResponse<Void> |
deleteMarkerWithHttpInfo(String workspaceId,
String ciId,
Integer layerId,
Integer markerId)
Delete marker
|
ApiClient |
getApiClient() |
List<LayerDTO> |
getLayersInProduct(String workspaceId,
String ciId)
Get layers for given product
|
com.squareup.okhttp.Call |
getLayersInProductAsync(String workspaceId,
String ciId,
ApiCallback<List<LayerDTO>> callback)
Get layers for given product (asynchronously)
|
ApiResponse<List<LayerDTO>> |
getLayersInProductWithHttpInfo(String workspaceId,
String ciId)
Get layers for given product
|
List<MarkerDTO> |
getMarkersInLayer(String workspaceId,
String ciId,
Integer layerId)
Get markers of a given layer
|
com.squareup.okhttp.Call |
getMarkersInLayerAsync(String workspaceId,
String ciId,
Integer layerId,
ApiCallback<List<MarkerDTO>> callback)
Get markers of a given layer (asynchronously)
|
ApiResponse<List<MarkerDTO>> |
getMarkersInLayerWithHttpInfo(String workspaceId,
String ciId,
Integer layerId)
Get markers of a given layer
|
void |
setApiClient(ApiClient apiClient) |
LayerDTO |
updateLayer(String workspaceId,
String ciId,
Integer layerId,
LayerDTO body)
Update layer
|
com.squareup.okhttp.Call |
updateLayerAsync(String workspaceId,
String ciId,
Integer layerId,
LayerDTO body,
ApiCallback<LayerDTO> callback)
Update layer (asynchronously)
|
ApiResponse<LayerDTO> |
updateLayerWithHttpInfo(String workspaceId,
String ciId,
Integer layerId,
LayerDTO body)
Update layer
|
public LayersApi()
public LayersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<LayerDTO> getLayersInProduct(String workspaceId, String ciId) throws ApiException
workspaceId - Workspace idciId - Configuration item idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<LayerDTO>> getLayersInProductWithHttpInfo(String workspaceId, String ciId) throws ApiException
workspaceId - Workspace idciId - Configuration item idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLayersInProductAsync(String workspaceId, String ciId, ApiCallback<List<LayerDTO>> callback) throws ApiException
workspaceId - Workspace idciId - Configuration item idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic LayerDTO createLayer(String workspaceId, String ciId, LayerDTO body) throws ApiException
workspaceId - Workspace idciId - Configuration item idbody - Layer to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LayerDTO> createLayerWithHttpInfo(String workspaceId, String ciId, LayerDTO body) throws ApiException
workspaceId - Workspace idciId - Configuration item idbody - Layer to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createLayerAsync(String workspaceId, String ciId, LayerDTO body, ApiCallback<LayerDTO> callback) throws ApiException
workspaceId - Workspace idciId - Configuration item idbody - Layer to createcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic LayerDTO updateLayer(String workspaceId, String ciId, Integer layerId, LayerDTO body) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idbody - Layer to updateApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LayerDTO> updateLayerWithHttpInfo(String workspaceId, String ciId, Integer layerId, LayerDTO body) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idbody - Layer to updateApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateLayerAsync(String workspaceId, String ciId, Integer layerId, LayerDTO body, ApiCallback<LayerDTO> callback) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idbody - Layer to updatecallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void deleteLayer(String workspaceId, String ciId, Integer layerId) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteLayerWithHttpInfo(String workspaceId, String ciId, Integer layerId) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteLayerAsync(String workspaceId, String ciId, Integer layerId, ApiCallback<Void> callback) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic List<MarkerDTO> getMarkersInLayer(String workspaceId, String ciId, Integer layerId) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<MarkerDTO>> getMarkersInLayerWithHttpInfo(String workspaceId, String ciId, Integer layerId) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMarkersInLayerAsync(String workspaceId, String ciId, Integer layerId, ApiCallback<List<MarkerDTO>> callback) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic MarkerDTO createMarker(String workspaceId, String ciId, Integer layerId, MarkerDTO body) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idbody - Marker to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MarkerDTO> createMarkerWithHttpInfo(String workspaceId, String ciId, Integer layerId, MarkerDTO body) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idbody - Marker to createApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createMarkerAsync(String workspaceId, String ciId, Integer layerId, MarkerDTO body, ApiCallback<MarkerDTO> callback) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idbody - Marker to createcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void deleteMarker(String workspaceId, String ciId, Integer layerId, Integer markerId) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idmarkerId - Marker idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteMarkerWithHttpInfo(String workspaceId, String ciId, Integer layerId, Integer markerId) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idmarkerId - Marker idApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteMarkerAsync(String workspaceId, String ciId, Integer layerId, Integer markerId, ApiCallback<Void> callback) throws ApiException
workspaceId - Workspace idciId - Configuration item idlayerId - Layer idmarkerId - Marker idcallback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.