forked from microsoftgraph/msgraph-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccessReviewScheduleSettings.java
More file actions
143 lines (122 loc) · 5.43 KB
/
Copy pathAccessReviewScheduleSettings.java
File metadata and controls
143 lines (122 loc) · 5.43 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.AccessReviewApplyAction;
import com.microsoft.graph.models.PatternedRecurrence;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Access Review Schedule Settings.
*/
public class AccessReviewScheduleSettings implements IJsonBackedObject {
/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}
/**
* The Apply Actions.
* Optional field. Describes the actions to take once a review is complete. There are two types that are currently supported: removeAccessApplyAction (default) and disableAndDeleteUserApplyAction. Field only needs to be specified in the case of disableAndDeleteUserApplyAction.
*/
@SerializedName(value = "applyActions", alternate = {"ApplyActions"})
@Expose
@Nullable
public java.util.List<AccessReviewApplyAction> applyActions;
/**
* The Auto Apply Decisions Enabled.
* Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false.
*/
@SerializedName(value = "autoApplyDecisionsEnabled", alternate = {"AutoApplyDecisionsEnabled"})
@Expose
@Nullable
public Boolean autoApplyDecisionsEnabled;
/**
* The Default Decision.
* Decision chosen if defaultDecisionEnabled is true. Can be one of Approve, Deny, or Recommendation.
*/
@SerializedName(value = "defaultDecision", alternate = {"DefaultDecision"})
@Expose
@Nullable
public String defaultDecision;
/**
* The Default Decision Enabled.
* Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false.
*/
@SerializedName(value = "defaultDecisionEnabled", alternate = {"DefaultDecisionEnabled"})
@Expose
@Nullable
public Boolean defaultDecisionEnabled;
/**
* The Instance Duration In Days.
* Duration of each recurrence of review (accessReviewInstance) in number of days.
*/
@SerializedName(value = "instanceDurationInDays", alternate = {"InstanceDurationInDays"})
@Expose
@Nullable
public Integer instanceDurationInDays;
/**
* The Justification Required On Approval.
* Indicates whether reviewers are required to provide justification with their decision. Default value is false.
*/
@SerializedName(value = "justificationRequiredOnApproval", alternate = {"JustificationRequiredOnApproval"})
@Expose
@Nullable
public Boolean justificationRequiredOnApproval;
/**
* The Mail Notifications Enabled.
* Indicates whether emails are enabled or disabled. Default value is false.
*/
@SerializedName(value = "mailNotificationsEnabled", alternate = {"MailNotificationsEnabled"})
@Expose
@Nullable
public Boolean mailNotificationsEnabled;
/**
* The Recommendations Enabled.
* Indicates whether decision recommendations are enabled or disabled.
*/
@SerializedName(value = "recommendationsEnabled", alternate = {"RecommendationsEnabled"})
@Expose
@Nullable
public Boolean recommendationsEnabled;
/**
* The Recurrence.
* Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts.
*/
@SerializedName(value = "recurrence", alternate = {"Recurrence"})
@Expose
@Nullable
public PatternedRecurrence recurrence;
/**
* The Reminder Notifications Enabled.
* Indicates whether reminders are enabled or disabled. Default value is false.
*/
@SerializedName(value = "reminderNotificationsEnabled", alternate = {"ReminderNotificationsEnabled"})
@Expose
@Nullable
public Boolean reminderNotificationsEnabled;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
}
}