Class EventsResource.MoveRequest
Moves an event to another calendar, i.e. changes an event's organizer. Note that only default events can be moved; birthday, focusTime, fromGmail, outOfOffice and workingLocation events cannot be moved.
Inheritance
Inherited Members
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class EventsResource.MoveRequest : CalendarBaseServiceRequest<Event>, IClientServiceRequest<Event>, IClientServiceRequest
Constructors
MoveRequest(IClientService, string, string, string)
Constructs a new Move request.
Declaration
public MoveRequest(IClientService service, string calendarId, string eventId, string destination)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | calendarId | |
string | eventId | |
string | destination |
Properties
CalendarId
Calendar identifier of the source calendar where the event currently is on.
Declaration
[RequestParameter("calendarId", RequestParameterType.Path)]
public virtual string CalendarId { get; }
Property Value
Type | Description |
---|---|
string |
Destination
Calendar identifier of the target calendar where the event is to be moved to.
Declaration
[RequestParameter("destination", RequestParameterType.Query)]
public virtual string Destination { get; }
Property Value
Type | Description |
---|---|
string |
EventId
Event identifier.
Declaration
[RequestParameter("eventId", RequestParameterType.Path)]
public virtual string EventId { 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 change of the event's organizer. 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 change of the event's organizer.
Declaration
[RequestParameter("sendUpdates", RequestParameterType.Query)]
public virtual EventsResource.MoveRequest.SendUpdatesEnum? SendUpdates { get; set; }
Property Value
Type | Description |
---|---|
EventsResource.MoveRequest.SendUpdatesEnum? |
Methods
InitParameters()
Initializes Move parameter list.
Declaration
protected override void InitParameters()