// // CalendarListEntry.cs // // Author: // Paul Schneider // // Copyright (c) 2014 Paul Schneider // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program. If not, see . using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Threading; using System.Web.Mvc; using System.Configuration; using System.Threading.Tasks; using System.Text; using System.Net; using System.IO; using Yavsc.Model; namespace Yavsc.Model.Google { /// /// Calendar list entry. /// public class CalendarListEntry { /// /// Gets or sets the kind. /// /// The kind. public string kind { get; set;} /// /// Gets or sets the etag. /// /// The etag. public string etag { get; set; } /// /// Gets or sets the identifier. /// /// The identifier. public string id { get; set; } /// /// Gets or sets the summary. /// /// The summary. public string summary { get; set; } /// /// Gets or sets the description. /// /// The description. public string description { get; set; } /// /// Gets or sets the time zone. /// /// The time zone. public string timeZone { get; set; } /// /// Gets or sets the color identifier. /// /// The color identifier. public string colorId { get; set; } /// /// Gets or sets the color of the background. /// /// The color of the background. public string backgroundColor { get; set; } /// /// Gets or sets the color of the foreground. /// /// The color of the foreground. public string foregroundColor { get; set; } /// /// Gets or sets a value indicating whether this is selected. /// /// true if selected; otherwise, false. public bool selected { get; set; } /// /// Gets or sets a value indicating whether this is primary. /// /// true if primary; otherwise, false. public bool primary { get; set; } /// /// Gets or sets the access role. /// /// The access role. public string accessRole { get; set; } /// /// Reminder. /// /// /// Gets or sets the default reminders. /// /// The default reminders. public Reminder[] defaultReminders { get; set; } /* "notificationSettings": { "notifications": [ { "type": "eventCreation", "method": "email" }, { "type": "eventChange", "method": "email" }, { "type": "eventCancellation", "method": "email" }, { "type": "eventResponse", "method": "email" } ] }, "primary": true }, */ } public class Reminder { /// /// Gets or sets the method. /// /// The method. public string method { get; set; } /// /// Gets or sets the minutes. /// /// The minutes. public int minutes { get; set; } } }