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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EventAttachment() |
Modifier and Type | Method and Description |
---|---|
EventAttachment |
clone() |
String |
getFileId()
ID of the attached file.
|
String |
getFileUrl()
URL link to the attachment.
|
String |
getIconLink()
URL link to the attachment's icon.
|
String |
getMimeType()
Internet media type (MIME type) of the attachment.
|
String |
getTitle()
Attachment title.
|
EventAttachment |
set(String fieldName,
Object value) |
EventAttachment |
setFileId(String fileId)
ID of the attached file.
|
EventAttachment |
setFileUrl(String fileUrl)
URL link to the attachment.
|
EventAttachment |
setIconLink(String iconLink)
URL link to the attachment's icon.
|
EventAttachment |
setMimeType(String mimeType)
Internet media type (MIME type) of the attachment.
|
EventAttachment |
setTitle(String title)
Attachment title.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getFileId()
null
for nonepublic EventAttachment setFileId(String fileId)
fileId
- fileId or null
for nonepublic String getFileUrl()
null
for nonepublic EventAttachment setFileUrl(String fileUrl)
fileUrl
- fileUrl or null
for nonepublic String getIconLink()
null
for nonepublic EventAttachment setIconLink(String iconLink)
iconLink
- iconLink or null
for nonepublic String getMimeType()
null
for nonepublic EventAttachment setMimeType(String mimeType)
mimeType
- mimeType or null
for nonepublic String getTitle()
null
for nonepublic EventAttachment setTitle(String title)
title
- title or null
for nonepublic EventAttachment set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public EventAttachment clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.