public class SnmpTrapReceiverApi extends Object
| 构造器和说明 |
|---|
SnmpTrapReceiverApi() |
SnmpTrapReceiverApi(ApiClient apiClient) |
public SnmpTrapReceiverApi()
public SnmpTrapReceiverApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createSnmpTrapReceiverCall(List<SnmpTrapReceiverCreationParams> snmpTrapReceiverCreationParams, ApiCallback _callback) throws ApiException
snmpTrapReceiverCreationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskSnmpTrapReceiver> createSnmpTrapReceiver(List<SnmpTrapReceiverCreationParams> snmpTrapReceiverCreationParams) throws ApiException
snmpTrapReceiverCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskSnmpTrapReceiver>> createSnmpTrapReceiverWithHttpInfo(List<SnmpTrapReceiverCreationParams> snmpTrapReceiverCreationParams) throws ApiException
snmpTrapReceiverCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call createSnmpTrapReceiverAsync(List<SnmpTrapReceiverCreationParams> snmpTrapReceiverCreationParams, ApiCallback<List<WithTaskSnmpTrapReceiver>> _callback) throws ApiException
snmpTrapReceiverCreationParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteSnmpTrapReceiverCall(SnmpTrapReceiverDeletionParams snmpTrapReceiverDeletionParams, ApiCallback _callback) throws ApiException
snmpTrapReceiverDeletionParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskDeleteSnmpTrapReceiver> deleteSnmpTrapReceiver(SnmpTrapReceiverDeletionParams snmpTrapReceiverDeletionParams) throws ApiException
snmpTrapReceiverDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskDeleteSnmpTrapReceiver>> deleteSnmpTrapReceiverWithHttpInfo(SnmpTrapReceiverDeletionParams snmpTrapReceiverDeletionParams) throws ApiException
snmpTrapReceiverDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteSnmpTrapReceiverAsync(SnmpTrapReceiverDeletionParams snmpTrapReceiverDeletionParams, ApiCallback<List<WithTaskDeleteSnmpTrapReceiver>> _callback) throws ApiException
snmpTrapReceiverDeletionParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getSnmpTrapReceiversCall(GetSnmpTrapReceiversRequestBody getSnmpTrapReceiversRequestBody, ApiCallback _callback) throws ApiException
getSnmpTrapReceiversRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<SnmpTrapReceiver> getSnmpTrapReceivers(GetSnmpTrapReceiversRequestBody getSnmpTrapReceiversRequestBody) throws ApiException
getSnmpTrapReceiversRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<SnmpTrapReceiver>> getSnmpTrapReceiversWithHttpInfo(GetSnmpTrapReceiversRequestBody getSnmpTrapReceiversRequestBody) throws ApiException
getSnmpTrapReceiversRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getSnmpTrapReceiversAsync(GetSnmpTrapReceiversRequestBody getSnmpTrapReceiversRequestBody, ApiCallback<List<SnmpTrapReceiver>> _callback) throws ApiException
getSnmpTrapReceiversRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getSnmpTrapReceiversConnectionCall(GetSnmpTrapReceiversConnectionRequestBody getSnmpTrapReceiversConnectionRequestBody, ApiCallback _callback) throws ApiException
getSnmpTrapReceiversConnectionRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public SnmpTrapReceiverConnection getSnmpTrapReceiversConnection(GetSnmpTrapReceiversConnectionRequestBody getSnmpTrapReceiversConnectionRequestBody) throws ApiException
getSnmpTrapReceiversConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<SnmpTrapReceiverConnection> getSnmpTrapReceiversConnectionWithHttpInfo(GetSnmpTrapReceiversConnectionRequestBody getSnmpTrapReceiversConnectionRequestBody) throws ApiException
getSnmpTrapReceiversConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getSnmpTrapReceiversConnectionAsync(GetSnmpTrapReceiversConnectionRequestBody getSnmpTrapReceiversConnectionRequestBody, ApiCallback<SnmpTrapReceiverConnection> _callback) throws ApiException
getSnmpTrapReceiversConnectionRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateSnmpTrapReceiverCall(SnmpTrapReceiverUpdationParams snmpTrapReceiverUpdationParams, ApiCallback _callback) throws ApiException
snmpTrapReceiverUpdationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskSnmpTrapReceiver> updateSnmpTrapReceiver(SnmpTrapReceiverUpdationParams snmpTrapReceiverUpdationParams) throws ApiException
snmpTrapReceiverUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskSnmpTrapReceiver>> updateSnmpTrapReceiverWithHttpInfo(SnmpTrapReceiverUpdationParams snmpTrapReceiverUpdationParams) throws ApiException
snmpTrapReceiverUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateSnmpTrapReceiverAsync(SnmpTrapReceiverUpdationParams snmpTrapReceiverUpdationParams, ApiCallback<List<WithTaskSnmpTrapReceiver>> _callback) throws ApiException
snmpTrapReceiverUpdationParams - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
Copyright © 2025. All rights reserved.