public class InternalApi extends Object
| 构造器和说明 |
|---|
InternalApi() |
InternalApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
ResourceChangeResponse |
getResourceChanges(String action,
String resourceType,
String resourceId,
String startRevision,
Integer limit) |
okhttp3.Call |
getResourceChangesAsync(String action,
String resourceType,
String resourceId,
String startRevision,
Integer limit,
ApiCallback<ResourceChangeResponse> _callback)
(asynchronously)
|
okhttp3.Call |
getResourceChangesCall(String action,
String resourceType,
String resourceId,
String startRevision,
Integer limit,
ApiCallback _callback)
Build call for getResourceChanges
|
ApiResponse<ResourceChangeResponse> |
getResourceChangesWithHttpInfo(String action,
String resourceType,
String resourceId,
String startRevision,
Integer limit) |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public InternalApi()
public InternalApi(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 getResourceChangesCall(String action, String resourceType, String resourceId, String startRevision, Integer limit, ApiCallback _callback) throws ApiException
action - (optional)resourceType - (optional)resourceId - (optional)startRevision - (optional)limit - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request | - |
| 404 | Not found | - |
| 500 | Server error | - |
public ResourceChangeResponse getResourceChanges(String action, String resourceType, String resourceId, String startRevision, Integer limit) throws ApiException
action - (optional)resourceType - (optional)resourceId - (optional)startRevision - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request | - |
| 404 | Not found | - |
| 500 | Server error | - |
public ApiResponse<ResourceChangeResponse> getResourceChangesWithHttpInfo(String action, String resourceType, String resourceId, String startRevision, Integer limit) throws ApiException
action - (optional)resourceType - (optional)resourceId - (optional)startRevision - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request | - |
| 404 | Not found | - |
| 500 | Server error | - |
public okhttp3.Call getResourceChangesAsync(String action, String resourceType, String resourceId, String startRevision, Integer limit, ApiCallback<ResourceChangeResponse> _callback) throws ApiException
action - (optional)resourceType - (optional)resourceId - (optional)startRevision - (optional)limit - (optional)_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 | - | |
| 400 | Bad request | - |
| 404 | Not found | - |
| 500 | Server error | - |
Copyright © 2025. All rights reserved.