public class Mirror.Timeline.Attachments.Delete extends MirrorRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Mirror.Timeline.Attachments.Delete(String itemId,
String attachmentId)
Deletes an attachment from a timeline item.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttachmentId()
The ID of the attachment.
|
String |
getItemId()
The ID of the timeline item the attachment belongs to.
|
Mirror.Timeline.Attachments.Delete |
set(String parameterName,
Object value) |
Mirror.Timeline.Attachments.Delete |
setAlt(String alt)
Data format for the response.
|
Mirror.Timeline.Attachments.Delete |
setAttachmentId(String attachmentId)
The ID of the attachment.
|
Mirror.Timeline.Attachments.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Mirror.Timeline.Attachments.Delete |
setItemId(String itemId)
The ID of the timeline item the attachment belongs to.
|
Mirror.Timeline.Attachments.Delete |
setKey(String key)
API key.
|
Mirror.Timeline.Attachments.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Mirror.Timeline.Attachments.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Mirror.Timeline.Attachments.Delete |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Mirror.Timeline.Attachments.Delete |
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, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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.Delete(String itemId, String attachmentId)
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 the attachment belongs to.attachmentId - The ID of the attachment.public Mirror.Timeline.Attachments.Delete setAlt(String alt)
MirrorRequestsetAlt in class MirrorRequest<Void>public Mirror.Timeline.Attachments.Delete setFields(String fields)
MirrorRequestsetFields in class MirrorRequest<Void>public Mirror.Timeline.Attachments.Delete setKey(String key)
MirrorRequestsetKey in class MirrorRequest<Void>public Mirror.Timeline.Attachments.Delete setOauthToken(String oauthToken)
MirrorRequestsetOauthToken in class MirrorRequest<Void>public Mirror.Timeline.Attachments.Delete setPrettyPrint(Boolean prettyPrint)
MirrorRequestsetPrettyPrint in class MirrorRequest<Void>public Mirror.Timeline.Attachments.Delete setQuotaUser(String quotaUser)
MirrorRequestsetQuotaUser in class MirrorRequest<Void>public Mirror.Timeline.Attachments.Delete setUserIp(String userIp)
MirrorRequestsetUserIp in class MirrorRequest<Void>public String getItemId()
public Mirror.Timeline.Attachments.Delete setItemId(String itemId)
public String getAttachmentId()
public Mirror.Timeline.Attachments.Delete setAttachmentId(String attachmentId)
public Mirror.Timeline.Attachments.Delete set(String parameterName, Object value)
set in class MirrorRequest<Void>