using System; using System.Collections.Generic; using Wino.Core.Domain.Enums; namespace Wino.Core.Domain.Models.Synchronization; public class CalendarSynchronizationOptions { /// /// Unique id of synchronization. /// public Guid Id { get; } = Guid.NewGuid(); /// /// Account to execute synchronization for. /// public Guid AccountId { get; set; } /// /// Type of the synchronization to be performed. /// public CalendarSynchronizationType Type { get; set; } /// /// Calendar ids to synchronize. /// public List SynchronizationCalendarIds { get; set; } public override string ToString() => $"Type: {Type}, Calendars: {(SynchronizationCalendarIds == null ? "All" : string.Join(",", SynchronizationCalendarIds))}"; }