-
Notifications
You must be signed in to change notification settings - Fork 240
/
AccessReviewHistoryDefinition.cs
103 lines (86 loc) · 4.59 KB
/
AccessReviewHistoryDefinition.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>
// Template Source: EntityType.cs.tt
namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;
/// <summary>
/// The type Access Review History Definition.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessReviewHistoryDefinition>))]
public partial class AccessReviewHistoryDefinition : Entity
{
/// <summary>
/// Gets or sets created by.
/// User who created this review history definition.
/// </summary>
[JsonPropertyName("createdBy")]
public UserIdentity CreatedBy { get; set; }
/// <summary>
/// Gets or sets created date time.
/// Timestamp when the access review definition was created.
/// </summary>
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }
/// <summary>
/// Gets or sets decisions.
/// Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified.
/// </summary>
[JsonPropertyName("decisions")]
public IEnumerable<AccessReviewHistoryDecisionFilter> Decisions { get; set; }
/// <summary>
/// Gets or sets display name.
/// Name for the access review history data collection. Required.
/// </summary>
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets review history period end date time.
/// A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined.
/// </summary>
[JsonPropertyName("reviewHistoryPeriodEndDateTime")]
public DateTimeOffset? ReviewHistoryPeriodEndDateTime { get; set; }
/// <summary>
/// Gets or sets review history period start date time.
/// A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined.
/// </summary>
[JsonPropertyName("reviewHistoryPeriodStartDateTime")]
public DateTimeOffset? ReviewHistoryPeriodStartDateTime { get; set; }
/// <summary>
/// Gets or sets schedule settings.
/// The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet.
/// </summary>
[JsonPropertyName("scheduleSettings")]
public AccessReviewHistoryScheduleSettings ScheduleSettings { get; set; }
/// <summary>
/// Gets or sets scopes.
/// Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.
/// </summary>
[JsonPropertyName("scopes")]
public IEnumerable<AccessReviewScope> Scopes { get; set; }
/// <summary>
/// Gets or sets status.
/// Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue.
/// </summary>
[JsonPropertyName("status")]
public AccessReviewHistoryStatus? Status { get; set; }
/// <summary>
/// Gets or sets instances.
/// If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.
/// </summary>
[JsonPropertyName("instances")]
public IAccessReviewHistoryDefinitionInstancesCollectionPage Instances { get; set; }
/// <summary>
/// Gets or sets instancesNextLink.
/// </summary>
[JsonPropertyName("instances@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string InstancesNextLink { get; set; }
}
}