Package com.amilesend.tvdb.client.api
Class CompaniesApi
java.lang.Object
com.amilesend.tvdb.client.api.CompaniesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllCompanies
(BigDecimal page) returns a paginated list of company recordsokhttp3.Call
getAllCompaniesAsync
(BigDecimal page, ApiCallback<InlineResponse20011> callback) (asynchronously) returns a paginated list of company recordsokhttp3.Call
getAllCompaniesCall
(BigDecimal page, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAllCompaniesreturns a paginated list of company recordsgetCompany
(BigDecimal id) returns a company recordokhttp3.Call
getCompanyAsync
(BigDecimal id, ApiCallback<InlineResponse20013> callback) (asynchronously) returns a company recordokhttp3.Call
getCompanyCall
(BigDecimal id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getCompanyreturns all company type recordsokhttp3.Call
getCompanyTypesAsync
(ApiCallback<InlineResponse20012> callback) (asynchronously) returns all company type recordsokhttp3.Call
getCompanyTypesCall
(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getCompanyTypesreturns all company type recordsreturns a company recordvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
CompaniesApi
public CompaniesApi() -
CompaniesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getAllCompanies
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 listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getCompany
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
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 listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getCompanyTypes
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
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
-