-
Notifications
You must be signed in to change notification settings - Fork 240
/
Agreement.cs
91 lines (76 loc) · 4.31 KB
/
Agreement.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
// ------------------------------------------------------------------------------
// 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.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// The type Agreement.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class Agreement : Entity
{
///<summary>
/// The Agreement constructor
///</summary>
public Agreement()
{
this.ODataType = "microsoft.graph.agreement";
}
/// <summary>
/// Gets or sets display name.
/// Display name of the agreement. The display name is used for internal tracking of the agreement but is not shown to end users who view the agreement.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets is per device acceptance required.
/// This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Azure AD, if they haven't already done so.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isPerDeviceAcceptanceRequired", Required = Newtonsoft.Json.Required.Default)]
public bool? IsPerDeviceAcceptanceRequired { get; set; }
/// <summary>
/// Gets or sets is viewing before acceptance required.
/// Indicates whether the user has to expand the agreement before accepting.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isViewingBeforeAcceptanceRequired", Required = Newtonsoft.Json.Required.Default)]
public bool? IsViewingBeforeAcceptanceRequired { get; set; }
/// <summary>
/// Gets or sets terms expiration.
/// Expiration schedule and frequency of agreement for all users.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "termsExpiration", Required = Newtonsoft.Json.Required.Default)]
public TermsExpiration TermsExpiration { get; set; }
/// <summary>
/// Gets or sets user reaccept required frequency.
/// The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for durations.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userReacceptRequiredFrequency", Required = Newtonsoft.Json.Required.Default)]
public Duration UserReacceptRequiredFrequency { get; set; }
/// <summary>
/// Gets or sets acceptances.
/// Read-only. Information about acceptances of this agreement.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "acceptances", Required = Newtonsoft.Json.Required.Default)]
public IAgreementAcceptancesCollectionPage Acceptances { get; set; }
/// <summary>
/// Gets or sets file.
/// Default PDF linked to this agreement.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "file", Required = Newtonsoft.Json.Required.Default)]
public AgreementFile File { get; set; }
/// <summary>
/// Gets or sets files.
/// PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "files", Required = Newtonsoft.Json.Required.Default)]
public IAgreementFilesCollectionPage Files { get; set; }
}
}