Class UpdatesApi

java.lang.Object
com.amilesend.tvdb.client.api.UpdatesApi

public class UpdatesApi extends Object
  • Constructor Details

    • UpdatesApi

      public UpdatesApi()
    • UpdatesApi

      public UpdatesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 listener
      progressRequestListener - 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