Class EventsResource.QuickAddRequest
Creates an event based on a simple text string.
Inheritance
EventsResource.QuickAddRequest
Inherited Members
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class EventsResource.QuickAddRequest : CalendarBaseServiceRequest<Event>, IClientServiceRequest<Event>, IClientServiceRequest
Constructors
QuickAddRequest(IClientService, string, string)
Constructs a new QuickAdd request.
Declaration
public QuickAddRequest(IClientService service, string calendarId, string text)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | calendarId | |
string | text |
Properties
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.
Declaration
[RequestParameter("calendarId", RequestParameterType.Path)]
public virtual string CalendarId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SendNotifications
Deprecated. Please use sendUpdates instead. Whether to send notifications about the creation of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
Declaration
[RequestParameter("sendNotifications", RequestParameterType.Query)]
public virtual bool? SendNotifications { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SendUpdates
Guests who should receive notifications about the creation of the new event.
Declaration
[RequestParameter("sendUpdates", RequestParameterType.Query)]
public virtual EventsResource.QuickAddRequest.SendUpdatesEnum? SendUpdates { get; set; }
Property Value
Type | Description |
---|---|
EventsResource.QuickAddRequest.SendUpdatesEnum? |
Text
The text describing the event to be created.
Declaration
[RequestParameter("text", RequestParameterType.Query)]
public virtual string Text { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes QuickAdd parameter list.
Declaration
protected override void InitParameters()