public class YouTube.LiveChatModerators.List extends YouTubeRequest<LiveChatModeratorListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String liveChatId,
String part)
Lists moderators for a live chat.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getLiveChatId()
The liveChatId parameter specifies the YouTube live chat for which the API should return
moderators.
|
Long |
getMaxResults()
The maxResults parameter specifies the maximum number of items that should be returned in the
result set.
|
String |
getPageToken()
The pageToken parameter identifies a specific page in the result set that should be returned.
|
String |
getPart()
The part parameter specifies the liveChatModerator resource parts that the API response will
include.
|
YouTube.LiveChatModerators.List |
set(String parameterName,
Object value) |
YouTube.LiveChatModerators.List |
setAlt(String alt)
Data format for the response.
|
YouTube.LiveChatModerators.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.LiveChatModerators.List |
setKey(String key)
API key.
|
YouTube.LiveChatModerators.List |
setLiveChatId(String liveChatId)
The liveChatId parameter specifies the YouTube live chat for which the API should return
moderators.
|
YouTube.LiveChatModerators.List |
setMaxResults(Long maxResults)
The maxResults parameter specifies the maximum number of items that should be returned in
the result set.
|
YouTube.LiveChatModerators.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.LiveChatModerators.List |
setPageToken(String pageToken)
The pageToken parameter identifies a specific page in the result set that should be
returned.
|
YouTube.LiveChatModerators.List |
setPart(String part)
The part parameter specifies the liveChatModerator resource parts that the API response
will include.
|
YouTube.LiveChatModerators.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.LiveChatModerators.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.LiveChatModerators.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 liveChatId, 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.
liveChatId - The liveChatId parameter specifies the YouTube live chat for which the API should return moderators.part - The part parameter specifies the liveChatModerator resource parts that the API response will
include. Supported values are id and snippet.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<LiveChatModeratorListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<LiveChatModeratorListResponse>IOExceptionpublic YouTube.LiveChatModerators.List setAlt(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setUserIp(String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<LiveChatModeratorListResponse>public String getLiveChatId()
public YouTube.LiveChatModerators.List setLiveChatId(String liveChatId)
public String getPart()
public YouTube.LiveChatModerators.List setPart(String part)
public Long getMaxResults()
public YouTube.LiveChatModerators.List setMaxResults(Long maxResults)
public String getPageToken()
public YouTube.LiveChatModerators.List setPageToken(String pageToken)
public YouTube.LiveChatModerators.List set(String parameterName, Object value)
set in class YouTubeRequest<LiveChatModeratorListResponse>Copyright © 2011–2019 Google. All rights reserved.