public class Calendar.Events.Insert extends CalendarRequest<Event>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Insert(java.lang.String calendarId,
Event content)
Creates an event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCalendarId()
Calendar identifier.
|
java.lang.Integer |
getConferenceDataVersion()
Version number of conference data supported by the API client.
|
java.lang.Integer |
getMaxAttendees()
The maximum number of attendees to include in the response.
|
java.lang.Boolean |
getSendNotifications()
Deprecated.
|
java.lang.String |
getSendUpdates()
Whether to send notifications about the creation of the new event.
|
java.lang.Boolean |
getSupportsAttachments()
Whether API client performing operation supports event attachments.
|
Calendar.Events.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
Calendar.Events.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
Calendar.Events.Insert |
setCalendarId(java.lang.String calendarId)
Calendar identifier.
|
Calendar.Events.Insert |
setConferenceDataVersion(java.lang.Integer conferenceDataVersion)
Version number of conference data supported by the API client.
|
Calendar.Events.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.Events.Insert |
setKey(java.lang.String key)
API key.
|
Calendar.Events.Insert |
setMaxAttendees(java.lang.Integer maxAttendees)
The maximum number of attendees to include in the response.
|
Calendar.Events.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.Events.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.Events.Insert |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Calendar.Events.Insert |
setSendNotifications(java.lang.Boolean sendNotifications)
Deprecated.
|
Calendar.Events.Insert |
setSendUpdates(java.lang.String sendUpdates)
Whether to send notifications about the creation of the new event.
|
Calendar.Events.Insert |
setSupportsAttachments(java.lang.Boolean supportsAttachments)
Whether API client performing operation supports event attachments.
|
Calendar.Events.Insert |
setUserIp(java.lang.String userIp)
Deprecated.
|
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 Insert(java.lang.String calendarId, Event content)
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. To retrieve calendar IDs call the calendarList.list method. If you want to
access the primary calendar of the currently logged in user, use the "primary" keyword.content
- the Event
public Calendar.Events.Insert setAlt(java.lang.String alt)
CalendarRequest
setAlt
in class CalendarRequest<Event>
public Calendar.Events.Insert setFields(java.lang.String fields)
CalendarRequest
setFields
in class CalendarRequest<Event>
public Calendar.Events.Insert setKey(java.lang.String key)
CalendarRequest
setKey
in class CalendarRequest<Event>
public Calendar.Events.Insert setOauthToken(java.lang.String oauthToken)
CalendarRequest
setOauthToken
in class CalendarRequest<Event>
public Calendar.Events.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
CalendarRequest
setPrettyPrint
in class CalendarRequest<Event>
public Calendar.Events.Insert setQuotaUser(java.lang.String quotaUser)
CalendarRequest
setQuotaUser
in class CalendarRequest<Event>
public Calendar.Events.Insert setUserIp(java.lang.String userIp)
CalendarRequest
setUserIp
in class CalendarRequest<Event>
public java.lang.String getCalendarId()
public Calendar.Events.Insert setCalendarId(java.lang.String calendarId)
public java.lang.Integer getConferenceDataVersion()
public Calendar.Events.Insert setConferenceDataVersion(java.lang.Integer conferenceDataVersion)
public java.lang.Integer getMaxAttendees()
public Calendar.Events.Insert setMaxAttendees(java.lang.Integer maxAttendees)
public java.lang.Boolean getSendNotifications()
public Calendar.Events.Insert setSendNotifications(java.lang.Boolean sendNotifications)
public java.lang.String getSendUpdates()
public Calendar.Events.Insert setSendUpdates(java.lang.String sendUpdates)
public java.lang.Boolean getSupportsAttachments()
public Calendar.Events.Insert setSupportsAttachments(java.lang.Boolean supportsAttachments)
public Calendar.Events.Insert set(java.lang.String parameterName, java.lang.Object value)
set
in class CalendarRequest<Event>