Package video.api.client.api.clients
Class CaptionsApi.APIlistRequest
- java.lang.Object
-
- video.api.client.api.clients.CaptionsApi.APIlistRequest
-
- Enclosing class:
- CaptionsApi
public class CaptionsApi.APIlistRequest extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.CallbuildCall(ApiCallback _callback)Build call for listCaptionsApi.APIlistRequestcurrentPage(Integer currentPage)Set currentPagePage<Caption>execute()Execute list requestokhttp3.CallexecuteAsync(ApiCallback<Page<Caption>> _callback)Execute list request (asynchronously)ApiResponse<CaptionsListResponse>executeWithHttpInfo()Execute list request with HTTP info returnedCaptionsApi.APIlistRequestpageSize(Integer pageSize)Set pageSize
-
-
-
Method Detail
-
currentPage
public CaptionsApi.APIlistRequest currentPage(Integer currentPage)
Set currentPage- Parameters:
currentPage- Choose the number of search results to return per page. Minimum value: 1 (optional, default to 1)- Returns:
- APIlistRequest
-
pageSize
public CaptionsApi.APIlistRequest pageSize(Integer pageSize)
Set pageSize- Parameters:
pageSize- Results per page. Allowed values 1-100, default is 25. (optional, default to 25)- Returns:
- APIlistRequest
-
buildCall
public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
Build call for list- Parameters:
_callback- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 404 Not Found -
-
execute
public Page<Caption> execute() throws ApiException
Execute list request- Returns:
- CaptionsListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 404 Not Found -
-
executeWithHttpInfo
public ApiResponse<CaptionsListResponse> executeWithHttpInfo() throws ApiException
Execute list request with HTTP info returned- Returns:
- ApiResponse<CaptionsListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 404 Not Found -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<Page<Caption>> _callback) throws ApiException
Execute list request (asynchronously)- 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- Http Response Details:
Status Code Description Response Headers 200 Success - 404 Not Found -
-
-