public class YouTube.CommentThreads.List extends YouTubeRequest<CommentThreadListResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
YouTube.CommentThreads.List(java.lang.String part)
Returns a list of comment threads 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 |
getAllThreadsRelatedToChannelId()
The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads
associated with the specified channel.
|
java.lang.String |
getChannelId()
The channelId parameter instructs the API to return comment threads containing comments about the
specified channel.
|
java.lang.String |
getId()
The id parameter specifies a comma-separated list of comment thread IDs for the resources that
should be retrieved.
|
java.lang.Long |
getMaxResults()
The maxResults parameter specifies the maximum number of items that should be returned in the
result set.
|
java.lang.String |
getModerationStatus()
Set this parameter to limit the returned comment threads to a particular moderation state.
|
java.lang.String |
getOrder()
The order parameter specifies the order in which the API response should list comment threads.
|
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 commentThread resource
properties that the API response will include.
|
java.lang.String |
getSearchTerms()
The searchTerms parameter instructs the API to limit the API response to only contain comments that
contain the specified search terms.
|
java.lang.String |
getTextFormat()
Set this parameter's value to html or plainText to instruct the API to return the comments left by
users in html formatted or in plain text.
|
java.lang.String |
getVideoId()
The videoId parameter instructs the API to return comment threads associated with the specified
video ID.
|
YouTube.CommentThreads.List |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.CommentThreads.List |
setAllThreadsRelatedToChannelId(java.lang.String allThreadsRelatedToChannelId)
The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads
associated with the specified channel.
|
YouTube.CommentThreads.List |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.CommentThreads.List |
setChannelId(java.lang.String channelId)
The channelId parameter instructs the API to return comment threads containing comments
about the specified channel.
|
YouTube.CommentThreads.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.CommentThreads.List |
setId(java.lang.String id)
The id parameter specifies a comma-separated list of comment thread IDs for the resources
that should be retrieved.
|
YouTube.CommentThreads.List |
setKey(java.lang.String key)
API key.
|
YouTube.CommentThreads.List |
setMaxResults(java.lang.Long maxResults)
The maxResults parameter specifies the maximum number of items that should be returned in
the result set.
|
YouTube.CommentThreads.List |
setModerationStatus(java.lang.String moderationStatus)
Set this parameter to limit the returned comment threads to a particular moderation state.
|
YouTube.CommentThreads.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.CommentThreads.List |
setOrder(java.lang.String order)
The order parameter specifies the order in which the API response should list comment
threads.
|
YouTube.CommentThreads.List |
setPageToken(java.lang.String pageToken)
The pageToken parameter identifies a specific page in the result set that should be
returned.
|
YouTube.CommentThreads.List |
setPart(java.lang.String part)
The part parameter specifies a comma-separated list of one or more commentThread resource
properties that the API response will include.
|
YouTube.CommentThreads.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.CommentThreads.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.CommentThreads.List |
setSearchTerms(java.lang.String searchTerms)
The searchTerms parameter instructs the API to limit the API response to only contain
comments that contain the specified search terms.
|
YouTube.CommentThreads.List |
setTextFormat(java.lang.String textFormat)
Set this parameter's value to html or plainText to instruct the API to return the comments
left by users in html formatted or in plain text.
|
YouTube.CommentThreads.List |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
YouTube.CommentThreads.List |
setVideoId(java.lang.String videoId)
The videoId parameter instructs the API to return comment threads associated with the
specified video ID.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected YouTube.CommentThreads.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 commentThread resource properties
that the API response will include.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<CommentThreadListResponse>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<CommentThreadListResponse>
java.io.IOException
public YouTube.CommentThreads.List setAlt(java.lang.String alt)
YouTubeRequest
setAlt
in class YouTubeRequest<CommentThreadListResponse>
public YouTube.CommentThreads.List setFields(java.lang.String fields)
YouTubeRequest
setFields
in class YouTubeRequest<CommentThreadListResponse>
public YouTube.CommentThreads.List setKey(java.lang.String key)
YouTubeRequest
setKey
in class YouTubeRequest<CommentThreadListResponse>
public YouTube.CommentThreads.List setOauthToken(java.lang.String oauthToken)
YouTubeRequest
setOauthToken
in class YouTubeRequest<CommentThreadListResponse>
public YouTube.CommentThreads.List setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequest
setPrettyPrint
in class YouTubeRequest<CommentThreadListResponse>
public YouTube.CommentThreads.List setQuotaUser(java.lang.String quotaUser)
YouTubeRequest
setQuotaUser
in class YouTubeRequest<CommentThreadListResponse>
public YouTube.CommentThreads.List setUserIp(java.lang.String userIp)
YouTubeRequest
setUserIp
in class YouTubeRequest<CommentThreadListResponse>
public java.lang.String getPart()
public YouTube.CommentThreads.List setPart(java.lang.String part)
public java.lang.String getSearchTerms()
public YouTube.CommentThreads.List setSearchTerms(java.lang.String searchTerms)
public java.lang.String getAllThreadsRelatedToChannelId()
public YouTube.CommentThreads.List setAllThreadsRelatedToChannelId(java.lang.String allThreadsRelatedToChannelId)
public java.lang.String getChannelId()
public YouTube.CommentThreads.List setChannelId(java.lang.String channelId)
public java.lang.String getVideoId()
public YouTube.CommentThreads.List setVideoId(java.lang.String videoId)
public java.lang.Long getMaxResults()
public YouTube.CommentThreads.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getId()
public YouTube.CommentThreads.List setId(java.lang.String id)
public java.lang.String getPageToken()
public YouTube.CommentThreads.List setPageToken(java.lang.String pageToken)
public java.lang.String getModerationStatus()
public YouTube.CommentThreads.List setModerationStatus(java.lang.String moderationStatus)
public java.lang.String getTextFormat()
public YouTube.CommentThreads.List setTextFormat(java.lang.String textFormat)
public java.lang.String getOrder()
public YouTube.CommentThreads.List setOrder(java.lang.String order)
public YouTube.CommentThreads.List set(java.lang.String parameterName, java.lang.Object value)
set
in class YouTubeRequest<CommentThreadListResponse>