Package com.amilesend.tvdb.client.api
Class UpdatesApi
java.lang.Object
com.amilesend.tvdb.client.api.UpdatesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setApiClient
(ApiClient apiClient) updates
(BigDecimal since, String type, String action, BigDecimal page) Returns updated entities.okhttp3.Call
updatesAsync
(BigDecimal since, String type, String action, BigDecimal page, ApiCallback<InlineResponse20052> callback) (asynchronously) Returns updated entities.okhttp3.Call
updatesCall
(BigDecimal since, String type, String action, BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for updatesupdatesWithHttpInfo
(BigDecimal since, String type, String action, BigDecimal page) Returns updated entities.
-
Constructor Details
-
UpdatesApi
public UpdatesApi() -
UpdatesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
updatesCall
public okhttp3.Call updatesCall(BigDecimal since, String type, String action, BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for updates- Parameters:
since
- (required)type
- (optional)action
- (optional)page
- name (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
updates
public InlineResponse20052 updates(BigDecimal since, String type, String action, BigDecimal page) throws ApiException Returns updated entities. methodInt indicates a created record (1), an updated record (2), or a deleted record (3). If a record is deleted because it was a duplicate of another record, the target record's information is provided in mergeToType and mergeToId.- Parameters:
since
- (required)type
- (optional)action
- (optional)page
- name (optional)- Returns:
- InlineResponse20052
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updatesWithHttpInfo
public ApiResponse<InlineResponse20052> updatesWithHttpInfo(BigDecimal since, String type, String action, BigDecimal page) throws ApiException Returns updated entities. methodInt indicates a created record (1), an updated record (2), or a deleted record (3). If a record is deleted because it was a duplicate of another record, the target record's information is provided in mergeToType and mergeToId.- Parameters:
since
- (required)type
- (optional)action
- (optional)page
- name (optional)- Returns:
- ApiResponse<InlineResponse20052>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updatesAsync
public okhttp3.Call updatesAsync(BigDecimal since, String type, String action, BigDecimal page, ApiCallback<InlineResponse20052> callback) throws ApiException (asynchronously) Returns updated entities. methodInt indicates a created record (1), an updated record (2), or a deleted record (3). If a record is deleted because it was a duplicate of another record, the target record's information is provided in mergeToType and mergeToId.- Parameters:
since
- (required)type
- (optional)action
- (optional)page
- name (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-