public class YouTube.LiveChatModerators.List extends YouTubeRequest<LiveChatModeratorListResponse>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
YouTube.LiveChatModerators.List(java.lang.String liveChatId,
java.lang.String part)
Lists moderators for a live chat.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getLiveChatId()
The liveChatId parameter specifies the YouTube live chat for which the API should return
moderators.
|
java.lang.Long |
getMaxResults()
The maxResults parameter specifies the maximum number of items that should be returned in the
result set.
|
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 the liveChatModerator resource parts that the API response will
include.
|
YouTube.LiveChatModerators.List |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.LiveChatModerators.List |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.LiveChatModerators.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.LiveChatModerators.List |
setKey(java.lang.String key)
API key.
|
YouTube.LiveChatModerators.List |
setLiveChatId(java.lang.String liveChatId)
The liveChatId parameter specifies the YouTube live chat for which the API should return
moderators.
|
YouTube.LiveChatModerators.List |
setMaxResults(java.lang.Long maxResults)
The maxResults parameter specifies the maximum number of items that should be returned in
the result set.
|
YouTube.LiveChatModerators.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.LiveChatModerators.List |
setPageToken(java.lang.String pageToken)
The pageToken parameter identifies a specific page in the result set that should be
returned.
|
YouTube.LiveChatModerators.List |
setPart(java.lang.String part)
The part parameter specifies the liveChatModerator resource parts that the API response
will include.
|
YouTube.LiveChatModerators.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.LiveChatModerators.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.LiveChatModerators.List |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
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.LiveChatModerators.List(java.lang.String liveChatId,
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.
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 com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LiveChatModeratorListResponse>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<LiveChatModeratorListResponse>java.io.IOExceptionpublic YouTube.LiveChatModerators.List setAlt(java.lang.String alt)
YouTubeRequestsetAlt in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setFields(java.lang.String fields)
YouTubeRequestsetFields in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setKey(java.lang.String key)
YouTubeRequestsetKey in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setOauthToken(java.lang.String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setQuotaUser(java.lang.String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<LiveChatModeratorListResponse>public YouTube.LiveChatModerators.List setUserIp(java.lang.String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<LiveChatModeratorListResponse>public java.lang.String getLiveChatId()
public YouTube.LiveChatModerators.List setLiveChatId(java.lang.String liveChatId)
public java.lang.String getPart()
public YouTube.LiveChatModerators.List setPart(java.lang.String part)
public java.lang.Long getMaxResults()
public YouTube.LiveChatModerators.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public YouTube.LiveChatModerators.List setPageToken(java.lang.String pageToken)
public YouTube.LiveChatModerators.List set(java.lang.String parameterName, java.lang.Object value)
set in class YouTubeRequest<LiveChatModeratorListResponse>