-
Notifications
You must be signed in to change notification settings - Fork 185
/
EventRecurrencePatternOptions.cs
47 lines (39 loc) · 1.09 KB
/
EventRecurrencePatternOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
namespace PnP.Core.Model.Teams
{
/// <summary>
/// Options that can be set for the recurrence pattern
/// </summary>
public class EventRecurrencePatternOptions
{
/// <summary>
/// Type of recurrence
/// </summary>
public EventRecurrenceType Type { get; set; }
/// <summary>
/// Interval
/// </summary>
public int Interval { get; set; }
/// <summary>
/// Month
/// </summary>
public int Month { get; set; }
/// <summary>
/// Day of the month
/// </summary>
public int DayOfMonth { get; set; }
/// <summary>
/// Days of week of the recurrence event
/// </summary>
public List<DayOfWeek> DaysOfWeek { get; set; }
/// <summary>
/// First day of week
/// </summary>
public DayOfWeek FirstDayOfWeek { get; set; } = DayOfWeek.Sunday;
/// <summary>
/// Index
/// </summary>
public EventWeekIndex Index { get; set; }
}
}