Package video.api.client.api.clients
Class ChaptersApi.APIlistRequest
java.lang.Object
video.api.client.api.clients.ChaptersApi.APIlistRequest
- Enclosing class:
- ChaptersApi
public class ChaptersApi.APIlistRequest
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description okhttp3.CallbuildCall(ApiCallback _callback)Build call for listChaptersApi.APIlistRequestcurrentPage(java.lang.Integer currentPage)Set currentPagePage<Chapter>execute()Execute list requestApiResponse<ChaptersListResponse>executeWithHttpInfo()Execute list request with HTTP info returnedChaptersApi.APIlistRequestpageSize(java.lang.Integer pageSize)Set pageSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
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
Set pageSize- Parameters:
pageSize- Results per page. Allowed values 1-100, default is 25. (optional, default to 25)- Returns:
- APIlistRequest
-
buildCall
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
Execute list request- Returns:
- ChaptersListResponse
- 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
Execute list request with HTTP info returned- Returns:
- ApiResponse<ChaptersListResponse>
- 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 -
-