public class YouTube.Members.List extends YouTubeRequest<MemberListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String part)
Lists members for a channel.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getHasAccessToLevel()
The hasAccessToLevel parameter specifies, when set, the ID of a pricing level that members from the
results set should have access to.
|
Long |
getMaxResults()
The maxResults parameter specifies the maximum number of items that should be returned in the
result set.
|
String |
getMode()
The mode parameter specifies which channel members to return.
|
String |
getPageToken()
The pageToken parameter identifies a specific page in the result set that should be returned.
|
String |
getPart()
The part parameter specifies the member resource parts that the API response will include.
|
YouTube.Members.List |
set(String parameterName,
Object value) |
YouTube.Members.List |
setAlt(String alt)
Data format for the response.
|
YouTube.Members.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.Members.List |
setHasAccessToLevel(String hasAccessToLevel)
The hasAccessToLevel parameter specifies, when set, the ID of a pricing level that members
from the results set should have access to.
|
YouTube.Members.List |
setKey(String key)
API key.
|
YouTube.Members.List |
setMaxResults(Long maxResults)
The maxResults parameter specifies the maximum number of items that should be returned in
the result set.
|
YouTube.Members.List |
setMode(String mode)
The mode parameter specifies which channel members to return.
|
YouTube.Members.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.Members.List |
setPageToken(String pageToken)
The pageToken parameter identifies a specific page in the result set that should be
returned.
|
YouTube.Members.List |
setPart(String part)
The part parameter specifies the member resource parts that the API response will include.
|
YouTube.Members.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.Members.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.Members.List |
setUserIp(String userIp)
Deprecated.
|
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected List(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 the member resource parts that the API response will include. Supported
values are id and snippet.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<MemberListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<MemberListResponse>IOExceptionpublic YouTube.Members.List setAlt(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<MemberListResponse>public YouTube.Members.List setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<MemberListResponse>public YouTube.Members.List setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<MemberListResponse>public YouTube.Members.List setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<MemberListResponse>public YouTube.Members.List setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<MemberListResponse>public YouTube.Members.List setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<MemberListResponse>public YouTube.Members.List setUserIp(String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<MemberListResponse>public String getPart()
public YouTube.Members.List setPart(String part)
public String getHasAccessToLevel()
public YouTube.Members.List setHasAccessToLevel(String hasAccessToLevel)
public Long getMaxResults()
public YouTube.Members.List setMaxResults(Long maxResults)
public String getMode()
public YouTube.Members.List setMode(String mode)
public String getPageToken()
public YouTube.Members.List setPageToken(String pageToken)
public YouTube.Members.List set(String parameterName, Object value)
set in class YouTubeRequest<MemberListResponse>Copyright © 2011–2019 Google. All rights reserved.