forked from microsoftgraph/msgraph-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidWorkProfileGeneralDeviceConfiguration.java
More file actions
347 lines (304 loc) · 13.6 KB
/
Copy pathAndroidWorkProfileGeneralDeviceConfiguration.java
File metadata and controls
347 lines (304 loc) · 13.6 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
// 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.models.AndroidWorkProfileRequiredPasswordType;
import com.microsoft.graph.models.AndroidWorkProfileCrossProfileDataSharingType;
import com.microsoft.graph.models.AndroidWorkProfileDefaultAppPermissionPolicyType;
import com.microsoft.graph.models.DeviceConfiguration;
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 Android Work Profile General Device Configuration.
*/
public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject {
/**
* The Password Block Fingerprint Unlock.
* Indicates whether or not to block fingerprint unlock.
*/
@SerializedName(value = "passwordBlockFingerprintUnlock", alternate = {"PasswordBlockFingerprintUnlock"})
@Expose
@Nullable
public Boolean passwordBlockFingerprintUnlock;
/**
* The Password Block Trust Agents.
* Indicates whether or not to block Smart Lock and other trust agents.
*/
@SerializedName(value = "passwordBlockTrustAgents", alternate = {"PasswordBlockTrustAgents"})
@Expose
@Nullable
public Boolean passwordBlockTrustAgents;
/**
* The Password Expiration Days.
* Number of days before the password expires. Valid values 1 to 365
*/
@SerializedName(value = "passwordExpirationDays", alternate = {"PasswordExpirationDays"})
@Expose
@Nullable
public Integer passwordExpirationDays;
/**
* The Password Minimum Length.
* Minimum length of passwords. Valid values 4 to 16
*/
@SerializedName(value = "passwordMinimumLength", alternate = {"PasswordMinimumLength"})
@Expose
@Nullable
public Integer passwordMinimumLength;
/**
* The Password Minutes Of Inactivity Before Screen Timeout.
* Minutes of inactivity before the screen times out.
*/
@SerializedName(value = "passwordMinutesOfInactivityBeforeScreenTimeout", alternate = {"PasswordMinutesOfInactivityBeforeScreenTimeout"})
@Expose
@Nullable
public Integer passwordMinutesOfInactivityBeforeScreenTimeout;
/**
* The Password Previous Password Block Count.
* Number of previous passwords to block. Valid values 0 to 24
*/
@SerializedName(value = "passwordPreviousPasswordBlockCount", alternate = {"PasswordPreviousPasswordBlockCount"})
@Expose
@Nullable
public Integer passwordPreviousPasswordBlockCount;
/**
* The Password Required Type.
* Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols.
*/
@SerializedName(value = "passwordRequiredType", alternate = {"PasswordRequiredType"})
@Expose
@Nullable
public AndroidWorkProfileRequiredPasswordType passwordRequiredType;
/**
* The Password Sign In Failure Count Before Factory Reset.
* Number of sign in failures allowed before factory reset. Valid values 1 to 16
*/
@SerializedName(value = "passwordSignInFailureCountBeforeFactoryReset", alternate = {"PasswordSignInFailureCountBeforeFactoryReset"})
@Expose
@Nullable
public Integer passwordSignInFailureCountBeforeFactoryReset;
/**
* The Security Require Verify Apps.
* Require the Android Verify apps feature is turned on.
*/
@SerializedName(value = "securityRequireVerifyApps", alternate = {"SecurityRequireVerifyApps"})
@Expose
@Nullable
public Boolean securityRequireVerifyApps;
/**
* The Work Profile Block Adding Accounts.
* Block users from adding/removing accounts in work profile.
*/
@SerializedName(value = "workProfileBlockAddingAccounts", alternate = {"WorkProfileBlockAddingAccounts"})
@Expose
@Nullable
public Boolean workProfileBlockAddingAccounts;
/**
* The Work Profile Block Camera.
* Block work profile camera.
*/
@SerializedName(value = "workProfileBlockCamera", alternate = {"WorkProfileBlockCamera"})
@Expose
@Nullable
public Boolean workProfileBlockCamera;
/**
* The Work Profile Block Cross Profile Caller Id.
* Block display work profile caller ID in personal profile.
*/
@SerializedName(value = "workProfileBlockCrossProfileCallerId", alternate = {"WorkProfileBlockCrossProfileCallerId"})
@Expose
@Nullable
public Boolean workProfileBlockCrossProfileCallerId;
/**
* The Work Profile Block Cross Profile Contacts Search.
* Block work profile contacts availability in personal profile.
*/
@SerializedName(value = "workProfileBlockCrossProfileContactsSearch", alternate = {"WorkProfileBlockCrossProfileContactsSearch"})
@Expose
@Nullable
public Boolean workProfileBlockCrossProfileContactsSearch;
/**
* The Work Profile Block Cross Profile Copy Paste.
* Boolean that indicates if the setting disallow cross profile copy/paste is enabled.
*/
@SerializedName(value = "workProfileBlockCrossProfileCopyPaste", alternate = {"WorkProfileBlockCrossProfileCopyPaste"})
@Expose
@Nullable
public Boolean workProfileBlockCrossProfileCopyPaste;
/**
* The Work Profile Block Notifications While Device Locked.
* Indicates whether or not to block notifications while device locked.
*/
@SerializedName(value = "workProfileBlockNotificationsWhileDeviceLocked", alternate = {"WorkProfileBlockNotificationsWhileDeviceLocked"})
@Expose
@Nullable
public Boolean workProfileBlockNotificationsWhileDeviceLocked;
/**
* The Work Profile Block Screen Capture.
* Block screen capture in work profile.
*/
@SerializedName(value = "workProfileBlockScreenCapture", alternate = {"WorkProfileBlockScreenCapture"})
@Expose
@Nullable
public Boolean workProfileBlockScreenCapture;
/**
* The Work Profile Bluetooth Enable Contact Sharing.
* Allow bluetooth devices to access enterprise contacts.
*/
@SerializedName(value = "workProfileBluetoothEnableContactSharing", alternate = {"WorkProfileBluetoothEnableContactSharing"})
@Expose
@Nullable
public Boolean workProfileBluetoothEnableContactSharing;
/**
* The Work Profile Data Sharing Type.
* Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions.
*/
@SerializedName(value = "workProfileDataSharingType", alternate = {"WorkProfileDataSharingType"})
@Expose
@Nullable
public AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType;
/**
* The Work Profile Default App Permission Policy.
* Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny.
*/
@SerializedName(value = "workProfileDefaultAppPermissionPolicy", alternate = {"WorkProfileDefaultAppPermissionPolicy"})
@Expose
@Nullable
public AndroidWorkProfileDefaultAppPermissionPolicyType workProfileDefaultAppPermissionPolicy;
/**
* The Work Profile Password Block Fingerprint Unlock.
* Indicates whether or not to block fingerprint unlock for work profile.
*/
@SerializedName(value = "workProfilePasswordBlockFingerprintUnlock", alternate = {"WorkProfilePasswordBlockFingerprintUnlock"})
@Expose
@Nullable
public Boolean workProfilePasswordBlockFingerprintUnlock;
/**
* The Work Profile Password Block Trust Agents.
* Indicates whether or not to block Smart Lock and other trust agents for work profile.
*/
@SerializedName(value = "workProfilePasswordBlockTrustAgents", alternate = {"WorkProfilePasswordBlockTrustAgents"})
@Expose
@Nullable
public Boolean workProfilePasswordBlockTrustAgents;
/**
* The Work Profile Password Expiration Days.
* Number of days before the work profile password expires. Valid values 1 to 365
*/
@SerializedName(value = "workProfilePasswordExpirationDays", alternate = {"WorkProfilePasswordExpirationDays"})
@Expose
@Nullable
public Integer workProfilePasswordExpirationDays;
/**
* The Work Profile Password Minimum Length.
* Minimum length of work profile password. Valid values 4 to 16
*/
@SerializedName(value = "workProfilePasswordMinimumLength", alternate = {"WorkProfilePasswordMinimumLength"})
@Expose
@Nullable
public Integer workProfilePasswordMinimumLength;
/**
* The Work Profile Password Min Letter Characters.
* Minimum # of letter characters required in work profile password. Valid values 1 to 10
*/
@SerializedName(value = "workProfilePasswordMinLetterCharacters", alternate = {"WorkProfilePasswordMinLetterCharacters"})
@Expose
@Nullable
public Integer workProfilePasswordMinLetterCharacters;
/**
* The Work Profile Password Min Lower Case Characters.
* Minimum # of lower-case characters required in work profile password. Valid values 1 to 10
*/
@SerializedName(value = "workProfilePasswordMinLowerCaseCharacters", alternate = {"WorkProfilePasswordMinLowerCaseCharacters"})
@Expose
@Nullable
public Integer workProfilePasswordMinLowerCaseCharacters;
/**
* The Work Profile Password Min Non Letter Characters.
* Minimum # of non-letter characters required in work profile password. Valid values 1 to 10
*/
@SerializedName(value = "workProfilePasswordMinNonLetterCharacters", alternate = {"WorkProfilePasswordMinNonLetterCharacters"})
@Expose
@Nullable
public Integer workProfilePasswordMinNonLetterCharacters;
/**
* The Work Profile Password Min Numeric Characters.
* Minimum # of numeric characters required in work profile password. Valid values 1 to 10
*/
@SerializedName(value = "workProfilePasswordMinNumericCharacters", alternate = {"WorkProfilePasswordMinNumericCharacters"})
@Expose
@Nullable
public Integer workProfilePasswordMinNumericCharacters;
/**
* The Work Profile Password Min Symbol Characters.
* Minimum # of symbols required in work profile password. Valid values 1 to 10
*/
@SerializedName(value = "workProfilePasswordMinSymbolCharacters", alternate = {"WorkProfilePasswordMinSymbolCharacters"})
@Expose
@Nullable
public Integer workProfilePasswordMinSymbolCharacters;
/**
* The Work Profile Password Min Upper Case Characters.
* Minimum # of upper-case characters required in work profile password. Valid values 1 to 10
*/
@SerializedName(value = "workProfilePasswordMinUpperCaseCharacters", alternate = {"WorkProfilePasswordMinUpperCaseCharacters"})
@Expose
@Nullable
public Integer workProfilePasswordMinUpperCaseCharacters;
/**
* The Work Profile Password Minutes Of Inactivity Before Screen Timeout.
* Minutes of inactivity before the screen times out.
*/
@SerializedName(value = "workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", alternate = {"WorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout"})
@Expose
@Nullable
public Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout;
/**
* The Work Profile Password Previous Password Block Count.
* Number of previous work profile passwords to block. Valid values 0 to 24
*/
@SerializedName(value = "workProfilePasswordPreviousPasswordBlockCount", alternate = {"WorkProfilePasswordPreviousPasswordBlockCount"})
@Expose
@Nullable
public Integer workProfilePasswordPreviousPasswordBlockCount;
/**
* The Work Profile Password Required Type.
* Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols.
*/
@SerializedName(value = "workProfilePasswordRequiredType", alternate = {"WorkProfilePasswordRequiredType"})
@Expose
@Nullable
public AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType;
/**
* The Work Profile Password Sign In Failure Count Before Factory Reset.
* Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16
*/
@SerializedName(value = "workProfilePasswordSignInFailureCountBeforeFactoryReset", alternate = {"WorkProfilePasswordSignInFailureCountBeforeFactoryReset"})
@Expose
@Nullable
public Integer workProfilePasswordSignInFailureCountBeforeFactoryReset;
/**
* The Work Profile Require Password.
* Password is required or not for work profile
*/
@SerializedName(value = "workProfileRequirePassword", alternate = {"WorkProfileRequirePassword"})
@Expose
@Nullable
public Boolean workProfileRequirePassword;
/**
* 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) {
}
}