public class YouTube.PlaylistItems.List extends YouTubeRequest<PlaylistItemListResponse>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
YouTube.PlaylistItems.List(java.lang.String part)
Returns a collection of playlist items that match the API request parameters.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getId()
The id parameter specifies a comma-separated list of one or more unique playlist item IDs.
|
java.lang.Long |
getMaxResults()
The maxResults parameter specifies the maximum number of items that should be returned in the
result set.
|
java.lang.String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
java.lang.String |
getPageToken()
The pageToken parameter identifies a specific page in the result set that should be returned.
|
java.lang.String |
getPart()
The part parameter specifies a comma-separated list of one or more playlistItem resource properties
that the API response will include.
|
java.lang.String |
getPlaylistId()
The playlistId parameter specifies the unique ID of the playlist for which you want to retrieve
playlist items.
|
java.lang.String |
getVideoId()
The videoId parameter specifies that the request should return only the playlist items that contain
the specified video.
|
YouTube.PlaylistItems.List |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.PlaylistItems.List |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.PlaylistItems.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.PlaylistItems.List |
setId(java.lang.String id)
The id parameter specifies a comma-separated list of one or more unique playlist item IDs.
|
YouTube.PlaylistItems.List |
setKey(java.lang.String key)
API key.
|
YouTube.PlaylistItems.List |
setMaxResults(java.lang.Long maxResults)
The maxResults parameter specifies the maximum number of items that should be returned in
the result set.
|
YouTube.PlaylistItems.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.PlaylistItems.List |
setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.PlaylistItems.List |
setPageToken(java.lang.String pageToken)
The pageToken parameter identifies a specific page in the result set that should be
returned.
|
YouTube.PlaylistItems.List |
setPart(java.lang.String part)
The part parameter specifies a comma-separated list of one or more playlistItem resource
properties that the API response will include.
|
YouTube.PlaylistItems.List |
setPlaylistId(java.lang.String playlistId)
The playlistId parameter specifies the unique ID of the playlist for which you want to
retrieve playlist items.
|
YouTube.PlaylistItems.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.PlaylistItems.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.PlaylistItems.List |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
YouTube.PlaylistItems.List |
setVideoId(java.lang.String videoId)
The videoId parameter specifies that the request should return only the playlist items that
contain the specified video.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected YouTube.PlaylistItems.List(java.lang.String part)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. YouTube.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
part - The part parameter specifies a comma-separated list of one or more playlistItem resource properties
that the API response will include.
If the parameter identifies a property that contains
child properties, the child properties will be included in the response. For example, in a
playlistItem resource, the snippet property contains numerous fields, including the title,
description, position, and resourceId properties. As such, if you set part=snippet, the
API response will contain all of those properties.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<PlaylistItemListResponse>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<PlaylistItemListResponse>java.io.IOExceptionpublic YouTube.PlaylistItems.List setAlt(java.lang.String alt)
YouTubeRequestsetAlt in class YouTubeRequest<PlaylistItemListResponse>public YouTube.PlaylistItems.List setFields(java.lang.String fields)
YouTubeRequestsetFields in class YouTubeRequest<PlaylistItemListResponse>public YouTube.PlaylistItems.List setKey(java.lang.String key)
YouTubeRequestsetKey in class YouTubeRequest<PlaylistItemListResponse>public YouTube.PlaylistItems.List setOauthToken(java.lang.String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<PlaylistItemListResponse>public YouTube.PlaylistItems.List setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<PlaylistItemListResponse>public YouTube.PlaylistItems.List setQuotaUser(java.lang.String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<PlaylistItemListResponse>public YouTube.PlaylistItems.List setUserIp(java.lang.String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<PlaylistItemListResponse>public java.lang.String getPart()
public YouTube.PlaylistItems.List setPart(java.lang.String part)
public java.lang.String getId()
public YouTube.PlaylistItems.List setId(java.lang.String id)
public java.lang.Long getMaxResults()
public YouTube.PlaylistItems.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getOnBehalfOfContentOwner()
public YouTube.PlaylistItems.List setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
public java.lang.String getPageToken()
public YouTube.PlaylistItems.List setPageToken(java.lang.String pageToken)
public java.lang.String getPlaylistId()
public YouTube.PlaylistItems.List setPlaylistId(java.lang.String playlistId)
public java.lang.String getVideoId()
public YouTube.PlaylistItems.List setVideoId(java.lang.String videoId)
public YouTube.PlaylistItems.List set(java.lang.String parameterName, java.lang.Object value)
set in class YouTubeRequest<PlaylistItemListResponse>