Package video.api.client.api.clients
Class LiveStreamsApi.APIlistRequest
java.lang.Object
video.api.client.api.clients.LiveStreamsApi.APIlistRequest
- Enclosing class:
- LiveStreamsApi
public class LiveStreamsApi.APIlistRequest
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description okhttp3.CallbuildCall(ApiCallback _callback)Build call for listLiveStreamsApi.APIlistRequestcurrentPage(java.lang.Integer currentPage)Set currentPagePage<LiveStream>execute()Execute list requestApiResponse<LiveStreamListResponse>executeWithHttpInfo()Execute list request with HTTP info returnedLiveStreamsApi.APIlistRequestname(java.lang.String name)Set nameLiveStreamsApi.APIlistRequestpageSize(java.lang.Integer pageSize)Set pageSizeLiveStreamsApi.APIlistRequestsortBy(java.lang.String sortBy)Set sortByLiveStreamsApi.APIlistRequestsortOrder(java.lang.String sortOrder)Set sortOrderLiveStreamsApi.APIlistRequeststreamKey(java.lang.String streamKey)Set streamKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
streamKey
Set streamKey- Parameters:
streamKey- The unique stream key that allows you to stream videos. (optional)- Returns:
- APIlistRequest
-
name
Set name- Parameters:
name- You can filter live streams by their name or a part of their name. (optional)- Returns:
- APIlistRequest
-
sortBy
Set sortBy- Parameters:
sortBy- Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format. (optional)- Returns:
- APIlistRequest
-
sortOrder
Set sortOrder- Parameters:
sortOrder- Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending. (optional)- Returns:
- APIlistRequest
-
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 -
-
execute
Execute list request- Returns:
- LiveStreamListResponse
- 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 -
-
executeWithHttpInfo
Execute list request with HTTP info returned- Returns:
- ApiResponse<LiveStreamListResponse>
- 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 -
-