public class Mirror.Timeline.Attachments.List extends MirrorRequest<AttachmentsListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Mirror.Timeline.Attachments.List(String itemId)
Returns a list of attachments for a timeline item.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getItemId()
The ID of the timeline item whose attachments should be listed.
|
Mirror.Timeline.Attachments.List |
set(String parameterName,
Object value) |
Mirror.Timeline.Attachments.List |
setAlt(String alt)
Data format for the response.
|
Mirror.Timeline.Attachments.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Mirror.Timeline.Attachments.List |
setItemId(String itemId)
The ID of the timeline item whose attachments should be listed.
|
Mirror.Timeline.Attachments.List |
setKey(String key)
API key.
|
Mirror.Timeline.Attachments.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Mirror.Timeline.Attachments.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Mirror.Timeline.Attachments.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Mirror.Timeline.Attachments.List |
setUserIp(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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Mirror.Timeline.Attachments.List(String itemId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Mirror.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
itemId - The ID of the timeline item whose attachments should be listed.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<AttachmentsListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<AttachmentsListResponse>IOExceptionpublic Mirror.Timeline.Attachments.List setAlt(String alt)
MirrorRequestsetAlt in class MirrorRequest<AttachmentsListResponse>public Mirror.Timeline.Attachments.List setFields(String fields)
MirrorRequestsetFields in class MirrorRequest<AttachmentsListResponse>public Mirror.Timeline.Attachments.List setKey(String key)
MirrorRequestsetKey in class MirrorRequest<AttachmentsListResponse>public Mirror.Timeline.Attachments.List setOauthToken(String oauthToken)
MirrorRequestsetOauthToken in class MirrorRequest<AttachmentsListResponse>public Mirror.Timeline.Attachments.List setPrettyPrint(Boolean prettyPrint)
MirrorRequestsetPrettyPrint in class MirrorRequest<AttachmentsListResponse>public Mirror.Timeline.Attachments.List setQuotaUser(String quotaUser)
MirrorRequestsetQuotaUser in class MirrorRequest<AttachmentsListResponse>public Mirror.Timeline.Attachments.List setUserIp(String userIp)
MirrorRequestsetUserIp in class MirrorRequest<AttachmentsListResponse>public String getItemId()
public Mirror.Timeline.Attachments.List setItemId(String itemId)
public Mirror.Timeline.Attachments.List set(String parameterName, Object value)
set in class MirrorRequest<AttachmentsListResponse>