Package video.api.client.api.clients
Class RawStatisticsApi.APIlistVideoSessionsRequest
- java.lang.Object
-
- video.api.client.api.clients.RawStatisticsApi.APIlistVideoSessionsRequest
-
- Enclosing class:
- RawStatisticsApi
public class RawStatisticsApi.APIlistVideoSessionsRequest extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.CallbuildCall(ApiCallback _callback)Build call for listVideoSessionsRawStatisticsApi.APIlistVideoSessionsRequestcurrentPage(Integer currentPage)Set currentPagePage<VideoSession>execute()Execute listVideoSessions requestokhttp3.CallexecuteAsync(ApiCallback<Page<VideoSession>> _callback)Execute listVideoSessions request (asynchronously)ApiResponse<RawStatisticsListSessionsResponse>executeWithHttpInfo()Execute listVideoSessions request with HTTP info returnedRawStatisticsApi.APIlistVideoSessionsRequestmetadata(Map<String,String> metadata)Set metadataRawStatisticsApi.APIlistVideoSessionsRequestpageSize(Integer pageSize)Set pageSize
-
-
-
Method Detail
-
metadata
public RawStatisticsApi.APIlistVideoSessionsRequest metadata(Map<String,String> metadata)
Set metadata- Parameters:
metadata- Metadata and [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) filter. Send an array of key value pairs you want to filter sessios with. (optional)- Returns:
- APIlistVideoSessionsRequest
-
currentPage
public RawStatisticsApi.APIlistVideoSessionsRequest 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:
- APIlistVideoSessionsRequest
-
pageSize
public RawStatisticsApi.APIlistVideoSessionsRequest pageSize(Integer pageSize)
Set pageSize- Parameters:
pageSize- Results per page. Allowed values 1-100, default is 25. (optional, default to 25)- Returns:
- APIlistVideoSessionsRequest
-
buildCall
public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
Build call for listVideoSessions- 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<VideoSession> execute() throws ApiException
Execute listVideoSessions request- Returns:
- RawStatisticsListSessionsResponse
- 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<RawStatisticsListSessionsResponse> executeWithHttpInfo() throws ApiException
Execute listVideoSessions request with HTTP info returned- Returns:
- ApiResponse<RawStatisticsListSessionsResponse>
- 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<VideoSession>> _callback) throws ApiException
Execute listVideoSessions 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 -
-
-