public class Calendar.Events.QuickAdd extends CalendarRequest<Event>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Calendar.Events.QuickAdd(String calendarId,
String text)
Creates an event based on a simple text string.
|
Modifier and Type | Method and Description |
---|---|
String |
getCalendarId()
Calendar identifier.
|
Boolean |
getSendNotifications()
Whether to send notifications about the creation of the event.
|
String |
getText()
The text describing the event to be created.
|
Calendar.Events.QuickAdd |
set(String parameterName,
Object value) |
Calendar.Events.QuickAdd |
setAlt(String alt)
Data format for the response.
|
Calendar.Events.QuickAdd |
setCalendarId(String calendarId)
Calendar identifier.
|
Calendar.Events.QuickAdd |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.Events.QuickAdd |
setKey(String key)
API key.
|
Calendar.Events.QuickAdd |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.Events.QuickAdd |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.Events.QuickAdd |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Calendar.Events.QuickAdd |
setSendNotifications(Boolean sendNotifications)
Whether to send notifications about the creation of the event.
|
Calendar.Events.QuickAdd |
setText(String text)
The text describing the event to be created.
|
Calendar.Events.QuickAdd |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Calendar.Events.QuickAdd(String calendarId, String text)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Calendar.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
calendarId
- Calendar identifier.text
- The text describing the event to be created.public Calendar.Events.QuickAdd setAlt(String alt)
CalendarRequest
setAlt
in class CalendarRequest<Event>
public Calendar.Events.QuickAdd setFields(String fields)
CalendarRequest
setFields
in class CalendarRequest<Event>
public Calendar.Events.QuickAdd setKey(String key)
CalendarRequest
setKey
in class CalendarRequest<Event>
public Calendar.Events.QuickAdd setOauthToken(String oauthToken)
CalendarRequest
setOauthToken
in class CalendarRequest<Event>
public Calendar.Events.QuickAdd setPrettyPrint(Boolean prettyPrint)
CalendarRequest
setPrettyPrint
in class CalendarRequest<Event>
public Calendar.Events.QuickAdd setQuotaUser(String quotaUser)
CalendarRequest
setQuotaUser
in class CalendarRequest<Event>
public Calendar.Events.QuickAdd setUserIp(String userIp)
CalendarRequest
setUserIp
in class CalendarRequest<Event>
public String getCalendarId()
public Calendar.Events.QuickAdd setCalendarId(String calendarId)
public String getText()
public Calendar.Events.QuickAdd setText(String text)
public Boolean getSendNotifications()
public Calendar.Events.QuickAdd setSendNotifications(Boolean sendNotifications)
public Calendar.Events.QuickAdd set(String parameterName, Object value)
set
in class CalendarRequest<Event>