Package video.api.client.api.clients
Class VideosApi.APIlistRequest
java.lang.Object
video.api.client.api.clients.VideosApi.APIlistRequest
- Enclosing class:
- VideosApi
public class VideosApi.APIlistRequest
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description okhttp3.CallbuildCall(ApiCallback _callback)Build call for listVideosApi.APIlistRequestcurrentPage(java.lang.Integer currentPage)Set currentPageVideosApi.APIlistRequestdescription(java.lang.String description)Set descriptionPage<Video>execute()Execute list requestApiResponse<VideosListResponse>executeWithHttpInfo()Execute list request with HTTP info returnedVideosApi.APIlistRequestliveStreamId(java.lang.String liveStreamId)Set liveStreamIdVideosApi.APIlistRequestmetadata(java.util.List<java.lang.String> metadata)Set metadataVideosApi.APIlistRequestpageSize(java.lang.Integer pageSize)Set pageSizeVideosApi.APIlistRequestsortBy(java.lang.String sortBy)Set sortByVideosApi.APIlistRequestsortOrder(java.lang.String sortOrder)Set sortOrderVideosApi.APIlistRequesttags(java.util.List<java.lang.String> tags)Set tagsVideosApi.APIlistRequesttitle(java.lang.String title)Set titleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
title
Set title- Parameters:
title- The title of a specific video you want to find. The search will match exactly to what term you provide and return any videos that contain the same term as part of their titles. (optional)- Returns:
- APIlistRequest
-
tags
Set tags- Parameters:
tags- A tag is a category you create and apply to videos. You can search for videos with particular tags by listing one or more here. Only videos that have all the tags you list will be returned. (optional)- Returns:
- APIlistRequest
-
metadata
Set metadata- Parameters:
metadata- Videos can be tagged with metadata tags in key:value pairs. You can search for videos with specific key value pairs using this parameter. (optional)- Returns:
- APIlistRequest
-
description
Set description- Parameters:
description- If you described a video with a term or sentence, you can add it here to return videos containing this string. (optional)- Returns:
- APIlistRequest
-
liveStreamId
Set liveStreamId- Parameters:
liveStreamId- If you know the ID for a live stream, you can retrieve the stream by adding the ID for it here. (optional)- Returns:
- APIlistRequest
-
sortBy
Set sortBy- Parameters:
sortBy- Allowed: publishedAt, title. You can search by the time videos were published at, or by title. (optional)- Returns:
- APIlistRequest
-
sortOrder
Set sortOrder- Parameters:
sortOrder- Allowed: asc, desc. asc is ascending and sorts from A to Z. desc is descending and sorts from Z to A. (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 - 400 Bad Request -
-
execute
Execute list request- Returns:
- VideosListResponse
- 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 - 400 Bad Request -
-
executeWithHttpInfo
Execute list request with HTTP info returned- Returns:
- ApiResponse<VideosListResponse>
- 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 - 400 Bad Request -
-