forked from microsoftgraph/msgraph-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidGeneralDeviceConfiguration.php
More file actions
1436 lines (1334 loc) · 41.4 KB
/
Copy pathAndroidGeneralDeviceConfiguration.php
File metadata and controls
1436 lines (1334 loc) · 41.4 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
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AndroidGeneralDeviceConfiguration File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* AndroidGeneralDeviceConfiguration class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AndroidGeneralDeviceConfiguration extends DeviceConfiguration
{
/**
* Gets the appsBlockClipboardSharing
* Indicates whether or not to block clipboard sharing to copy and paste between applications.
*
* @return bool The appsBlockClipboardSharing
*/
public function getAppsBlockClipboardSharing()
{
if (array_key_exists("appsBlockClipboardSharing", $this->_propDict)) {
return $this->_propDict["appsBlockClipboardSharing"];
} else {
return null;
}
}
/**
* Sets the appsBlockClipboardSharing
* Indicates whether or not to block clipboard sharing to copy and paste between applications.
*
* @param bool $val The appsBlockClipboardSharing
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setAppsBlockClipboardSharing($val)
{
$this->_propDict["appsBlockClipboardSharing"] = boolval($val);
return $this;
}
/**
* Gets the appsBlockCopyPaste
* Indicates whether or not to block copy and paste within applications.
*
* @return bool The appsBlockCopyPaste
*/
public function getAppsBlockCopyPaste()
{
if (array_key_exists("appsBlockCopyPaste", $this->_propDict)) {
return $this->_propDict["appsBlockCopyPaste"];
} else {
return null;
}
}
/**
* Sets the appsBlockCopyPaste
* Indicates whether or not to block copy and paste within applications.
*
* @param bool $val The appsBlockCopyPaste
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setAppsBlockCopyPaste($val)
{
$this->_propDict["appsBlockCopyPaste"] = boolval($val);
return $this;
}
/**
* Gets the appsBlockYouTube
* Indicates whether or not to block the YouTube app.
*
* @return bool The appsBlockYouTube
*/
public function getAppsBlockYouTube()
{
if (array_key_exists("appsBlockYouTube", $this->_propDict)) {
return $this->_propDict["appsBlockYouTube"];
} else {
return null;
}
}
/**
* Sets the appsBlockYouTube
* Indicates whether or not to block the YouTube app.
*
* @param bool $val The appsBlockYouTube
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setAppsBlockYouTube($val)
{
$this->_propDict["appsBlockYouTube"] = boolval($val);
return $this;
}
/**
* Gets the appsHideList
* List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.
*
* @return array The appsHideList
*/
public function getAppsHideList()
{
if (array_key_exists("appsHideList", $this->_propDict)) {
return $this->_propDict["appsHideList"];
} else {
return null;
}
}
/**
* Sets the appsHideList
* List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.
*
* @param AppListItem $val The appsHideList
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setAppsHideList($val)
{
$this->_propDict["appsHideList"] = $val;
return $this;
}
/**
* Gets the appsInstallAllowList
* List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.
*
* @return array The appsInstallAllowList
*/
public function getAppsInstallAllowList()
{
if (array_key_exists("appsInstallAllowList", $this->_propDict)) {
return $this->_propDict["appsInstallAllowList"];
} else {
return null;
}
}
/**
* Sets the appsInstallAllowList
* List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.
*
* @param AppListItem $val The appsInstallAllowList
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setAppsInstallAllowList($val)
{
$this->_propDict["appsInstallAllowList"] = $val;
return $this;
}
/**
* Gets the appsLaunchBlockList
* List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.
*
* @return array The appsLaunchBlockList
*/
public function getAppsLaunchBlockList()
{
if (array_key_exists("appsLaunchBlockList", $this->_propDict)) {
return $this->_propDict["appsLaunchBlockList"];
} else {
return null;
}
}
/**
* Sets the appsLaunchBlockList
* List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.
*
* @param AppListItem $val The appsLaunchBlockList
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setAppsLaunchBlockList($val)
{
$this->_propDict["appsLaunchBlockList"] = $val;
return $this;
}
/**
* Gets the bluetoothBlocked
* Indicates whether or not to block Bluetooth.
*
* @return bool The bluetoothBlocked
*/
public function getBluetoothBlocked()
{
if (array_key_exists("bluetoothBlocked", $this->_propDict)) {
return $this->_propDict["bluetoothBlocked"];
} else {
return null;
}
}
/**
* Sets the bluetoothBlocked
* Indicates whether or not to block Bluetooth.
*
* @param bool $val The bluetoothBlocked
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setBluetoothBlocked($val)
{
$this->_propDict["bluetoothBlocked"] = boolval($val);
return $this;
}
/**
* Gets the cameraBlocked
* Indicates whether or not to block the use of the camera.
*
* @return bool The cameraBlocked
*/
public function getCameraBlocked()
{
if (array_key_exists("cameraBlocked", $this->_propDict)) {
return $this->_propDict["cameraBlocked"];
} else {
return null;
}
}
/**
* Sets the cameraBlocked
* Indicates whether or not to block the use of the camera.
*
* @param bool $val The cameraBlocked
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setCameraBlocked($val)
{
$this->_propDict["cameraBlocked"] = boolval($val);
return $this;
}
/**
* Gets the cellularBlockDataRoaming
* Indicates whether or not to block data roaming.
*
* @return bool The cellularBlockDataRoaming
*/
public function getCellularBlockDataRoaming()
{
if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) {
return $this->_propDict["cellularBlockDataRoaming"];
} else {
return null;
}
}
/**
* Sets the cellularBlockDataRoaming
* Indicates whether or not to block data roaming.
*
* @param bool $val The cellularBlockDataRoaming
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setCellularBlockDataRoaming($val)
{
$this->_propDict["cellularBlockDataRoaming"] = boolval($val);
return $this;
}
/**
* Gets the cellularBlockMessaging
* Indicates whether or not to block SMS/MMS messaging.
*
* @return bool The cellularBlockMessaging
*/
public function getCellularBlockMessaging()
{
if (array_key_exists("cellularBlockMessaging", $this->_propDict)) {
return $this->_propDict["cellularBlockMessaging"];
} else {
return null;
}
}
/**
* Sets the cellularBlockMessaging
* Indicates whether or not to block SMS/MMS messaging.
*
* @param bool $val The cellularBlockMessaging
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setCellularBlockMessaging($val)
{
$this->_propDict["cellularBlockMessaging"] = boolval($val);
return $this;
}
/**
* Gets the cellularBlockVoiceRoaming
* Indicates whether or not to block voice roaming.
*
* @return bool The cellularBlockVoiceRoaming
*/
public function getCellularBlockVoiceRoaming()
{
if (array_key_exists("cellularBlockVoiceRoaming", $this->_propDict)) {
return $this->_propDict["cellularBlockVoiceRoaming"];
} else {
return null;
}
}
/**
* Sets the cellularBlockVoiceRoaming
* Indicates whether or not to block voice roaming.
*
* @param bool $val The cellularBlockVoiceRoaming
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setCellularBlockVoiceRoaming($val)
{
$this->_propDict["cellularBlockVoiceRoaming"] = boolval($val);
return $this;
}
/**
* Gets the cellularBlockWiFiTethering
* Indicates whether or not to block syncing Wi-Fi tethering.
*
* @return bool The cellularBlockWiFiTethering
*/
public function getCellularBlockWiFiTethering()
{
if (array_key_exists("cellularBlockWiFiTethering", $this->_propDict)) {
return $this->_propDict["cellularBlockWiFiTethering"];
} else {
return null;
}
}
/**
* Sets the cellularBlockWiFiTethering
* Indicates whether or not to block syncing Wi-Fi tethering.
*
* @param bool $val The cellularBlockWiFiTethering
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setCellularBlockWiFiTethering($val)
{
$this->_propDict["cellularBlockWiFiTethering"] = boolval($val);
return $this;
}
/**
* Gets the compliantAppListType
* Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant.
*
* @return AppListType The compliantAppListType
*/
public function getCompliantAppListType()
{
if (array_key_exists("compliantAppListType", $this->_propDict)) {
if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType")) {
return $this->_propDict["compliantAppListType"];
} else {
$this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]);
return $this->_propDict["compliantAppListType"];
}
}
return null;
}
/**
* Sets the compliantAppListType
* Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant.
*
* @param AppListType $val The compliantAppListType
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setCompliantAppListType($val)
{
$this->_propDict["compliantAppListType"] = $val;
return $this;
}
/**
* Gets the compliantAppsList
* List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
*
* @return array The compliantAppsList
*/
public function getCompliantAppsList()
{
if (array_key_exists("compliantAppsList", $this->_propDict)) {
return $this->_propDict["compliantAppsList"];
} else {
return null;
}
}
/**
* Sets the compliantAppsList
* List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
*
* @param AppListItem $val The compliantAppsList
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setCompliantAppsList($val)
{
$this->_propDict["compliantAppsList"] = $val;
return $this;
}
/**
* Gets the deviceSharingAllowed
* Indicates whether or not to allow device sharing mode.
*
* @return bool The deviceSharingAllowed
*/
public function getDeviceSharingAllowed()
{
if (array_key_exists("deviceSharingAllowed", $this->_propDict)) {
return $this->_propDict["deviceSharingAllowed"];
} else {
return null;
}
}
/**
* Sets the deviceSharingAllowed
* Indicates whether or not to allow device sharing mode.
*
* @param bool $val The deviceSharingAllowed
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setDeviceSharingAllowed($val)
{
$this->_propDict["deviceSharingAllowed"] = boolval($val);
return $this;
}
/**
* Gets the diagnosticDataBlockSubmission
* Indicates whether or not to block diagnostic data submission.
*
* @return bool The diagnosticDataBlockSubmission
*/
public function getDiagnosticDataBlockSubmission()
{
if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) {
return $this->_propDict["diagnosticDataBlockSubmission"];
} else {
return null;
}
}
/**
* Sets the diagnosticDataBlockSubmission
* Indicates whether or not to block diagnostic data submission.
*
* @param bool $val The diagnosticDataBlockSubmission
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setDiagnosticDataBlockSubmission($val)
{
$this->_propDict["diagnosticDataBlockSubmission"] = boolval($val);
return $this;
}
/**
* Gets the factoryResetBlocked
* Indicates whether or not to block user performing a factory reset.
*
* @return bool The factoryResetBlocked
*/
public function getFactoryResetBlocked()
{
if (array_key_exists("factoryResetBlocked", $this->_propDict)) {
return $this->_propDict["factoryResetBlocked"];
} else {
return null;
}
}
/**
* Sets the factoryResetBlocked
* Indicates whether or not to block user performing a factory reset.
*
* @param bool $val The factoryResetBlocked
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setFactoryResetBlocked($val)
{
$this->_propDict["factoryResetBlocked"] = boolval($val);
return $this;
}
/**
* Gets the googleAccountBlockAutoSync
* Indicates whether or not to block Google account auto sync.
*
* @return bool The googleAccountBlockAutoSync
*/
public function getGoogleAccountBlockAutoSync()
{
if (array_key_exists("googleAccountBlockAutoSync", $this->_propDict)) {
return $this->_propDict["googleAccountBlockAutoSync"];
} else {
return null;
}
}
/**
* Sets the googleAccountBlockAutoSync
* Indicates whether or not to block Google account auto sync.
*
* @param bool $val The googleAccountBlockAutoSync
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setGoogleAccountBlockAutoSync($val)
{
$this->_propDict["googleAccountBlockAutoSync"] = boolval($val);
return $this;
}
/**
* Gets the googlePlayStoreBlocked
* Indicates whether or not to block the Google Play store.
*
* @return bool The googlePlayStoreBlocked
*/
public function getGooglePlayStoreBlocked()
{
if (array_key_exists("googlePlayStoreBlocked", $this->_propDict)) {
return $this->_propDict["googlePlayStoreBlocked"];
} else {
return null;
}
}
/**
* Sets the googlePlayStoreBlocked
* Indicates whether or not to block the Google Play store.
*
* @param bool $val The googlePlayStoreBlocked
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setGooglePlayStoreBlocked($val)
{
$this->_propDict["googlePlayStoreBlocked"] = boolval($val);
return $this;
}
/**
* Gets the kioskModeApps
* A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.
*
* @return array The kioskModeApps
*/
public function getKioskModeApps()
{
if (array_key_exists("kioskModeApps", $this->_propDict)) {
return $this->_propDict["kioskModeApps"];
} else {
return null;
}
}
/**
* Sets the kioskModeApps
* A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.
*
* @param AppListItem $val The kioskModeApps
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setKioskModeApps($val)
{
$this->_propDict["kioskModeApps"] = $val;
return $this;
}
/**
* Gets the kioskModeBlockSleepButton
* Indicates whether or not to block the screen sleep button while in Kiosk Mode.
*
* @return bool The kioskModeBlockSleepButton
*/
public function getKioskModeBlockSleepButton()
{
if (array_key_exists("kioskModeBlockSleepButton", $this->_propDict)) {
return $this->_propDict["kioskModeBlockSleepButton"];
} else {
return null;
}
}
/**
* Sets the kioskModeBlockSleepButton
* Indicates whether or not to block the screen sleep button while in Kiosk Mode.
*
* @param bool $val The kioskModeBlockSleepButton
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setKioskModeBlockSleepButton($val)
{
$this->_propDict["kioskModeBlockSleepButton"] = boolval($val);
return $this;
}
/**
* Gets the kioskModeBlockVolumeButtons
* Indicates whether or not to block the volume buttons while in Kiosk Mode.
*
* @return bool The kioskModeBlockVolumeButtons
*/
public function getKioskModeBlockVolumeButtons()
{
if (array_key_exists("kioskModeBlockVolumeButtons", $this->_propDict)) {
return $this->_propDict["kioskModeBlockVolumeButtons"];
} else {
return null;
}
}
/**
* Sets the kioskModeBlockVolumeButtons
* Indicates whether or not to block the volume buttons while in Kiosk Mode.
*
* @param bool $val The kioskModeBlockVolumeButtons
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setKioskModeBlockVolumeButtons($val)
{
$this->_propDict["kioskModeBlockVolumeButtons"] = boolval($val);
return $this;
}
/**
* Gets the locationServicesBlocked
* Indicates whether or not to block location services.
*
* @return bool The locationServicesBlocked
*/
public function getLocationServicesBlocked()
{
if (array_key_exists("locationServicesBlocked", $this->_propDict)) {
return $this->_propDict["locationServicesBlocked"];
} else {
return null;
}
}
/**
* Sets the locationServicesBlocked
* Indicates whether or not to block location services.
*
* @param bool $val The locationServicesBlocked
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setLocationServicesBlocked($val)
{
$this->_propDict["locationServicesBlocked"] = boolval($val);
return $this;
}
/**
* Gets the nfcBlocked
* Indicates whether or not to block Near-Field Communication.
*
* @return bool The nfcBlocked
*/
public function getNfcBlocked()
{
if (array_key_exists("nfcBlocked", $this->_propDict)) {
return $this->_propDict["nfcBlocked"];
} else {
return null;
}
}
/**
* Sets the nfcBlocked
* Indicates whether or not to block Near-Field Communication.
*
* @param bool $val The nfcBlocked
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setNfcBlocked($val)
{
$this->_propDict["nfcBlocked"] = boolval($val);
return $this;
}
/**
* Gets the passwordBlockFingerprintUnlock
* Indicates whether or not to block fingerprint unlock.
*
* @return bool The passwordBlockFingerprintUnlock
*/
public function getPasswordBlockFingerprintUnlock()
{
if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) {
return $this->_propDict["passwordBlockFingerprintUnlock"];
} else {
return null;
}
}
/**
* Sets the passwordBlockFingerprintUnlock
* Indicates whether or not to block fingerprint unlock.
*
* @param bool $val The passwordBlockFingerprintUnlock
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordBlockFingerprintUnlock($val)
{
$this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val);
return $this;
}
/**
* Gets the passwordBlockTrustAgents
* Indicates whether or not to block Smart Lock and other trust agents.
*
* @return bool The passwordBlockTrustAgents
*/
public function getPasswordBlockTrustAgents()
{
if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) {
return $this->_propDict["passwordBlockTrustAgents"];
} else {
return null;
}
}
/**
* Sets the passwordBlockTrustAgents
* Indicates whether or not to block Smart Lock and other trust agents.
*
* @param bool $val The passwordBlockTrustAgents
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordBlockTrustAgents($val)
{
$this->_propDict["passwordBlockTrustAgents"] = boolval($val);
return $this;
}
/**
* Gets the passwordExpirationDays
* Number of days before the password expires. Valid values 1 to 365
*
* @return int The passwordExpirationDays
*/
public function getPasswordExpirationDays()
{
if (array_key_exists("passwordExpirationDays", $this->_propDict)) {
return $this->_propDict["passwordExpirationDays"];
} else {
return null;
}
}
/**
* Sets the passwordExpirationDays
* Number of days before the password expires. Valid values 1 to 365
*
* @param int $val The passwordExpirationDays
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordExpirationDays($val)
{
$this->_propDict["passwordExpirationDays"] = intval($val);
return $this;
}
/**
* Gets the passwordMinimumLength
* Minimum length of passwords. Valid values 4 to 16
*
* @return int The passwordMinimumLength
*/
public function getPasswordMinimumLength()
{
if (array_key_exists("passwordMinimumLength", $this->_propDict)) {
return $this->_propDict["passwordMinimumLength"];
} else {
return null;
}
}
/**
* Sets the passwordMinimumLength
* Minimum length of passwords. Valid values 4 to 16
*
* @param int $val The passwordMinimumLength
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordMinimumLength($val)
{
$this->_propDict["passwordMinimumLength"] = intval($val);
return $this;
}
/**
* Gets the passwordMinutesOfInactivityBeforeScreenTimeout
* Minutes of inactivity before the screen times out.
*
* @return int The passwordMinutesOfInactivityBeforeScreenTimeout
*/
public function getPasswordMinutesOfInactivityBeforeScreenTimeout()
{
if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) {
return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"];
} else {
return null;
}
}
/**
* Sets the passwordMinutesOfInactivityBeforeScreenTimeout
* Minutes of inactivity before the screen times out.
*
* @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val)
{
$this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val);
return $this;
}
/**
* Gets the passwordPreviousPasswordBlockCount
* Number of previous passwords to block. Valid values 0 to 24
*
* @return int The passwordPreviousPasswordBlockCount
*/
public function getPasswordPreviousPasswordBlockCount()
{
if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) {
return $this->_propDict["passwordPreviousPasswordBlockCount"];
} else {
return null;
}
}
/**
* Sets the passwordPreviousPasswordBlockCount
* Number of previous passwords to block. Valid values 0 to 24
*
* @param int $val The passwordPreviousPasswordBlockCount
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordPreviousPasswordBlockCount($val)
{
$this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val);
return $this;
}
/**
* Gets the passwordRequired
* Indicates whether or not to require a password.
*
* @return bool The passwordRequired
*/
public function getPasswordRequired()
{
if (array_key_exists("passwordRequired", $this->_propDict)) {
return $this->_propDict["passwordRequired"];
} else {
return null;
}
}
/**
* Sets the passwordRequired
* Indicates whether or not to require a password.
*
* @param bool $val The passwordRequired
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordRequired($val)
{
$this->_propDict["passwordRequired"] = boolval($val);
return $this;
}
/**
* Gets the passwordRequiredType
* Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
*
* @return AndroidRequiredPasswordType The passwordRequiredType
*/
public function getPasswordRequiredType()
{
if (array_key_exists("passwordRequiredType", $this->_propDict)) {
if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidRequiredPasswordType")) {
return $this->_propDict["passwordRequiredType"];
} else {
$this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]);
return $this->_propDict["passwordRequiredType"];
}
}
return null;
}
/**
* Sets the passwordRequiredType
* Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
*
* @param AndroidRequiredPasswordType $val The passwordRequiredType
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordRequiredType($val)
{
$this->_propDict["passwordRequiredType"] = $val;
return $this;
}
/**
* Gets the passwordSignInFailureCountBeforeFactoryReset
* Number of sign in failures allowed before factory reset. Valid values 1 to 16
*
* @return int The passwordSignInFailureCountBeforeFactoryReset
*/
public function getPasswordSignInFailureCountBeforeFactoryReset()
{
if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) {
return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"];
} else {
return null;
}
}
/**
* Sets the passwordSignInFailureCountBeforeFactoryReset
* Number of sign in failures allowed before factory reset. Valid values 1 to 16
*
* @param int $val The passwordSignInFailureCountBeforeFactoryReset
*
* @return AndroidGeneralDeviceConfiguration
*/
public function setPasswordSignInFailureCountBeforeFactoryReset($val)
{
$this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val);
return $this;
}
/**
* Gets the powerOffBlocked
* Indicates whether or not to block powering off the device.
*