Class CompaniesApi

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

public class CompaniesApi extends Object
  • Constructor Details

    • CompaniesApi

      public CompaniesApi()
    • CompaniesApi

      public CompaniesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAllCompaniesCall

      public okhttp3.Call getAllCompaniesCall(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getAllCompanies
      Parameters:
      page - name (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getAllCompanies

      public InlineResponse20011 getAllCompanies(BigDecimal page) throws ApiException
      returns a paginated list of company records
      Parameters:
      page - name (optional)
      Returns:
      InlineResponse20011
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCompaniesWithHttpInfo

      public ApiResponse<InlineResponse20011> getAllCompaniesWithHttpInfo(BigDecimal page) throws ApiException
      returns a paginated list of company records
      Parameters:
      page - name (optional)
      Returns:
      ApiResponse<InlineResponse20011>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAllCompaniesAsync

      public okhttp3.Call getAllCompaniesAsync(BigDecimal page, ApiCallback<InlineResponse20011> callback) throws ApiException
      (asynchronously) returns a paginated list of company records
      Parameters:
      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
    • getCompanyCall

      public okhttp3.Call getCompanyCall(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getCompany
      Parameters:
      id - id (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getCompany

      public InlineResponse20013 getCompany(BigDecimal id) throws ApiException
      returns a company record
      Parameters:
      id - id (required)
      Returns:
      InlineResponse20013
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCompanyWithHttpInfo

      public ApiResponse<InlineResponse20013> getCompanyWithHttpInfo(BigDecimal id) throws ApiException
      returns a company record
      Parameters:
      id - id (required)
      Returns:
      ApiResponse<InlineResponse20013>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCompanyAsync

      public okhttp3.Call getCompanyAsync(BigDecimal id, ApiCallback<InlineResponse20013> callback) throws ApiException
      (asynchronously) returns a company record
      Parameters:
      id - id (required)
      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
    • getCompanyTypesCall

      public okhttp3.Call getCompanyTypesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getCompanyTypes
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getCompanyTypes

      public InlineResponse20012 getCompanyTypes() throws ApiException
      returns all company type records
      Returns:
      InlineResponse20012
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCompanyTypesWithHttpInfo

      public ApiResponse<InlineResponse20012> getCompanyTypesWithHttpInfo() throws ApiException
      returns all company type records
      Returns:
      ApiResponse<InlineResponse20012>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCompanyTypesAsync

      public okhttp3.Call getCompanyTypesAsync(ApiCallback<InlineResponse20012> callback) throws ApiException
      (asynchronously) returns all company type records
      Parameters:
      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