Class CalendarListResource.PatchRequest
Updates an existing calendar on the user's calendar list. This method supports patch semantics.
public class CalendarListResource.PatchRequest : CalendarBaseServiceRequest<CalendarListEntry>
- Inheritance
-
CalendarListResource.PatchRequest
- Inherited Members
Constructors
PatchRequest(IClientService, CalendarListEntry, string)
Constructs a new Patch request.
public PatchRequest(IClientService service, CalendarListEntry body, string calendarId)
Parameters
service
IClientServicebody
CalendarListEntrycalendarId
string
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.
public virtual string CalendarId { get; }
Property Value
ColorRgbFormat
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.
public virtual bool? ColorRgbFormat { get; set; }
Property Value
- bool?
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes Patch parameter list.
protected override void InitParameters()