public static CalendarListResource.PatchRequest SetColor(this CalendarListResource calendarList, string calendarId, string color)
        {
            var calListEntry = new CalendarListEntry {
                BackgroundColor = color
            };
            var setColourRequest = calendarList.Patch(calListEntry, calendarId);

            setColourRequest.ColorRgbFormat = true;
            return(setColourRequest);
        }
 public static CalendarListResource.PatchRequest SetColor(this CalendarListResource calendarList, string calendarId, string colorId)
 => calendarList.Patch(new CalendarListEntry {
     ColorId = colorId
 }, calendarId);