public class Calendar.CalendarList.Insert extends CalendarRequest<CalendarListEntry>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Calendar.CalendarList.Insert(CalendarListEntry content)
Adds an entry to the user's calendar list.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getColorRgbFormat()
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB).
|
Calendar.CalendarList.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
Calendar.CalendarList.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
Calendar.CalendarList.Insert |
setColorRgbFormat(java.lang.Boolean colorRgbFormat)
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors
(RGB).
|
Calendar.CalendarList.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.CalendarList.Insert |
setKey(java.lang.String key)
API key.
|
Calendar.CalendarList.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.CalendarList.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.CalendarList.Insert |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Calendar.CalendarList.Insert |
setUserIp(java.lang.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
protected Calendar.CalendarList.Insert(CalendarListEntry 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.
content
- the CalendarListEntry
public Calendar.CalendarList.Insert setAlt(java.lang.String alt)
CalendarRequest
setAlt
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Insert setFields(java.lang.String fields)
CalendarRequest
setFields
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Insert setKey(java.lang.String key)
CalendarRequest
setKey
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Insert setOauthToken(java.lang.String oauthToken)
CalendarRequest
setOauthToken
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
CalendarRequest
setPrettyPrint
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Insert setQuotaUser(java.lang.String quotaUser)
CalendarRequest
setQuotaUser
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Insert setUserIp(java.lang.String userIp)
CalendarRequest
setUserIp
in class CalendarRequest<CalendarListEntry>
public java.lang.Boolean getColorRgbFormat()
public Calendar.CalendarList.Insert setColorRgbFormat(java.lang.Boolean colorRgbFormat)
public Calendar.CalendarList.Insert set(java.lang.String parameterName, java.lang.Object value)
set
in class CalendarRequest<CalendarListEntry>