public final class EventAttachment
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Calendar API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
EventAttachment() |
Modifier and Type | Method and Description |
---|---|
EventAttachment |
clone() |
java.lang.String |
getFileId()
ID of the attached file.
|
java.lang.String |
getFileUrl()
URL link to the attachment.
|
java.lang.String |
getIconLink()
URL link to the attachment's icon.
|
java.lang.String |
getMimeType()
Internet media type (MIME type) of the attachment.
|
java.lang.String |
getTitle()
Attachment title.
|
EventAttachment |
set(java.lang.String fieldName,
java.lang.Object value) |
EventAttachment |
setFileId(java.lang.String fileId)
ID of the attached file.
|
EventAttachment |
setFileUrl(java.lang.String fileUrl)
URL link to the attachment.
|
EventAttachment |
setIconLink(java.lang.String iconLink)
URL link to the attachment's icon.
|
EventAttachment |
setMimeType(java.lang.String mimeType)
Internet media type (MIME type) of the attachment.
|
EventAttachment |
setTitle(java.lang.String title)
Attachment title.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getFileId()
null
for nonepublic EventAttachment setFileId(java.lang.String fileId)
fileId
- fileId or null
for nonepublic java.lang.String getFileUrl()
null
for nonepublic EventAttachment setFileUrl(java.lang.String fileUrl)
fileUrl
- fileUrl or null
for nonepublic java.lang.String getIconLink()
null
for nonepublic EventAttachment setIconLink(java.lang.String iconLink)
iconLink
- iconLink or null
for nonepublic java.lang.String getMimeType()
null
for nonepublic EventAttachment setMimeType(java.lang.String mimeType)
mimeType
- mimeType or null
for nonepublic java.lang.String getTitle()
null
for nonepublic EventAttachment setTitle(java.lang.String title)
title
- title or null
for nonepublic EventAttachment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public EventAttachment clone()
clone
in class com.google.api.client.json.GenericJson