XCloner – Backup and Restore - Version 4.2.10

Version Description

= 3.0.3 = Please check changelog!

Download this release

Release Info

Developer watchful
Plugin Icon 128x128 XCloner – Backup and Restore
Version 4.2.10
Comparing to
See all releases

Code changes from version 4.2.9d to 4.2.10

Files changed (213) hide show
  1. CHANGELOG.md +71 -6
  2. README.txt +11 -1
  3. admin/class-xcloner-admin.php +2 -2
  4. admin/js/xcloner-restore-class.js +8 -1
  5. admin/partials/xcloner_remote_storage_page.php +189 -21
  6. admin/partials/xcloner_restore_page.php +18 -0
  7. composer.json +2 -1
  8. composer.lock +103 -7
  9. includes/class-xcloner-activator.php +1 -1
  10. includes/class-xcloner.php +64 -4
  11. restore/xcloner_restore.php +14 -8
  12. vendor/composer/autoload_psr4.php +3 -0
  13. vendor/composer/autoload_static.php +18 -0
  14. vendor/composer/installed.json +107 -54
  15. vendor/gliterd/backblaze-b2/src/Client.php +7 -0
  16. vendor/guzzlehttp/guzzle/CHANGELOG.md +4 -0
  17. vendor/guzzlehttp/guzzle/Makefile +19 -0
  18. vendor/guzzlehttp/guzzle/composer.json +1 -1
  19. vendor/guzzlehttp/guzzle/phpstan-baseline.neon +0 -20
  20. vendor/guzzlehttp/guzzle/src/ClientInterface.php +1 -1
  21. vendor/guzzlehttp/guzzle/src/Utils.php +6 -3
  22. vendor/kylekatarnls/update-helper/LICENSE +0 -22
  23. vendor/kylekatarnls/update-helper/composer.json +0 -50
  24. vendor/kylekatarnls/update-helper/src/UpdateHelper/ComposerPlugin.php +0 -47
  25. vendor/kylekatarnls/update-helper/src/UpdateHelper/NotUpdateInterfaceInstanceException.php +0 -9
  26. vendor/kylekatarnls/update-helper/src/UpdateHelper/UpdateHelper.php +0 -391
  27. vendor/kylekatarnls/update-helper/src/UpdateHelper/UpdateHelperInterface.php +0 -8
  28. vendor/microsoft/microsoft-graph/.travis.yml +15 -0
  29. vendor/microsoft/microsoft-graph/.vscode/launch.json +22 -0
  30. vendor/microsoft/microsoft-graph/CONTRIBUTING.md +37 -0
  31. vendor/microsoft/microsoft-graph/LICENSE +13 -0
  32. vendor/microsoft/microsoft-graph/README.md +124 -0
  33. vendor/microsoft/microsoft-graph/THIRD PARTY NOTICES +19 -0
  34. vendor/microsoft/microsoft-graph/composer.json +29 -0
  35. vendor/microsoft/microsoft-graph/phpunit.xml +17 -0
  36. vendor/microsoft/microsoft-graph/src/Core/Enum.php +104 -0
  37. vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php +47 -0
  38. vendor/microsoft/microsoft-graph/src/Exception/GraphException.php +51 -0
  39. vendor/microsoft/microsoft-graph/src/Graph.php +172 -0
  40. vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php +243 -0
  41. vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php +491 -0
  42. vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php +189 -0
  43. vendor/microsoft/microsoft-graph/src/Model/AccessAction.php +28 -0
  44. vendor/microsoft/microsoft-graph/src/Model/ActionState.php +41 -0
  45. vendor/microsoft/microsoft-graph/src/Model/ActivityDomain.php +38 -0
  46. vendor/microsoft/microsoft-graph/src/Model/ActivityHistoryItem.php +318 -0
  47. vendor/microsoft/microsoft-graph/src/Model/AdministrativeUnit.php +29 -0
  48. vendor/microsoft/microsoft-graph/src/Model/Alert.php +998 -0
  49. vendor/microsoft/microsoft-graph/src/Model/AlertFeedback.php +39 -0
  50. vendor/microsoft/microsoft-graph/src/Model/AlertHistoryState.php +225 -0
  51. vendor/microsoft/microsoft-graph/src/Model/AlertSeverity.php +40 -0
  52. vendor/microsoft/microsoft-graph/src/Model/AlertStatus.php +40 -0
  53. vendor/microsoft/microsoft-graph/src/Model/AlertTrigger.php +112 -0
  54. vendor/microsoft/microsoft-graph/src/Model/AllDevicesAssignmentTarget.php +37 -0
  55. vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php +37 -0
  56. vendor/microsoft/microsoft-graph/src/Model/AlternativeSecurityId.php +117 -0
  57. vendor/microsoft/microsoft-graph/src/Model/AndroidCompliancePolicy.php +646 -0
  58. vendor/microsoft/microsoft-graph/src/Model/AndroidCustomConfiguration.php +59 -0
  59. vendor/microsoft/microsoft-graph/src/Model/AndroidGeneralDeviceConfiguration.php +1438 -0
  60. vendor/microsoft/microsoft-graph/src/Model/AndroidLobApp.php +149 -0
  61. vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppProtection.php +266 -0
  62. vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppRegistration.php +29 -0
  63. vendor/microsoft/microsoft-graph/src/Model/AndroidMinimumOperatingSystem.php +252 -0
  64. vendor/microsoft/microsoft-graph/src/Model/AndroidMobileAppIdentifier.php +65 -0
  65. vendor/microsoft/microsoft-graph/src/Model/AndroidRequiredPasswordType.php +42 -0
  66. vendor/microsoft/microsoft-graph/src/Model/AndroidStoreApp.php +120 -0
  67. vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCompliancePolicy.php +646 -0
  68. vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCrossProfileDataSharingType.php +38 -0
  69. vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCustomConfiguration.php +59 -0
  70. vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php +38 -0
  71. vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileGeneralDeviceConfiguration.php +1031 -0
  72. vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileRequiredPasswordType.php +42 -0
  73. vendor/microsoft/microsoft-graph/src/Model/AppCatalogs.php +57 -0
  74. vendor/microsoft/microsoft-graph/src/Model/AppConfigurationSettingItem.php +117 -0
  75. vendor/microsoft/microsoft-graph/src/Model/AppHostedMediaConfig.php +63 -0
  76. vendor/microsoft/microsoft-graph/src/Model/AppIdentity.php +140 -0
  77. vendor/microsoft/microsoft-graph/src/Model/AppListItem.php +140 -0
  78. vendor/microsoft/microsoft-graph/src/Model/AppListType.php +37 -0
  79. vendor/microsoft/microsoft-graph/src/Model/AppLockerApplicationControlType.php +39 -0
  80. vendor/microsoft/microsoft-graph/src/Model/AppleDeviceFeaturesConfigurationBase.php +29 -0
  81. vendor/microsoft/microsoft-graph/src/Model/ApplePushNotificationCertificate.php +182 -0
  82. vendor/microsoft/microsoft-graph/src/Model/ApplicationGuardBlockClipboardSharingType.php +39 -0
  83. vendor/microsoft/microsoft-graph/src/Model/ApplicationGuardBlockFileTransferType.php +39 -0
  84. vendor/microsoft/microsoft-graph/src/Model/ApplicationType.php +36 -0
  85. vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicy.php +173 -0
  86. vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicyResult.php +40 -0
  87. vendor/microsoft/microsoft-graph/src/Model/AssignedLicense.php +84 -0
  88. vendor/microsoft/microsoft-graph/src/Model/AssignedPlan.php +145 -0
  89. vendor/microsoft/microsoft-graph/src/Model/Attachment.php +178 -0
  90. vendor/microsoft/microsoft-graph/src/Model/Attendee.php +61 -0
  91. vendor/microsoft/microsoft-graph/src/Model/AttendeeAvailability.php +94 -0
  92. vendor/microsoft/microsoft-graph/src/Model/AttendeeBase.php +61 -0
  93. vendor/microsoft/microsoft-graph/src/Model/AttendeeType.php +37 -0
  94. vendor/microsoft/microsoft-graph/src/Model/Audio.php +476 -0
  95. vendor/microsoft/microsoft-graph/src/Model/AudioConferencing.php +132 -0
  96. vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php +94 -0
  97. vendor/microsoft/microsoft-graph/src/Model/AuditLogRoot.php +117 -0
  98. vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php +155 -0
  99. vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesSetting.php +216 -0
  100. vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesStatus.php +37 -0
  101. vendor/microsoft/microsoft-graph/src/Model/AutomaticUpdateMode.php +40 -0
  102. vendor/microsoft/microsoft-graph/src/Model/AverageComparativeScore.php +84 -0
  103. vendor/microsoft/microsoft-graph/src/Model/BaseItem.php +376 -0
  104. vendor/microsoft/microsoft-graph/src/Model/BaseItemVersion.php +128 -0
  105. vendor/microsoft/microsoft-graph/src/Model/BitLockerEncryptionMethod.php +38 -0
  106. vendor/microsoft/microsoft-graph/src/Model/BitLockerRemovableDrivePolicy.php +117 -0
  107. vendor/microsoft/microsoft-graph/src/Model/BodyType.php +36 -0
  108. vendor/microsoft/microsoft-graph/src/Model/BooleanColumn.php +28 -0
  109. vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php +112 -0
  110. vendor/microsoft/microsoft-graph/src/Model/Calendar.php +360 -0
  111. vendor/microsoft/microsoft-graph/src/Model/CalendarColor.php +45 -0
  112. vendor/microsoft/microsoft-graph/src/Model/CalendarGroup.php +146 -0
  113. vendor/microsoft/microsoft-graph/src/Model/Call.php +528 -0
  114. vendor/microsoft/microsoft-graph/src/Model/CallDirection.php +36 -0
  115. vendor/microsoft/microsoft-graph/src/Model/CallMediaState.php +59 -0
  116. vendor/microsoft/microsoft-graph/src/Model/CallState.php +44 -0
  117. vendor/microsoft/microsoft-graph/src/Model/CategoryColor.php +60 -0
  118. vendor/microsoft/microsoft-graph/src/Model/CertificateAuthority.php +201 -0
  119. vendor/microsoft/microsoft-graph/src/Model/CertificateBasedAuthConfiguration.php +59 -0
  120. vendor/microsoft/microsoft-graph/src/Model/CertificationControl.php +84 -0
  121. vendor/microsoft/microsoft-graph/src/Model/ChangeType.php +37 -0
  122. vendor/microsoft/microsoft-graph/src/Model/Channel.php +175 -0
  123. vendor/microsoft/microsoft-graph/src/Model/ChatInfo.php +106 -0
  124. vendor/microsoft/microsoft-graph/src/Model/ChoiceColumn.php +112 -0
  125. vendor/microsoft/microsoft-graph/src/Model/ClonableTeamParts.php +39 -0
  126. vendor/microsoft/microsoft-graph/src/Model/CloudAppSecurityState.php +112 -0
  127. vendor/microsoft/microsoft-graph/src/Model/CloudCommunications.php +85 -0
  128. vendor/microsoft/microsoft-graph/src/Model/ColumnDefinition.php +620 -0
  129. vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php +58 -0
  130. vendor/microsoft/microsoft-graph/src/Model/CommsNotification.php +85 -0
  131. vendor/microsoft/microsoft-graph/src/Model/CommsNotifications.php +59 -0
  132. vendor/microsoft/microsoft-graph/src/Model/CommsOperation.php +118 -0
  133. vendor/microsoft/microsoft-graph/src/Model/ComplexExtensionValue.php +28 -0
  134. vendor/microsoft/microsoft-graph/src/Model/ComplianceInformation.php +89 -0
  135. vendor/microsoft/microsoft-graph/src/Model/ComplianceState.php +41 -0
  136. vendor/microsoft/microsoft-graph/src/Model/ComplianceStatus.php +42 -0
  137. vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessStatus.php +38 -0
  138. vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerClientEnabledFeatures.php +196 -0
  139. vendor/microsoft/microsoft-graph/src/Model/ConnectionDirection.php +38 -0
  140. vendor/microsoft/microsoft-graph/src/Model/ConnectionStatus.php +40 -0
  141. vendor/microsoft/microsoft-graph/src/Model/Contact.php +1126 -0
  142. vendor/microsoft/microsoft-graph/src/Model/ContactFolder.php +207 -0
  143. vendor/microsoft/microsoft-graph/src/Model/ContentType.php +328 -0
  144. vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php +56 -0
  145. vendor/microsoft/microsoft-graph/src/Model/ContentTypeOrder.php +84 -0
  146. vendor/microsoft/microsoft-graph/src/Model/Contract.php +145 -0
  147. vendor/microsoft/microsoft-graph/src/Model/ControlScore.php +140 -0
  148. vendor/microsoft/microsoft-graph/src/Model/Conversation.php +208 -0
  149. vendor/microsoft/microsoft-graph/src/Model/ConversationThread.php +297 -0
  150. vendor/microsoft/microsoft-graph/src/Model/ConvertIdResult.php +117 -0
  151. vendor/microsoft/microsoft-graph/src/Model/CopyNotebookModel.php +448 -0
  152. vendor/microsoft/microsoft-graph/src/Model/CurrencyColumn.php +56 -0
  153. vendor/microsoft/microsoft-graph/src/Model/CustomTimeZone.php +122 -0
  154. vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperation.php +215 -0
  155. vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperationStatus.php +39 -0
  156. vendor/microsoft/microsoft-graph/src/Model/DateTimeColumn.php +84 -0
  157. vendor/microsoft/microsoft-graph/src/Model/DateTimeTimeZone.php +84 -0
  158. vendor/microsoft/microsoft-graph/src/Model/DayOfWeek.php +41 -0
  159. vendor/microsoft/microsoft-graph/src/Model/DaylightTimeZoneOffset.php +56 -0
  160. vendor/microsoft/microsoft-graph/src/Model/DefaultColumnValue.php +84 -0
  161. vendor/microsoft/microsoft-graph/src/Model/DefaultManagedAppProtection.php +387 -0
  162. vendor/microsoft/microsoft-graph/src/Model/DefenderCloudBlockLevelType.php +38 -0
  163. vendor/microsoft/microsoft-graph/src/Model/DefenderDetectedMalwareActions.php +160 -0
  164. vendor/microsoft/microsoft-graph/src/Model/DefenderMonitorFileActivity.php +39 -0
  165. vendor/microsoft/microsoft-graph/src/Model/DefenderPromptForSampleSubmission.php +39 -0
  166. vendor/microsoft/microsoft-graph/src/Model/DefenderScanType.php +38 -0
  167. vendor/microsoft/microsoft-graph/src/Model/DefenderThreatAction.php +41 -0
  168. vendor/microsoft/microsoft-graph/src/Model/DeleteUserFromSharedAppleDeviceActionResult.php +56 -0
  169. vendor/microsoft/microsoft-graph/src/Model/Deleted.php +56 -0
  170. vendor/microsoft/microsoft-graph/src/Model/DetectedApp.php +175 -0
  171. vendor/microsoft/microsoft-graph/src/Model/Device.php +741 -0
  172. vendor/microsoft/microsoft-graph/src/Model/DeviceActionResult.php +155 -0
  173. vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementAssignmentTarget.php +28 -0
  174. vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleAssignment.php +58 -0
  175. vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleDefinition.php +29 -0
  176. vendor/microsoft/microsoft-graph/src/Model/DeviceAppManagement.php +573 -0
  177. vendor/microsoft/microsoft-graph/src/Model/DeviceCategory.php +87 -0
  178. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionItem.php +149 -0
  179. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionType.php +41 -0
  180. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceOverview.php +236 -0
  181. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceStatus.php +244 -0
  182. vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicy.php +398 -0
  183. vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyAssignment.php +62 -0
  184. vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyDeviceStateSummary.php +290 -0
  185. vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingState.php +374 -0
  186. vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingStateSummary.php +353 -0
  187. vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyState.php +210 -0
  188. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceScheduledActionForRule.php +88 -0
  189. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceSettingState.php +356 -0
  190. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserOverview.php +236 -0
  191. vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserStatus.php +182 -0
  192. vendor/microsoft/microsoft-graph/src/Model/DeviceConfiguration.php +368 -0
  193. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationAssignment.php +62 -0
  194. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceOverview.php +236 -0
  195. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStateSummary.php +232 -0
  196. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStatus.php +244 -0
  197. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationSettingState.php +374 -0
  198. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationState.php +210 -0
  199. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserOverview.php +236 -0
  200. vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserStatus.php +182 -0
  201. vendor/microsoft/microsoft-graph/src/Model/DeviceDetail.php +224 -0
  202. vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentConfiguration.php +241 -0
  203. vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentFailureReason.php +46 -0
  204. vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentLimitConfiguration.php +58 -0
  205. vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestriction.php +140 -0
  206. vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php +194 -0
  207. vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentType.php +44 -0
  208. vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentWindowsHelloForBusinessConfiguration.php +397 -0
  209. vendor/microsoft/microsoft-graph/src/Model/DeviceExchangeAccessStateSummary.php +168 -0
  210. vendor/microsoft/microsoft-graph/src/Model/DeviceGeoLocation.php +257 -0
  211. vendor/microsoft/microsoft-graph/src/Model/DeviceHealthAttestationState.php +929 -0
  212. vendor/microsoft/microsoft-graph/src/Model/DeviceInstallState.php +269 -0
  213. vendor/microsoft/microsoft-graph/src/Model/DeviceManagement.php +230 -0
CHANGELOG.md CHANGED
@@ -2,7 +2,71 @@
2
 
3
  ## [Unreleased](https://github.com/watchfulli/XCloner-Wordpress/tree/HEAD)
4
 
5
- [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.0...HEAD)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  **Implemented enhancements:**
8
 
@@ -21,6 +85,7 @@
21
 
22
  **Merged pull requests:**
23
 
 
24
  - Milestone4.2.0 [\#94](https://github.com/watchfulli/XCloner-Wordpress/pull/94) ([ovidiul](https://github.com/ovidiul))
25
 
26
  ## [4.2.0](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.0) (2020-06-01)
@@ -140,7 +205,7 @@
140
 
141
  ## [4.0.6](https://github.com/watchfulli/XCloner-Wordpress/tree/4.0.6) (2017-12-18)
142
 
143
- [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.0.1...4.0.6)
144
 
145
  **Closed issues:**
146
 
@@ -152,13 +217,13 @@
152
 
153
  - German Translation [\#5](https://github.com/watchfulli/XCloner-Wordpress/pull/5) ([QuadStingray](https://github.com/QuadStingray))
154
 
155
- ## [4.0.1](https://github.com/watchfulli/XCloner-Wordpress/tree/4.0.1) (2017-03-20)
156
 
157
- [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.0.2...4.0.1)
158
 
159
- ## [4.0.2](https://github.com/watchfulli/XCloner-Wordpress/tree/4.0.2) (2017-03-20)
160
 
161
- [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/89d1407d361293c1f1a0bf9ac020990a082ac8f0...4.0.2)
162
 
163
  **Closed issues:**
164
 
2
 
3
  ## [Unreleased](https://github.com/watchfulli/XCloner-Wordpress/tree/HEAD)
4
 
5
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.9d...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Milestone4.2.10 [\#115](https://github.com/watchfulli/XCloner-Wordpress/pull/115) ([ovidiul](https://github.com/ovidiul))
10
+
11
+ ## [4.2.9d](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.9d) (2020-06-29)
12
+
13
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.9c...4.2.9d)
14
+
15
+ ## [4.2.9c](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.9c) (2020-06-19)
16
+
17
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.9b...4.2.9c)
18
+
19
+ ## [4.2.9b](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.9b) (2020-06-18)
20
+
21
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.9a...4.2.9b)
22
+
23
+ ## [4.2.9a](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.9a) (2020-06-18)
24
+
25
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.9...4.2.9a)
26
+
27
+ ## [4.2.9](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.9) (2020-06-18)
28
+
29
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.8r...4.2.9)
30
+
31
+ ## [4.2.8r](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.8r) (2020-06-15)
32
+
33
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.8...4.2.8r)
34
+
35
+ ## [4.2.8](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.8) (2020-06-15)
36
+
37
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.7...4.2.8)
38
+
39
+ ## [4.2.7](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.7) (2020-06-15)
40
+
41
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.6...4.2.7)
42
+
43
+ ## [4.2.6](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.6) (2020-06-15)
44
+
45
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.5...4.2.6)
46
+
47
+ ## [4.2.5](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.5) (2020-06-15)
48
+
49
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.4...4.2.5)
50
+
51
+ ## [4.2.4](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.4) (2020-06-15)
52
+
53
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.3...4.2.4)
54
+
55
+ ## [4.2.3](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.3) (2020-06-15)
56
+
57
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.2...4.2.3)
58
+
59
+ ## [4.2.2](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.2) (2020-06-15)
60
+
61
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.1...4.2.2)
62
+
63
+ **Merged pull requests:**
64
+
65
+ - Milestone4.2.1 [\#106](https://github.com/watchfulli/XCloner-Wordpress/pull/106) ([ovidiul](https://github.com/ovidiul))
66
+
67
+ ## [4.2.1](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.1) (2020-06-15)
68
+
69
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.2.0...4.2.1)
70
 
71
  **Implemented enhancements:**
72
 
85
 
86
  **Merged pull requests:**
87
 
88
+ - Milestone4.2.1 [\#105](https://github.com/watchfulli/XCloner-Wordpress/pull/105) ([ovidiul](https://github.com/ovidiul))
89
  - Milestone4.2.0 [\#94](https://github.com/watchfulli/XCloner-Wordpress/pull/94) ([ovidiul](https://github.com/ovidiul))
90
 
91
  ## [4.2.0](https://github.com/watchfulli/XCloner-Wordpress/tree/4.2.0) (2020-06-01)
205
 
206
  ## [4.0.6](https://github.com/watchfulli/XCloner-Wordpress/tree/4.0.6) (2017-12-18)
207
 
208
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.0.2...4.0.6)
209
 
210
  **Closed issues:**
211
 
217
 
218
  - German Translation [\#5](https://github.com/watchfulli/XCloner-Wordpress/pull/5) ([QuadStingray](https://github.com/QuadStingray))
219
 
220
+ ## [4.0.2](https://github.com/watchfulli/XCloner-Wordpress/tree/4.0.2) (2017-03-20)
221
 
222
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/4.0.1...4.0.2)
223
 
224
+ ## [4.0.1](https://github.com/watchfulli/XCloner-Wordpress/tree/4.0.1) (2017-03-20)
225
 
226
+ [Full Changelog](https://github.com/watchfulli/XCloner-Wordpress/compare/89d1407d361293c1f1a0bf9ac020990a082ac8f0...4.0.1)
227
 
228
  **Closed issues:**
229
 
README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: backup, database backup, cloud backup, WordPress backup, WordPress migrati
5
  Requires at least: 3.0.1
6
  Requires PHP: 7.1
7
  Tested up to: 5.4
8
- Stable tag: 4.2.9
9
 
10
  XCloner is a backup plugin that allows you to safely back up and restore your WordPress sites. You can send site backups to SFTP, Dropbox, Amazon, Google Drive, Backblaze and other locations.
11
 
@@ -116,6 +116,16 @@ Of course, schedules can be adjusted accordingly to how often you update your si
116
 
117
  == Changelog ==
118
 
 
 
 
 
 
 
 
 
 
 
119
  = 4.2.9 =
120
 
121
  * scheduler fix call init
5
  Requires at least: 3.0.1
6
  Requires PHP: 7.1
7
  Tested up to: 5.4
8
+ Stable tag: 4.2.10
9
 
10
  XCloner is a backup plugin that allows you to safely back up and restore your WordPress sites. You can send site backups to SFTP, Dropbox, Amazon, Google Drive, Backblaze and other locations.
11
 
116
 
117
  == Changelog ==
118
 
119
+ = 4.2.10=
120
+
121
+ * Add `Local Storage` to the `Remote Storage` area
122
+ * Cleanup uploaded archive after restore
123
+ * Add WP-CLI support
124
+ * Add Microsoft OneDrive support to remote storage
125
+ * BUG: Load webdav vendor lib only if webdav is activated
126
+ * Add support for Backblaze application keys
127
+ * BUG: Google Drive upload issue
128
+
129
  = 4.2.9 =
130
 
131
  * scheduler fix call init
admin/class-xcloner-admin.php CHANGED
@@ -255,9 +255,9 @@ class Xcloner_Admin {
255
  <li><a href="?page=xcloner_settings_page&tab=system_options"
256
  class="nav-tab col s12 m3 l2 <?php echo $active_tab == 'system_options' ? 'nav-tab-active' : ''; ?>"><?php echo __('System Options', 'xcloner-backup-and-restore') ?></a>
257
  </li>
258
- <li><a href="?page=xcloner_settings_page&tab=cleanup_options"
259
  class="nav-tab col s12 m3 l2 <?php echo $active_tab == 'cleanup_options' ? 'nav-tab-active' : ''; ?>"><?php echo __('Cleanup Options', 'xcloner-backup-and-restore') ?></a>
260
- </li>
261
  </ul>
262
 
263
  <div class="wrap">
255
  <li><a href="?page=xcloner_settings_page&tab=system_options"
256
  class="nav-tab col s12 m3 l2 <?php echo $active_tab == 'system_options' ? 'nav-tab-active' : ''; ?>"><?php echo __('System Options', 'xcloner-backup-and-restore') ?></a>
257
  </li>
258
+ <!--<li><a href="?page=xcloner_settings_page&tab=cleanup_options"
259
  class="nav-tab col s12 m3 l2 <?php echo $active_tab == 'cleanup_options' ? 'nav-tab-active' : ''; ?>"><?php echo __('Cleanup Options', 'xcloner-backup-and-restore') ?></a>
260
+ </li>-->
261
  </ul>
262
 
263
  <div class="wrap">
admin/js/xcloner-restore-class.js CHANGED
@@ -499,6 +499,8 @@ class Xcloner_Restore{
499
  this.set_cancel(false);
500
 
501
  var params = new Object()
 
 
502
 
503
  params.remote_mysql_host = jQuery(".xcloner-restore #remote_mysql_host").val();
504
  params.remote_mysql_db = jQuery(".xcloner-restore #remote_mysql_db").val();
@@ -513,11 +515,16 @@ class Xcloner_Restore{
513
 
514
  if(jQuery(".xcloner-restore #delete_backup_temporary_folder").is(":checked"))
515
  params.delete_backup_temporary_folder = 1;
 
516
  if(jQuery(".xcloner-restore #delete_restore_script").is(":checked"))
517
  params.delete_restore_script = 1;
 
518
  if(jQuery(".xcloner-restore #update_remote_site_url").is(":checked"))
519
  params.update_remote_site_url = 1;
520
 
 
 
 
521
  this.do_ajax('restore_finish_callback', 'restore_finish', params)
522
 
523
  }
@@ -619,7 +626,7 @@ class Xcloner_Restore{
619
  this.restore_script_url = ajaxurl+"?action=restore_backup";
620
  this.local_restore = 1;
621
  //jQuery("#remote-restore-options").hide();
622
- //jQuery("#update_remote_site_url").attr("disabled", "disabled").removeAttr("checked");
623
  jQuery("#delete_restore_script").attr("disabled", "disabled").removeAttr("checked");
624
  }else{
625
  this.local_restore = 0;
499
  this.set_cancel(false);
500
 
501
  var params = new Object()
502
+
503
+ params.backup_archive = jQuery(".xcloner-restore #remote_backup_file").val();
504
 
505
  params.remote_mysql_host = jQuery(".xcloner-restore #remote_mysql_host").val();
506
  params.remote_mysql_db = jQuery(".xcloner-restore #remote_mysql_db").val();
515
 
516
  if(jQuery(".xcloner-restore #delete_backup_temporary_folder").is(":checked"))
517
  params.delete_backup_temporary_folder = 1;
518
+
519
  if(jQuery(".xcloner-restore #delete_restore_script").is(":checked"))
520
  params.delete_restore_script = 1;
521
+
522
  if(jQuery(".xcloner-restore #update_remote_site_url").is(":checked"))
523
  params.update_remote_site_url = 1;
524
 
525
+ if(jQuery(".xcloner-restore #delete_backup_archive").is(":checked"))
526
+ params.delete_backup_archive = 1;
527
+
528
  this.do_ajax('restore_finish_callback', 'restore_finish', params)
529
 
530
  }
626
  this.restore_script_url = ajaxurl+"?action=restore_backup";
627
  this.local_restore = 1;
628
  //jQuery("#remote-restore-options").hide();
629
+ jQuery("#delete_backup_archive").attr("disabled", "disabled").removeAttr("checked");
630
  jQuery("#delete_restore_script").attr("disabled", "disabled").removeAttr("checked");
631
  }else{
632
  this.local_restore = 0;
admin/partials/xcloner_remote_storage_page.php CHANGED
@@ -13,16 +13,21 @@ $gdrive_construct = $remote_storage->gdrive_construct();
13
  <?php
14
  function common_cleanup_html($type)
15
  {
 
 
 
 
 
16
  ob_start(); ?>
17
  <!-- Cleanup by Days -->
18
  <div class="row">
19
  <div class="col s12 m3 label">
20
- <label for="{type}_cleanup_retention_limit_days"><?php echo __("Cleanup by Age", 'xcloner-backup-and-restore') ?></label>
21
  </div>
22
  <div class=" col s12 m6">
23
  <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore') ?>"
24
- id="{type}_cleanup_retention_limit_days" type="text" name="xcloner_{type}_cleanup_retention_limit_days"
25
- class="validate" value="<?php echo get_option("xcloner_".$type."_cleanup_retention_limit_days") ?>">
26
  </div>
27
  </div>
28
 
@@ -33,9 +38,9 @@ function common_cleanup_html($type)
33
  </div>
34
  <div class=" col s12 m6">
35
  <input placeholder="<?php echo __("how many backup files to keep", 'xcloner-backup-and-restore') ?>"
36
- id="xcloner_{type}_cleanup_retention_limit_archives" type="number" name="xcloner_{type}_cleanup_retention_limit_archives"
37
  class="validate"
38
- value="<?php echo get_option("xcloner_".$type."_cleanup_retention_limit_archives") ?>">
39
  </div>
40
  </div>
41
 
@@ -46,9 +51,9 @@ function common_cleanup_html($type)
46
  </div>
47
  <div class=" col s12 m6">
48
  <input placeholder="<?php echo __("delete backup over specified limit", 'xcloner-backup-and-restore') ?>"
49
- id="xcloner_{type}_cleanup_capacity_limit" type="number" name="xcloner_{type}_cleanup_capacity_limit"
50
  class="validate"
51
- value="<?php echo get_option("xcloner_".$type."_cleanup_capacity_limit") ?>">
52
  </div>
53
  </div>
54
 
@@ -59,9 +64,9 @@ function common_cleanup_html($type)
59
  </div>
60
  <div class=" col s12 m6">
61
  <input placeholder="<?php echo __("days of month, comma separated", 'xcloner-backup-and-restore') ?>"
62
- id="xcloner_{type}_cleanup_exclude_days" type="text" name="xcloner_{type}_cleanup_exclude_days"
63
  class="validate"
64
- value="<?php echo get_option("xcloner_".$type."_cleanup_exclude_days") ?>">
65
  </div>
66
  </div>
67
  <?php
@@ -81,6 +86,66 @@ $common_cleanup_html = ob_get_contents();
81
  <div class="row remote-storage">
82
  <div class="col s12 m12 l10">
83
  <ul class="collapsible popout" data-collapsible="accordion">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  <!-- FTP STORAGE-->
85
  <li id="ftp">
86
  <div class="collapsible-header">
@@ -158,8 +223,8 @@ $common_cleanup_html = ob_get_contents();
158
  <label for="passive">
159
  <input name="xcloner_ftp_transfer_mode" type="radio" id="passive"
160
  value="1" <?php if (get_option("xcloner_ftp_transfer_mode", 1)) {
161
- echo "checked";
162
- } ?> />
163
  <span><?php echo __("Passive", 'xcloner-backup-and-restore') ?></span>
164
  </label>
165
  </p>
@@ -167,8 +232,8 @@ $common_cleanup_html = ob_get_contents();
167
  <label for="active">
168
  <input name="xcloner_ftp_transfer_mode" type="radio" id="active"
169
  value="0" <?php if (!get_option("xcloner_ftp_transfer_mode", 1)) {
170
- echo "checked";
171
- } ?> />
172
  <span><?php echo __("Active", 'xcloner-backup-and-restore') ?></span>
173
  </label>
174
  </p>
@@ -184,8 +249,8 @@ $common_cleanup_html = ob_get_contents();
184
  <label for="ftp_ssl_mode_inactive">
185
  <input name="xcloner_ftp_ssl_mode" type="radio" id="ftp_ssl_mode_inactive"
186
  value="0" <?php if (!get_option("xcloner_ftp_ssl_mode")) {
187
- echo "checked";
188
- } ?> />
189
  <span><?php echo __("Disable", 'xcloner-backup-and-restore') ?></span>
190
  </label></p>
191
  <p>
@@ -561,6 +626,107 @@ $common_cleanup_html = ob_get_contents();
561
  </div>
562
  </li>
563
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
564
  <!-- AZURE STORAGE-->
565
  <li id="azure">
566
  <div class="collapsible-header">
@@ -943,8 +1109,8 @@ $common_cleanup_html = ob_get_contents();
943
  <label for="gdrive_empty_trash_off">
944
  <input name="xcloner_gdrive_empty_trash" type="radio" value="0"
945
  id="gdrive_empty_trash_off" <?php if (!get_option("xcloner_gdrive_empty_trash", 0)) {
946
- echo "checked";
947
- } ?> />
948
  <span><?php echo __("Disabled", 'xcloner-backup-and-restore') ?></span>
949
  </label>
950
  </p>
@@ -952,8 +1118,8 @@ $common_cleanup_html = ob_get_contents();
952
  <label for="gdrive_empty_trash_on">
953
  <input name="xcloner_gdrive_empty_trash" type="radio" value="1"
954
  id="gdrive_empty_trash_on" <?php if (get_option("xcloner_gdrive_empty_trash", 0)) {
955
- echo "checked";
956
- } ?> />
957
  <span><?php echo __("Enabled", 'xcloner-backup-and-restore') ?></span>
958
  </label>
959
  </p>
@@ -1057,8 +1223,10 @@ $common_cleanup_html = ob_get_contents();
1057
 
1058
  });
1059
 
1060
- if (location.hash)
1061
- jQuery(location.hash + " div.collapsible-header").addClass("active");
 
 
1062
 
1063
  jQuery('.collapsible').collapsible();
1064
 
13
  <?php
14
  function common_cleanup_html($type)
15
  {
16
+ if ($type == "local") {
17
+ $type = "";
18
+ }else{
19
+ $type .= "_";
20
+ }
21
  ob_start(); ?>
22
  <!-- Cleanup by Days -->
23
  <div class="row">
24
  <div class="col s12 m3 label">
25
+ <label for="xcloner_{type}_cleanup_retention_limit_days"><?php echo __("Cleanup by Age", 'xcloner-backup-and-restore') ?></label>
26
  </div>
27
  <div class=" col s12 m6">
28
  <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore') ?>"
29
+ id="xcloner_{type}cleanup_retention_limit_days" type="text" name="xcloner_{type}cleanup_retention_limit_days"
30
+ class="validate" value="<?php echo get_option("xcloner_".$type."cleanup_retention_limit_days") ?>">
31
  </div>
32
  </div>
33
 
38
  </div>
39
  <div class=" col s12 m6">
40
  <input placeholder="<?php echo __("how many backup files to keep", 'xcloner-backup-and-restore') ?>"
41
+ id="xcloner_{type}cleanup_retention_limit_archives" type="number" name="xcloner_{type}cleanup_retention_limit_archives"
42
  class="validate"
43
+ value="<?php echo get_option("xcloner_".$type."cleanup_retention_limit_archives") ?>">
44
  </div>
45
  </div>
46
 
51
  </div>
52
  <div class=" col s12 m6">
53
  <input placeholder="<?php echo __("delete backup over specified limit", 'xcloner-backup-and-restore') ?>"
54
+ id="xcloner_{type}cleanup_capacity_limit" type="number" name="xcloner_{type}cleanup_capacity_limit"
55
  class="validate"
56
+ value="<?php echo get_option("xcloner_".$type."cleanup_capacity_limit") ?>">
57
  </div>
58
  </div>
59
 
64
  </div>
65
  <div class=" col s12 m6">
66
  <input placeholder="<?php echo __("days of month, comma separated", 'xcloner-backup-and-restore') ?>"
67
+ id="xcloner_{type}cleanup_exclude_days" type="text" name="xcloner_{type}cleanup_exclude_days"
68
  class="validate"
69
+ value="<?php echo get_option("xcloner_".$type."cleanup_exclude_days") ?>">
70
  </div>
71
  </div>
72
  <?php
86
  <div class="row remote-storage">
87
  <div class="col s12 m12 l10">
88
  <ul class="collapsible popout" data-collapsible="accordion">
89
+
90
+ <!-- LOCAL STORAGE-->
91
+ <li id="local">
92
+ <div class="collapsible-header">
93
+ <i class="material-icons">computer</i><?php echo __("Local Storage", 'xcloner-backup-and-restore') ?>
94
+ <div class="switch right">
95
+ <label>
96
+ Off
97
+ <input type="checkbox" checked disabled class="disabled readonly" \>
98
+ <span class="lever"></span>
99
+ On
100
+ </label>
101
+ </div>
102
+ </div>
103
+ <div class="collapsible-body">
104
+
105
+ <div class="row">
106
+ <div class="col s12 m3 label">
107
+ <label for="aws_key"><?php echo __("Backup Start Location", 'xcloner-backup-and-restore') ?></label>
108
+ </div>
109
+ <div class=" col s12 m6">
110
+ <input placeholder="<?php echo __("Backup Start Location", 'xcloner-backup-and-restore') ?>"
111
+ id="aws_key" type="text" name="xcloner_start_path" class="validate"
112
+ value="<?php echo get_option("xcloner_start_path") ?>" autocomplete="off">
113
+ </div>
114
+ </div>
115
+
116
+ <div class="row">
117
+ <div class="col s12 m3 label">
118
+ <label for="aws_key"><?php echo __("Backup Storage Location", 'xcloner-backup-and-restore') ?></label>
119
+ </div>
120
+ <div class=" col s12 m6">
121
+ <input placeholder="<?php echo __("Backup Storage Location", 'xcloner-backup-and-restore') ?>"
122
+ id="aws_key" type="text" name="xcloner_store_path" class="validate"
123
+ value="<?php echo get_option("xcloner_store_path") ?>" autocomplete="off">
124
+ </div>
125
+ </div>
126
+
127
+ <?=common_cleanup_html('local')?>
128
+
129
+ <div class="row">
130
+ <div class="col s6 m4">
131
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action"
132
+ value="local"><?php echo __("Save Settings", 'xcloner-backup-and-restore') ?>
133
+ <i class="material-icons right">save</i>
134
+ </button>
135
+ </div>
136
+ <div class="col s6 m4">
137
+ <button class="btn waves-effect waves-light orange" type="submit" name="action"
138
+ id="action" value="local"
139
+ onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore') ?>
140
+ <i class="material-icons right">import_export</i>
141
+ </button>
142
+ </div>
143
+ </div>
144
+
145
+ </div>
146
+ </li>
147
+
148
+
149
  <!-- FTP STORAGE-->
150
  <li id="ftp">
151
  <div class="collapsible-header">
223
  <label for="passive">
224
  <input name="xcloner_ftp_transfer_mode" type="radio" id="passive"
225
  value="1" <?php if (get_option("xcloner_ftp_transfer_mode", 1)) {
226
+ echo "checked";
227
+ } ?> />
228
  <span><?php echo __("Passive", 'xcloner-backup-and-restore') ?></span>
229
  </label>
230
  </p>
232
  <label for="active">
233
  <input name="xcloner_ftp_transfer_mode" type="radio" id="active"
234
  value="0" <?php if (!get_option("xcloner_ftp_transfer_mode", 1)) {
235
+ echo "checked";
236
+ } ?> />
237
  <span><?php echo __("Active", 'xcloner-backup-and-restore') ?></span>
238
  </label>
239
  </p>
249
  <label for="ftp_ssl_mode_inactive">
250
  <input name="xcloner_ftp_ssl_mode" type="radio" id="ftp_ssl_mode_inactive"
251
  value="0" <?php if (!get_option("xcloner_ftp_ssl_mode")) {
252
+ echo "checked";
253
+ } ?> />
254
  <span><?php echo __("Disable", 'xcloner-backup-and-restore') ?></span>
255
  </label></p>
256
  <p>
626
  </div>
627
  </li>
628
 
629
+ <!-- ONEDRIVE STORAGE-->
630
+ <li id="onedrive">
631
+ <div class="collapsible-header">
632
+ <i class="material-icons">computer</i><?php echo __("OneDrive Storage", 'xcloner-backup-and-restore') ?>
633
+ <div class="switch right">
634
+ <label>
635
+ Off
636
+ <input type="checkbox" name="xcloner_onedrive_enable" class="status"
637
+ value="1" <?php if (get_option("xcloner_onedrive_enable")) {
638
+ echo "checked";
639
+ } ?> \>
640
+ <span class="lever"></span>
641
+ On
642
+ </label>
643
+ </div>
644
+ </div>
645
+ <div class="collapsible-body">
646
+
647
+ <div class="row">
648
+ <div class="col s12 m3 label">
649
+ &nbsp;
650
+ </div>
651
+ <div class=" col s12 m6">
652
+ <p>
653
+ <?php echo sprintf(__('Visit <a href="%s" target="_blank">Microsoft Azure App Registrations</a> and get your Client ID and Client Secret. More details on setting up the code flow authentication can be found <a href="%s">here</a>.
654
+ Make sure to also add the %s to the Authentication->Redirect URIs area', 'xcloner-backup-and-restore'), 'https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade', 'https://docs.microsoft.com/en-us/onedrive/developer/rest-api/getting-started/graph-oauth?view=odsp-graph-online#code-flow', get_admin_url()) ?>
655
+ </p>
656
+ </div>
657
+ </div>
658
+
659
+ <div class="row">
660
+ <div class="col s12 m3 label">
661
+ <label for="onedrive_client_id"><?php echo __("OneDrive Client ID", 'xcloner-backup-and-restore') ?></label>
662
+ </div>
663
+ <div class=" col s12 m6">
664
+ <input placeholder="<?php echo __("OneDrive Client ID", 'xcloner-backup-and-restore') ?>"
665
+ id="onedrive_client_id" type="text" name="xcloner_onedrive_client_id" class="validate"
666
+ value="<?=get_option("xcloner_onedrive_client_id") ?>"
667
+ autocomplete="off">
668
+ </div>
669
+ </div>
670
+
671
+ <div class="row">
672
+ <div class="col s12 m3 label">
673
+ <label for="onedrive_client_secret"><?php echo __("OneDrive Client Secret", 'xcloner-backup-and-restore') ?></label>
674
+ </div>
675
+ <div class=" col s12 m6">
676
+ <input placeholder="<?php echo __("OneDrive Client Secret", 'xcloner-backup-and-restore') ?>"
677
+ id="onedrive_client_secret" type="text" name="xcloner_onedrive_client_secret" class="validate"
678
+ value="<?php echo str_repeat('*', strlen(get_option("xcloner_onedrive_client_secret"))) ?>"
679
+ autocomplete="off">
680
+ </div>
681
+ </div>
682
+
683
+ <div class="row">
684
+ <div class="col s12 m3 label">
685
+ &nbsp;
686
+ </div>
687
+ <div class=" col s12 m6">
688
+ <a class="btn" target="_blank" id="onedrive_authorization_click"
689
+ onclick="jQuery(this).attr('href', jQuery(this).attr('target_href') + '&client_id=' + jQuery('#onedrive_client_id').val());
690
+ jQuery('.onedrive-action').click()"
691
+ href="#"
692
+ target_href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?scope=offline_access files.readwrite.all files.read files.read.all files.readwrite&response_type=code&redirect_uri=<?=get_admin_url('')?>"><?php echo sprintf(__('Authorize OneDrive', 'xcloner-backup-and-restore')) ?></a>
693
+ <input type="text" name="authentification_code" id="authentification_code"
694
+ placeholder="<?php echo __("Paste Authorization Code Here", "xcloner-backup-and-restore") ?>">
695
+ </div>
696
+ </div>
697
+
698
+ <div class="row">
699
+ <div class="col s12 m3 label">
700
+ <label for="onedrive_path"><?php echo __("OneDrive Storage Folder", 'xcloner-backup-and-restore') ?></label>
701
+ </div>
702
+ <div class=" col s12 m6">
703
+ <input placeholder="<?php echo __("OneDrive Storage Folder Path", 'xcloner-backup-and-restore') ?>"
704
+ id="onedrive_path" type="text" name="xcloner_onedrive_path" class="validate"
705
+ value="<?php echo get_option("xcloner_onedrive_path") ?>">
706
+ </div>
707
+ </div>
708
+
709
+ <?=common_cleanup_html('onedrive')?>
710
+
711
+ <div class="row">
712
+ <div class="col s6 m4">
713
+ <button class="btn waves-effect waves-light onedrive-action" type="submit" name="action" id="action"
714
+ value="onedrive"><?php echo __("Save Settings", 'xcloner-backup-and-restore') ?>
715
+ <i class="material-icons right">save</i>
716
+ </button>
717
+ </div>
718
+ <div class="col s6 m4">
719
+ <button class="btn waves-effect waves-light orange" type="submit" name="action"
720
+ id="action" value="onedrive"
721
+ onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore') ?>
722
+ <i class="material-icons right">import_export</i>
723
+ </button>
724
+ </div>
725
+ </div>
726
+
727
+ </div>
728
+ </li>
729
+
730
  <!-- AZURE STORAGE-->
731
  <li id="azure">
732
  <div class="collapsible-header">
1109
  <label for="gdrive_empty_trash_off">
1110
  <input name="xcloner_gdrive_empty_trash" type="radio" value="0"
1111
  id="gdrive_empty_trash_off" <?php if (!get_option("xcloner_gdrive_empty_trash", 0)) {
1112
+ echo "checked";
1113
+ } ?> />
1114
  <span><?php echo __("Disabled", 'xcloner-backup-and-restore') ?></span>
1115
  </label>
1116
  </p>
1118
  <label for="gdrive_empty_trash_on">
1119
  <input name="xcloner_gdrive_empty_trash" type="radio" value="1"
1120
  id="gdrive_empty_trash_on" <?php if (get_option("xcloner_gdrive_empty_trash", 0)) {
1121
+ echo "checked";
1122
+ } ?> />
1123
  <span><?php echo __("Enabled", 'xcloner-backup-and-restore') ?></span>
1124
  </label>
1125
  </p>
1223
 
1224
  });
1225
 
1226
+ console.log(location.hash)
1227
+ if (location.hash) {
1228
+ jQuery(location.hash).addClass("active");
1229
+ }
1230
 
1231
  jQuery('.collapsible').collapsible();
1232
 
admin/partials/xcloner_restore_page.php CHANGED
@@ -426,6 +426,23 @@ $backup_list = $xcloner_file_system->get_latest_backups();
426
  </div>
427
  </div>
428
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429
  <div class="row">
430
  <div class="col s4">
431
  <span><?php echo __("Delete Restore Script", 'xcloner-backup-and-restore') ?></span>
@@ -442,6 +459,7 @@ $backup_list = $xcloner_file_system->get_latest_backups();
442
  </div>
443
  </div>
444
  </div>
 
445
 
446
  <div class=" row col s12">
447
  <div class="status"></div>
426
  </div>
427
  </div>
428
 
429
+ <div class="row">
430
+ <div class="col s4">
431
+ <span><?php echo __("Delete Backup Archive", 'xcloner-backup-and-restore') ?></span>
432
+ </div>
433
+ <div class="col s8">
434
+ <div class="switch">
435
+ <label>
436
+ Off
437
+ <input type="checkbox" id="delete_backup_archive" name="delete_backup_archive"
438
+ value="1">
439
+ <span class="lever"></span>
440
+ On
441
+ </label>
442
+ </div>
443
+ </div>
444
+ </div>
445
+
446
  <div class="row">
447
  <div class="col s4">
448
  <span><?php echo __("Delete Restore Script", 'xcloner-backup-and-restore') ?></span>
459
  </div>
460
  </div>
461
  </div>
462
+
463
 
464
  <div class=" row col s12">
465
  <div class="status"></div>
composer.json CHANGED
@@ -10,7 +10,8 @@
10
  "mhetreramesh/flysystem-backblaze": "^1.0",
11
  "league/flysystem-webdav": "^1.0",
12
  "srmklive/flysystem-dropbox-v2": "^1.0",
13
- "league/flysystem-azure-blob-storage": "^0.1.6"
 
14
  },
15
  "prefer-stable": true,
16
  "require-dev": {
10
  "mhetreramesh/flysystem-backblaze": "^1.0",
11
  "league/flysystem-webdav": "^1.0",
12
  "srmklive/flysystem-dropbox-v2": "^1.0",
13
+ "league/flysystem-azure-blob-storage": "^0.1.6",
14
+ "nicolasbeauvais/flysystem-onedrive": "^1.0"
15
  },
16
  "prefer-stable": true,
17
  "require-dev": {
composer.lock CHANGED
@@ -4,7 +4,7 @@
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
- "content-hash": "52e5fc953cbddf115b66d5cd732778d4",
8
  "packages": [
9
  {
10
  "name": "aws/aws-sdk-php",
@@ -189,16 +189,16 @@
189
  },
190
  {
191
  "name": "guzzlehttp/guzzle",
192
- "version": "6.5.4",
193
  "source": {
194
  "type": "git",
195
  "url": "https://github.com/guzzle/guzzle.git",
196
- "reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d"
197
  },
198
  "dist": {
199
  "type": "zip",
200
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
201
- "reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
202
  "shasum": ""
203
  },
204
  "require": {
@@ -206,7 +206,7 @@
206
  "guzzlehttp/promises": "^1.0",
207
  "guzzlehttp/psr7": "^1.6.1",
208
  "php": ">=5.5",
209
- "symfony/polyfill-intl-idn": "1.17.0"
210
  },
211
  "require-dev": {
212
  "ext-curl": "*",
@@ -252,7 +252,7 @@
252
  "rest",
253
  "web service"
254
  ],
255
- "time": "2020-05-25T19:35:05+00:00"
256
  },
257
  {
258
  "name": "guzzlehttp/promises",
@@ -825,6 +825,51 @@
825
  ],
826
  "time": "2020-01-02T07:15:54+00:00"
827
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
828
  {
829
  "name": "mikey179/vfsstream",
830
  "version": "v1.6.8",
@@ -1066,6 +1111,57 @@
1066
  ],
1067
  "time": "2019-10-14T05:51:36+00:00"
1068
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1069
  {
1070
  "name": "phpseclib/phpseclib",
1071
  "version": "2.0.27",
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
+ "content-hash": "250d059bdc729c62a9a6bb69e8139255",
8
  "packages": [
9
  {
10
  "name": "aws/aws-sdk-php",
189
  },
190
  {
191
  "name": "guzzlehttp/guzzle",
192
+ "version": "6.5.5",
193
  "source": {
194
  "type": "git",
195
  "url": "https://github.com/guzzle/guzzle.git",
196
+ "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
197
  },
198
  "dist": {
199
  "type": "zip",
200
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
201
+ "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
202
  "shasum": ""
203
  },
204
  "require": {
206
  "guzzlehttp/promises": "^1.0",
207
  "guzzlehttp/psr7": "^1.6.1",
208
  "php": ">=5.5",
209
+ "symfony/polyfill-intl-idn": "^1.17.0"
210
  },
211
  "require-dev": {
212
  "ext-curl": "*",
252
  "rest",
253
  "web service"
254
  ],
255
+ "time": "2020-06-16T21:01:06+00:00"
256
  },
257
  {
258
  "name": "guzzlehttp/promises",
825
  ],
826
  "time": "2020-01-02T07:15:54+00:00"
827
  },
828
+ {
829
+ "name": "microsoft/microsoft-graph",
830
+ "version": "1.13.0",
831
+ "source": {
832
+ "type": "git",
833
+ "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
834
+ "reference": "584b71bf888659596003d9c8acab06161def8ae5"
835
+ },
836
+ "dist": {
837
+ "type": "zip",
838
+ "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/584b71bf888659596003d9c8acab06161def8ae5",
839
+ "reference": "584b71bf888659596003d9c8acab06161def8ae5",
840
+ "shasum": ""
841
+ },
842
+ "require": {
843
+ "guzzlehttp/guzzle": "^6.2",
844
+ "php": "^7.1"
845
+ },
846
+ "require-dev": {
847
+ "mikey179/vfsstream": "^1.2",
848
+ "phpdocumentor/phpdocumentor": "^2.9",
849
+ "phpunit/phpunit": "^7.5"
850
+ },
851
+ "type": "library",
852
+ "autoload": {
853
+ "psr-4": {
854
+ "Microsoft\\Graph\\": "src/",
855
+ "Microsoft\\Graph\\Test\\": "tests/Functional/"
856
+ }
857
+ },
858
+ "notification-url": "https://packagist.org/downloads/",
859
+ "license": [
860
+ "MIT"
861
+ ],
862
+ "authors": [
863
+ {
864
+ "name": "Michael Mainer",
865
+ "email": "mmainer@microsoft.com",
866
+ "role": "Developer"
867
+ }
868
+ ],
869
+ "description": "The Microsoft Graph SDK for PHP",
870
+ "homepage": "https://developer.microsoft.com/en-us/graph",
871
+ "time": "2020-02-04T23:16:38+00:00"
872
+ },
873
  {
874
  "name": "mikey179/vfsstream",
875
  "version": "v1.6.8",
1111
  ],
1112
  "time": "2019-10-14T05:51:36+00:00"
1113
  },
1114
+ {
1115
+ "name": "nicolasbeauvais/flysystem-onedrive",
1116
+ "version": "v1.0.2",
1117
+ "source": {
1118
+ "type": "git",
1119
+ "url": "https://github.com/nicolasbeauvais/flysystem-onedrive.git",
1120
+ "reference": "38ad35f2bbe4efb8f41391ef6ebba057f95b8f47"
1121
+ },
1122
+ "dist": {
1123
+ "type": "zip",
1124
+ "url": "https://api.github.com/repos/nicolasbeauvais/flysystem-onedrive/zipball/38ad35f2bbe4efb8f41391ef6ebba057f95b8f47",
1125
+ "reference": "38ad35f2bbe4efb8f41391ef6ebba057f95b8f47",
1126
+ "shasum": ""
1127
+ },
1128
+ "require": {
1129
+ "league/flysystem": "^1.0",
1130
+ "microsoft/microsoft-graph": "^1.0",
1131
+ "php": "^7.0"
1132
+ },
1133
+ "require-dev": {
1134
+ "phpunit/phpunit": "^6.0"
1135
+ },
1136
+ "type": "library",
1137
+ "autoload": {
1138
+ "psr-4": {
1139
+ "NicolasBeauvais\\FlysystemOneDrive\\": "src"
1140
+ }
1141
+ },
1142
+ "notification-url": "https://packagist.org/downloads/",
1143
+ "license": [
1144
+ "MIT"
1145
+ ],
1146
+ "authors": [
1147
+ {
1148
+ "name": "Nicolas Beauvais",
1149
+ "email": "nicolasbeauvais1@gmail.com",
1150
+ "homepage": "http://nicolas-beauvais.com",
1151
+ "role": "Developer"
1152
+ }
1153
+ ],
1154
+ "description": "Flysystem Adapter for the OneDrive API",
1155
+ "homepage": "https://github.com/nicolasbeauvais/flysystem-onedrive",
1156
+ "keywords": [
1157
+ "Flysystem",
1158
+ "OneDrive",
1159
+ "api",
1160
+ "flysystem-onedrive"
1161
+ ],
1162
+ "abandoned": true,
1163
+ "time": "2017-08-12T15:18:08+00:00"
1164
+ },
1165
  {
1166
  "name": "phpseclib/phpseclib",
1167
  "version": "2.0.27",
includes/class-xcloner-activator.php CHANGED
@@ -44,7 +44,7 @@ class Xcloner_Activator
44
  * XCloner Database Version
45
  * @var string
46
  */
47
- const xcloner_db_version = '1.1.7';
48
  /**
49
  * Minimum required PHP version to run this plugin.
50
  * @var string
44
  * XCloner Database Version
45
  * @var string
46
  */
47
+ const xcloner_db_version = '1.1.8';
48
  /**
49
  * Minimum required PHP version to run this plugin.
50
  * @var string
includes/class-xcloner.php CHANGED
@@ -198,6 +198,8 @@ class Xcloner extends watchfulli\XClonerCore\Xcloner
198
  }
199
 
200
  update_option("xcloner_store_path", $backup_storage_path);
 
 
201
  }
202
 
203
  public function trigger_message($message, $status = "error", $message_param1 = "", $message_param2 = "", $message_param3 = "")
@@ -445,9 +447,9 @@ class Xcloner extends watchfulli\XClonerCore\Xcloner
445
  $logger = new Xcloner_Logger($this, "php_system");
446
  $error = error_get_last();
447
 
448
- if ($error['type'] and $error['type'] === E_ERROR and $logger) {
449
  $logger->error($this->friendly_error_type($error['type']).": ".var_export($error, true));
450
- } elseif ($error['type'] and $logger) {
451
  $logger->debug($this->friendly_error_type($error['type']).": ".var_export($error, true));
452
  }
453
  }
@@ -512,6 +514,7 @@ class Xcloner extends watchfulli\XClonerCore\Xcloner
512
  $this->loader->add_action('wp_ajax_backup_decryption', $xcloner_api, 'backup_decryption');
513
  $this->loader->add_action('wp_ajax_get_manage_backups_list', $xcloner_api, 'get_manage_backups_list');
514
  $this->loader->add_action('admin_notices', $this, 'xcloner_error_admin_notices');
 
515
  }
516
 
517
  //Do a pre-update backup of targeted files
@@ -520,6 +523,63 @@ class Xcloner extends watchfulli\XClonerCore\Xcloner
520
  }
521
  }
522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
  public function add_plugin_action_links($links, $file)
524
  {
525
  if ($file == plugin_basename(dirname(dirname(__FILE__)).'/xcloner.php')) {
@@ -610,8 +670,8 @@ class Xcloner extends watchfulli\XClonerCore\Xcloner
610
  );
611
  add_submenu_page(
612
  'xcloner_init_page',
613
- __('Remote Storage Settings', 'xcloner-backup-and-restore'),
614
- __('Remote Storage', 'xcloner-backup-and-restore'),
615
  'manage_options',
616
  'xcloner_remote_storage_page',
617
  array($this, 'xcloner_display')
198
  }
199
 
200
  update_option("xcloner_store_path", $backup_storage_path);
201
+
202
+ return $backup_storage_path;
203
  }
204
 
205
  public function trigger_message($message, $status = "error", $message_param1 = "", $message_param2 = "", $message_param3 = "")
447
  $logger = new Xcloner_Logger($this, "php_system");
448
  $error = error_get_last();
449
 
450
+ if (isset($error['type']) && $error['type'] === E_ERROR and $logger) {
451
  $logger->error($this->friendly_error_type($error['type']).": ".var_export($error, true));
452
+ } elseif (isset($error['type']) && $logger) {
453
  $logger->debug($this->friendly_error_type($error['type']).": ".var_export($error, true));
454
  }
455
  }
514
  $this->loader->add_action('wp_ajax_backup_decryption', $xcloner_api, 'backup_decryption');
515
  $this->loader->add_action('wp_ajax_get_manage_backups_list', $xcloner_api, 'get_manage_backups_list');
516
  $this->loader->add_action('admin_notices', $this, 'xcloner_error_admin_notices');
517
+ $this->loader->add_action('admin_init',$this, 'onedrive_auth_token');
518
  }
519
 
520
  //Do a pre-update backup of targeted files
523
  }
524
  }
525
 
526
+ /**
527
+ * OneDrive get Access Token from code
528
+ *
529
+ * @return void
530
+ */
531
+ public function onedrive_auth_token(){
532
+
533
+ $onedrive_expire_in = get_option('xcloner_onedrive_expires_in');
534
+ $onedrive_refresh_token = get_option('xcloner_onedrive_refresh_token');
535
+
536
+ if($onedrive_refresh_token && time()> $onedrive_expire_in) {
537
+ $parameters = array(
538
+ 'client_id' => get_option("xcloner_onedrive_client_id"),
539
+ 'client_secret' => get_option("xcloner_onedrive_client_secret"),
540
+ 'redirect_uri'=> get_admin_url(),
541
+ 'refresh_token'=> $onedrive_refresh_token,
542
+ 'grant_type'=> 'refresh_token'
543
+ );
544
+ }
545
+
546
+ if (isset($_REQUEST['code']) && $_REQUEST['code']) {
547
+ $parameters = array(
548
+ 'client_id' => get_option("xcloner_onedrive_client_id"),
549
+ 'client_secret' => get_option("xcloner_onedrive_client_secret"),
550
+ 'redirect_uri'=> get_admin_url(),
551
+ 'code'=> $_REQUEST['code'],
552
+ 'grant_type'=> 'authorization_code'
553
+ );
554
+ }
555
+
556
+ if ($parameters) {
557
+ $response = wp_remote_post("https://login.microsoftonline.com/common/oauth2/v2.0/token", array('body' => $parameters));
558
+
559
+ if (is_wp_error($response)) {
560
+ $this->trigger_message(__('There was a communication error with the OneDrive API details.'));
561
+ $this->trigger_message($response->get_error_message());
562
+ } else {
563
+ $response = (json_decode($response['body'], true));
564
+
565
+ if ($response['access_token'] && $response['refresh_token']) {
566
+ update_option('xcloner_onedrive_access_token', $response['access_token']);
567
+ update_option('xcloner_onedrive_refresh_token', $response['refresh_token']);
568
+ update_option('xcloner_onedrive_expires_in', time()+$response['expires_in']);
569
+
570
+ $this->trigger_message(
571
+ sprintf(__('OneDrive successfully authenticated, please click <a href="%s">here</a> to continue', 'xcloner-backup-and-restore'), get_admin_url()."admin.php?page=xcloner_remote_storage_page#onedrive"),
572
+ 'success'
573
+ );
574
+ } else {
575
+ $this->trigger_message(__('There was a communication error with the OneDrive API details.'));
576
+ }
577
+ }
578
+ }
579
+
580
+ return ;
581
+ }
582
+
583
  public function add_plugin_action_links($links, $file)
584
  {
585
  if ($file == plugin_basename(dirname(dirname(__FILE__)).'/xcloner.php')) {
670
  );
671
  add_submenu_page(
672
  'xcloner_init_page',
673
+ __('Storage Locations Settings', 'xcloner-backup-and-restore'),
674
+ __('Storage Locations', 'xcloner-backup-and-restore'),
675
  'manage_options',
676
  'xcloner_remote_storage_page',
677
  array($this, 'xcloner_display')
restore/xcloner_restore.php CHANGED
@@ -526,18 +526,20 @@ class Xcloner_Restore
526
  */
527
  public function restore_finish_action()
528
  {
529
- $remote_path = filter_input(INPUT_POST, 'remote_path', FILTER_SANITIZE_STRING);
 
530
 
531
- $wp_home_url = filter_input(INPUT_POST, 'wp_home_url', FILTER_SANITIZE_STRING);
532
- $remote_restore_url = filter_input(INPUT_POST, 'remote_restore_url', FILTER_SANITIZE_STRING);
533
 
534
- $remote_mysql_user = filter_input(INPUT_POST, 'remote_mysql_user', FILTER_SANITIZE_STRING);
535
- $remote_mysql_pass = filter_input(INPUT_POST, 'remote_mysql_pass', FILTER_SANITIZE_STRING);
536
- $remote_mysql_db = filter_input(INPUT_POST, 'remote_mysql_db', FILTER_SANITIZE_STRING);
537
- $remote_mysql_host = filter_input(INPUT_POST, 'remote_mysql_host', FILTER_SANITIZE_STRING);
538
 
539
  $update_remote_site_url = filter_input(INPUT_POST, 'update_remote_site_url', FILTER_SANITIZE_NUMBER_INT);
540
- $delete_restore_script = filter_input(INPUT_POST, 'delete_restore_script', FILTER_SANITIZE_NUMBER_INT);
 
541
  $delete_backup_temporary_folder = filter_input(INPUT_POST, 'delete_backup_temporary_folder', FILTER_SANITIZE_NUMBER_INT);
542
 
543
  if ($update_remote_site_url) {
@@ -549,6 +551,10 @@ class Xcloner_Restore
549
  if ($delete_backup_temporary_folder) {
550
  $this->delete_backup_temporary_folder($remote_path);
551
  }
 
 
 
 
552
 
553
  if (defined('XCLONER_PLUGIN_ACCESS') && XCLONER_PLUGIN_ACCESS) {
554
  //fixing usermeta table for local restores
526
  */
527
  public function restore_finish_action()
528
  {
529
+ $remote_path = filter_input(INPUT_POST, 'remote_path', FILTER_SANITIZE_STRING);
530
+ $backup_archive = filter_input(INPUT_POST, 'backup_archive', FILTER_SANITIZE_STRING);
531
 
532
+ $wp_home_url = filter_input(INPUT_POST, 'wp_home_url', FILTER_SANITIZE_STRING);
533
+ $remote_restore_url = filter_input(INPUT_POST, 'remote_restore_url', FILTER_SANITIZE_STRING);
534
 
535
+ $remote_mysql_user = filter_input(INPUT_POST, 'remote_mysql_user', FILTER_SANITIZE_STRING);
536
+ $remote_mysql_pass = filter_input(INPUT_POST, 'remote_mysql_pass', FILTER_SANITIZE_STRING);
537
+ $remote_mysql_db = filter_input(INPUT_POST, 'remote_mysql_db', FILTER_SANITIZE_STRING);
538
+ $remote_mysql_host = filter_input(INPUT_POST, 'remote_mysql_host', FILTER_SANITIZE_STRING);
539
 
540
  $update_remote_site_url = filter_input(INPUT_POST, 'update_remote_site_url', FILTER_SANITIZE_NUMBER_INT);
541
+ $delete_restore_script = filter_input(INPUT_POST, 'delete_restore_script', FILTER_SANITIZE_NUMBER_INT);
542
+ $delete_backup_archive = filter_input(INPUT_POST, 'delete_backup_archive', FILTER_SANITIZE_NUMBER_INT);
543
  $delete_backup_temporary_folder = filter_input(INPUT_POST, 'delete_backup_temporary_folder', FILTER_SANITIZE_NUMBER_INT);
544
 
545
  if ($update_remote_site_url) {
551
  if ($delete_backup_temporary_folder) {
552
  $this->delete_backup_temporary_folder($remote_path);
553
  }
554
+
555
+ if ($delete_backup_archive) {
556
+ $this->filesystem->delete($backup_archive);
557
+ }
558
 
559
  if (defined('XCLONER_PLUGIN_ACCESS') && XCLONER_PLUGIN_ACCESS) {
560
  //fixing usermeta table for local restores
vendor/composer/autoload_psr4.php CHANGED
@@ -26,7 +26,10 @@ return array(
26
  'Sabre\\CalDAV\\' => array($vendorDir . '/sabre/dav/lib/CalDAV'),
27
  'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
28
  'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
 
29
  'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
 
 
30
  'MicrosoftAzure\\Storage\\Common\\' => array($vendorDir . '/microsoft/azure-storage-common/src/Common'),
31
  'MicrosoftAzure\\Storage\\Blob\\' => array($vendorDir . '/microsoft/azure-storage-blob/src/Blob'),
32
  'Mhetreramesh\\Flysystem\\' => array($vendorDir . '/mhetreramesh/flysystem-backblaze/src'),
26
  'Sabre\\CalDAV\\' => array($vendorDir . '/sabre/dav/lib/CalDAV'),
27
  'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
28
  'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
29
+ 'NicolasBeauvais\\FlysystemOneDrive\\' => array($vendorDir . '/nicolasbeauvais/flysystem-onedrive/src'),
30
  'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
31
+ 'Microsoft\\Graph\\Test\\' => array($vendorDir . '/microsoft/microsoft-graph/tests/Functional'),
32
+ 'Microsoft\\Graph\\' => array($vendorDir . '/microsoft/microsoft-graph/src'),
33
  'MicrosoftAzure\\Storage\\Common\\' => array($vendorDir . '/microsoft/azure-storage-common/src/Common'),
34
  'MicrosoftAzure\\Storage\\Blob\\' => array($vendorDir . '/microsoft/azure-storage-blob/src/Blob'),
35
  'Mhetreramesh\\Flysystem\\' => array($vendorDir . '/mhetreramesh/flysystem-backblaze/src'),
vendor/composer/autoload_static.php CHANGED
@@ -62,9 +62,15 @@ class ComposerStaticInit571f9d19802717f7be61d57b40d60b28
62
  'Psr\\Log\\' => 8,
63
  'Psr\\Http\\Message\\' => 17,
64
  ),
 
 
 
 
65
  'M' =>
66
  array (
67
  'Monolog\\' => 8,
 
 
68
  'MicrosoftAzure\\Storage\\Common\\' => 30,
69
  'MicrosoftAzure\\Storage\\Blob\\' => 28,
70
  'Mhetreramesh\\Flysystem\\' => 23,
@@ -178,10 +184,22 @@ class ComposerStaticInit571f9d19802717f7be61d57b40d60b28
178
  array (
179
  0 => __DIR__ . '/..' . '/psr/http-message/src',
180
  ),
 
 
 
 
181
  'Monolog\\' =>
182
  array (
183
  0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
184
  ),
 
 
 
 
 
 
 
 
185
  'MicrosoftAzure\\Storage\\Common\\' =>
186
  array (
187
  0 => __DIR__ . '/..' . '/microsoft/azure-storage-common/src/Common',
62
  'Psr\\Log\\' => 8,
63
  'Psr\\Http\\Message\\' => 17,
64
  ),
65
+ 'N' =>
66
+ array (
67
+ 'NicolasBeauvais\\FlysystemOneDrive\\' => 34,
68
+ ),
69
  'M' =>
70
  array (
71
  'Monolog\\' => 8,
72
+ 'Microsoft\\Graph\\Test\\' => 21,
73
+ 'Microsoft\\Graph\\' => 16,
74
  'MicrosoftAzure\\Storage\\Common\\' => 30,
75
  'MicrosoftAzure\\Storage\\Blob\\' => 28,
76
  'Mhetreramesh\\Flysystem\\' => 23,
184
  array (
185
  0 => __DIR__ . '/..' . '/psr/http-message/src',
186
  ),
187
+ 'NicolasBeauvais\\FlysystemOneDrive\\' =>
188
+ array (
189
+ 0 => __DIR__ . '/..' . '/nicolasbeauvais/flysystem-onedrive/src',
190
+ ),
191
  'Monolog\\' =>
192
  array (
193
  0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
194
  ),
195
+ 'Microsoft\\Graph\\Test\\' =>
196
+ array (
197
+ 0 => __DIR__ . '/..' . '/microsoft/microsoft-graph/tests/Functional',
198
+ ),
199
+ 'Microsoft\\Graph\\' =>
200
+ array (
201
+ 0 => __DIR__ . '/..' . '/microsoft/microsoft-graph/src',
202
+ ),
203
  'MicrosoftAzure\\Storage\\Common\\' =>
204
  array (
205
  0 => __DIR__ . '/..' . '/microsoft/azure-storage-common/src/Common',
vendor/composer/installed.json CHANGED
@@ -188,17 +188,17 @@
188
  },
189
  {
190
  "name": "guzzlehttp/guzzle",
191
- "version": "6.5.4",
192
- "version_normalized": "6.5.4.0",
193
  "source": {
194
  "type": "git",
195
  "url": "https://github.com/guzzle/guzzle.git",
196
- "reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d"
197
  },
198
  "dist": {
199
  "type": "zip",
200
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
201
- "reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
202
  "shasum": ""
203
  },
204
  "require": {
@@ -206,7 +206,7 @@
206
  "guzzlehttp/promises": "^1.0",
207
  "guzzlehttp/psr7": "^1.6.1",
208
  "php": ">=5.5",
209
- "symfony/polyfill-intl-idn": "1.17.0"
210
  },
211
  "require-dev": {
212
  "ext-curl": "*",
@@ -216,7 +216,7 @@
216
  "suggest": {
217
  "psr/log": "Required for using the Log middleware"
218
  },
219
- "time": "2020-05-25T19:35:05+00:00",
220
  "type": "library",
221
  "extra": {
222
  "branch-alias": {
@@ -381,53 +381,6 @@
381
  "url"
382
  ]
383
  },
384
- {
385
- "name": "kylekatarnls/update-helper",
386
- "version": "1.2.1",
387
- "version_normalized": "1.2.1.0",
388
- "source": {
389
- "type": "git",
390
- "url": "https://github.com/kylekatarnls/update-helper.git",
391
- "reference": "429be50660ed8a196e0798e5939760f168ec8ce9"
392
- },
393
- "dist": {
394
- "type": "zip",
395
- "url": "https://api.github.com/repos/kylekatarnls/update-helper/zipball/429be50660ed8a196e0798e5939760f168ec8ce9",
396
- "reference": "429be50660ed8a196e0798e5939760f168ec8ce9",
397
- "shasum": ""
398
- },
399
- "require": {
400
- "composer-plugin-api": "^1.1.0 || ^2.0.0",
401
- "php": ">=5.3.0"
402
- },
403
- "require-dev": {
404
- "codeclimate/php-test-reporter": "dev-master",
405
- "composer/composer": "2.0.x-dev || ^2.0.0-dev",
406
- "phpunit/phpunit": ">=4.8.35 <6.0"
407
- },
408
- "time": "2020-04-07T20:44:10+00:00",
409
- "type": "composer-plugin",
410
- "extra": {
411
- "class": "UpdateHelper\\ComposerPlugin"
412
- },
413
- "installation-source": "dist",
414
- "autoload": {
415
- "psr-0": {
416
- "UpdateHelper\\": "src/"
417
- }
418
- },
419
- "notification-url": "https://packagist.org/downloads/",
420
- "license": [
421
- "MIT"
422
- ],
423
- "authors": [
424
- {
425
- "name": "Kyle",
426
- "email": "kylekatarnls@gmail.com"
427
- }
428
- ],
429
- "description": "Update helper"
430
- },
431
  {
432
  "name": "league/flysystem",
433
  "version": "1.0.69",
@@ -848,6 +801,53 @@
848
  "storage"
849
  ]
850
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
851
  {
852
  "name": "mikey179/vfsstream",
853
  "version": "v1.6.8",
@@ -1097,6 +1097,59 @@
1097
  "time"
1098
  ]
1099
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1100
  {
1101
  "name": "phpseclib/phpseclib",
1102
  "version": "2.0.27",
188
  },
189
  {
190
  "name": "guzzlehttp/guzzle",
191
+ "version": "6.5.5",
192
+ "version_normalized": "6.5.5.0",
193
  "source": {
194
  "type": "git",
195
  "url": "https://github.com/guzzle/guzzle.git",
196
+ "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
197
  },
198
  "dist": {
199
  "type": "zip",
200
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
201
+ "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
202
  "shasum": ""
203
  },
204
  "require": {
206
  "guzzlehttp/promises": "^1.0",
207
  "guzzlehttp/psr7": "^1.6.1",
208
  "php": ">=5.5",
209
+ "symfony/polyfill-intl-idn": "^1.17.0"
210
  },
211
  "require-dev": {
212
  "ext-curl": "*",
216
  "suggest": {
217
  "psr/log": "Required for using the Log middleware"
218
  },
219
+ "time": "2020-06-16T21:01:06+00:00",
220
  "type": "library",
221
  "extra": {
222
  "branch-alias": {
381
  "url"
382
  ]
383
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  {
385
  "name": "league/flysystem",
386
  "version": "1.0.69",
801
  "storage"
802
  ]
803
  },
804
+ {
805
+ "name": "microsoft/microsoft-graph",
806
+ "version": "1.13.0",
807
+ "version_normalized": "1.13.0.0",
808
+ "source": {
809
+ "type": "git",
810
+ "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
811
+ "reference": "584b71bf888659596003d9c8acab06161def8ae5"
812
+ },
813
+ "dist": {
814
+ "type": "zip",
815
+ "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/584b71bf888659596003d9c8acab06161def8ae5",
816
+ "reference": "584b71bf888659596003d9c8acab06161def8ae5",
817
+ "shasum": ""
818
+ },
819
+ "require": {
820
+ "guzzlehttp/guzzle": "^6.2",
821
+ "php": "^7.1"
822
+ },
823
+ "require-dev": {
824
+ "mikey179/vfsstream": "^1.2",
825
+ "phpdocumentor/phpdocumentor": "^2.9",
826
+ "phpunit/phpunit": "^7.5"
827
+ },
828
+ "time": "2020-02-04T23:16:38+00:00",
829
+ "type": "library",
830
+ "installation-source": "dist",
831
+ "autoload": {
832
+ "psr-4": {
833
+ "Microsoft\\Graph\\": "src/",
834
+ "Microsoft\\Graph\\Test\\": "tests/Functional/"
835
+ }
836
+ },
837
+ "notification-url": "https://packagist.org/downloads/",
838
+ "license": [
839
+ "MIT"
840
+ ],
841
+ "authors": [
842
+ {
843
+ "name": "Michael Mainer",
844
+ "email": "mmainer@microsoft.com",
845
+ "role": "Developer"
846
+ }
847
+ ],
848
+ "description": "The Microsoft Graph SDK for PHP",
849
+ "homepage": "https://developer.microsoft.com/en-us/graph"
850
+ },
851
  {
852
  "name": "mikey179/vfsstream",
853
  "version": "v1.6.8",
1097
  "time"
1098
  ]
1099
  },
1100
+ {
1101
+ "name": "nicolasbeauvais/flysystem-onedrive",
1102
+ "version": "v1.0.2",
1103
+ "version_normalized": "1.0.2.0",
1104
+ "source": {
1105
+ "type": "git",
1106
+ "url": "https://github.com/nicolasbeauvais/flysystem-onedrive.git",
1107
+ "reference": "38ad35f2bbe4efb8f41391ef6ebba057f95b8f47"
1108
+ },
1109
+ "dist": {
1110
+ "type": "zip",
1111
+ "url": "https://api.github.com/repos/nicolasbeauvais/flysystem-onedrive/zipball/38ad35f2bbe4efb8f41391ef6ebba057f95b8f47",
1112
+ "reference": "38ad35f2bbe4efb8f41391ef6ebba057f95b8f47",
1113
+ "shasum": ""
1114
+ },
1115
+ "require": {
1116
+ "league/flysystem": "^1.0",
1117
+ "microsoft/microsoft-graph": "^1.0",
1118
+ "php": "^7.0"
1119
+ },
1120
+ "require-dev": {
1121
+ "phpunit/phpunit": "^6.0"
1122
+ },
1123
+ "time": "2017-08-12T15:18:08+00:00",
1124
+ "type": "library",
1125
+ "installation-source": "dist",
1126
+ "autoload": {
1127
+ "psr-4": {
1128
+ "NicolasBeauvais\\FlysystemOneDrive\\": "src"
1129
+ }
1130
+ },
1131
+ "notification-url": "https://packagist.org/downloads/",
1132
+ "license": [
1133
+ "MIT"
1134
+ ],
1135
+ "authors": [
1136
+ {
1137
+ "name": "Nicolas Beauvais",
1138
+ "email": "nicolasbeauvais1@gmail.com",
1139
+ "homepage": "http://nicolas-beauvais.com",
1140
+ "role": "Developer"
1141
+ }
1142
+ ],
1143
+ "description": "Flysystem Adapter for the OneDrive API",
1144
+ "homepage": "https://github.com/nicolasbeauvais/flysystem-onedrive",
1145
+ "keywords": [
1146
+ "Flysystem",
1147
+ "OneDrive",
1148
+ "api",
1149
+ "flysystem-onedrive"
1150
+ ],
1151
+ "abandoned": true
1152
+ },
1153
  {
1154
  "name": "phpseclib/phpseclib",
1155
  "version": "2.0.27",
vendor/gliterd/backblaze-b2/src/Client.php CHANGED
@@ -410,6 +410,8 @@ class Client
410
  'auth' => [$this->accountId, $this->applicationKey],
411
  ]);
412
 
 
 
413
  $this->authToken = $response['authorizationToken'];
414
  $this->apiUrl = $response['apiUrl'].self::B2_API_V1;
415
  $this->downloadUrl = $response['downloadUrl'];
@@ -650,6 +652,11 @@ class Client
650
  {
651
  $this->authorizeAccount();
652
 
 
 
 
 
 
653
  return $this->client->request($method, $this->apiUrl.$route, [
654
  'headers' => [
655
  'Authorization' => $this->authToken,
410
  'auth' => [$this->accountId, $this->applicationKey],
411
  ]);
412
 
413
+
414
+ $this->accountId = $response['accountId'];
415
  $this->authToken = $response['authorizationToken'];
416
  $this->apiUrl = $response['apiUrl'].self::B2_API_V1;
417
  $this->downloadUrl = $response['downloadUrl'];
652
  {
653
  $this->authorizeAccount();
654
 
655
+ //overwriting the accountID with master account ID after authentification
656
+ if (isset($json['accountId'])) {
657
+ $json['accountId'] = $this->accountId;
658
+ }
659
+
660
  return $this->client->request($method, $this->apiUrl.$route, [
661
  'headers' => [
662
  'Authorization' => $this->authToken,
vendor/guzzlehttp/guzzle/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
  # Change Log
2
 
 
 
 
 
3
  ## 6.5.4 - 2020-05-25
4
 
5
  * Fix various intl icu issues [#2626](https://github.com/guzzle/guzzle/pull/2626)
1
  # Change Log
2
 
3
+ ## 6.5.5 - 2020-06-16
4
+
5
+ * Unpin version constraint for `symfony/polyfill-intl-idn` [#2678](https://github.com/guzzle/guzzle/pull/2678)
6
+
7
  ## 6.5.4 - 2020-05-25
8
 
9
  * Fix various intl icu issues [#2626](https://github.com/guzzle/guzzle/pull/2626)
vendor/guzzlehttp/guzzle/Makefile CHANGED
@@ -10,6 +10,11 @@ help:
10
  @echo " docs-show to view the Sphinx docs"
11
  @echo " tag to modify the version, update changelog, and chag tag"
12
  @echo " package to build the phar and zip files"
 
 
 
 
 
13
 
14
  start-server: stop-server
15
  node tests/server.js &> /dev/null &
@@ -56,4 +61,18 @@ tag:
56
  package:
57
  php build/packager.php
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  .PHONY: docs burgomaster coverage-show view-coverage
10
  @echo " docs-show to view the Sphinx docs"
11
  @echo " tag to modify the version, update changelog, and chag tag"
12
  @echo " package to build the phar and zip files"
13
+ @echo " static to run phpstan and php-cs-fixer on the codebase"
14
+ @echo " static-phpstan to run phpstan on the codebase"
15
+ @echo " static-phpstan-update-baseline to regenerate the phpstan baseline file"
16
+ @echo " static-codestyle-fix to run php-cs-fixer on the codebase, writing the changes"
17
+ @echo " static-codestyle-check to run php-cs-fixer on the codebase"
18
 
19
  start-server: stop-server
20
  node tests/server.js &> /dev/null &
61
  package:
62
  php build/packager.php
63
 
64
+ static: static-phpstan static-codestyle-check
65
+
66
+ static-phpstan:
67
+ docker run --rm -it -e REQUIRE_DEV=true -v ${PWD}:/app -w /app oskarstark/phpstan-ga:0.12.28 analyze $(PHPSTAN_PARAMS)
68
+
69
+ static-phpstan-update-baseline:
70
+ $(MAKE) static-phpstan PHPSTAN_PARAMS="--generate-baseline"
71
+
72
+ static-codestyle-fix:
73
+ docker run --rm -it -v ${PWD}:/app -w /app oskarstark/php-cs-fixer-ga:2.16.3.1 --diff-format udiff $(CS_PARAMS)
74
+
75
+ static-codestyle-check:
76
+ $(MAKE) static-codestyle-fix CS_PARAMS="--dry-run"
77
+
78
  .PHONY: docs burgomaster coverage-show view-coverage
vendor/guzzlehttp/guzzle/composer.json CHANGED
@@ -23,7 +23,7 @@
23
  "require": {
24
  "php": ">=5.5",
25
  "ext-json": "*",
26
- "symfony/polyfill-intl-idn": "1.17.0",
27
  "guzzlehttp/promises": "^1.0",
28
  "guzzlehttp/psr7": "^1.6.1"
29
  },
23
  "require": {
24
  "php": ">=5.5",
25
  "ext-json": "*",
26
+ "symfony/polyfill-intl-idn": "^1.17.0",
27
  "guzzlehttp/promises": "^1.0",
28
  "guzzlehttp/psr7": "^1.6.1"
29
  },
vendor/guzzlehttp/guzzle/phpstan-baseline.neon CHANGED
@@ -165,11 +165,6 @@ parameters:
165
  count: 1
166
  path: src/Cookie/CookieJar.php
167
 
168
- -
169
- message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:count\\(\\) has no return typehint specified\\.$#"
170
- count: 1
171
- path: src/Cookie/CookieJar.php
172
-
173
  -
174
  message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\<mixed, mixed\\>\\.$#"
175
  count: 1
@@ -320,21 +315,11 @@ parameters:
320
  count: 1
321
  path: src/Exception/BadResponseException.php
322
 
323
- -
324
- message: "#^Method GuzzleHttp\\\\Exception\\\\BadResponseException\\:\\:__construct\\(\\) has parameter \\$message with no typehint specified\\.$#"
325
- count: 1
326
- path: src/Exception/BadResponseException.php
327
-
328
  -
329
  message: "#^Method GuzzleHttp\\\\Exception\\\\ConnectException\\:\\:__construct\\(\\) has parameter \\$handlerContext with no value type specified in iterable type array\\.$#"
330
  count: 1
331
  path: src/Exception/ConnectException.php
332
 
333
- -
334
- message: "#^Method GuzzleHttp\\\\Exception\\\\ConnectException\\:\\:__construct\\(\\) has parameter \\$message with no typehint specified\\.$#"
335
- count: 1
336
- path: src/Exception/ConnectException.php
337
-
338
  -
339
  message: "#^Property GuzzleHttp\\\\Exception\\\\RequestException\\:\\:\\$handlerContext type has no value type specified in iterable type array\\.$#"
340
  count: 1
@@ -345,11 +330,6 @@ parameters:
345
  count: 1
346
  path: src/Exception/RequestException.php
347
 
348
- -
349
- message: "#^Method GuzzleHttp\\\\Exception\\\\RequestException\\:\\:__construct\\(\\) has parameter \\$message with no typehint specified\\.$#"
350
- count: 1
351
- path: src/Exception/RequestException.php
352
-
353
  -
354
  message: "#^Method GuzzleHttp\\\\Exception\\\\RequestException\\:\\:create\\(\\) has parameter \\$ctx with no value type specified in iterable type array\\.$#"
355
  count: 1
165
  count: 1
166
  path: src/Cookie/CookieJar.php
167
 
 
 
 
 
 
168
  -
169
  message: "#^Method GuzzleHttp\\\\Cookie\\\\CookieJar\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\<mixed, mixed\\>\\.$#"
170
  count: 1
315
  count: 1
316
  path: src/Exception/BadResponseException.php
317
 
 
 
 
 
 
318
  -
319
  message: "#^Method GuzzleHttp\\\\Exception\\\\ConnectException\\:\\:__construct\\(\\) has parameter \\$handlerContext with no value type specified in iterable type array\\.$#"
320
  count: 1
321
  path: src/Exception/ConnectException.php
322
 
 
 
 
 
 
323
  -
324
  message: "#^Property GuzzleHttp\\\\Exception\\\\RequestException\\:\\:\\$handlerContext type has no value type specified in iterable type array\\.$#"
325
  count: 1
330
  count: 1
331
  path: src/Exception/RequestException.php
332
 
 
 
 
 
 
333
  -
334
  message: "#^Method GuzzleHttp\\\\Exception\\\\RequestException\\:\\:create\\(\\) has parameter \\$ctx with no value type specified in iterable type array\\.$#"
335
  count: 1
vendor/guzzlehttp/guzzle/src/ClientInterface.php CHANGED
@@ -15,7 +15,7 @@ interface ClientInterface
15
  /**
16
  * @deprecated Will be removed in Guzzle 7.0.0
17
  */
18
- const VERSION = '6.5.4';
19
 
20
  /**
21
  * Send an HTTP request.
15
  /**
16
  * @deprecated Will be removed in Guzzle 7.0.0
17
  */
18
+ const VERSION = '6.5.5';
19
 
20
  /**
21
  * Send an HTTP request.
vendor/guzzlehttp/guzzle/src/Utils.php CHANGED
@@ -81,9 +81,12 @@ final class Utils
81
  }
82
 
83
  /*
84
- * The Idn class is marked as @internal. We've locked the version to
85
- * symfony/polyfill-intl-idn to avoid issues in the future.
86
  */
87
- return Idn::idn_to_ascii($domain, $options, Idn::INTL_IDNA_VARIANT_UTS46, $info);
 
 
 
 
88
  }
89
  }
81
  }
82
 
83
  /*
84
+ * The Idn class is marked as @internal. Verify that class and method exists.
 
85
  */
86
+ if (method_exists(Idn::class, 'idn_to_ascii')) {
87
+ return Idn::idn_to_ascii($domain, $options, Idn::INTL_IDNA_VARIANT_UTS46, $info);
88
+ }
89
+
90
+ throw new \RuntimeException('ext-intl or symfony/polyfill-intl-idn not loaded or too old');
91
  }
92
  }
vendor/kylekatarnls/update-helper/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2017 https://github.com/pug-php
4
- Copyright (c) 2017 https://github.com/kylekatarnls
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/kylekatarnls/update-helper/composer.json DELETED
@@ -1,50 +0,0 @@
1
- {
2
- "name": "kylekatarnls/update-helper",
3
- "description": "Update helper",
4
- "type": "composer-plugin",
5
- "license": "MIT",
6
- "minimum-stability": "dev",
7
- "prefer-stable": true,
8
- "authors": [
9
- {
10
- "name": "Kyle",
11
- "email": "kylekatarnls@gmail.com"
12
- }
13
- ],
14
- "require": {
15
- "php": ">=5.3.0",
16
- "composer-plugin-api": "^1.1.0 || ^2.0.0"
17
- },
18
- "require-dev": {
19
- "composer/composer": "2.0.x-dev || ^2.0.0-dev",
20
- "phpunit/phpunit": ">=4.8.35 <6.0",
21
- "codeclimate/php-test-reporter": "dev-master"
22
- },
23
- "autoload": {
24
- "psr-0": {
25
- "UpdateHelper\\": "src/"
26
- }
27
- },
28
- "autoload-dev": {
29
- "psr-4": {
30
- "UpdateHelper\\Tests\\": "tests/UpdateHelper/"
31
- }
32
- },
33
- "scripts": {
34
- "post-install-cmd": [
35
- "UpdateHelper\\UpdateHelper::check"
36
- ],
37
- "post-update-cmd": [
38
- "UpdateHelper\\UpdateHelper::check"
39
- ],
40
- "post-package-install": [
41
- "UpdateHelper\\UpdateHelper::check"
42
- ],
43
- "post-package-update": [
44
- "UpdateHelper\\UpdateHelper::check"
45
- ]
46
- },
47
- "extra": {
48
- "class": "UpdateHelper\\ComposerPlugin"
49
- }
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/kylekatarnls/update-helper/src/UpdateHelper/ComposerPlugin.php DELETED
@@ -1,47 +0,0 @@
1
- <?php
2
-
3
- namespace UpdateHelper;
4
-
5
- use Composer\Composer;
6
- use Composer\EventDispatcher\Event;
7
- use Composer\EventDispatcher\EventSubscriberInterface;
8
- use Composer\IO\IOInterface;
9
- use Composer\Plugin\PluginInterface;
10
-
11
- class ComposerPlugin implements PluginInterface, EventSubscriberInterface
12
- {
13
- protected $io;
14
-
15
- public function activate(Composer $composer, IOInterface $io)
16
- {
17
- $this->io = $io;
18
- }
19
-
20
- public function deactivate(Composer $composer, IOInterface $io)
21
- {
22
- // Not needed
23
- }
24
-
25
- public function uninstall(Composer $composer, IOInterface $io)
26
- {
27
- // Not needed
28
- }
29
-
30
- public static function getSubscribedEvents()
31
- {
32
- return array(
33
- 'post-autoload-dump' => array(
34
- array('onAutoloadDump', 0),
35
- ),
36
- );
37
- }
38
-
39
- public function onAutoloadDump(Event $event)
40
- {
41
- if (!class_exists('UpdateHelper\\UpdateHelper')) {
42
- return;
43
- }
44
-
45
- UpdateHelper::check($event);
46
- }
47
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/kylekatarnls/update-helper/src/UpdateHelper/NotUpdateInterfaceInstanceException.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
-
3
- namespace UpdateHelper;
4
-
5
- use InvalidArgumentException;
6
-
7
- class NotUpdateInterfaceInstanceException extends InvalidArgumentException
8
- {
9
- }
 
 
 
 
 
 
 
 
 
vendor/kylekatarnls/update-helper/src/UpdateHelper/UpdateHelper.php DELETED
@@ -1,391 +0,0 @@
1
- <?php
2
-
3
- namespace UpdateHelper;
4
-
5
- use Composer\Composer;
6
- use Composer\EventDispatcher\Event;
7
- use Composer\Installer\PackageEvent;
8
- use Composer\IO\IOInterface;
9
- use Composer\Json\JsonFile;
10
- use Composer\Script\Event as ScriptEvent;
11
- use Composer\Semver\Semver;
12
- use Exception;
13
- use InvalidArgumentException;
14
- use RuntimeException;
15
- use Throwable;
16
-
17
- class UpdateHelper
18
- {
19
- /** @var Event */
20
- private $event;
21
- /** @var IOInterface|null */
22
- private $io;
23
- /** @var Composer */
24
- private $composer;
25
- /** @var array */
26
- private $dependencies = array();
27
- /** @var string */
28
- private $composerFilePath;
29
- /** @var JsonFile */
30
- private $file;
31
-
32
- protected static function appendConfig(&$classes, $directory, $key = null)
33
- {
34
- $file = $directory.DIRECTORY_SEPARATOR.'composer.json';
35
- $json = new JsonFile($file);
36
- $key = $key ? $key : 'update-helper';
37
-
38
- try {
39
- $dependencyConfig = $json->read();
40
- } catch (Exception $e) {
41
- $dependencyConfig = null;
42
- }
43
-
44
- if (is_array($dependencyConfig) && isset($dependencyConfig['extra'], $dependencyConfig['extra'][$key])) {
45
- $classes[$file] = $dependencyConfig['extra'][$key];
46
- }
47
- }
48
-
49
- protected static function getUpdateHelperConfig(Composer $composer, $key = null)
50
- {
51
- $vendorDir = $composer->getConfig()->get('vendor-dir');
52
-
53
- $npm = array();
54
-
55
- foreach (scandir($vendorDir) as $namespace) {
56
- if ($namespace === '.' || $namespace === '..' || !is_dir($directory = $vendorDir.DIRECTORY_SEPARATOR.$namespace)) {
57
- continue;
58
- }
59
-
60
- foreach (scandir($directory) as $dependency) {
61
- if ($dependency === '.' || $dependency === '..' || !is_dir($subDirectory = $directory.DIRECTORY_SEPARATOR.$dependency)) {
62
- continue;
63
- }
64
-
65
- static::appendConfig($npm, $subDirectory, $key);
66
- }
67
- }
68
-
69
- static::appendConfig($npm, dirname($vendorDir), $key);
70
-
71
- return $npm;
72
- }
73
-
74
- /**
75
- * @param Event $event
76
- * @param IOInterface $io
77
- * @param Composer $composer
78
- * @param string[] $subClasses
79
- */
80
- protected static function checkHelper($event, IOInterface $io, $composer, $class)
81
- {
82
- if (!is_string($class) || !class_exists($class)) {
83
- throw new NotUpdateInterfaceInstanceException();
84
- }
85
-
86
- try {
87
- $helper = new $class();
88
- } catch (Exception $e) {
89
- throw new InvalidArgumentException($e->getMessage(), 1000, $e);
90
- } catch (Throwable $e) {
91
- throw new InvalidArgumentException($e->getMessage(), 1000, $e);
92
- }
93
-
94
- if (!($helper instanceof UpdateHelperInterface)) {
95
- throw new NotUpdateInterfaceInstanceException();
96
- }
97
-
98
- $helper->check(new static($event, $io, $composer));
99
- }
100
-
101
- /**
102
- * @param string $file
103
- * @param Event $event
104
- * @param IOInterface $io
105
- * @param Composer $composer
106
- * @param string[] $subClasses
107
- */
108
- protected static function checkFileHelpers($file, $event, IOInterface $io, $composer, array $subClasses)
109
- {
110
- foreach ($subClasses as $class) {
111
- try {
112
- static::checkHelper($event, $io, $composer, $class);
113
- } catch (InvalidArgumentException $exception) {
114
- $io->writeError(static::getErrorMessage($exception, $file, $class));
115
- continue;
116
- }
117
- }
118
- }
119
-
120
- protected static function getErrorMessage(InvalidArgumentException $exception, $file, $class)
121
- {
122
- if ($exception instanceof NotUpdateInterfaceInstanceException) {
123
- return 'UpdateHelper error in '.$file.":\n".JsonFile::encode($class).' is not an instance of UpdateHelperInterface.';
124
- }
125
-
126
- return 'UpdateHelper error: '.$exception->getPrevious()->getMessage().
127
- "\nFile: ".$exception->getPrevious()->getFile().
128
- "\nLine:".$exception->getPrevious()->getLine().
129
- "\n\n".$exception->getPrevious()->getTraceAsString();
130
- }
131
-
132
- public static function check(Event $event)
133
- {
134
- if (!($event instanceof ScriptEvent) && !($event instanceof PackageEvent)) {
135
- return;
136
- }
137
-
138
- $io = $event->getIO();
139
- $composer = $event->getComposer();
140
- $autoload = $composer->getConfig()->get('vendor-dir').'/autoload.php';
141
-
142
- if (file_exists($autoload)) {
143
- include_once $autoload;
144
- }
145
-
146
- $classes = static::getUpdateHelperConfig($composer);
147
-
148
- foreach ($classes as $file => $subClasses) {
149
- static::checkFileHelpers($file, $event, $io, $composer, (array) $subClasses);
150
- }
151
- }
152
-
153
- public function __construct(Event $event, IOInterface $io = null, Composer $composer = null)
154
- {
155
- $this->event = $event;
156
- $this->io = $io ?: (method_exists($event, 'getIO') ? $event->getIO() : null);
157
- $this->composer = $composer ?: (method_exists($event, 'getComposer') ? $event->getComposer() : null);
158
-
159
- if ($this->composer &&
160
- ($directory = $this->composer->getConfig()->get('archive-dir')) &&
161
- file_exists($file = $directory.'/composer.json')
162
- ) {
163
- $this->composerFilePath = $file;
164
- $this->file = new JsonFile($this->composerFilePath);
165
- $this->dependencies = $this->file->read();
166
- }
167
- }
168
-
169
- /**
170
- * @return JsonFile
171
- */
172
- public function getFile()
173
- {
174
- return $this->file;
175
- }
176
-
177
- /**
178
- * @return string
179
- */
180
- public function getComposerFilePath()
181
- {
182
- return $this->composerFilePath;
183
- }
184
-
185
- /**
186
- * @return Composer
187
- */
188
- public function getComposer()
189
- {
190
- return $this->composer;
191
- }
192
-
193
- /**
194
- * @return Event
195
- */
196
- public function getEvent()
197
- {
198
- return $this->event;
199
- }
200
-
201
- /**
202
- * @return IOInterface|null
203
- */
204
- public function getIo()
205
- {
206
- return $this->io;
207
- }
208
-
209
- /**
210
- * @return array
211
- */
212
- public function getDependencies()
213
- {
214
- return $this->dependencies;
215
- }
216
-
217
- /**
218
- * @return array
219
- */
220
- public function getDevDependencies()
221
- {
222
- return isset($this->dependencies['require-dev']) ? $this->dependencies['require-dev'] : array();
223
- }
224
-
225
- /**
226
- * @return array
227
- */
228
- public function getProdDependencies()
229
- {
230
- return isset($this->dependencies['require']) ? $this->dependencies['require'] : array();
231
- }
232
-
233
- /**
234
- * @return array
235
- */
236
- public function getFlattenDependencies()
237
- {
238
- return array_merge($this->getDevDependencies(), $this->getProdDependencies());
239
- }
240
-
241
- /**
242
- * @param string $dependency
243
- *
244
- * @return bool
245
- */
246
- public function hasAsDevDependency($dependency)
247
- {
248
- return isset($this->dependencies['require-dev'][$dependency]);
249
- }
250
-
251
- /**
252
- * @param string $dependency
253
- *
254
- * @return bool
255
- */
256
- public function hasAsProdDependency($dependency)
257
- {
258
- return isset($this->dependencies['require'][$dependency]);
259
- }
260
-
261
- /**
262
- * @param string $dependency
263
- *
264
- * @return bool
265
- */
266
- public function hasAsDependency($dependency)
267
- {
268
- return $this->hasAsDevDependency($dependency) || $this->hasAsProdDependency($dependency);
269
- }
270
-
271
- /**
272
- * @param string $dependency
273
- * @param string $version
274
- *
275
- * @return bool
276
- */
277
- public function isDependencyAtLeast($dependency, $version)
278
- {
279
- if ($this->hasAsProdDependency($dependency)) {
280
- return Semver::satisfies($version, $this->dependencies['require'][$dependency]);
281
- }
282
-
283
- if ($this->hasAsDevDependency($dependency)) {
284
- return Semver::satisfies($version, $this->dependencies['require-dev'][$dependency]);
285
- }
286
-
287
- return false;
288
- }
289
-
290
- /**
291
- * @param string $dependency
292
- * @param string $version
293
- *
294
- * @return bool
295
- */
296
- public function isDependencyLesserThan($dependency, $version)
297
- {
298
- return !$this->isDependencyAtLeast($dependency, $version);
299
- }
300
-
301
- /**
302
- * @param string $dependency
303
- * @param string $version
304
- * @param array $environments
305
- *
306
- * @throws Exception
307
- *
308
- * @return $this
309
- */
310
- public function setDependencyVersion($dependency, $version, $environments = array('require', 'require-dev'))
311
- {
312
- return $this->setDependencyVersions(array($dependency => $version), $environments);
313
- }
314
-
315
- /**
316
- * @param array $dependencies
317
- * @param array $environments
318
- *
319
- * @throws Exception
320
- *
321
- * @return $this
322
- */
323
- public function setDependencyVersions($dependencies, $environments = array('require', 'require-dev'))
324
- {
325
- if (!$this->composerFilePath) {
326
- throw new RuntimeException('No composer instance detected.');
327
- }
328
-
329
- $touched = false;
330
-
331
- foreach ($environments as $environment) {
332
- foreach ($dependencies as $dependency => $version) {
333
- if (isset($this->dependencies[$environment], $this->dependencies[$environment][$dependency])) {
334
- $this->dependencies[$environment][$dependency] = $version;
335
- $touched = true;
336
- }
337
- }
338
- }
339
-
340
- if ($touched) {
341
- if (!$this->composerFilePath) {
342
- throw new RuntimeException('composer.json not found (custom vendor-dir are not yet supported).');
343
- }
344
-
345
- $file = new JsonFile($this->composerFilePath);
346
- $file->write($this->dependencies);
347
- }
348
-
349
- return $this;
350
- }
351
-
352
- /**
353
- * @return $this
354
- */
355
- public function update()
356
- {
357
- $output = shell_exec('composer update --no-scripts');
358
-
359
- if (!empty($output)) {
360
- $this->write($output);
361
- }
362
-
363
- return $this;
364
- }
365
-
366
- /**
367
- * @param string|array $text
368
- */
369
- public function write($text)
370
- {
371
- if ($this->io) {
372
- $this->io->write($text);
373
-
374
- return;
375
- }
376
-
377
- if (is_array($text)) {
378
- $text = implode("\n", $text);
379
- }
380
-
381
- echo $text;
382
- }
383
-
384
- /**
385
- * @return bool
386
- */
387
- public function isInteractive()
388
- {
389
- return $this->io && $this->io->isInteractive();
390
- }
391
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/kylekatarnls/update-helper/src/UpdateHelper/UpdateHelperInterface.php DELETED
@@ -1,8 +0,0 @@
1
- <?php
2
-
3
- namespace UpdateHelper;
4
-
5
- interface UpdateHelperInterface
6
- {
7
- public function check(UpdateHelper $helper);
8
- }
 
 
 
 
 
 
 
 
vendor/microsoft/microsoft-graph/.travis.yml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ language: php
2
+
3
+ matrix:
4
+ include:
5
+ - php: 7.1
6
+ env: COMPOSER_FLAGS="--prefer-lowest"
7
+
8
+ before_install:
9
+ - composer self-update
10
+
11
+ install:
12
+ - composer update --prefer-source --no-interaction --no-progress --no-suggest $COMPOSER_FLAGS
13
+
14
+ script:
15
+ - vendor/bin/phpunit --exclude-group functional
vendor/microsoft/microsoft-graph/.vscode/launch.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "name": "Listen for XDebug",
9
+ "type": "php",
10
+ "request": "launch",
11
+ "port": 9000
12
+ },
13
+ {
14
+ "name": "Launch currently open script",
15
+ "type": "php",
16
+ "request": "launch",
17
+ "program": "${file}",
18
+ "cwd": "${fileDirname}",
19
+ "port": 9000
20
+ }
21
+ ]
22
+ }
vendor/microsoft/microsoft-graph/CONTRIBUTING.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Contributing to the Microsoft Graph PHP SDK
2
+ Thanks for considering making a contribution! Read over our guidelines and we will do our best to see your PRs merged successfully.
3
+
4
+ **NOTE**: A signed a contribution license agreement is required for all contributions and is checked automatically on new pull requests. You will be asked to read and sign the agreement https://cla.microsoft.com/ after submitting a request to this repository.
5
+
6
+ There are a few different recommended paths to get contributions into the released version of this library.
7
+
8
+ ## File issues
9
+ The best way to get started with a contribution is to start a dialog with us. Sometimes features will be under development or out of scope for this library and it's best to check before starting work on contribution, especially for large work items.
10
+
11
+ ## Pull requests
12
+ If you are making documentation changes, feel free to submit a pull request against the **master** branch. All other pull requests should be submitted against the **dev** branch or a specific feature branch. The master branch is intended to represent the code released in the most-recent composer package.
13
+
14
+ When a new package is about to be released, changes in dev will be merged into master. The package will be generated from master.
15
+
16
+ Some things to note about this project:
17
+
18
+ ### How the library is built
19
+ The PHP SDK has a handwritten set of core files and a folder of autogenerated models. These models are generated using the [MSGraph SDK Code Generator](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator). **Changes made to the ```Models``` folder will be overwritten** the next time the generator is run.
20
+
21
+ If you would like to make changes to the models, you can either file an issue or make a PR in the [MSGraph SDK Code Generator](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator) to the [templates](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/tree/master/Templates/PHP/Model). Although there is a lot of logic in the generator, the code used for PHP is fairly minimal.
22
+
23
+ ### How the generator works
24
+ You can view the [README](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/blob/master/README.md) for a full run-through of its capabilities.
25
+
26
+ For the purposes of the PHP library, the generator runs through an OData-compliant metadata file published by Microsoft Graph (https://graph.microsoft.com/v1.0/$metadata) and builds up a list of models. These models are converted into PHP code using T4 templates, which use C# to programmatically define what PHP code is written to the file.
27
+
28
+ ### When new features are added to the library
29
+ Generation happens as part of a manual process that occurs once a significant change or set of changes has been added to the Graph. This may include:
30
+ - A new workload comes to v1.0 of Graph (Microsoft Teams, Batching, etc.)
31
+ - There is significant addition of functionality (Delta Queries, etc.)
32
+
33
+ However, this is evaluated on a case-by-case basis. If the library is missing v1.0 Graph functionality that you wish to utilize, please [file an issue](https://github.com/microsoftgraph/msgraph-sdk-php/issues).
34
+
35
+ We do our best to prevent breaking changes from being introduced into the library during this process. If you find a breaking change, please file an issue and we will work to get this resolved ASAP.
36
+
37
+
vendor/microsoft/microsoft-graph/LICENSE ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ microsoftgraph-msgraph-sdk-php
2
+
3
+ Copyright (c) Microsoft Corporation
4
+
5
+ All rights reserved. 
6
+
7
+ MIT License
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
vendor/microsoft/microsoft-graph/README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Get started with the Microsoft Graph SDK for PHP
2
+
3
+ [![Build Status](https://travis-ci.org/microsoftgraph/msgraph-sdk-php.svg?branch=master)](https://travis-ci.org/microsoftgraph/msgraph-sdk-php)
4
+ [![Latest Stable Version](https://poser.pugx.org/microsoft/microsoft-graph/version)](https://packagist.org/packages/microsoft/microsoft-graph)
5
+
6
+ ## Get started with the PHP Connect Sample
7
+ If you want to play around with the PHP library, you can get up and running quickly with the [PHP Connect Sample](https://github.com/microsoftgraph/php-connect-sample). This sample will start you with a little Laravel project that helps you with registration, authentication, and making a simple call to the service.
8
+
9
+ ## Install the SDK
10
+ You can install the PHP SDK with Composer, either run `composer require microsoft/microsoft-graph`, or edit your `composer.json` file:
11
+ ```
12
+ {
13
+ "require": {
14
+ "microsoft/microsoft-graph": "^1.5"
15
+ }
16
+ }
17
+ ```
18
+ ## Get started with Microsoft Graph
19
+
20
+ ### Register your application
21
+
22
+ Register your application to use the Microsoft Graph API by using one of the following
23
+ supported authentication portals:
24
+
25
+ * [Microsoft Application Registration Portal](https://apps.dev.microsoft.com) (**Recommended**):
26
+ Register a new application that authenticates using the v2.0 authentication endpoint. This endpoint authenticates both personal (Microsoft) and work or school (Azure Active Directory) accounts.
27
+ * [Microsoft Azure Active Directory](https://manage.windowsazure.com): Register
28
+ a new application in your tenant's Active Directory to support work or school
29
+ users for your tenant, or multiple tenants.
30
+
31
+ ### Authenticate with the Microsoft Graph service
32
+
33
+ The Microsoft Graph SDK for PHP does not include any default authentication implementations. The [`thephpleague/oauth2-client`](https://github.com/thephpleague/oauth2-client) library will handle the OAuth2 flow for you and provide a usable token for querying the Graph.
34
+
35
+ To authenticate as an application you can use the [Guzzle HTTP client](http://docs.guzzlephp.org/en/stable/), which comes preinstalled with this library, for example like this:
36
+ ```php
37
+ $guzzle = new \GuzzleHttp\Client();
38
+ $url = 'https://login.microsoftonline.com/' . $tenantId . '/oauth2/token?api-version=1.0';
39
+ $token = json_decode($guzzle->post($url, [
40
+ 'form_params' => [
41
+ 'client_id' => $clientId,
42
+ 'client_secret' => $clientSecret,
43
+ 'resource' => 'https://graph.microsoft.com/',
44
+ 'grant_type' => 'client_credentials',
45
+ ],
46
+ ])->getBody()->getContents());
47
+ $accessToken = $token->access_token;
48
+ ```
49
+ For an integrated example on how to use Oauth2 in a Laravel application and use the Graph, see the [PHP Connect Sample](https://github.com/microsoftgraph/php-connect-sample).
50
+
51
+ ### Call Microsoft Graph
52
+
53
+ The following is an example that shows how to call Microsoft Graph.
54
+
55
+ ```php
56
+ use Microsoft\Graph\Graph;
57
+ use Microsoft\Graph\Model;
58
+
59
+ class UsageExample
60
+ {
61
+ public function run()
62
+ {
63
+ $accessToken = 'xxx';
64
+
65
+ $graph = new Graph();
66
+ $graph->setAccessToken($accessToken);
67
+
68
+ $user = $graph->createRequest("GET", "/me")
69
+ ->setReturnType(Model\User::class)
70
+ ->execute();
71
+
72
+ echo "Hello, I am $user->getGivenName() ";
73
+ }
74
+ }
75
+ ```
76
+
77
+ ## Develop
78
+
79
+ ### Debug
80
+ You can use the library with a proxy such as [Fiddler](http://www.telerik.com/fiddler) or [Charles Proxy](https://www.charlesproxy.com/) to debug requests and responses as they come across the wire. Set the proxy port on the Graph object like this:
81
+ ```php
82
+ $graph->setProxyPort("localhost:8888");
83
+ ```
84
+ Then, open your proxy client to view the requests & responses sent using the library.
85
+
86
+ ![Screenshot of Fiddler /me/sendmail request and response](https://github.com/microsoftgraph/msgraph-sdk-php/blob/master/docs/images/Fiddler.PNG)
87
+
88
+ This is especially helpful when the library does not return the results you expected to determine whether there are bugs in the API or this SDK. Therefore, you may be asked to provide this information when attempting to triage an issue you file.
89
+
90
+ ### Run Tests
91
+
92
+ Run
93
+ ```php
94
+ vendor/bin/phpunit --exclude-group functional
95
+ ```
96
+ from the base directory.
97
+
98
+ *The set of functional tests are meant to be run against a test account. Currently, the
99
+ tests to do not restore state of the account.*
100
+
101
+
102
+ ## Documentation and resources
103
+
104
+ * [Documentation](https://github.com/microsoftgraph/msgraph-sdk-php/blob/master/docs/index.html)
105
+
106
+ * [Wiki](https://github.com/microsoftgraph/msgraph-sdk-php/wiki)
107
+
108
+ * [Examples](https://github.com/microsoftgraph/msgraph-sdk-php/wiki/Example-calls)
109
+
110
+ * [Microsoft Graph website](https://developer.microsoft.com/en-us/graph/)
111
+
112
+ ## Issues
113
+
114
+ View or log issues on the [Issues](https://github.com/microsoftgraph/msgraph-sdk-php/issues) tab in the repo.
115
+
116
+ ## Contribute
117
+
118
+ Please read our [Contributing](https://github.com/microsoftgraph/msgraph-sdk-php/blob/master/CONTRIBUTING.md) guidelines carefully for advice on how to contribute to this repo.
119
+
120
+ ## Copyright and license
121
+
122
+ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT [license](LICENSE).
123
+
124
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
vendor/microsoft/microsoft-graph/THIRD PARTY NOTICES ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This file is based on or incorporates material from the projects listed below (Third Party OSS). The original copyright notice and the license under which Microsoft received such Third Party OSS, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party OSS to you under the licensing terms for the Microsoft product or service. Microsoft
2
+ reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.
3
+
4
+ guzzlehttp guzzle - 6.3.0
5
+ Copyright (c) 2011-2016 Michael Dowling, https://github.com/mtdowling <mtdowling@gmail.com>
6
+
7
+ phpdocumentor - 2.9.0
8
+ Copyright (c) 2010 Mike van Riel
9
+
10
+ Provided for Informational Purposes Only
11
+
12
+ MIT License
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
vendor/microsoft/microsoft-graph/composer.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "microsoft/microsoft-graph",
3
+ "type": "library",
4
+ "description": "The Microsoft Graph SDK for PHP",
5
+ "homepage": "https://developer.microsoft.com/en-us/graph",
6
+ "license": "MIT",
7
+ "authors": [
8
+ {
9
+ "name": "Michael Mainer",
10
+ "email": "mmainer@microsoft.com",
11
+ "role": "Developer"
12
+ }
13
+ ],
14
+ "require": {
15
+ "php": "^7.1",
16
+ "guzzlehttp/guzzle": "^6.2"
17
+ },
18
+ "require-dev": {
19
+ "phpunit/phpunit": "^7.5",
20
+ "phpdocumentor/phpdocumentor": "^2.9",
21
+ "mikey179/vfsStream": "^1.2"
22
+ },
23
+ "autoload": {
24
+ "psr-4": {
25
+ "Microsoft\\Graph\\": "src/",
26
+ "Microsoft\\Graph\\Test\\": "tests/Functional/"
27
+ }
28
+ }
29
+ }
vendor/microsoft/microsoft-graph/phpunit.xml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <phpunit colors="true" bootstrap="vendor/autoload.php">
3
+ <testsuites>
4
+ <testsuite name="Microsoft Graph SDK Test Suite">
5
+ <directory>tests</directory>
6
+ </testsuite>
7
+ </testsuites>
8
+ <filter>
9
+ <whitelist addUncoveredFilesFromWhitelist="true">
10
+ <directory suffix=".php">src</directory>
11
+ <exclude><directory suffix=".php">src/Model</directory></exclude>
12
+ </whitelist>
13
+ </filter>
14
+ <logging>
15
+ <log type="coverage-html" target="coverage/report" lowUpperBound="50" highLowerBound="80"/>
16
+ </logging>
17
+ </phpunit>
vendor/microsoft/microsoft-graph/src/Core/Enum.php ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved.
4
+ * Licensed under the MIT License. See License in the project root
5
+ * for license information.
6
+ *
7
+ * Enum File
8
+ * PHP version 7
9
+ *
10
+ * @category Library
11
+ * @package Microsoft.Graph
12
+ * @copyright 2016 Microsoft Corporation
13
+ * @license https://opensource.org/licenses/MIT MIT License
14
+ * @version GIT: 0.1.0
15
+ * @link https://graph.microsoft.io/
16
+ */
17
+ namespace Microsoft\Graph\Core;
18
+
19
+ use Microsoft\Graph\Exception\GraphException;
20
+
21
+ /**
22
+ * Class Enum
23
+ *
24
+ * @category Library
25
+ * @package Microsoft.Graph
26
+ * @license https://opensource.org/licenses/MIT MIT License
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ abstract class Enum
30
+ {
31
+ private static $constants = [];
32
+ /**
33
+ * The value of the enum
34
+ *
35
+ * @var string
36
+ */
37
+ private $_value;
38
+
39
+ /**
40
+ * Create a new enum
41
+ *
42
+ * @param string $value The value of the enum
43
+ *
44
+ * @throws GraphException if enum value is invalid
45
+ */
46
+ public function __construct($value)
47
+ {
48
+ if (!self::has($value)) {
49
+ throw new GraphException("Invalid enum value $value");
50
+ }
51
+ $this->_value = $value;
52
+ }
53
+
54
+ /**
55
+ * Check if the enum has the given value
56
+ *
57
+ * @param string $value
58
+ * @return bool the enum has the value
59
+ */
60
+ public function has($value)
61
+ {
62
+ return in_array($value, self::toArray(), true);
63
+ }
64
+
65
+ /**
66
+ * Check if the enum is defined
67
+ *
68
+ * @param string $value the value of the enum
69
+ *
70
+ * @return bool True if the value is defined
71
+ */
72
+ public function is($value)
73
+ {
74
+ return $this->_value === $value;
75
+ }
76
+
77
+ /**
78
+ * Create a new class for the enum in question
79
+ *
80
+ * @return mixed
81
+ * @throws \ReflectionException
82
+ */
83
+ public function toArray()
84
+ {
85
+ $class = get_called_class();
86
+
87
+ if (!(array_key_exists($class, self::$constants)))
88
+ {
89
+ $reflectionObj = new \ReflectionClass($class);
90
+ self::$constants[$class] = $reflectionObj->getConstants();
91
+ }
92
+ return self::$constants[$class];
93
+ }
94
+
95
+ /**
96
+ * Get the value of the enum
97
+ *
98
+ * @return string value of the enum
99
+ */
100
+ public function value()
101
+ {
102
+ return $this->_value;
103
+ }
104
+ }
vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved.
4
+ * Licensed under the MIT License. See License in the project root
5
+ * for license information.
6
+ *
7
+ * Constants File
8
+ * PHP version 7
9
+ *
10
+ * @category Library
11
+ * @package Microsoft.Graph
12
+ * @copyright 2020 Microsoft Corporation
13
+ * @license https://opensource.org/licenses/MIT MIT License
14
+ * @version GIT: 1.13.0
15
+ * @link https://graph.microsoft.io/
16
+ */
17
+
18
+ namespace Microsoft\Graph\Core;
19
+
20
+ final class GraphConstants
21
+ {
22
+ // These can be overwritten in setters in the Graph object
23
+ const API_VERSION = "v1.0";
24
+ const REST_ENDPOINT = "https://graph.microsoft.com/";
25
+
26
+ // Define HTTP request constants
27
+ const SDK_VERSION = "1.13.0";
28
+
29
+ // Define error constants
30
+ const MAX_PAGE_SIZE = 999;
31
+ const MAX_PAGE_SIZE_ERROR = "Page size must be less than " . self::MAX_PAGE_SIZE;
32
+ const TIMEOUT = "Timeout error";
33
+
34
+ // Define error message constants
35
+ const BASE_URL_MISSING = "Base URL cannot be null or empty.";
36
+ const REQUEST_TIMED_OUT = "The request timed out.";
37
+ const UNABLE_TO_CREATE_INSTANCE_OF_TYPE = "Unable to create instance of type";
38
+
39
+ // Define user error constants
40
+ const INVALID_FILE = "Unable to open file stream for the given path.";
41
+ const NO_ACCESS_TOKEN = "No access token has been provided.";
42
+ const NO_APP_ID = "No app ID has been provided.";
43
+ const NO_APP_SECRET = "No app secret has been provided.";
44
+
45
+ // Define server error constants
46
+ const UNABLE_TO_PARSE_RESPONSE = "The HTTP client sent back an invalid response";
47
+ }
vendor/microsoft/microsoft-graph/src/Exception/GraphException.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved.
4
+ * Licensed under the MIT License. See License in the project root
5
+ * for license information.
6
+ *
7
+ * Exceptions File
8
+ * PHP version 7
9
+ *
10
+ * @category Library
11
+ * @package Microsoft.Graph
12
+ * @copyright 2016 Microsoft Corporation
13
+ * @license https://opensource.org/licenses/MIT MIT License
14
+ * @version GIT: 0.1.0
15
+ * @link https://graph.microsoft.io/
16
+ */
17
+
18
+ namespace Microsoft\Graph\Exception;
19
+
20
+ /**
21
+ * Class GraphException
22
+ *
23
+ * @category Library
24
+ * @package Microsoft.Graph
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @link https://graph.microsoft.io/
27
+ */
28
+ class GraphException extends \Exception
29
+ {
30
+ /**
31
+ * Construct a new Graph Exception handler
32
+ *
33
+ * @param string $message The error to send
34
+ * @param int $code The error code associated with the error
35
+ * @param \Exception $previous The last error sent, defaults to null
36
+ */
37
+ public function __construct($message, $code = 0, $previous = null)
38
+ {
39
+ parent::__construct($message, $code, $previous);
40
+ }
41
+
42
+ /**
43
+ * Stringify the returned error and message
44
+ *
45
+ * @return string The returned string message
46
+ */
47
+ public function __toString()
48
+ {
49
+ return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
50
+ }
51
+ }
vendor/microsoft/microsoft-graph/src/Graph.php ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved.
4
+ * Licensed under the MIT License. See License in the project root
5
+ * for license information.
6
+ *
7
+ * Graph File
8
+ * PHP version 7
9
+ *
10
+ * @category Library
11
+ * @package Microsoft.Graph
12
+ * @copyright 2016 Microsoft Corporation
13
+ * @license https://opensource.org/licenses/MIT MIT License
14
+ * @version GIT: 0.1.0
15
+ * @link https://graph.microsoft.io/
16
+ */
17
+
18
+ namespace Microsoft\Graph;
19
+
20
+ use Microsoft\Graph\Core\GraphConstants;
21
+ use Microsoft\Graph\Http\GraphCollectionRequest;
22
+ use Microsoft\Graph\Http\GraphRequest;
23
+
24
+ /**
25
+ * Class Graph
26
+ *
27
+ * @category Library
28
+ * @package Microsoft.Graph
29
+ * @license https://opensource.org/licenses/MIT MIT License
30
+ * @link https://graph.microsoft.io/
31
+ */
32
+ class Graph
33
+ {
34
+ /**
35
+ * The access_token provided after authenticating
36
+ * with Microsoft Graph (required)
37
+ *
38
+ * @var string
39
+ */
40
+ private $_accessToken;
41
+ /**
42
+ * The api version to use ("v1.0", "beta")
43
+ * Default is "v1.0"
44
+ *
45
+ * @var string
46
+ */
47
+ private $_apiVersion;
48
+ /**
49
+ * The base url to call
50
+ * Default is "https://graph.microsoft.com"
51
+ *
52
+ * @var string
53
+ */
54
+ private $_baseUrl;
55
+ /**
56
+ * The port to use for proxy requests
57
+ * Null disables port forwarding
58
+ *
59
+ * @var string
60
+ */
61
+ private $_proxyPort;
62
+
63
+ /**
64
+ * Creates a new Graph object, which is used to call the Graph API
65
+ */
66
+ public function __construct()
67
+ {
68
+ $this->_apiVersion = GraphConstants::API_VERSION;
69
+ $this->_baseUrl = GraphConstants::REST_ENDPOINT;
70
+ }
71
+
72
+ /**
73
+ * Sets the Base URL to call (defaults to https://graph.microsoft.com)
74
+ *
75
+ * @param string $baseUrl The URL to call
76
+ *
77
+ * @return Graph object
78
+ */
79
+ public function setBaseUrl($baseUrl)
80
+ {
81
+ $this->_baseUrl = $baseUrl;
82
+ return $this;
83
+ }
84
+
85
+ /**
86
+ * Sets the API version to use, e.g. "beta" (defaults to v1.0)
87
+ *
88
+ * @param string $apiVersion The API version to use
89
+ *
90
+ * @return Graph object
91
+ */
92
+ public function setApiVersion($apiVersion)
93
+ {
94
+ $this->_apiVersion = $apiVersion;
95
+ return $this;
96
+ }
97
+
98
+ /**
99
+ * Sets the access token. A valid access token is required
100
+ * to run queries against Graph
101
+ *
102
+ * @param string $accessToken The user's access token, retrieved from
103
+ * MS auth
104
+ *
105
+ * @return Graph object
106
+ */
107
+ public function setAccessToken($accessToken)
108
+ {
109
+ $this->_accessToken = $accessToken;
110
+ return $this;
111
+ }
112
+
113
+ /**
114
+ * Sets the proxy port. This allows you
115
+ * to use tools such as Fiddler to view
116
+ * requests and responses made with Guzzle
117
+ *
118
+ * @param string port The port number to use
119
+ *
120
+ * @return Graph object
121
+ */
122
+ public function setProxyPort($port)
123
+ {
124
+ $this->_proxyPort = $port;
125
+ return $this;
126
+ }
127
+
128
+ /**
129
+ * Creates a new request object with the given Graph information
130
+ *
131
+ * @param string $requestType The HTTP method to use, e.g. "GET" or "POST"
132
+ * @param string $endpoint The Graph endpoint to call
133
+ *
134
+ * @return GraphRequest The request object, which can be used to
135
+ * make queries against Graph
136
+ * @throws Exception\GraphException
137
+ */
138
+ public function createRequest($requestType, $endpoint)
139
+ {
140
+ return new GraphRequest(
141
+ $requestType,
142
+ $endpoint,
143
+ $this->_accessToken,
144
+ $this->_baseUrl,
145
+ $this->_apiVersion,
146
+ $this->_proxyPort
147
+ );
148
+ }
149
+
150
+ /**
151
+ * Creates a new collection request object with the given
152
+ * Graph information
153
+ *
154
+ * @param string $requestType The HTTP method to use, e.g. "GET" or "POST"
155
+ * @param string $endpoint The Graph endpoint to call
156
+ *
157
+ * @return GraphCollectionRequest The request object, which can be
158
+ * used to make queries against Graph
159
+ * @throws Exception\GraphException
160
+ */
161
+ public function createCollectionRequest($requestType, $endpoint)
162
+ {
163
+ return new GraphCollectionRequest(
164
+ $requestType,
165
+ $endpoint,
166
+ $this->_accessToken,
167
+ $this->_baseUrl,
168
+ $this->_apiVersion,
169
+ $this->_proxyPort
170
+ );
171
+ }
172
+ }
vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved.
4
+ * Licensed under the MIT License. See License in the project root
5
+ * for license information.
6
+ *
7
+ * GraphCollectionRequest File
8
+ * PHP version 7
9
+ *
10
+ * @category Library
11
+ * @package Microsoft.Graph
12
+ * @copyright 2016 Microsoft Corporation
13
+ * @license https://opensource.org/licenses/MIT MIT License
14
+ * @version GIT: 0.1.0
15
+ * @link https://graph.microsoft.io/
16
+ */
17
+
18
+ namespace Microsoft\Graph\Http;
19
+
20
+ use Microsoft\Graph\Exception\GraphException;
21
+ use Microsoft\Graph\Core\GraphConstants;
22
+
23
+ /**
24
+ * Class GraphCollectionRequest
25
+ *
26
+ * @category Library
27
+ * @package Microsoft.Graph
28
+ * @license https://opensource.org/licenses/MIT MIT License
29
+ * @link https://graph.microsoft.io/
30
+ */
31
+ class GraphCollectionRequest extends GraphRequest
32
+ {
33
+ /**
34
+ * The size of page to divide the collection into
35
+ *
36
+ * @var int
37
+ */
38
+ protected $pageSize;
39
+ /**
40
+ * The next link to use in calling a new page of results
41
+ *
42
+ * @var string
43
+ */
44
+ protected $nextLink;
45
+ /**
46
+ * The delta link to use in calling /delta a subsequent time
47
+ *
48
+ * @var string
49
+ */
50
+ protected $deltaLink;
51
+ /**
52
+ * True if the user has reached the end of the collection
53
+ *
54
+ * @var bool
55
+ */
56
+ protected $end;
57
+ /**
58
+ * The endpoint that the user called (with query parameters)
59
+ *
60
+ * @var string
61
+ */
62
+ protected $originalEndpoint;
63
+ /**
64
+ * The return type that the user specified
65
+ *
66
+ * @var object
67
+ */
68
+ protected $originalReturnType;
69
+
70
+ /**
71
+ * Constructs a new GraphCollectionRequest object
72
+ *
73
+ * @param string $requestType The HTTP verb for the
74
+ * request ("GET", "POST", "PUT", etc.)
75
+ * @param string $endpoint The URI of the endpoint to hit
76
+ * @param string $accessToken A valid access token
77
+ * @param string $baseUrl The base URL of the request
78
+ * @param string $apiVersion The version of the API to call
79
+ * @param string $proxyPort The url where to proxy through
80
+ * @throws GraphException when no access token is provided
81
+ */
82
+ public function __construct($requestType, $endpoint, $accessToken, $baseUrl, $apiVersion, $proxyPort = null)
83
+ {
84
+ parent::__construct(
85
+ $requestType,
86
+ $endpoint,
87
+ $accessToken,
88
+ $baseUrl,
89
+ $apiVersion,
90
+ $proxyPort
91
+ );
92
+ $this->end = false;
93
+ }
94
+
95
+ /**
96
+ * Gets the number of entries in the collection
97
+ *
98
+ * @return int the number of entries
99
+ * @throws GraphException
100
+ */
101
+ public function count()
102
+ {
103
+ $query = '$count=true';
104
+ $request = new GraphRequest(
105
+ $this->requestType,
106
+ $this->endpoint . $this->getConcatenator() . $query,
107
+ $this->accessToken,
108
+ $this->baseUrl,
109
+ $this->apiVersion,
110
+ $this->proxyPort
111
+ );
112
+ $result = $request->execute()->getBody();
113
+
114
+ if (array_key_exists("@odata.count", $result)) {
115
+ return $result['@odata.count'];
116
+ }
117
+
118
+ /* The $count query parameter for the Graph API
119
+ is available on several models but not all */
120
+ trigger_error('Count unavailable for this collection');
121
+ }
122
+
123
+ /**
124
+ * Sets the number of results to return with each call
125
+ * to "getPage()"
126
+ *
127
+ * @param int $pageSize The page size
128
+ *
129
+ * @throws GraphException if the requested page size exceeds
130
+ * the Graph's defined page size limit
131
+ * @return GraphCollectionRequest object
132
+ */
133
+ public function setPageSize($pageSize)
134
+ {
135
+ if ($pageSize > GraphConstants::MAX_PAGE_SIZE) {
136
+ throw new GraphException(GraphConstants::MAX_PAGE_SIZE_ERROR);
137
+ }
138
+ $this->pageSize = $pageSize;
139
+ return $this;
140
+ }
141
+
142
+ /**
143
+ * Gets the next page of results
144
+ *
145
+ * @param bool $prev When true, get the previous page
146
+ *
147
+ * @return array of objects of class $returnType
148
+ * @throws GraphException
149
+ */
150
+ public function getPage()
151
+ {
152
+ $this->setPageCallInfo();
153
+ $response = $this->execute();
154
+
155
+ return $this->processPageCallReturn($response);
156
+ }
157
+
158
+ /**
159
+ * Sets the required query information to get a new page
160
+ *
161
+ * @param bool $prev Set to true for the previous page
162
+ *
163
+ * @return GraphCollectionRequest
164
+ */
165
+ public function setPageCallInfo()
166
+ {
167
+ // Store these to add temporary query data to request
168
+ $this->originalReturnType = $this->returnType;
169
+
170
+ /* This allows processPageCallReturn to receive
171
+ all of the response data, not just the objects */
172
+ $this->returnType = null;
173
+
174
+ if ($this->end) {
175
+ trigger_error('Reached end of collection');
176
+ }
177
+
178
+ if ($this->nextLink) {
179
+ $baseLength = strlen($this->baseUrl) + strlen($this->apiVersion);
180
+ $this->endpoint = substr($this->nextLink, $baseLength);
181
+ } else {
182
+ // This is the first request to the endpoint
183
+ if ($this->pageSize) {
184
+ $this->endpoint .= $this->getConcatenator() . '$top=' . $this->pageSize;
185
+ }
186
+ }
187
+ return $this;
188
+ }
189
+
190
+ /**
191
+ * Clean up after making a page call request
192
+ *
193
+ * @param GraphResponse $response The GraphResponse returned
194
+ * after making a page call
195
+ *
196
+ * @return mixed result of the call, formatted according
197
+ * to the returnType set by the user
198
+ */
199
+ public function processPageCallReturn($response)
200
+ {
201
+ $this->nextLink = $response->getNextLink();
202
+ $this->deltaLink = $response->getDeltaLink();
203
+
204
+ /* If no skip token is returned, we have reached the end
205
+ of the collection */
206
+ if (!$this->nextLink) {
207
+ $this->end = true;
208
+ }
209
+
210
+ $result = $response->getBody();
211
+
212
+ // Cast as user-defined model
213
+ if ($this->originalReturnType) {
214
+ $result = $response->getResponseAsObject($this->originalReturnType);
215
+ }
216
+
217
+ // Restore user-defined parameters
218
+ $this->returnType = $this->originalReturnType;
219
+
220
+ return $result;
221
+ }
222
+
223
+ /**
224
+ * Gets whether the user has reached the end of the collection
225
+ *
226
+ * @return bool The end
227
+ */
228
+ public function isEnd()
229
+ {
230
+ return $this->end;
231
+ }
232
+
233
+ /**
234
+ * Gets a delta link to use with subsequent
235
+ * calls to /delta
236
+ *
237
+ * @return string|null The delta link
238
+ */
239
+ public function getDeltaLink()
240
+ {
241
+ return $this->deltaLink;
242
+ }
243
+ }
vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php ADDED
@@ -0,0 +1,491 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved.
4
+ * Licensed under the MIT License. See License in the project root
5
+ * for license information.
6
+ *
7
+ * GraphRequest File
8
+ * PHP version 7
9
+ *
10
+ * @category Library
11
+ * @package Microsoft.Graph
12
+ * @copyright 2016 Microsoft Corporation
13
+ * @license https://opensource.org/licenses/MIT MIT License
14
+ * @version GIT: 0.1.0
15
+ * @link https://graph.microsoft.io/
16
+ */
17
+
18
+ namespace Microsoft\Graph\Http;
19
+
20
+ use GuzzleHttp\Client;
21
+ use Microsoft\Graph\Core\GraphConstants;
22
+ use Microsoft\Graph\Exception\GraphException;
23
+
24
+ /**
25
+ * Class GraphRequest
26
+ *
27
+ * @category Library
28
+ * @package Microsoft.Graph
29
+ * @license https://opensource.org/licenses/MIT MIT License
30
+ * @link https://graph.microsoft.io/
31
+ */
32
+ class GraphRequest
33
+ {
34
+ /**
35
+ * A valid access token
36
+ *
37
+ * @var string
38
+ */
39
+ protected $accessToken;
40
+ /**
41
+ * The API version to use ("v1.0", "beta")
42
+ *
43
+ * @var string
44
+ */
45
+ protected $apiVersion;
46
+ /**
47
+ * The base url to call
48
+ *
49
+ * @var string
50
+ */
51
+ protected $baseUrl;
52
+ /**
53
+ * The endpoint to call
54
+ *
55
+ * @var string
56
+ */
57
+ protected $endpoint;
58
+ /**
59
+ * An array of headers to send with the request
60
+ *
61
+ * @var array(string => string)
62
+ */
63
+ protected $headers;
64
+ /**
65
+ * The body of the request (optional)
66
+ *
67
+ * @var string
68
+ */
69
+ protected $requestBody;
70
+ /**
71
+ * The type of request to make ("GET", "POST", etc.)
72
+ *
73
+ * @var object
74
+ */
75
+ protected $requestType;
76
+ /**
77
+ * True if the response should be returned as
78
+ * a stream
79
+ *
80
+ * @var bool
81
+ */
82
+ protected $returnsStream;
83
+ /**
84
+ * The return type to cast the response as
85
+ *
86
+ * @var object
87
+ */
88
+ protected $returnType;
89
+ /**
90
+ * The timeout, in seconds
91
+ *
92
+ * @var string
93
+ */
94
+ protected $timeout;
95
+ /**
96
+ * The proxy port to use. Null to disable
97
+ *
98
+ * @var string
99
+ */
100
+ protected $proxyPort;
101
+ /**
102
+ * Request options to decide if Guzzle Client should throw exceptions when http code is 4xx or 5xx
103
+ *
104
+ * @var bool
105
+ */
106
+ protected $http_errors;
107
+
108
+ /**
109
+ * Constructs a new Graph Request object
110
+ *
111
+ * @param string $requestType The HTTP method to use, e.g. "GET" or "POST"
112
+ * @param string $endpoint The Graph endpoint to call
113
+ * @param string $accessToken A valid access token to validate the Graph call
114
+ * @param string $baseUrl The base URL to call
115
+ * @param string $apiVersion The API version to use
116
+ * @param string $proxyPort The url where to proxy through
117
+ * @throws GraphException when no access token is provided
118
+ */
119
+ public function __construct($requestType, $endpoint, $accessToken, $baseUrl, $apiVersion, $proxyPort = null)
120
+ {
121
+ $this->requestType = $requestType;
122
+ $this->endpoint = $endpoint;
123
+ $this->accessToken = $accessToken;
124
+ $this->http_errors = true;
125
+
126
+ if (!$this->accessToken) {
127
+ throw new GraphException(GraphConstants::NO_ACCESS_TOKEN);
128
+ }
129
+
130
+ $this->baseUrl = $baseUrl;
131
+ $this->apiVersion = $apiVersion;
132
+ $this->timeout = 0;
133
+ $this->headers = $this->_getDefaultHeaders();
134
+ $this->proxyPort = $proxyPort;
135
+ }
136
+
137
+ /**
138
+ * Sets a http errors option
139
+ *
140
+ * @param string $http_errors A bool option to the Graph call
141
+ *
142
+ * @return GraphRequest object
143
+ */
144
+ public function setHttpErrors($http_errors)
145
+ {
146
+ $this->http_errors = $http_errors;
147
+ return $this;
148
+ }
149
+
150
+ /**
151
+ * Sets a new accessToken
152
+ *
153
+ * @param string $accessToken A valid access token to validate the Graph call
154
+ *
155
+ * @return GraphRequest object
156
+ */
157
+ public function setAccessToken($accessToken)
158
+ {
159
+ $this->accessToken = $accessToken;
160
+ $this->headers['Authorization'] = 'Bearer ' . $this->accessToken;
161
+ return $this;
162
+ }
163
+
164
+ /**
165
+ * Sets the return type of the response object
166
+ *
167
+ * @param mixed $returnClass The object class to use
168
+ *
169
+ * @return GraphRequest object
170
+ */
171
+ public function setReturnType($returnClass)
172
+ {
173
+ $this->returnType = $returnClass;
174
+ if ($this->returnType == "GuzzleHttp\Psr7\Stream") {
175
+ $this->returnsStream = true;
176
+ } else {
177
+ $this->returnsStream = false;
178
+ }
179
+ return $this;
180
+ }
181
+
182
+ /**
183
+ * Adds custom headers to the request
184
+ *
185
+ * @param array $headers An array of custom headers
186
+ *
187
+ * @return GraphRequest object
188
+ */
189
+ public function addHeaders($headers)
190
+ {
191
+ $this->headers = array_merge($this->headers, $headers);
192
+ return $this;
193
+ }
194
+
195
+ /**
196
+ * Get the request headers
197
+ *
198
+ * @return array of headers
199
+ */
200
+ public function getHeaders()
201
+ {
202
+ return $this->headers;
203
+ }
204
+
205
+ /**
206
+ * Attach a body to the request. Will JSON encode
207
+ * any Microsoft\Graph\Model objects as well as arrays
208
+ *
209
+ * @param mixed $obj The object to include in the request
210
+ *
211
+ * @return GraphRequest object
212
+ */
213
+ public function attachBody($obj)
214
+ {
215
+ // Attach streams & JSON automatically
216
+ if (is_string($obj) || is_a($obj, 'GuzzleHttp\\Psr7\\Stream')) {
217
+ $this->requestBody = $obj;
218
+ }
219
+ // By default, JSON-encode
220
+ else {
221
+ $this->requestBody = json_encode($obj);
222
+ }
223
+ return $this;
224
+ }
225
+
226
+ /**
227
+ * Get the body of the request
228
+ *
229
+ * @return mixed request body of any type
230
+ */
231
+ public function getBody()
232
+ {
233
+ return $this->requestBody;
234
+ }
235
+
236
+ /**
237
+ * Sets the timeout limit of the cURL request
238
+ *
239
+ * @param string $timeout The timeout in ms
240
+ *
241
+ * @return GraphRequest object
242
+ */
243
+ public function setTimeout($timeout)
244
+ {
245
+ $this->timeout = $timeout;
246
+ return $this;
247
+ }
248
+
249
+ /**
250
+ * Executes the HTTP request using Guzzle
251
+ *
252
+ * @param mixed $client The client to use in the request
253
+ *
254
+ * @throws GraphException if response is invalid
255
+ *
256
+ * @return mixed object or array of objects
257
+ * of class $returnType
258
+ */
259
+ public function execute($client = null)
260
+ {
261
+ if (is_null($client)) {
262
+ $client = $this->createGuzzleClient();
263
+ }
264
+
265
+ $result = $client->request(
266
+ $this->requestType,
267
+ $this->_getRequestUrl(),
268
+ [
269
+ 'body' => $this->requestBody,
270
+ 'timeout' => $this->timeout
271
+ ]
272
+ );
273
+
274
+ // Check to see if returnType is a stream, if so return it immediately
275
+ if($this->returnsStream) {
276
+ return $result->getBody();
277
+ }
278
+
279
+ // Wrap response in GraphResponse layer
280
+ $response = new GraphResponse(
281
+ $this,
282
+ $result->getBody(),
283
+ $result->getStatusCode(),
284
+ $result->getHeaders()
285
+ );
286
+
287
+ // If no return type is specified, return GraphResponse
288
+ $returnObj = $response;
289
+
290
+ if ($this->returnType) {
291
+ $returnObj = $response->getResponseAsObject($this->returnType);
292
+ }
293
+ return $returnObj;
294
+ }
295
+
296
+ /**
297
+ * Executes the HTTP request asynchronously using Guzzle
298
+ *
299
+ * @param mixed $client The client to use in the request
300
+ *
301
+ * @return mixed object or array of objects
302
+ * of class $returnType
303
+ */
304
+ public function executeAsync($client = null)
305
+ {
306
+ if (is_null($client)) {
307
+ $client = $this->createGuzzleClient();
308
+ }
309
+
310
+ $promise = $client->requestAsync(
311
+ $this->requestType,
312
+ $this->_getRequestUrl(),
313
+ [
314
+ 'body' => $this->requestBody,
315
+ 'timeout' => $this->timeout
316
+ ]
317
+ )->then(
318
+ // On success, return the result/response
319
+ function ($result) {
320
+
321
+ // Check to see if returnType is a stream, if so return it immediately
322
+ if($this->returnsStream) {
323
+ return $result->getBody();
324
+ }
325
+
326
+ $response = new GraphResponse(
327
+ $this,
328
+ $result->getBody(),
329
+ $result->getStatusCode(),
330
+ $result->getHeaders()
331
+ );
332
+ $returnObject = $response;
333
+ if ($this->returnType) {
334
+ $returnObject = $response->getResponseAsObject(
335
+ $this->returnType
336
+ );
337
+ }
338
+ return $returnObject;
339
+ },
340
+ // On fail, log the error and return null
341
+ function ($reason) {
342
+ trigger_error("Async call failed: " . $reason->getMessage());
343
+ return null;
344
+ }
345
+ );
346
+ return $promise;
347
+ }
348
+
349
+ /**
350
+ * Download a file from OneDrive to a given location
351
+ *
352
+ * @param string $path The path to download the file to
353
+ * @param mixed $client The client to use in the request
354
+ *
355
+ * @throws GraphException if file path is invalid
356
+ *
357
+ * @return null
358
+ */
359
+ public function download($path, $client = null)
360
+ {
361
+ if (is_null($client)) {
362
+ $client = $this->createGuzzleClient();
363
+ }
364
+ try {
365
+ $file = fopen($path, 'w');
366
+ if (!$file) {
367
+ throw new GraphException(GraphConstants::INVALID_FILE);
368
+ }
369
+
370
+ $client->request(
371
+ $this->requestType,
372
+ $this->_getRequestUrl(),
373
+ [
374
+ 'body' => $this->requestBody,
375
+ 'sink' => $file
376
+ ]
377
+ );
378
+ if(is_resource($file)){
379
+ fclose($file);
380
+ }
381
+
382
+ } catch(GraphException $e) {
383
+ throw new GraphException(GraphConstants::INVALID_FILE);
384
+ }
385
+
386
+ return null;
387
+ }
388
+
389
+ /**
390
+ * Upload a file to OneDrive from a given location
391
+ *
392
+ * @param string $path The path of the file to upload
393
+ * @param mixed $client The client to use in the request
394
+ *
395
+ * @throws GraphException if file is invalid
396
+ *
397
+ * @return mixed DriveItem or array of DriveItems
398
+ */
399
+ public function upload($path, $client = null)
400
+ {
401
+ if (is_null($client)) {
402
+ $client = $this->createGuzzleClient();
403
+ }
404
+ try {
405
+ if (file_exists($path) && is_readable($path)) {
406
+ $file = fopen($path, 'r');
407
+ $stream = \GuzzleHttp\Psr7\stream_for($file);
408
+ $this->requestBody = $stream;
409
+ return $this->execute($client);
410
+ } else {
411
+ throw new GraphException(GraphConstants::INVALID_FILE);
412
+ }
413
+ } catch(GraphException $e) {
414
+ throw new GraphException(GraphConstants::INVALID_FILE);
415
+ }
416
+ }
417
+
418
+ /**
419
+ * Get a list of headers for the request
420
+ *
421
+ * @return array The headers for the request
422
+ */
423
+ private function _getDefaultHeaders()
424
+ {
425
+ $headers = [
426
+ 'Host' => $this->baseUrl,
427
+ 'Content-Type' => 'application/json',
428
+ 'SdkVersion' => 'Graph-php-' . GraphConstants::SDK_VERSION,
429
+ 'Authorization' => 'Bearer ' . $this->accessToken
430
+ ];
431
+ return $headers;
432
+ }
433
+
434
+ /**
435
+ * Get the concatenated request URL
436
+ *
437
+ * @return string request URL
438
+ */
439
+ private function _getRequestUrl()
440
+ {
441
+ //Send request with opaque URL
442
+ if (stripos($this->endpoint, "http") === 0) {
443
+ return $this->endpoint;
444
+ }
445
+
446
+ return $this->apiVersion . $this->endpoint;
447
+ }
448
+
449
+ /**
450
+ * Checks whether the endpoint currently contains query
451
+ * parameters and returns the relevant concatenator for
452
+ * the new query string
453
+ *
454
+ * @return string "?" or "&"
455
+ */
456
+ protected function getConcatenator()
457
+ {
458
+ if (stripos($this->endpoint, "?") === false) {
459
+ return "?";
460
+ }
461
+ return "&";
462
+ }
463
+
464
+ /**
465
+ * Create a new Guzzle client
466
+ * To allow for user flexibility, the
467
+ * client is not reused. This allows the user
468
+ * to set and change headers on a per-request
469
+ * basis
470
+ *
471
+ * If a proxyPort was passed in the constructor, all
472
+ * requests will be forwared through this proxy.
473
+ *
474
+ * @return \GuzzleHttp\Client The new client
475
+ */
476
+ protected function createGuzzleClient()
477
+ {
478
+ $clientSettings = [
479
+ 'base_uri' => $this->baseUrl,
480
+ 'http_errors' => $this->http_errors,
481
+ 'headers' => $this->headers
482
+ ];
483
+ if ($this->proxyPort !== null) {
484
+ $clientSettings['verify'] = false;
485
+ $clientSettings['proxy'] = $this->proxyPort;
486
+ }
487
+ $client = new Client($clientSettings);
488
+
489
+ return $client;
490
+ }
491
+ }
vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved.
4
+ * Licensed under the MIT License. See License in the project root
5
+ * for license information.
6
+ *
7
+ * HttpResponse File
8
+ * PHP version 7
9
+ *
10
+ * @category Library
11
+ * @package Microsoft.Graph
12
+ * @copyright 2020 Microsoft Corporation
13
+ * @license https://opensource.org/licenses/MIT MIT License
14
+ * @version GIT: 1.13.0
15
+ * @link https://graph.microsoft.io/
16
+ */
17
+
18
+ namespace Microsoft\Graph\Http;
19
+
20
+ use Microsoft\Graph\Exception\GraphException;
21
+ use Microsoft\Graph\Core\GraphConstants;
22
+
23
+ /**
24
+ * Class GraphResponse
25
+ *
26
+ * @category Library
27
+ * @package Microsoft.Graph
28
+ * @license https://opensource.org/licenses/MIT MIT License
29
+ * @link https://graph.microsoft.io/
30
+ */
31
+ class GraphResponse
32
+ {
33
+ /**
34
+ * The body of the response
35
+ *
36
+ * @var string
37
+ */
38
+ private $_body;
39
+ /**
40
+ * The body of the response,
41
+ * decoded into an array
42
+ *
43
+ * @var array(string)
44
+ */
45
+ private $_decodedBody;
46
+ /**
47
+ * The headers of the response
48
+ *
49
+ * @var array(string)
50
+ */
51
+ private $_headers;
52
+ /**
53
+ * The status code of the response
54
+ *
55
+ * @var string
56
+ */
57
+ private $_httpStatusCode;
58
+
59
+ /**
60
+ * Creates a new Graph HTTP response entity
61
+ *
62
+ * @param object $request The request
63
+ * @param string $body The body of the response
64
+ * @param string $httpStatusCode The returned status code
65
+ * @param array $headers The returned headers
66
+ */
67
+ public function __construct($request, $body = null, $httpStatusCode = null, $headers = null)
68
+ {
69
+ $this->_request = $request;
70
+ $this->_body = $body;
71
+ $this->_httpStatusCode = $httpStatusCode;
72
+ $this->_headers = $headers;
73
+ $this->_decodedBody = $this->_decodeBody();
74
+ }
75
+
76
+ /**
77
+ * Decode the JSON response into an array
78
+ *
79
+ * @return array The decoded response
80
+ */
81
+ private function _decodeBody()
82
+ {
83
+ $decodedBody = json_decode($this->_body, true);
84
+ if ($decodedBody === null) {
85
+ $decodedBody = array();
86
+ }
87
+ return $decodedBody;
88
+ }
89
+
90
+ /**
91
+ * Get the decoded body of the HTTP response
92
+ *
93
+ * @return array The decoded body
94
+ */
95
+ public function getBody()
96
+ {
97
+ return $this->_decodedBody;
98
+ }
99
+
100
+ /**
101
+ * Get the undecoded body of the HTTP response
102
+ *
103
+ * @return array The undecoded body
104
+ */
105
+ public function getRawBody()
106
+ {
107
+ return $this->_body;
108
+ }
109
+
110
+ /**
111
+ * Get the status of the HTTP response
112
+ *
113
+ * @return string The HTTP status
114
+ */
115
+ public function getStatus()
116
+ {
117
+ return $this->_httpStatusCode;
118
+ }
119
+
120
+ /**
121
+ * Get the headers of the response
122
+ *
123
+ * @return array The response headers
124
+ */
125
+ public function getHeaders()
126
+ {
127
+ return $this->_headers;
128
+ }
129
+
130
+ /**
131
+ * Converts the response JSON object to a Graph SDK object
132
+ *
133
+ * @param mixed $returnType The type to convert the object(s) to
134
+ *
135
+ * @return mixed object or array of objects of type $returnType
136
+ */
137
+ public function getResponseAsObject($returnType)
138
+ {
139
+ $class = $returnType;
140
+ $result = $this->getBody();
141
+
142
+ //If more than one object is returned
143
+ if (array_key_exists('value', $result)) {
144
+ $values = $result['value'];
145
+
146
+ //Check that this is an object array instead of a value called "value"
147
+ if (is_array($values)) {
148
+ $objArray = array();
149
+ foreach ($values as $obj) {
150
+ $objArray[] = new $class($obj);
151
+ }
152
+ return $objArray;
153
+ }
154
+ }
155
+
156
+ return new $class($result);
157
+ }
158
+
159
+ /**
160
+ * Gets the next link of a response object from OData
161
+ * If the nextLink is null, there are no more pages
162
+ *
163
+ * @return string nextLink, if provided
164
+ */
165
+ public function getNextLink()
166
+ {
167
+ if (array_key_exists("@odata.nextLink", $this->getBody())) {
168
+ $nextLink = $this->getBody()['@odata.nextLink'];
169
+ return $nextLink;
170
+ }
171
+ return null;
172
+ }
173
+
174
+ /**
175
+ * Gets the delta link of a response object from OData
176
+ * If the deltaLink is null, there are more pages in the collection;
177
+ * use nextLink to obtain more
178
+ *
179
+ * @return string|null deltaLink
180
+ */
181
+ public function getDeltaLink()
182
+ {
183
+ if (array_key_exists("@odata.deltaLink", $this->getBody())) {
184
+ $deltaLink = $this->getBody()['@odata.deltaLink'];
185
+ return $deltaLink;
186
+ }
187
+ return null;
188
+ }
189
+ }
vendor/microsoft/microsoft-graph/src/Model/AccessAction.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AccessAction File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AccessAction class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AccessAction extends Entity
27
+ {
28
+ }
vendor/microsoft/microsoft-graph/src/Model/ActionState.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ActionState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ActionState class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ActionState extends Enum
30
+ {
31
+ /**
32
+ * The Enum ActionState
33
+ */
34
+ const NONE = "none";
35
+ const PENDING = "pending";
36
+ const CANCELED = "canceled";
37
+ const ACTIVE = "active";
38
+ const DONE = "done";
39
+ const FAILED = "failed";
40
+ const NOT_SUPPORTED = "notSupported";
41
+ }
vendor/microsoft/microsoft-graph/src/Model/ActivityDomain.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ActivityDomain File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ActivityDomain class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ActivityDomain extends Enum
30
+ {
31
+ /**
32
+ * The Enum ActivityDomain
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const WORK = "work";
36
+ const PERSONAL = "personal";
37
+ const UNRESTRICTED = "unrestricted";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/ActivityHistoryItem.php ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ActivityHistoryItem File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * ActivityHistoryItem class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class ActivityHistoryItem extends Entity
28
+ {
29
+ /**
30
+ * Gets the status
31
+ * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored.
32
+ *
33
+ * @return Status The status
34
+ */
35
+ public function getStatus()
36
+ {
37
+ if (array_key_exists("status", $this->_propDict)) {
38
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\Status")) {
39
+ return $this->_propDict["status"];
40
+ } else {
41
+ $this->_propDict["status"] = new Status($this->_propDict["status"]);
42
+ return $this->_propDict["status"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the status
50
+ * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored.
51
+ *
52
+ * @param Status $val The status
53
+ *
54
+ * @return ActivityHistoryItem
55
+ */
56
+ public function setStatus($val)
57
+ {
58
+ $this->_propDict["status"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the activeDurationSeconds
64
+ * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime.
65
+ *
66
+ * @return int The activeDurationSeconds
67
+ */
68
+ public function getActiveDurationSeconds()
69
+ {
70
+ if (array_key_exists("activeDurationSeconds", $this->_propDict)) {
71
+ return $this->_propDict["activeDurationSeconds"];
72
+ } else {
73
+ return null;
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Sets the activeDurationSeconds
79
+ * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime.
80
+ *
81
+ * @param int $val The activeDurationSeconds
82
+ *
83
+ * @return ActivityHistoryItem
84
+ */
85
+ public function setActiveDurationSeconds($val)
86
+ {
87
+ $this->_propDict["activeDurationSeconds"] = intval($val);
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the createdDateTime
93
+ * Set by the server. DateTime in UTC when the object was created on the server.
94
+ *
95
+ * @return \DateTime The createdDateTime
96
+ */
97
+ public function getCreatedDateTime()
98
+ {
99
+ if (array_key_exists("createdDateTime", $this->_propDict)) {
100
+ if (is_a($this->_propDict["createdDateTime"], "\DateTime")) {
101
+ return $this->_propDict["createdDateTime"];
102
+ } else {
103
+ $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
104
+ return $this->_propDict["createdDateTime"];
105
+ }
106
+ }
107
+ return null;
108
+ }
109
+
110
+ /**
111
+ * Sets the createdDateTime
112
+ * Set by the server. DateTime in UTC when the object was created on the server.
113
+ *
114
+ * @param \DateTime $val The createdDateTime
115
+ *
116
+ * @return ActivityHistoryItem
117
+ */
118
+ public function setCreatedDateTime($val)
119
+ {
120
+ $this->_propDict["createdDateTime"] = $val;
121
+ return $this;
122
+ }
123
+
124
+ /**
125
+ * Gets the lastActiveDateTime
126
+ * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing.
127
+ *
128
+ * @return \DateTime The lastActiveDateTime
129
+ */
130
+ public function getLastActiveDateTime()
131
+ {
132
+ if (array_key_exists("lastActiveDateTime", $this->_propDict)) {
133
+ if (is_a($this->_propDict["lastActiveDateTime"], "\DateTime")) {
134
+ return $this->_propDict["lastActiveDateTime"];
135
+ } else {
136
+ $this->_propDict["lastActiveDateTime"] = new \DateTime($this->_propDict["lastActiveDateTime"]);
137
+ return $this->_propDict["lastActiveDateTime"];
138
+ }
139
+ }
140
+ return null;
141
+ }
142
+
143
+ /**
144
+ * Sets the lastActiveDateTime
145
+ * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing.
146
+ *
147
+ * @param \DateTime $val The lastActiveDateTime
148
+ *
149
+ * @return ActivityHistoryItem
150
+ */
151
+ public function setLastActiveDateTime($val)
152
+ {
153
+ $this->_propDict["lastActiveDateTime"] = $val;
154
+ return $this;
155
+ }
156
+
157
+ /**
158
+ * Gets the lastModifiedDateTime
159
+ * Set by the server. DateTime in UTC when the object was modified on the server.
160
+ *
161
+ * @return \DateTime The lastModifiedDateTime
162
+ */
163
+ public function getLastModifiedDateTime()
164
+ {
165
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
166
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
167
+ return $this->_propDict["lastModifiedDateTime"];
168
+ } else {
169
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
170
+ return $this->_propDict["lastModifiedDateTime"];
171
+ }
172
+ }
173
+ return null;
174
+ }
175
+
176
+ /**
177
+ * Sets the lastModifiedDateTime
178
+ * Set by the server. DateTime in UTC when the object was modified on the server.
179
+ *
180
+ * @param \DateTime $val The lastModifiedDateTime
181
+ *
182
+ * @return ActivityHistoryItem
183
+ */
184
+ public function setLastModifiedDateTime($val)
185
+ {
186
+ $this->_propDict["lastModifiedDateTime"] = $val;
187
+ return $this;
188
+ }
189
+
190
+ /**
191
+ * Gets the expirationDateTime
192
+ * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client.
193
+ *
194
+ * @return \DateTime The expirationDateTime
195
+ */
196
+ public function getExpirationDateTime()
197
+ {
198
+ if (array_key_exists("expirationDateTime", $this->_propDict)) {
199
+ if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) {
200
+ return $this->_propDict["expirationDateTime"];
201
+ } else {
202
+ $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]);
203
+ return $this->_propDict["expirationDateTime"];
204
+ }
205
+ }
206
+ return null;
207
+ }
208
+
209
+ /**
210
+ * Sets the expirationDateTime
211
+ * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client.
212
+ *
213
+ * @param \DateTime $val The expirationDateTime
214
+ *
215
+ * @return ActivityHistoryItem
216
+ */
217
+ public function setExpirationDateTime($val)
218
+ {
219
+ $this->_propDict["expirationDateTime"] = $val;
220
+ return $this;
221
+ }
222
+
223
+ /**
224
+ * Gets the startedDateTime
225
+ * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history.
226
+ *
227
+ * @return \DateTime The startedDateTime
228
+ */
229
+ public function getStartedDateTime()
230
+ {
231
+ if (array_key_exists("startedDateTime", $this->_propDict)) {
232
+ if (is_a($this->_propDict["startedDateTime"], "\DateTime")) {
233
+ return $this->_propDict["startedDateTime"];
234
+ } else {
235
+ $this->_propDict["startedDateTime"] = new \DateTime($this->_propDict["startedDateTime"]);
236
+ return $this->_propDict["startedDateTime"];
237
+ }
238
+ }
239
+ return null;
240
+ }
241
+
242
+ /**
243
+ * Sets the startedDateTime
244
+ * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history.
245
+ *
246
+ * @param \DateTime $val The startedDateTime
247
+ *
248
+ * @return ActivityHistoryItem
249
+ */
250
+ public function setStartedDateTime($val)
251
+ {
252
+ $this->_propDict["startedDateTime"] = $val;
253
+ return $this;
254
+ }
255
+
256
+ /**
257
+ * Gets the userTimezone
258
+ * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation.
259
+ *
260
+ * @return string The userTimezone
261
+ */
262
+ public function getUserTimezone()
263
+ {
264
+ if (array_key_exists("userTimezone", $this->_propDict)) {
265
+ return $this->_propDict["userTimezone"];
266
+ } else {
267
+ return null;
268
+ }
269
+ }
270
+
271
+ /**
272
+ * Sets the userTimezone
273
+ * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation.
274
+ *
275
+ * @param string $val The userTimezone
276
+ *
277
+ * @return ActivityHistoryItem
278
+ */
279
+ public function setUserTimezone($val)
280
+ {
281
+ $this->_propDict["userTimezone"] = $val;
282
+ return $this;
283
+ }
284
+
285
+ /**
286
+ * Gets the activity
287
+ * Optional. NavigationProperty/Containment; navigation property to the associated activity.
288
+ *
289
+ * @return UserActivity The activity
290
+ */
291
+ public function getActivity()
292
+ {
293
+ if (array_key_exists("activity", $this->_propDict)) {
294
+ if (is_a($this->_propDict["activity"], "Microsoft\Graph\Model\UserActivity")) {
295
+ return $this->_propDict["activity"];
296
+ } else {
297
+ $this->_propDict["activity"] = new UserActivity($this->_propDict["activity"]);
298
+ return $this->_propDict["activity"];
299
+ }
300
+ }
301
+ return null;
302
+ }
303
+
304
+ /**
305
+ * Sets the activity
306
+ * Optional. NavigationProperty/Containment; navigation property to the associated activity.
307
+ *
308
+ * @param UserActivity $val The activity
309
+ *
310
+ * @return ActivityHistoryItem
311
+ */
312
+ public function setActivity($val)
313
+ {
314
+ $this->_propDict["activity"] = $val;
315
+ return $this;
316
+ }
317
+
318
+ }
vendor/microsoft/microsoft-graph/src/Model/AdministrativeUnit.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AdministrativeUnit File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AdministrativeUnit class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AdministrativeUnit extends DirectoryObject
28
+ {
29
+ }
vendor/microsoft/microsoft-graph/src/Model/Alert.php ADDED
@@ -0,0 +1,998 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Alert File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Alert class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Alert extends Entity
28
+ {
29
+ /**
30
+ * Gets the activityGroupName
31
+ * Name or alias of the activity group (attacker) this alert is attributed to.
32
+ *
33
+ * @return string The activityGroupName
34
+ */
35
+ public function getActivityGroupName()
36
+ {
37
+ if (array_key_exists("activityGroupName", $this->_propDict)) {
38
+ return $this->_propDict["activityGroupName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the activityGroupName
46
+ * Name or alias of the activity group (attacker) this alert is attributed to.
47
+ *
48
+ * @param string $val The activityGroupName
49
+ *
50
+ * @return Alert
51
+ */
52
+ public function setActivityGroupName($val)
53
+ {
54
+ $this->_propDict["activityGroupName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the assignedTo
60
+ * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update).
61
+ *
62
+ * @return string The assignedTo
63
+ */
64
+ public function getAssignedTo()
65
+ {
66
+ if (array_key_exists("assignedTo", $this->_propDict)) {
67
+ return $this->_propDict["assignedTo"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the assignedTo
75
+ * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update).
76
+ *
77
+ * @param string $val The assignedTo
78
+ *
79
+ * @return Alert
80
+ */
81
+ public function setAssignedTo($val)
82
+ {
83
+ $this->_propDict["assignedTo"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the azureSubscriptionId
89
+ * Azure subscription ID, present if this alert is related to an Azure resource.
90
+ *
91
+ * @return string The azureSubscriptionId
92
+ */
93
+ public function getAzureSubscriptionId()
94
+ {
95
+ if (array_key_exists("azureSubscriptionId", $this->_propDict)) {
96
+ return $this->_propDict["azureSubscriptionId"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the azureSubscriptionId
104
+ * Azure subscription ID, present if this alert is related to an Azure resource.
105
+ *
106
+ * @param string $val The azureSubscriptionId
107
+ *
108
+ * @return Alert
109
+ */
110
+ public function setAzureSubscriptionId($val)
111
+ {
112
+ $this->_propDict["azureSubscriptionId"] = $val;
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the azureTenantId
118
+ * Azure Active Directory tenant ID. Required.
119
+ *
120
+ * @return string The azureTenantId
121
+ */
122
+ public function getAzureTenantId()
123
+ {
124
+ if (array_key_exists("azureTenantId", $this->_propDict)) {
125
+ return $this->_propDict["azureTenantId"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the azureTenantId
133
+ * Azure Active Directory tenant ID. Required.
134
+ *
135
+ * @param string $val The azureTenantId
136
+ *
137
+ * @return Alert
138
+ */
139
+ public function setAzureTenantId($val)
140
+ {
141
+ $this->_propDict["azureTenantId"] = $val;
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the category
147
+ * Category of the alert (for example, credentialTheft, ransomware, etc.).
148
+ *
149
+ * @return string The category
150
+ */
151
+ public function getCategory()
152
+ {
153
+ if (array_key_exists("category", $this->_propDict)) {
154
+ return $this->_propDict["category"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the category
162
+ * Category of the alert (for example, credentialTheft, ransomware, etc.).
163
+ *
164
+ * @param string $val The category
165
+ *
166
+ * @return Alert
167
+ */
168
+ public function setCategory($val)
169
+ {
170
+ $this->_propDict["category"] = $val;
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the closedDateTime
176
+ * Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' (supports update).
177
+ *
178
+ * @return \DateTime The closedDateTime
179
+ */
180
+ public function getClosedDateTime()
181
+ {
182
+ if (array_key_exists("closedDateTime", $this->_propDict)) {
183
+ if (is_a($this->_propDict["closedDateTime"], "\DateTime")) {
184
+ return $this->_propDict["closedDateTime"];
185
+ } else {
186
+ $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]);
187
+ return $this->_propDict["closedDateTime"];
188
+ }
189
+ }
190
+ return null;
191
+ }
192
+
193
+ /**
194
+ * Sets the closedDateTime
195
+ * Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' (supports update).
196
+ *
197
+ * @param \DateTime $val The closedDateTime
198
+ *
199
+ * @return Alert
200
+ */
201
+ public function setClosedDateTime($val)
202
+ {
203
+ $this->_propDict["closedDateTime"] = $val;
204
+ return $this;
205
+ }
206
+
207
+
208
+ /**
209
+ * Gets the cloudAppStates
210
+ * Security-related stateful information generated by the provider about the cloud application/s related to this alert.
211
+ *
212
+ * @return array The cloudAppStates
213
+ */
214
+ public function getCloudAppStates()
215
+ {
216
+ if (array_key_exists("cloudAppStates", $this->_propDict)) {
217
+ return $this->_propDict["cloudAppStates"];
218
+ } else {
219
+ return null;
220
+ }
221
+ }
222
+
223
+ /**
224
+ * Sets the cloudAppStates
225
+ * Security-related stateful information generated by the provider about the cloud application/s related to this alert.
226
+ *
227
+ * @param CloudAppSecurityState $val The cloudAppStates
228
+ *
229
+ * @return Alert
230
+ */
231
+ public function setCloudAppStates($val)
232
+ {
233
+ $this->_propDict["cloudAppStates"] = $val;
234
+ return $this;
235
+ }
236
+
237
+ /**
238
+ * Gets the comments
239
+ * Customer-provided comments on alert (for customer alert management) (supports update).
240
+ *
241
+ * @return string The comments
242
+ */
243
+ public function getComments()
244
+ {
245
+ if (array_key_exists("comments", $this->_propDict)) {
246
+ return $this->_propDict["comments"];
247
+ } else {
248
+ return null;
249
+ }
250
+ }
251
+
252
+ /**
253
+ * Sets the comments
254
+ * Customer-provided comments on alert (for customer alert management) (supports update).
255
+ *
256
+ * @param string $val The comments
257
+ *
258
+ * @return Alert
259
+ */
260
+ public function setComments($val)
261
+ {
262
+ $this->_propDict["comments"] = $val;
263
+ return $this;
264
+ }
265
+
266
+ /**
267
+ * Gets the confidence
268
+ * Confidence of the detection logic (percentage between 1-100).
269
+ *
270
+ * @return int The confidence
271
+ */
272
+ public function getConfidence()
273
+ {
274
+ if (array_key_exists("confidence", $this->_propDict)) {
275
+ return $this->_propDict["confidence"];
276
+ } else {
277
+ return null;
278
+ }
279
+ }
280
+
281
+ /**
282
+ * Sets the confidence
283
+ * Confidence of the detection logic (percentage between 1-100).
284
+ *
285
+ * @param int $val The confidence
286
+ *
287
+ * @return Alert
288
+ */
289
+ public function setConfidence($val)
290
+ {
291
+ $this->_propDict["confidence"] = intval($val);
292
+ return $this;
293
+ }
294
+
295
+ /**
296
+ * Gets the createdDateTime
297
+ * Time at which the alert was created by the alert provider. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Required.
298
+ *
299
+ * @return \DateTime The createdDateTime
300
+ */
301
+ public function getCreatedDateTime()
302
+ {
303
+ if (array_key_exists("createdDateTime", $this->_propDict)) {
304
+ if (is_a($this->_propDict["createdDateTime"], "\DateTime")) {
305
+ return $this->_propDict["createdDateTime"];
306
+ } else {
307
+ $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
308
+ return $this->_propDict["createdDateTime"];
309
+ }
310
+ }
311
+ return null;
312
+ }
313
+
314
+ /**
315
+ * Sets the createdDateTime
316
+ * Time at which the alert was created by the alert provider. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Required.
317
+ *
318
+ * @param \DateTime $val The createdDateTime
319
+ *
320
+ * @return Alert
321
+ */
322
+ public function setCreatedDateTime($val)
323
+ {
324
+ $this->_propDict["createdDateTime"] = $val;
325
+ return $this;
326
+ }
327
+
328
+ /**
329
+ * Gets the description
330
+ * Alert description.
331
+ *
332
+ * @return string The description
333
+ */
334
+ public function getDescription()
335
+ {
336
+ if (array_key_exists("description", $this->_propDict)) {
337
+ return $this->_propDict["description"];
338
+ } else {
339
+ return null;
340
+ }
341
+ }
342
+
343
+ /**
344
+ * Sets the description
345
+ * Alert description.
346
+ *
347
+ * @param string $val The description
348
+ *
349
+ * @return Alert
350
+ */
351
+ public function setDescription($val)
352
+ {
353
+ $this->_propDict["description"] = $val;
354
+ return $this;
355
+ }
356
+
357
+ /**
358
+ * Gets the detectionIds
359
+ * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
360
+ *
361
+ * @return string The detectionIds
362
+ */
363
+ public function getDetectionIds()
364
+ {
365
+ if (array_key_exists("detectionIds", $this->_propDict)) {
366
+ return $this->_propDict["detectionIds"];
367
+ } else {
368
+ return null;
369
+ }
370
+ }
371
+
372
+ /**
373
+ * Sets the detectionIds
374
+ * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
375
+ *
376
+ * @param string $val The detectionIds
377
+ *
378
+ * @return Alert
379
+ */
380
+ public function setDetectionIds($val)
381
+ {
382
+ $this->_propDict["detectionIds"] = $val;
383
+ return $this;
384
+ }
385
+
386
+ /**
387
+ * Gets the eventDateTime
388
+ * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Required.
389
+ *
390
+ * @return \DateTime The eventDateTime
391
+ */
392
+ public function getEventDateTime()
393
+ {
394
+ if (array_key_exists("eventDateTime", $this->_propDict)) {
395
+ if (is_a($this->_propDict["eventDateTime"], "\DateTime")) {
396
+ return $this->_propDict["eventDateTime"];
397
+ } else {
398
+ $this->_propDict["eventDateTime"] = new \DateTime($this->_propDict["eventDateTime"]);
399
+ return $this->_propDict["eventDateTime"];
400
+ }
401
+ }
402
+ return null;
403
+ }
404
+
405
+ /**
406
+ * Sets the eventDateTime
407
+ * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Required.
408
+ *
409
+ * @param \DateTime $val The eventDateTime
410
+ *
411
+ * @return Alert
412
+ */
413
+ public function setEventDateTime($val)
414
+ {
415
+ $this->_propDict["eventDateTime"] = $val;
416
+ return $this;
417
+ }
418
+
419
+ /**
420
+ * Gets the feedback
421
+ * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update)
422
+ *
423
+ * @return AlertFeedback The feedback
424
+ */
425
+ public function getFeedback()
426
+ {
427
+ if (array_key_exists("feedback", $this->_propDict)) {
428
+ if (is_a($this->_propDict["feedback"], "Microsoft\Graph\Model\AlertFeedback")) {
429
+ return $this->_propDict["feedback"];
430
+ } else {
431
+ $this->_propDict["feedback"] = new AlertFeedback($this->_propDict["feedback"]);
432
+ return $this->_propDict["feedback"];
433
+ }
434
+ }
435
+ return null;
436
+ }
437
+
438
+ /**
439
+ * Sets the feedback
440
+ * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update)
441
+ *
442
+ * @param AlertFeedback $val The feedback
443
+ *
444
+ * @return Alert
445
+ */
446
+ public function setFeedback($val)
447
+ {
448
+ $this->_propDict["feedback"] = $val;
449
+ return $this;
450
+ }
451
+
452
+
453
+ /**
454
+ * Gets the fileStates
455
+ * Security-related stateful information generated by the provider about the file(s) related to this alert.
456
+ *
457
+ * @return array The fileStates
458
+ */
459
+ public function getFileStates()
460
+ {
461
+ if (array_key_exists("fileStates", $this->_propDict)) {
462
+ return $this->_propDict["fileStates"];
463
+ } else {
464
+ return null;
465
+ }
466
+ }
467
+
468
+ /**
469
+ * Sets the fileStates
470
+ * Security-related stateful information generated by the provider about the file(s) related to this alert.
471
+ *
472
+ * @param FileSecurityState $val The fileStates
473
+ *
474
+ * @return Alert
475
+ */
476
+ public function setFileStates($val)
477
+ {
478
+ $this->_propDict["fileStates"] = $val;
479
+ return $this;
480
+ }
481
+
482
+
483
+ /**
484
+ * Gets the historyStates
485
+ *
486
+ * @return array The historyStates
487
+ */
488
+ public function getHistoryStates()
489
+ {
490
+ if (array_key_exists("historyStates", $this->_propDict)) {
491
+ return $this->_propDict["historyStates"];
492
+ } else {
493
+ return null;
494
+ }
495
+ }
496
+
497
+ /**
498
+ * Sets the historyStates
499
+ *
500
+ * @param AlertHistoryState $val The historyStates
501
+ *
502
+ * @return Alert
503
+ */
504
+ public function setHistoryStates($val)
505
+ {
506
+ $this->_propDict["historyStates"] = $val;
507
+ return $this;
508
+ }
509
+
510
+
511
+ /**
512
+ * Gets the hostStates
513
+ * Security-related stateful information generated by the provider about the host(s) related to this alert.
514
+ *
515
+ * @return array The hostStates
516
+ */
517
+ public function getHostStates()
518
+ {
519
+ if (array_key_exists("hostStates", $this->_propDict)) {
520
+ return $this->_propDict["hostStates"];
521
+ } else {
522
+ return null;
523
+ }
524
+ }
525
+
526
+ /**
527
+ * Sets the hostStates
528
+ * Security-related stateful information generated by the provider about the host(s) related to this alert.
529
+ *
530
+ * @param HostSecurityState $val The hostStates
531
+ *
532
+ * @return Alert
533
+ */
534
+ public function setHostStates($val)
535
+ {
536
+ $this->_propDict["hostStates"] = $val;
537
+ return $this;
538
+ }
539
+
540
+ /**
541
+ * Gets the lastModifiedDateTime
542
+ * Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
543
+ *
544
+ * @return \DateTime The lastModifiedDateTime
545
+ */
546
+ public function getLastModifiedDateTime()
547
+ {
548
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
549
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
550
+ return $this->_propDict["lastModifiedDateTime"];
551
+ } else {
552
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
553
+ return $this->_propDict["lastModifiedDateTime"];
554
+ }
555
+ }
556
+ return null;
557
+ }
558
+
559
+ /**
560
+ * Sets the lastModifiedDateTime
561
+ * Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
562
+ *
563
+ * @param \DateTime $val The lastModifiedDateTime
564
+ *
565
+ * @return Alert
566
+ */
567
+ public function setLastModifiedDateTime($val)
568
+ {
569
+ $this->_propDict["lastModifiedDateTime"] = $val;
570
+ return $this;
571
+ }
572
+
573
+
574
+ /**
575
+ * Gets the malwareStates
576
+ * Threat Intelligence pertaining to malware related to this alert.
577
+ *
578
+ * @return array The malwareStates
579
+ */
580
+ public function getMalwareStates()
581
+ {
582
+ if (array_key_exists("malwareStates", $this->_propDict)) {
583
+ return $this->_propDict["malwareStates"];
584
+ } else {
585
+ return null;
586
+ }
587
+ }
588
+
589
+ /**
590
+ * Sets the malwareStates
591
+ * Threat Intelligence pertaining to malware related to this alert.
592
+ *
593
+ * @param MalwareState $val The malwareStates
594
+ *
595
+ * @return Alert
596
+ */
597
+ public function setMalwareStates($val)
598
+ {
599
+ $this->_propDict["malwareStates"] = $val;
600
+ return $this;
601
+ }
602
+
603
+
604
+ /**
605
+ * Gets the networkConnections
606
+ * Security-related stateful information generated by the provider about the network connection(s) related to this alert.
607
+ *
608
+ * @return array The networkConnections
609
+ */
610
+ public function getNetworkConnections()
611
+ {
612
+ if (array_key_exists("networkConnections", $this->_propDict)) {
613
+ return $this->_propDict["networkConnections"];
614
+ } else {
615
+ return null;
616
+ }
617
+ }
618
+
619
+ /**
620
+ * Sets the networkConnections
621
+ * Security-related stateful information generated by the provider about the network connection(s) related to this alert.
622
+ *
623
+ * @param NetworkConnection $val The networkConnections
624
+ *
625
+ * @return Alert
626
+ */
627
+ public function setNetworkConnections($val)
628
+ {
629
+ $this->_propDict["networkConnections"] = $val;
630
+ return $this;
631
+ }
632
+
633
+
634
+ /**
635
+ * Gets the processes
636
+ * Security-related stateful information generated by the provider about the process or processes related to this alert.
637
+ *
638
+ * @return array The processes
639
+ */
640
+ public function getProcesses()
641
+ {
642
+ if (array_key_exists("processes", $this->_propDict)) {
643
+ return $this->_propDict["processes"];
644
+ } else {
645
+ return null;
646
+ }
647
+ }
648
+
649
+ /**
650
+ * Sets the processes
651
+ * Security-related stateful information generated by the provider about the process or processes related to this alert.
652
+ *
653
+ * @param Process $val The processes
654
+ *
655
+ * @return Alert
656
+ */
657
+ public function setProcesses($val)
658
+ {
659
+ $this->_propDict["processes"] = $val;
660
+ return $this;
661
+ }
662
+
663
+ /**
664
+ * Gets the recommendedActions
665
+ * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
666
+ *
667
+ * @return string The recommendedActions
668
+ */
669
+ public function getRecommendedActions()
670
+ {
671
+ if (array_key_exists("recommendedActions", $this->_propDict)) {
672
+ return $this->_propDict["recommendedActions"];
673
+ } else {
674
+ return null;
675
+ }
676
+ }
677
+
678
+ /**
679
+ * Sets the recommendedActions
680
+ * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
681
+ *
682
+ * @param string $val The recommendedActions
683
+ *
684
+ * @return Alert
685
+ */
686
+ public function setRecommendedActions($val)
687
+ {
688
+ $this->_propDict["recommendedActions"] = $val;
689
+ return $this;
690
+ }
691
+
692
+
693
+ /**
694
+ * Gets the registryKeyStates
695
+ * Security-related stateful information generated by the provider about the registry keys related to this alert.
696
+ *
697
+ * @return array The registryKeyStates
698
+ */
699
+ public function getRegistryKeyStates()
700
+ {
701
+ if (array_key_exists("registryKeyStates", $this->_propDict)) {
702
+ return $this->_propDict["registryKeyStates"];
703
+ } else {
704
+ return null;
705
+ }
706
+ }
707
+
708
+ /**
709
+ * Sets the registryKeyStates
710
+ * Security-related stateful information generated by the provider about the registry keys related to this alert.
711
+ *
712
+ * @param RegistryKeyState $val The registryKeyStates
713
+ *
714
+ * @return Alert
715
+ */
716
+ public function setRegistryKeyStates($val)
717
+ {
718
+ $this->_propDict["registryKeyStates"] = $val;
719
+ return $this;
720
+ }
721
+
722
+ /**
723
+ * Gets the severity
724
+ * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required.
725
+ *
726
+ * @return AlertSeverity The severity
727
+ */
728
+ public function getSeverity()
729
+ {
730
+ if (array_key_exists("severity", $this->_propDict)) {
731
+ if (is_a($this->_propDict["severity"], "Microsoft\Graph\Model\AlertSeverity")) {
732
+ return $this->_propDict["severity"];
733
+ } else {
734
+ $this->_propDict["severity"] = new AlertSeverity($this->_propDict["severity"]);
735
+ return $this->_propDict["severity"];
736
+ }
737
+ }
738
+ return null;
739
+ }
740
+
741
+ /**
742
+ * Sets the severity
743
+ * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required.
744
+ *
745
+ * @param AlertSeverity $val The severity
746
+ *
747
+ * @return Alert
748
+ */
749
+ public function setSeverity($val)
750
+ {
751
+ $this->_propDict["severity"] = $val;
752
+ return $this;
753
+ }
754
+
755
+ /**
756
+ * Gets the sourceMaterials
757
+ * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
758
+ *
759
+ * @return string The sourceMaterials
760
+ */
761
+ public function getSourceMaterials()
762
+ {
763
+ if (array_key_exists("sourceMaterials", $this->_propDict)) {
764
+ return $this->_propDict["sourceMaterials"];
765
+ } else {
766
+ return null;
767
+ }
768
+ }
769
+
770
+ /**
771
+ * Sets the sourceMaterials
772
+ * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
773
+ *
774
+ * @param string $val The sourceMaterials
775
+ *
776
+ * @return Alert
777
+ */
778
+ public function setSourceMaterials($val)
779
+ {
780
+ $this->_propDict["sourceMaterials"] = $val;
781
+ return $this;
782
+ }
783
+
784
+ /**
785
+ * Gets the status
786
+ * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required.
787
+ *
788
+ * @return AlertStatus The status
789
+ */
790
+ public function getStatus()
791
+ {
792
+ if (array_key_exists("status", $this->_propDict)) {
793
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\AlertStatus")) {
794
+ return $this->_propDict["status"];
795
+ } else {
796
+ $this->_propDict["status"] = new AlertStatus($this->_propDict["status"]);
797
+ return $this->_propDict["status"];
798
+ }
799
+ }
800
+ return null;
801
+ }
802
+
803
+ /**
804
+ * Sets the status
805
+ * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required.
806
+ *
807
+ * @param AlertStatus $val The status
808
+ *
809
+ * @return Alert
810
+ */
811
+ public function setStatus($val)
812
+ {
813
+ $this->_propDict["status"] = $val;
814
+ return $this;
815
+ }
816
+
817
+ /**
818
+ * Gets the tags
819
+ * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update).
820
+ *
821
+ * @return string The tags
822
+ */
823
+ public function getTags()
824
+ {
825
+ if (array_key_exists("tags", $this->_propDict)) {
826
+ return $this->_propDict["tags"];
827
+ } else {
828
+ return null;
829
+ }
830
+ }
831
+
832
+ /**
833
+ * Sets the tags
834
+ * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update).
835
+ *
836
+ * @param string $val The tags
837
+ *
838
+ * @return Alert
839
+ */
840
+ public function setTags($val)
841
+ {
842
+ $this->_propDict["tags"] = $val;
843
+ return $this;
844
+ }
845
+
846
+ /**
847
+ * Gets the title
848
+ * Alert title. Required.
849
+ *
850
+ * @return string The title
851
+ */
852
+ public function getTitle()
853
+ {
854
+ if (array_key_exists("title", $this->_propDict)) {
855
+ return $this->_propDict["title"];
856
+ } else {
857
+ return null;
858
+ }
859
+ }
860
+
861
+ /**
862
+ * Sets the title
863
+ * Alert title. Required.
864
+ *
865
+ * @param string $val The title
866
+ *
867
+ * @return Alert
868
+ */
869
+ public function setTitle($val)
870
+ {
871
+ $this->_propDict["title"] = $val;
872
+ return $this;
873
+ }
874
+
875
+
876
+ /**
877
+ * Gets the triggers
878
+ * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation.
879
+ *
880
+ * @return array The triggers
881
+ */
882
+ public function getTriggers()
883
+ {
884
+ if (array_key_exists("triggers", $this->_propDict)) {
885
+ return $this->_propDict["triggers"];
886
+ } else {
887
+ return null;
888
+ }
889
+ }
890
+
891
+ /**
892
+ * Sets the triggers
893
+ * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation.
894
+ *
895
+ * @param AlertTrigger $val The triggers
896
+ *
897
+ * @return Alert
898
+ */
899
+ public function setTriggers($val)
900
+ {
901
+ $this->_propDict["triggers"] = $val;
902
+ return $this;
903
+ }
904
+
905
+
906
+ /**
907
+ * Gets the userStates
908
+ * Security-related stateful information generated by the provider about the user accounts related to this alert.
909
+ *
910
+ * @return array The userStates
911
+ */
912
+ public function getUserStates()
913
+ {
914
+ if (array_key_exists("userStates", $this->_propDict)) {
915
+ return $this->_propDict["userStates"];
916
+ } else {
917
+ return null;
918
+ }
919
+ }
920
+
921
+ /**
922
+ * Sets the userStates
923
+ * Security-related stateful information generated by the provider about the user accounts related to this alert.
924
+ *
925
+ * @param UserSecurityState $val The userStates
926
+ *
927
+ * @return Alert
928
+ */
929
+ public function setUserStates($val)
930
+ {
931
+ $this->_propDict["userStates"] = $val;
932
+ return $this;
933
+ }
934
+
935
+ /**
936
+ * Gets the vendorInformation
937
+ * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required.
938
+ *
939
+ * @return SecurityVendorInformation The vendorInformation
940
+ */
941
+ public function getVendorInformation()
942
+ {
943
+ if (array_key_exists("vendorInformation", $this->_propDict)) {
944
+ if (is_a($this->_propDict["vendorInformation"], "Microsoft\Graph\Model\SecurityVendorInformation")) {
945
+ return $this->_propDict["vendorInformation"];
946
+ } else {
947
+ $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]);
948
+ return $this->_propDict["vendorInformation"];
949
+ }
950
+ }
951
+ return null;
952
+ }
953
+
954
+ /**
955
+ * Sets the vendorInformation
956
+ * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required.
957
+ *
958
+ * @param SecurityVendorInformation $val The vendorInformation
959
+ *
960
+ * @return Alert
961
+ */
962
+ public function setVendorInformation($val)
963
+ {
964
+ $this->_propDict["vendorInformation"] = $val;
965
+ return $this;
966
+ }
967
+
968
+
969
+ /**
970
+ * Gets the vulnerabilityStates
971
+ * Threat intelligence pertaining to one or more vulnerabilities related to this alert.
972
+ *
973
+ * @return array The vulnerabilityStates
974
+ */
975
+ public function getVulnerabilityStates()
976
+ {
977
+ if (array_key_exists("vulnerabilityStates", $this->_propDict)) {
978
+ return $this->_propDict["vulnerabilityStates"];
979
+ } else {
980
+ return null;
981
+ }
982
+ }
983
+
984
+ /**
985
+ * Sets the vulnerabilityStates
986
+ * Threat intelligence pertaining to one or more vulnerabilities related to this alert.
987
+ *
988
+ * @param VulnerabilityState $val The vulnerabilityStates
989
+ *
990
+ * @return Alert
991
+ */
992
+ public function setVulnerabilityStates($val)
993
+ {
994
+ $this->_propDict["vulnerabilityStates"] = $val;
995
+ return $this;
996
+ }
997
+
998
+ }
vendor/microsoft/microsoft-graph/src/Model/AlertFeedback.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AlertFeedback File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AlertFeedback class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AlertFeedback extends Enum
30
+ {
31
+ /**
32
+ * The Enum AlertFeedback
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const TRUE_POSITIVE = "truePositive";
36
+ const FALSE_POSITIVE = "falsePositive";
37
+ const BENIGN_POSITIVE = "benignPositive";
38
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/AlertHistoryState.php ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AlertHistoryState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AlertHistoryState class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AlertHistoryState extends Entity
27
+ {
28
+ /**
29
+ * Gets the appId
30
+ *
31
+ * @return string The appId
32
+ */
33
+ public function getAppId()
34
+ {
35
+ if (array_key_exists("appId", $this->_propDict)) {
36
+ return $this->_propDict["appId"];
37
+ } else {
38
+ return null;
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Sets the appId
44
+ *
45
+ * @param string $val The value of the appId
46
+ *
47
+ * @return AlertHistoryState
48
+ */
49
+ public function setAppId($val)
50
+ {
51
+ $this->_propDict["appId"] = $val;
52
+ return $this;
53
+ }
54
+ /**
55
+ * Gets the assignedTo
56
+ *
57
+ * @return string The assignedTo
58
+ */
59
+ public function getAssignedTo()
60
+ {
61
+ if (array_key_exists("assignedTo", $this->_propDict)) {
62
+ return $this->_propDict["assignedTo"];
63
+ } else {
64
+ return null;
65
+ }
66
+ }
67
+
68
+ /**
69
+ * Sets the assignedTo
70
+ *
71
+ * @param string $val The value of the assignedTo
72
+ *
73
+ * @return AlertHistoryState
74
+ */
75
+ public function setAssignedTo($val)
76
+ {
77
+ $this->_propDict["assignedTo"] = $val;
78
+ return $this;
79
+ }
80
+ /**
81
+ * Gets the comments
82
+ *
83
+ * @return string The comments
84
+ */
85
+ public function getComments()
86
+ {
87
+ if (array_key_exists("comments", $this->_propDict)) {
88
+ return $this->_propDict["comments"];
89
+ } else {
90
+ return null;
91
+ }
92
+ }
93
+
94
+ /**
95
+ * Sets the comments
96
+ *
97
+ * @param string $val The value of the comments
98
+ *
99
+ * @return AlertHistoryState
100
+ */
101
+ public function setComments($val)
102
+ {
103
+ $this->_propDict["comments"] = $val;
104
+ return $this;
105
+ }
106
+
107
+ /**
108
+ * Gets the feedback
109
+ *
110
+ * @return AlertFeedback The feedback
111
+ */
112
+ public function getFeedback()
113
+ {
114
+ if (array_key_exists("feedback", $this->_propDict)) {
115
+ if (is_a($this->_propDict["feedback"], "Microsoft\Graph\Model\AlertFeedback")) {
116
+ return $this->_propDict["feedback"];
117
+ } else {
118
+ $this->_propDict["feedback"] = new AlertFeedback($this->_propDict["feedback"]);
119
+ return $this->_propDict["feedback"];
120
+ }
121
+ }
122
+ return null;
123
+ }
124
+
125
+ /**
126
+ * Sets the feedback
127
+ *
128
+ * @param AlertFeedback $val The value to assign to the feedback
129
+ *
130
+ * @return AlertHistoryState The AlertHistoryState
131
+ */
132
+ public function setFeedback($val)
133
+ {
134
+ $this->_propDict["feedback"] = $val;
135
+ return $this;
136
+ }
137
+
138
+ /**
139
+ * Gets the status
140
+ *
141
+ * @return AlertStatus The status
142
+ */
143
+ public function getStatus()
144
+ {
145
+ if (array_key_exists("status", $this->_propDict)) {
146
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\AlertStatus")) {
147
+ return $this->_propDict["status"];
148
+ } else {
149
+ $this->_propDict["status"] = new AlertStatus($this->_propDict["status"]);
150
+ return $this->_propDict["status"];
151
+ }
152
+ }
153
+ return null;
154
+ }
155
+
156
+ /**
157
+ * Sets the status
158
+ *
159
+ * @param AlertStatus $val The value to assign to the status
160
+ *
161
+ * @return AlertHistoryState The AlertHistoryState
162
+ */
163
+ public function setStatus($val)
164
+ {
165
+ $this->_propDict["status"] = $val;
166
+ return $this;
167
+ }
168
+
169
+ /**
170
+ * Gets the updatedDateTime
171
+ *
172
+ * @return \DateTime The updatedDateTime
173
+ */
174
+ public function getUpdatedDateTime()
175
+ {
176
+ if (array_key_exists("updatedDateTime", $this->_propDict)) {
177
+ if (is_a($this->_propDict["updatedDateTime"], "Microsoft\Graph\Model\\DateTime")) {
178
+ return $this->_propDict["updatedDateTime"];
179
+ } else {
180
+ $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]);
181
+ return $this->_propDict["updatedDateTime"];
182
+ }
183
+ }
184
+ return null;
185
+ }
186
+
187
+ /**
188
+ * Sets the updatedDateTime
189
+ *
190
+ * @param \DateTime $val The value to assign to the updatedDateTime
191
+ *
192
+ * @return AlertHistoryState The AlertHistoryState
193
+ */
194
+ public function setUpdatedDateTime($val)
195
+ {
196
+ $this->_propDict["updatedDateTime"] = $val;
197
+ return $this;
198
+ }
199
+ /**
200
+ * Gets the user
201
+ *
202
+ * @return string The user
203
+ */
204
+ public function getUser()
205
+ {
206
+ if (array_key_exists("user", $this->_propDict)) {
207
+ return $this->_propDict["user"];
208
+ } else {
209
+ return null;
210
+ }
211
+ }
212
+
213
+ /**
214
+ * Sets the user
215
+ *
216
+ * @param string $val The value of the user
217
+ *
218
+ * @return AlertHistoryState
219
+ */
220
+ public function setUser($val)
221
+ {
222
+ $this->_propDict["user"] = $val;
223
+ return $this;
224
+ }
225
+ }
vendor/microsoft/microsoft-graph/src/Model/AlertSeverity.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AlertSeverity File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AlertSeverity class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AlertSeverity extends Enum
30
+ {
31
+ /**
32
+ * The Enum AlertSeverity
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const INFORMATIONAL = "informational";
36
+ const LOW = "low";
37
+ const MEDIUM = "medium";
38
+ const HIGH = "high";
39
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
40
+ }
vendor/microsoft/microsoft-graph/src/Model/AlertStatus.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AlertStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AlertStatus class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AlertStatus extends Enum
30
+ {
31
+ /**
32
+ * The Enum AlertStatus
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const NEW_ALERT = "newAlert";
36
+ const IN_PROGRESS = "inProgress";
37
+ const RESOLVED = "resolved";
38
+ const DISMISSED = "dismissed";
39
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
40
+ }
vendor/microsoft/microsoft-graph/src/Model/AlertTrigger.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AlertTrigger File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AlertTrigger class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AlertTrigger extends Entity
27
+ {
28
+ /**
29
+ * Gets the name
30
+ * Name of the property serving as a detection trigger.
31
+ *
32
+ * @return string The name
33
+ */
34
+ public function getName()
35
+ {
36
+ if (array_key_exists("name", $this->_propDict)) {
37
+ return $this->_propDict["name"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the name
45
+ * Name of the property serving as a detection trigger.
46
+ *
47
+ * @param string $val The value of the name
48
+ *
49
+ * @return AlertTrigger
50
+ */
51
+ public function setName($val)
52
+ {
53
+ $this->_propDict["name"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the type
58
+ * Type of the property in the key:value pair for interpretation. For example, String, Boolean, etc.
59
+ *
60
+ * @return string The type
61
+ */
62
+ public function getType()
63
+ {
64
+ if (array_key_exists("type", $this->_propDict)) {
65
+ return $this->_propDict["type"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the type
73
+ * Type of the property in the key:value pair for interpretation. For example, String, Boolean, etc.
74
+ *
75
+ * @param string $val The value of the type
76
+ *
77
+ * @return AlertTrigger
78
+ */
79
+ public function setType($val)
80
+ {
81
+ $this->_propDict["type"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the value
86
+ * Value of the property serving as a detection trigger.
87
+ *
88
+ * @return string The value
89
+ */
90
+ public function getValue()
91
+ {
92
+ if (array_key_exists("value", $this->_propDict)) {
93
+ return $this->_propDict["value"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the value
101
+ * Value of the property serving as a detection trigger.
102
+ *
103
+ * @param string $val The value of the value
104
+ *
105
+ * @return AlertTrigger
106
+ */
107
+ public function setValue($val)
108
+ {
109
+ $this->_propDict["value"] = $val;
110
+ return $this;
111
+ }
112
+ }
vendor/microsoft/microsoft-graph/src/Model/AllDevicesAssignmentTarget.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AllDevicesAssignmentTarget File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AllDevicesAssignmentTarget class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AllDevicesAssignmentTarget extends DeviceAndAppManagementAssignmentTarget
27
+ {
28
+ /**
29
+ * Set the @odata.type since this type is immediately descended from an abstract
30
+ * type that is referenced as the type in an entity.
31
+ */
32
+ public function __construct()
33
+ {
34
+ $this->setODataType("#microsoft.graph.allDevicesAssignmentTarget");
35
+ }
36
+
37
+ }
vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AllLicensedUsersAssignmentTarget File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AllLicensedUsersAssignmentTarget class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AllLicensedUsersAssignmentTarget extends DeviceAndAppManagementAssignmentTarget
27
+ {
28
+ /**
29
+ * Set the @odata.type since this type is immediately descended from an abstract
30
+ * type that is referenced as the type in an entity.
31
+ */
32
+ public function __construct()
33
+ {
34
+ $this->setODataType("#microsoft.graph.allLicensedUsersAssignmentTarget");
35
+ }
36
+
37
+ }
vendor/microsoft/microsoft-graph/src/Model/AlternativeSecurityId.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AlternativeSecurityId File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AlternativeSecurityId class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AlternativeSecurityId extends Entity
27
+ {
28
+ /**
29
+ * Gets the type
30
+ * For internal use only
31
+ *
32
+ * @return int The type
33
+ */
34
+ public function getType()
35
+ {
36
+ if (array_key_exists("type", $this->_propDict)) {
37
+ return $this->_propDict["type"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the type
45
+ * For internal use only
46
+ *
47
+ * @param int $val The value of the type
48
+ *
49
+ * @return AlternativeSecurityId
50
+ */
51
+ public function setType($val)
52
+ {
53
+ $this->_propDict["type"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the identityProvider
58
+ * For internal use only
59
+ *
60
+ * @return string The identityProvider
61
+ */
62
+ public function getIdentityProvider()
63
+ {
64
+ if (array_key_exists("identityProvider", $this->_propDict)) {
65
+ return $this->_propDict["identityProvider"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the identityProvider
73
+ * For internal use only
74
+ *
75
+ * @param string $val The value of the identityProvider
76
+ *
77
+ * @return AlternativeSecurityId
78
+ */
79
+ public function setIdentityProvider($val)
80
+ {
81
+ $this->_propDict["identityProvider"] = $val;
82
+ return $this;
83
+ }
84
+
85
+ /**
86
+ * Gets the key
87
+ * For internal use only
88
+ *
89
+ * @return \GuzzleHttp\Psr7\Stream The key
90
+ */
91
+ public function getKey()
92
+ {
93
+ if (array_key_exists("key", $this->_propDict)) {
94
+ if (is_a($this->_propDict["key"], "Microsoft\Graph\Model\\GuzzleHttp\Psr7\Stream")) {
95
+ return $this->_propDict["key"];
96
+ } else {
97
+ $this->_propDict["key"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["key"]);
98
+ return $this->_propDict["key"];
99
+ }
100
+ }
101
+ return null;
102
+ }
103
+
104
+ /**
105
+ * Sets the key
106
+ * For internal use only
107
+ *
108
+ * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key
109
+ *
110
+ * @return AlternativeSecurityId The AlternativeSecurityId
111
+ */
112
+ public function setKey($val)
113
+ {
114
+ $this->_propDict["key"] = $val;
115
+ return $this;
116
+ }
117
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidCompliancePolicy.php ADDED
@@ -0,0 +1,646 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidCompliancePolicy File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidCompliancePolicy class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidCompliancePolicy extends DeviceCompliancePolicy
28
+ {
29
+ /**
30
+ * Gets the passwordRequired
31
+ * Require a password to unlock device.
32
+ *
33
+ * @return bool The passwordRequired
34
+ */
35
+ public function getPasswordRequired()
36
+ {
37
+ if (array_key_exists("passwordRequired", $this->_propDict)) {
38
+ return $this->_propDict["passwordRequired"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the passwordRequired
46
+ * Require a password to unlock device.
47
+ *
48
+ * @param bool $val The passwordRequired
49
+ *
50
+ * @return AndroidCompliancePolicy
51
+ */
52
+ public function setPasswordRequired($val)
53
+ {
54
+ $this->_propDict["passwordRequired"] = boolval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the passwordMinimumLength
60
+ * Minimum password length. Valid values 4 to 16
61
+ *
62
+ * @return int The passwordMinimumLength
63
+ */
64
+ public function getPasswordMinimumLength()
65
+ {
66
+ if (array_key_exists("passwordMinimumLength", $this->_propDict)) {
67
+ return $this->_propDict["passwordMinimumLength"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the passwordMinimumLength
75
+ * Minimum password length. Valid values 4 to 16
76
+ *
77
+ * @param int $val The passwordMinimumLength
78
+ *
79
+ * @return AndroidCompliancePolicy
80
+ */
81
+ public function setPasswordMinimumLength($val)
82
+ {
83
+ $this->_propDict["passwordMinimumLength"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the passwordRequiredType
89
+ * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
90
+ *
91
+ * @return AndroidRequiredPasswordType The passwordRequiredType
92
+ */
93
+ public function getPasswordRequiredType()
94
+ {
95
+ if (array_key_exists("passwordRequiredType", $this->_propDict)) {
96
+ if (is_a($this->_propDict["passwordRequiredType"], "Microsoft\Graph\Model\AndroidRequiredPasswordType")) {
97
+ return $this->_propDict["passwordRequiredType"];
98
+ } else {
99
+ $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]);
100
+ return $this->_propDict["passwordRequiredType"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the passwordRequiredType
108
+ * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
109
+ *
110
+ * @param AndroidRequiredPasswordType $val The passwordRequiredType
111
+ *
112
+ * @return AndroidCompliancePolicy
113
+ */
114
+ public function setPasswordRequiredType($val)
115
+ {
116
+ $this->_propDict["passwordRequiredType"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the passwordMinutesOfInactivityBeforeLock
122
+ * Minutes of inactivity before a password is required.
123
+ *
124
+ * @return int The passwordMinutesOfInactivityBeforeLock
125
+ */
126
+ public function getPasswordMinutesOfInactivityBeforeLock()
127
+ {
128
+ if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) {
129
+ return $this->_propDict["passwordMinutesOfInactivityBeforeLock"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the passwordMinutesOfInactivityBeforeLock
137
+ * Minutes of inactivity before a password is required.
138
+ *
139
+ * @param int $val The passwordMinutesOfInactivityBeforeLock
140
+ *
141
+ * @return AndroidCompliancePolicy
142
+ */
143
+ public function setPasswordMinutesOfInactivityBeforeLock($val)
144
+ {
145
+ $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val);
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the passwordExpirationDays
151
+ * Number of days before the password expires. Valid values 1 to 365
152
+ *
153
+ * @return int The passwordExpirationDays
154
+ */
155
+ public function getPasswordExpirationDays()
156
+ {
157
+ if (array_key_exists("passwordExpirationDays", $this->_propDict)) {
158
+ return $this->_propDict["passwordExpirationDays"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the passwordExpirationDays
166
+ * Number of days before the password expires. Valid values 1 to 365
167
+ *
168
+ * @param int $val The passwordExpirationDays
169
+ *
170
+ * @return AndroidCompliancePolicy
171
+ */
172
+ public function setPasswordExpirationDays($val)
173
+ {
174
+ $this->_propDict["passwordExpirationDays"] = intval($val);
175
+ return $this;
176
+ }
177
+
178
+ /**
179
+ * Gets the passwordPreviousPasswordBlockCount
180
+ * Number of previous passwords to block. Valid values 1 to 24
181
+ *
182
+ * @return int The passwordPreviousPasswordBlockCount
183
+ */
184
+ public function getPasswordPreviousPasswordBlockCount()
185
+ {
186
+ if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) {
187
+ return $this->_propDict["passwordPreviousPasswordBlockCount"];
188
+ } else {
189
+ return null;
190
+ }
191
+ }
192
+
193
+ /**
194
+ * Sets the passwordPreviousPasswordBlockCount
195
+ * Number of previous passwords to block. Valid values 1 to 24
196
+ *
197
+ * @param int $val The passwordPreviousPasswordBlockCount
198
+ *
199
+ * @return AndroidCompliancePolicy
200
+ */
201
+ public function setPasswordPreviousPasswordBlockCount($val)
202
+ {
203
+ $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val);
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the securityPreventInstallAppsFromUnknownSources
209
+ * Require that devices disallow installation of apps from unknown sources.
210
+ *
211
+ * @return bool The securityPreventInstallAppsFromUnknownSources
212
+ */
213
+ public function getSecurityPreventInstallAppsFromUnknownSources()
214
+ {
215
+ if (array_key_exists("securityPreventInstallAppsFromUnknownSources", $this->_propDict)) {
216
+ return $this->_propDict["securityPreventInstallAppsFromUnknownSources"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the securityPreventInstallAppsFromUnknownSources
224
+ * Require that devices disallow installation of apps from unknown sources.
225
+ *
226
+ * @param bool $val The securityPreventInstallAppsFromUnknownSources
227
+ *
228
+ * @return AndroidCompliancePolicy
229
+ */
230
+ public function setSecurityPreventInstallAppsFromUnknownSources($val)
231
+ {
232
+ $this->_propDict["securityPreventInstallAppsFromUnknownSources"] = boolval($val);
233
+ return $this;
234
+ }
235
+
236
+ /**
237
+ * Gets the securityDisableUsbDebugging
238
+ * Disable USB debugging on Android devices.
239
+ *
240
+ * @return bool The securityDisableUsbDebugging
241
+ */
242
+ public function getSecurityDisableUsbDebugging()
243
+ {
244
+ if (array_key_exists("securityDisableUsbDebugging", $this->_propDict)) {
245
+ return $this->_propDict["securityDisableUsbDebugging"];
246
+ } else {
247
+ return null;
248
+ }
249
+ }
250
+
251
+ /**
252
+ * Sets the securityDisableUsbDebugging
253
+ * Disable USB debugging on Android devices.
254
+ *
255
+ * @param bool $val The securityDisableUsbDebugging
256
+ *
257
+ * @return AndroidCompliancePolicy
258
+ */
259
+ public function setSecurityDisableUsbDebugging($val)
260
+ {
261
+ $this->_propDict["securityDisableUsbDebugging"] = boolval($val);
262
+ return $this;
263
+ }
264
+
265
+ /**
266
+ * Gets the securityRequireVerifyApps
267
+ * Require the Android Verify apps feature is turned on.
268
+ *
269
+ * @return bool The securityRequireVerifyApps
270
+ */
271
+ public function getSecurityRequireVerifyApps()
272
+ {
273
+ if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) {
274
+ return $this->_propDict["securityRequireVerifyApps"];
275
+ } else {
276
+ return null;
277
+ }
278
+ }
279
+
280
+ /**
281
+ * Sets the securityRequireVerifyApps
282
+ * Require the Android Verify apps feature is turned on.
283
+ *
284
+ * @param bool $val The securityRequireVerifyApps
285
+ *
286
+ * @return AndroidCompliancePolicy
287
+ */
288
+ public function setSecurityRequireVerifyApps($val)
289
+ {
290
+ $this->_propDict["securityRequireVerifyApps"] = boolval($val);
291
+ return $this;
292
+ }
293
+
294
+ /**
295
+ * Gets the deviceThreatProtectionEnabled
296
+ * Require that devices have enabled device threat protection.
297
+ *
298
+ * @return bool The deviceThreatProtectionEnabled
299
+ */
300
+ public function getDeviceThreatProtectionEnabled()
301
+ {
302
+ if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) {
303
+ return $this->_propDict["deviceThreatProtectionEnabled"];
304
+ } else {
305
+ return null;
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Sets the deviceThreatProtectionEnabled
311
+ * Require that devices have enabled device threat protection.
312
+ *
313
+ * @param bool $val The deviceThreatProtectionEnabled
314
+ *
315
+ * @return AndroidCompliancePolicy
316
+ */
317
+ public function setDeviceThreatProtectionEnabled($val)
318
+ {
319
+ $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val);
320
+ return $this;
321
+ }
322
+
323
+ /**
324
+ * Gets the deviceThreatProtectionRequiredSecurityLevel
325
+ * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet.
326
+ *
327
+ * @return DeviceThreatProtectionLevel The deviceThreatProtectionRequiredSecurityLevel
328
+ */
329
+ public function getDeviceThreatProtectionRequiredSecurityLevel()
330
+ {
331
+ if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) {
332
+ if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "Microsoft\Graph\Model\DeviceThreatProtectionLevel")) {
333
+ return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"];
334
+ } else {
335
+ $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]);
336
+ return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"];
337
+ }
338
+ }
339
+ return null;
340
+ }
341
+
342
+ /**
343
+ * Sets the deviceThreatProtectionRequiredSecurityLevel
344
+ * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet.
345
+ *
346
+ * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel
347
+ *
348
+ * @return AndroidCompliancePolicy
349
+ */
350
+ public function setDeviceThreatProtectionRequiredSecurityLevel($val)
351
+ {
352
+ $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val;
353
+ return $this;
354
+ }
355
+
356
+ /**
357
+ * Gets the securityBlockJailbrokenDevices
358
+ * Devices must not be jailbroken or rooted.
359
+ *
360
+ * @return bool The securityBlockJailbrokenDevices
361
+ */
362
+ public function getSecurityBlockJailbrokenDevices()
363
+ {
364
+ if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) {
365
+ return $this->_propDict["securityBlockJailbrokenDevices"];
366
+ } else {
367
+ return null;
368
+ }
369
+ }
370
+
371
+ /**
372
+ * Sets the securityBlockJailbrokenDevices
373
+ * Devices must not be jailbroken or rooted.
374
+ *
375
+ * @param bool $val The securityBlockJailbrokenDevices
376
+ *
377
+ * @return AndroidCompliancePolicy
378
+ */
379
+ public function setSecurityBlockJailbrokenDevices($val)
380
+ {
381
+ $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val);
382
+ return $this;
383
+ }
384
+
385
+ /**
386
+ * Gets the osMinimumVersion
387
+ * Minimum Android version.
388
+ *
389
+ * @return string The osMinimumVersion
390
+ */
391
+ public function getOsMinimumVersion()
392
+ {
393
+ if (array_key_exists("osMinimumVersion", $this->_propDict)) {
394
+ return $this->_propDict["osMinimumVersion"];
395
+ } else {
396
+ return null;
397
+ }
398
+ }
399
+
400
+ /**
401
+ * Sets the osMinimumVersion
402
+ * Minimum Android version.
403
+ *
404
+ * @param string $val The osMinimumVersion
405
+ *
406
+ * @return AndroidCompliancePolicy
407
+ */
408
+ public function setOsMinimumVersion($val)
409
+ {
410
+ $this->_propDict["osMinimumVersion"] = $val;
411
+ return $this;
412
+ }
413
+
414
+ /**
415
+ * Gets the osMaximumVersion
416
+ * Maximum Android version.
417
+ *
418
+ * @return string The osMaximumVersion
419
+ */
420
+ public function getOsMaximumVersion()
421
+ {
422
+ if (array_key_exists("osMaximumVersion", $this->_propDict)) {
423
+ return $this->_propDict["osMaximumVersion"];
424
+ } else {
425
+ return null;
426
+ }
427
+ }
428
+
429
+ /**
430
+ * Sets the osMaximumVersion
431
+ * Maximum Android version.
432
+ *
433
+ * @param string $val The osMaximumVersion
434
+ *
435
+ * @return AndroidCompliancePolicy
436
+ */
437
+ public function setOsMaximumVersion($val)
438
+ {
439
+ $this->_propDict["osMaximumVersion"] = $val;
440
+ return $this;
441
+ }
442
+
443
+ /**
444
+ * Gets the minAndroidSecurityPatchLevel
445
+ * Minimum Android security patch level.
446
+ *
447
+ * @return string The minAndroidSecurityPatchLevel
448
+ */
449
+ public function getMinAndroidSecurityPatchLevel()
450
+ {
451
+ if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) {
452
+ return $this->_propDict["minAndroidSecurityPatchLevel"];
453
+ } else {
454
+ return null;
455
+ }
456
+ }
457
+
458
+ /**
459
+ * Sets the minAndroidSecurityPatchLevel
460
+ * Minimum Android security patch level.
461
+ *
462
+ * @param string $val The minAndroidSecurityPatchLevel
463
+ *
464
+ * @return AndroidCompliancePolicy
465
+ */
466
+ public function setMinAndroidSecurityPatchLevel($val)
467
+ {
468
+ $this->_propDict["minAndroidSecurityPatchLevel"] = $val;
469
+ return $this;
470
+ }
471
+
472
+ /**
473
+ * Gets the storageRequireEncryption
474
+ * Require encryption on Android devices.
475
+ *
476
+ * @return bool The storageRequireEncryption
477
+ */
478
+ public function getStorageRequireEncryption()
479
+ {
480
+ if (array_key_exists("storageRequireEncryption", $this->_propDict)) {
481
+ return $this->_propDict["storageRequireEncryption"];
482
+ } else {
483
+ return null;
484
+ }
485
+ }
486
+
487
+ /**
488
+ * Sets the storageRequireEncryption
489
+ * Require encryption on Android devices.
490
+ *
491
+ * @param bool $val The storageRequireEncryption
492
+ *
493
+ * @return AndroidCompliancePolicy
494
+ */
495
+ public function setStorageRequireEncryption($val)
496
+ {
497
+ $this->_propDict["storageRequireEncryption"] = boolval($val);
498
+ return $this;
499
+ }
500
+
501
+ /**
502
+ * Gets the securityRequireSafetyNetAttestationBasicIntegrity
503
+ * Require the device to pass the SafetyNet basic integrity check.
504
+ *
505
+ * @return bool The securityRequireSafetyNetAttestationBasicIntegrity
506
+ */
507
+ public function getSecurityRequireSafetyNetAttestationBasicIntegrity()
508
+ {
509
+ if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) {
510
+ return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"];
511
+ } else {
512
+ return null;
513
+ }
514
+ }
515
+
516
+ /**
517
+ * Sets the securityRequireSafetyNetAttestationBasicIntegrity
518
+ * Require the device to pass the SafetyNet basic integrity check.
519
+ *
520
+ * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity
521
+ *
522
+ * @return AndroidCompliancePolicy
523
+ */
524
+ public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val)
525
+ {
526
+ $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val);
527
+ return $this;
528
+ }
529
+
530
+ /**
531
+ * Gets the securityRequireSafetyNetAttestationCertifiedDevice
532
+ * Require the device to pass the SafetyNet certified device check.
533
+ *
534
+ * @return bool The securityRequireSafetyNetAttestationCertifiedDevice
535
+ */
536
+ public function getSecurityRequireSafetyNetAttestationCertifiedDevice()
537
+ {
538
+ if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) {
539
+ return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"];
540
+ } else {
541
+ return null;
542
+ }
543
+ }
544
+
545
+ /**
546
+ * Sets the securityRequireSafetyNetAttestationCertifiedDevice
547
+ * Require the device to pass the SafetyNet certified device check.
548
+ *
549
+ * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice
550
+ *
551
+ * @return AndroidCompliancePolicy
552
+ */
553
+ public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val)
554
+ {
555
+ $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val);
556
+ return $this;
557
+ }
558
+
559
+ /**
560
+ * Gets the securityRequireGooglePlayServices
561
+ * Require Google Play Services to be installed and enabled on the device.
562
+ *
563
+ * @return bool The securityRequireGooglePlayServices
564
+ */
565
+ public function getSecurityRequireGooglePlayServices()
566
+ {
567
+ if (array_key_exists("securityRequireGooglePlayServices", $this->_propDict)) {
568
+ return $this->_propDict["securityRequireGooglePlayServices"];
569
+ } else {
570
+ return null;
571
+ }
572
+ }
573
+
574
+ /**
575
+ * Sets the securityRequireGooglePlayServices
576
+ * Require Google Play Services to be installed and enabled on the device.
577
+ *
578
+ * @param bool $val The securityRequireGooglePlayServices
579
+ *
580
+ * @return AndroidCompliancePolicy
581
+ */
582
+ public function setSecurityRequireGooglePlayServices($val)
583
+ {
584
+ $this->_propDict["securityRequireGooglePlayServices"] = boolval($val);
585
+ return $this;
586
+ }
587
+
588
+ /**
589
+ * Gets the securityRequireUpToDateSecurityProviders
590
+ * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date.
591
+ *
592
+ * @return bool The securityRequireUpToDateSecurityProviders
593
+ */
594
+ public function getSecurityRequireUpToDateSecurityProviders()
595
+ {
596
+ if (array_key_exists("securityRequireUpToDateSecurityProviders", $this->_propDict)) {
597
+ return $this->_propDict["securityRequireUpToDateSecurityProviders"];
598
+ } else {
599
+ return null;
600
+ }
601
+ }
602
+
603
+ /**
604
+ * Sets the securityRequireUpToDateSecurityProviders
605
+ * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date.
606
+ *
607
+ * @param bool $val The securityRequireUpToDateSecurityProviders
608
+ *
609
+ * @return AndroidCompliancePolicy
610
+ */
611
+ public function setSecurityRequireUpToDateSecurityProviders($val)
612
+ {
613
+ $this->_propDict["securityRequireUpToDateSecurityProviders"] = boolval($val);
614
+ return $this;
615
+ }
616
+
617
+ /**
618
+ * Gets the securityRequireCompanyPortalAppIntegrity
619
+ * Require the device to pass the Company Portal client app runtime integrity check.
620
+ *
621
+ * @return bool The securityRequireCompanyPortalAppIntegrity
622
+ */
623
+ public function getSecurityRequireCompanyPortalAppIntegrity()
624
+ {
625
+ if (array_key_exists("securityRequireCompanyPortalAppIntegrity", $this->_propDict)) {
626
+ return $this->_propDict["securityRequireCompanyPortalAppIntegrity"];
627
+ } else {
628
+ return null;
629
+ }
630
+ }
631
+
632
+ /**
633
+ * Sets the securityRequireCompanyPortalAppIntegrity
634
+ * Require the device to pass the Company Portal client app runtime integrity check.
635
+ *
636
+ * @param bool $val The securityRequireCompanyPortalAppIntegrity
637
+ *
638
+ * @return AndroidCompliancePolicy
639
+ */
640
+ public function setSecurityRequireCompanyPortalAppIntegrity($val)
641
+ {
642
+ $this->_propDict["securityRequireCompanyPortalAppIntegrity"] = boolval($val);
643
+ return $this;
644
+ }
645
+
646
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidCustomConfiguration.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidCustomConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidCustomConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidCustomConfiguration extends DeviceConfiguration
28
+ {
29
+
30
+ /**
31
+ * Gets the omaSettings
32
+ * OMA settings. This collection can contain a maximum of 1000 elements.
33
+ *
34
+ * @return array The omaSettings
35
+ */
36
+ public function getOmaSettings()
37
+ {
38
+ if (array_key_exists("omaSettings", $this->_propDict)) {
39
+ return $this->_propDict["omaSettings"];
40
+ } else {
41
+ return null;
42
+ }
43
+ }
44
+
45
+ /**
46
+ * Sets the omaSettings
47
+ * OMA settings. This collection can contain a maximum of 1000 elements.
48
+ *
49
+ * @param OmaSetting $val The omaSettings
50
+ *
51
+ * @return AndroidCustomConfiguration
52
+ */
53
+ public function setOmaSettings($val)
54
+ {
55
+ $this->_propDict["omaSettings"] = $val;
56
+ return $this;
57
+ }
58
+
59
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidGeneralDeviceConfiguration.php ADDED
@@ -0,0 +1,1438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidGeneralDeviceConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidGeneralDeviceConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidGeneralDeviceConfiguration extends DeviceConfiguration
28
+ {
29
+ /**
30
+ * Gets the appsBlockClipboardSharing
31
+ * Indicates whether or not to block clipboard sharing to copy and paste between applications.
32
+ *
33
+ * @return bool The appsBlockClipboardSharing
34
+ */
35
+ public function getAppsBlockClipboardSharing()
36
+ {
37
+ if (array_key_exists("appsBlockClipboardSharing", $this->_propDict)) {
38
+ return $this->_propDict["appsBlockClipboardSharing"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the appsBlockClipboardSharing
46
+ * Indicates whether or not to block clipboard sharing to copy and paste between applications.
47
+ *
48
+ * @param bool $val The appsBlockClipboardSharing
49
+ *
50
+ * @return AndroidGeneralDeviceConfiguration
51
+ */
52
+ public function setAppsBlockClipboardSharing($val)
53
+ {
54
+ $this->_propDict["appsBlockClipboardSharing"] = boolval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the appsBlockCopyPaste
60
+ * Indicates whether or not to block copy and paste within applications.
61
+ *
62
+ * @return bool The appsBlockCopyPaste
63
+ */
64
+ public function getAppsBlockCopyPaste()
65
+ {
66
+ if (array_key_exists("appsBlockCopyPaste", $this->_propDict)) {
67
+ return $this->_propDict["appsBlockCopyPaste"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the appsBlockCopyPaste
75
+ * Indicates whether or not to block copy and paste within applications.
76
+ *
77
+ * @param bool $val The appsBlockCopyPaste
78
+ *
79
+ * @return AndroidGeneralDeviceConfiguration
80
+ */
81
+ public function setAppsBlockCopyPaste($val)
82
+ {
83
+ $this->_propDict["appsBlockCopyPaste"] = boolval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the appsBlockYouTube
89
+ * Indicates whether or not to block the YouTube app.
90
+ *
91
+ * @return bool The appsBlockYouTube
92
+ */
93
+ public function getAppsBlockYouTube()
94
+ {
95
+ if (array_key_exists("appsBlockYouTube", $this->_propDict)) {
96
+ return $this->_propDict["appsBlockYouTube"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the appsBlockYouTube
104
+ * Indicates whether or not to block the YouTube app.
105
+ *
106
+ * @param bool $val The appsBlockYouTube
107
+ *
108
+ * @return AndroidGeneralDeviceConfiguration
109
+ */
110
+ public function setAppsBlockYouTube($val)
111
+ {
112
+ $this->_propDict["appsBlockYouTube"] = boolval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the bluetoothBlocked
118
+ * Indicates whether or not to block Bluetooth.
119
+ *
120
+ * @return bool The bluetoothBlocked
121
+ */
122
+ public function getBluetoothBlocked()
123
+ {
124
+ if (array_key_exists("bluetoothBlocked", $this->_propDict)) {
125
+ return $this->_propDict["bluetoothBlocked"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the bluetoothBlocked
133
+ * Indicates whether or not to block Bluetooth.
134
+ *
135
+ * @param bool $val The bluetoothBlocked
136
+ *
137
+ * @return AndroidGeneralDeviceConfiguration
138
+ */
139
+ public function setBluetoothBlocked($val)
140
+ {
141
+ $this->_propDict["bluetoothBlocked"] = boolval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the cameraBlocked
147
+ * Indicates whether or not to block the use of the camera.
148
+ *
149
+ * @return bool The cameraBlocked
150
+ */
151
+ public function getCameraBlocked()
152
+ {
153
+ if (array_key_exists("cameraBlocked", $this->_propDict)) {
154
+ return $this->_propDict["cameraBlocked"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the cameraBlocked
162
+ * Indicates whether or not to block the use of the camera.
163
+ *
164
+ * @param bool $val The cameraBlocked
165
+ *
166
+ * @return AndroidGeneralDeviceConfiguration
167
+ */
168
+ public function setCameraBlocked($val)
169
+ {
170
+ $this->_propDict["cameraBlocked"] = boolval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the cellularBlockDataRoaming
176
+ * Indicates whether or not to block data roaming.
177
+ *
178
+ * @return bool The cellularBlockDataRoaming
179
+ */
180
+ public function getCellularBlockDataRoaming()
181
+ {
182
+ if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) {
183
+ return $this->_propDict["cellularBlockDataRoaming"];
184
+ } else {
185
+ return null;
186
+ }
187
+ }
188
+
189
+ /**
190
+ * Sets the cellularBlockDataRoaming
191
+ * Indicates whether or not to block data roaming.
192
+ *
193
+ * @param bool $val The cellularBlockDataRoaming
194
+ *
195
+ * @return AndroidGeneralDeviceConfiguration
196
+ */
197
+ public function setCellularBlockDataRoaming($val)
198
+ {
199
+ $this->_propDict["cellularBlockDataRoaming"] = boolval($val);
200
+ return $this;
201
+ }
202
+
203
+ /**
204
+ * Gets the cellularBlockMessaging
205
+ * Indicates whether or not to block SMS/MMS messaging.
206
+ *
207
+ * @return bool The cellularBlockMessaging
208
+ */
209
+ public function getCellularBlockMessaging()
210
+ {
211
+ if (array_key_exists("cellularBlockMessaging", $this->_propDict)) {
212
+ return $this->_propDict["cellularBlockMessaging"];
213
+ } else {
214
+ return null;
215
+ }
216
+ }
217
+
218
+ /**
219
+ * Sets the cellularBlockMessaging
220
+ * Indicates whether or not to block SMS/MMS messaging.
221
+ *
222
+ * @param bool $val The cellularBlockMessaging
223
+ *
224
+ * @return AndroidGeneralDeviceConfiguration
225
+ */
226
+ public function setCellularBlockMessaging($val)
227
+ {
228
+ $this->_propDict["cellularBlockMessaging"] = boolval($val);
229
+ return $this;
230
+ }
231
+
232
+ /**
233
+ * Gets the cellularBlockVoiceRoaming
234
+ * Indicates whether or not to block voice roaming.
235
+ *
236
+ * @return bool The cellularBlockVoiceRoaming
237
+ */
238
+ public function getCellularBlockVoiceRoaming()
239
+ {
240
+ if (array_key_exists("cellularBlockVoiceRoaming", $this->_propDict)) {
241
+ return $this->_propDict["cellularBlockVoiceRoaming"];
242
+ } else {
243
+ return null;
244
+ }
245
+ }
246
+
247
+ /**
248
+ * Sets the cellularBlockVoiceRoaming
249
+ * Indicates whether or not to block voice roaming.
250
+ *
251
+ * @param bool $val The cellularBlockVoiceRoaming
252
+ *
253
+ * @return AndroidGeneralDeviceConfiguration
254
+ */
255
+ public function setCellularBlockVoiceRoaming($val)
256
+ {
257
+ $this->_propDict["cellularBlockVoiceRoaming"] = boolval($val);
258
+ return $this;
259
+ }
260
+
261
+ /**
262
+ * Gets the cellularBlockWiFiTethering
263
+ * Indicates whether or not to block syncing Wi-Fi tethering.
264
+ *
265
+ * @return bool The cellularBlockWiFiTethering
266
+ */
267
+ public function getCellularBlockWiFiTethering()
268
+ {
269
+ if (array_key_exists("cellularBlockWiFiTethering", $this->_propDict)) {
270
+ return $this->_propDict["cellularBlockWiFiTethering"];
271
+ } else {
272
+ return null;
273
+ }
274
+ }
275
+
276
+ /**
277
+ * Sets the cellularBlockWiFiTethering
278
+ * Indicates whether or not to block syncing Wi-Fi tethering.
279
+ *
280
+ * @param bool $val The cellularBlockWiFiTethering
281
+ *
282
+ * @return AndroidGeneralDeviceConfiguration
283
+ */
284
+ public function setCellularBlockWiFiTethering($val)
285
+ {
286
+ $this->_propDict["cellularBlockWiFiTethering"] = boolval($val);
287
+ return $this;
288
+ }
289
+
290
+
291
+ /**
292
+ * Gets the compliantAppsList
293
+ * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
294
+ *
295
+ * @return array The compliantAppsList
296
+ */
297
+ public function getCompliantAppsList()
298
+ {
299
+ if (array_key_exists("compliantAppsList", $this->_propDict)) {
300
+ return $this->_propDict["compliantAppsList"];
301
+ } else {
302
+ return null;
303
+ }
304
+ }
305
+
306
+ /**
307
+ * Sets the compliantAppsList
308
+ * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
309
+ *
310
+ * @param AppListItem $val The compliantAppsList
311
+ *
312
+ * @return AndroidGeneralDeviceConfiguration
313
+ */
314
+ public function setCompliantAppsList($val)
315
+ {
316
+ $this->_propDict["compliantAppsList"] = $val;
317
+ return $this;
318
+ }
319
+
320
+ /**
321
+ * Gets the compliantAppListType
322
+ * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant.
323
+ *
324
+ * @return AppListType The compliantAppListType
325
+ */
326
+ public function getCompliantAppListType()
327
+ {
328
+ if (array_key_exists("compliantAppListType", $this->_propDict)) {
329
+ if (is_a($this->_propDict["compliantAppListType"], "Microsoft\Graph\Model\AppListType")) {
330
+ return $this->_propDict["compliantAppListType"];
331
+ } else {
332
+ $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]);
333
+ return $this->_propDict["compliantAppListType"];
334
+ }
335
+ }
336
+ return null;
337
+ }
338
+
339
+ /**
340
+ * Sets the compliantAppListType
341
+ * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant.
342
+ *
343
+ * @param AppListType $val The compliantAppListType
344
+ *
345
+ * @return AndroidGeneralDeviceConfiguration
346
+ */
347
+ public function setCompliantAppListType($val)
348
+ {
349
+ $this->_propDict["compliantAppListType"] = $val;
350
+ return $this;
351
+ }
352
+
353
+ /**
354
+ * Gets the diagnosticDataBlockSubmission
355
+ * Indicates whether or not to block diagnostic data submission.
356
+ *
357
+ * @return bool The diagnosticDataBlockSubmission
358
+ */
359
+ public function getDiagnosticDataBlockSubmission()
360
+ {
361
+ if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) {
362
+ return $this->_propDict["diagnosticDataBlockSubmission"];
363
+ } else {
364
+ return null;
365
+ }
366
+ }
367
+
368
+ /**
369
+ * Sets the diagnosticDataBlockSubmission
370
+ * Indicates whether or not to block diagnostic data submission.
371
+ *
372
+ * @param bool $val The diagnosticDataBlockSubmission
373
+ *
374
+ * @return AndroidGeneralDeviceConfiguration
375
+ */
376
+ public function setDiagnosticDataBlockSubmission($val)
377
+ {
378
+ $this->_propDict["diagnosticDataBlockSubmission"] = boolval($val);
379
+ return $this;
380
+ }
381
+
382
+ /**
383
+ * Gets the locationServicesBlocked
384
+ * Indicates whether or not to block location services.
385
+ *
386
+ * @return bool The locationServicesBlocked
387
+ */
388
+ public function getLocationServicesBlocked()
389
+ {
390
+ if (array_key_exists("locationServicesBlocked", $this->_propDict)) {
391
+ return $this->_propDict["locationServicesBlocked"];
392
+ } else {
393
+ return null;
394
+ }
395
+ }
396
+
397
+ /**
398
+ * Sets the locationServicesBlocked
399
+ * Indicates whether or not to block location services.
400
+ *
401
+ * @param bool $val The locationServicesBlocked
402
+ *
403
+ * @return AndroidGeneralDeviceConfiguration
404
+ */
405
+ public function setLocationServicesBlocked($val)
406
+ {
407
+ $this->_propDict["locationServicesBlocked"] = boolval($val);
408
+ return $this;
409
+ }
410
+
411
+ /**
412
+ * Gets the googleAccountBlockAutoSync
413
+ * Indicates whether or not to block Google account auto sync.
414
+ *
415
+ * @return bool The googleAccountBlockAutoSync
416
+ */
417
+ public function getGoogleAccountBlockAutoSync()
418
+ {
419
+ if (array_key_exists("googleAccountBlockAutoSync", $this->_propDict)) {
420
+ return $this->_propDict["googleAccountBlockAutoSync"];
421
+ } else {
422
+ return null;
423
+ }
424
+ }
425
+
426
+ /**
427
+ * Sets the googleAccountBlockAutoSync
428
+ * Indicates whether or not to block Google account auto sync.
429
+ *
430
+ * @param bool $val The googleAccountBlockAutoSync
431
+ *
432
+ * @return AndroidGeneralDeviceConfiguration
433
+ */
434
+ public function setGoogleAccountBlockAutoSync($val)
435
+ {
436
+ $this->_propDict["googleAccountBlockAutoSync"] = boolval($val);
437
+ return $this;
438
+ }
439
+
440
+ /**
441
+ * Gets the googlePlayStoreBlocked
442
+ * Indicates whether or not to block the Google Play store.
443
+ *
444
+ * @return bool The googlePlayStoreBlocked
445
+ */
446
+ public function getGooglePlayStoreBlocked()
447
+ {
448
+ if (array_key_exists("googlePlayStoreBlocked", $this->_propDict)) {
449
+ return $this->_propDict["googlePlayStoreBlocked"];
450
+ } else {
451
+ return null;
452
+ }
453
+ }
454
+
455
+ /**
456
+ * Sets the googlePlayStoreBlocked
457
+ * Indicates whether or not to block the Google Play store.
458
+ *
459
+ * @param bool $val The googlePlayStoreBlocked
460
+ *
461
+ * @return AndroidGeneralDeviceConfiguration
462
+ */
463
+ public function setGooglePlayStoreBlocked($val)
464
+ {
465
+ $this->_propDict["googlePlayStoreBlocked"] = boolval($val);
466
+ return $this;
467
+ }
468
+
469
+ /**
470
+ * Gets the kioskModeBlockSleepButton
471
+ * Indicates whether or not to block the screen sleep button while in Kiosk Mode.
472
+ *
473
+ * @return bool The kioskModeBlockSleepButton
474
+ */
475
+ public function getKioskModeBlockSleepButton()
476
+ {
477
+ if (array_key_exists("kioskModeBlockSleepButton", $this->_propDict)) {
478
+ return $this->_propDict["kioskModeBlockSleepButton"];
479
+ } else {
480
+ return null;
481
+ }
482
+ }
483
+
484
+ /**
485
+ * Sets the kioskModeBlockSleepButton
486
+ * Indicates whether or not to block the screen sleep button while in Kiosk Mode.
487
+ *
488
+ * @param bool $val The kioskModeBlockSleepButton
489
+ *
490
+ * @return AndroidGeneralDeviceConfiguration
491
+ */
492
+ public function setKioskModeBlockSleepButton($val)
493
+ {
494
+ $this->_propDict["kioskModeBlockSleepButton"] = boolval($val);
495
+ return $this;
496
+ }
497
+
498
+ /**
499
+ * Gets the kioskModeBlockVolumeButtons
500
+ * Indicates whether or not to block the volume buttons while in Kiosk Mode.
501
+ *
502
+ * @return bool The kioskModeBlockVolumeButtons
503
+ */
504
+ public function getKioskModeBlockVolumeButtons()
505
+ {
506
+ if (array_key_exists("kioskModeBlockVolumeButtons", $this->_propDict)) {
507
+ return $this->_propDict["kioskModeBlockVolumeButtons"];
508
+ } else {
509
+ return null;
510
+ }
511
+ }
512
+
513
+ /**
514
+ * Sets the kioskModeBlockVolumeButtons
515
+ * Indicates whether or not to block the volume buttons while in Kiosk Mode.
516
+ *
517
+ * @param bool $val The kioskModeBlockVolumeButtons
518
+ *
519
+ * @return AndroidGeneralDeviceConfiguration
520
+ */
521
+ public function setKioskModeBlockVolumeButtons($val)
522
+ {
523
+ $this->_propDict["kioskModeBlockVolumeButtons"] = boolval($val);
524
+ return $this;
525
+ }
526
+
527
+
528
+ /**
529
+ * Gets the kioskModeApps
530
+ * 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.
531
+ *
532
+ * @return array The kioskModeApps
533
+ */
534
+ public function getKioskModeApps()
535
+ {
536
+ if (array_key_exists("kioskModeApps", $this->_propDict)) {
537
+ return $this->_propDict["kioskModeApps"];
538
+ } else {
539
+ return null;
540
+ }
541
+ }
542
+
543
+ /**
544
+ * Sets the kioskModeApps
545
+ * 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.
546
+ *
547
+ * @param AppListItem $val The kioskModeApps
548
+ *
549
+ * @return AndroidGeneralDeviceConfiguration
550
+ */
551
+ public function setKioskModeApps($val)
552
+ {
553
+ $this->_propDict["kioskModeApps"] = $val;
554
+ return $this;
555
+ }
556
+
557
+ /**
558
+ * Gets the nfcBlocked
559
+ * Indicates whether or not to block Near-Field Communication.
560
+ *
561
+ * @return bool The nfcBlocked
562
+ */
563
+ public function getNfcBlocked()
564
+ {
565
+ if (array_key_exists("nfcBlocked", $this->_propDict)) {
566
+ return $this->_propDict["nfcBlocked"];
567
+ } else {
568
+ return null;
569
+ }
570
+ }
571
+
572
+ /**
573
+ * Sets the nfcBlocked
574
+ * Indicates whether or not to block Near-Field Communication.
575
+ *
576
+ * @param bool $val The nfcBlocked
577
+ *
578
+ * @return AndroidGeneralDeviceConfiguration
579
+ */
580
+ public function setNfcBlocked($val)
581
+ {
582
+ $this->_propDict["nfcBlocked"] = boolval($val);
583
+ return $this;
584
+ }
585
+
586
+ /**
587
+ * Gets the passwordBlockFingerprintUnlock
588
+ * Indicates whether or not to block fingerprint unlock.
589
+ *
590
+ * @return bool The passwordBlockFingerprintUnlock
591
+ */
592
+ public function getPasswordBlockFingerprintUnlock()
593
+ {
594
+ if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) {
595
+ return $this->_propDict["passwordBlockFingerprintUnlock"];
596
+ } else {
597
+ return null;
598
+ }
599
+ }
600
+
601
+ /**
602
+ * Sets the passwordBlockFingerprintUnlock
603
+ * Indicates whether or not to block fingerprint unlock.
604
+ *
605
+ * @param bool $val The passwordBlockFingerprintUnlock
606
+ *
607
+ * @return AndroidGeneralDeviceConfiguration
608
+ */
609
+ public function setPasswordBlockFingerprintUnlock($val)
610
+ {
611
+ $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val);
612
+ return $this;
613
+ }
614
+
615
+ /**
616
+ * Gets the passwordBlockTrustAgents
617
+ * Indicates whether or not to block Smart Lock and other trust agents.
618
+ *
619
+ * @return bool The passwordBlockTrustAgents
620
+ */
621
+ public function getPasswordBlockTrustAgents()
622
+ {
623
+ if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) {
624
+ return $this->_propDict["passwordBlockTrustAgents"];
625
+ } else {
626
+ return null;
627
+ }
628
+ }
629
+
630
+ /**
631
+ * Sets the passwordBlockTrustAgents
632
+ * Indicates whether or not to block Smart Lock and other trust agents.
633
+ *
634
+ * @param bool $val The passwordBlockTrustAgents
635
+ *
636
+ * @return AndroidGeneralDeviceConfiguration
637
+ */
638
+ public function setPasswordBlockTrustAgents($val)
639
+ {
640
+ $this->_propDict["passwordBlockTrustAgents"] = boolval($val);
641
+ return $this;
642
+ }
643
+
644
+ /**
645
+ * Gets the passwordExpirationDays
646
+ * Number of days before the password expires. Valid values 1 to 365
647
+ *
648
+ * @return int The passwordExpirationDays
649
+ */
650
+ public function getPasswordExpirationDays()
651
+ {
652
+ if (array_key_exists("passwordExpirationDays", $this->_propDict)) {
653
+ return $this->_propDict["passwordExpirationDays"];
654
+ } else {
655
+ return null;
656
+ }
657
+ }
658
+
659
+ /**
660
+ * Sets the passwordExpirationDays
661
+ * Number of days before the password expires. Valid values 1 to 365
662
+ *
663
+ * @param int $val The passwordExpirationDays
664
+ *
665
+ * @return AndroidGeneralDeviceConfiguration
666
+ */
667
+ public function setPasswordExpirationDays($val)
668
+ {
669
+ $this->_propDict["passwordExpirationDays"] = intval($val);
670
+ return $this;
671
+ }
672
+
673
+ /**
674
+ * Gets the passwordMinimumLength
675
+ * Minimum length of passwords. Valid values 4 to 16
676
+ *
677
+ * @return int The passwordMinimumLength
678
+ */
679
+ public function getPasswordMinimumLength()
680
+ {
681
+ if (array_key_exists("passwordMinimumLength", $this->_propDict)) {
682
+ return $this->_propDict["passwordMinimumLength"];
683
+ } else {
684
+ return null;
685
+ }
686
+ }
687
+
688
+ /**
689
+ * Sets the passwordMinimumLength
690
+ * Minimum length of passwords. Valid values 4 to 16
691
+ *
692
+ * @param int $val The passwordMinimumLength
693
+ *
694
+ * @return AndroidGeneralDeviceConfiguration
695
+ */
696
+ public function setPasswordMinimumLength($val)
697
+ {
698
+ $this->_propDict["passwordMinimumLength"] = intval($val);
699
+ return $this;
700
+ }
701
+
702
+ /**
703
+ * Gets the passwordMinutesOfInactivityBeforeScreenTimeout
704
+ * Minutes of inactivity before the screen times out.
705
+ *
706
+ * @return int The passwordMinutesOfInactivityBeforeScreenTimeout
707
+ */
708
+ public function getPasswordMinutesOfInactivityBeforeScreenTimeout()
709
+ {
710
+ if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) {
711
+ return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"];
712
+ } else {
713
+ return null;
714
+ }
715
+ }
716
+
717
+ /**
718
+ * Sets the passwordMinutesOfInactivityBeforeScreenTimeout
719
+ * Minutes of inactivity before the screen times out.
720
+ *
721
+ * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout
722
+ *
723
+ * @return AndroidGeneralDeviceConfiguration
724
+ */
725
+ public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val)
726
+ {
727
+ $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val);
728
+ return $this;
729
+ }
730
+
731
+ /**
732
+ * Gets the passwordPreviousPasswordBlockCount
733
+ * Number of previous passwords to block. Valid values 0 to 24
734
+ *
735
+ * @return int The passwordPreviousPasswordBlockCount
736
+ */
737
+ public function getPasswordPreviousPasswordBlockCount()
738
+ {
739
+ if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) {
740
+ return $this->_propDict["passwordPreviousPasswordBlockCount"];
741
+ } else {
742
+ return null;
743
+ }
744
+ }
745
+
746
+ /**
747
+ * Sets the passwordPreviousPasswordBlockCount
748
+ * Number of previous passwords to block. Valid values 0 to 24
749
+ *
750
+ * @param int $val The passwordPreviousPasswordBlockCount
751
+ *
752
+ * @return AndroidGeneralDeviceConfiguration
753
+ */
754
+ public function setPasswordPreviousPasswordBlockCount($val)
755
+ {
756
+ $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val);
757
+ return $this;
758
+ }
759
+
760
+ /**
761
+ * Gets the passwordSignInFailureCountBeforeFactoryReset
762
+ * Number of sign in failures allowed before factory reset. Valid values 1 to 16
763
+ *
764
+ * @return int The passwordSignInFailureCountBeforeFactoryReset
765
+ */
766
+ public function getPasswordSignInFailureCountBeforeFactoryReset()
767
+ {
768
+ if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) {
769
+ return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"];
770
+ } else {
771
+ return null;
772
+ }
773
+ }
774
+
775
+ /**
776
+ * Sets the passwordSignInFailureCountBeforeFactoryReset
777
+ * Number of sign in failures allowed before factory reset. Valid values 1 to 16
778
+ *
779
+ * @param int $val The passwordSignInFailureCountBeforeFactoryReset
780
+ *
781
+ * @return AndroidGeneralDeviceConfiguration
782
+ */
783
+ public function setPasswordSignInFailureCountBeforeFactoryReset($val)
784
+ {
785
+ $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val);
786
+ return $this;
787
+ }
788
+
789
+ /**
790
+ * Gets the passwordRequiredType
791
+ * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
792
+ *
793
+ * @return AndroidRequiredPasswordType The passwordRequiredType
794
+ */
795
+ public function getPasswordRequiredType()
796
+ {
797
+ if (array_key_exists("passwordRequiredType", $this->_propDict)) {
798
+ if (is_a($this->_propDict["passwordRequiredType"], "Microsoft\Graph\Model\AndroidRequiredPasswordType")) {
799
+ return $this->_propDict["passwordRequiredType"];
800
+ } else {
801
+ $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]);
802
+ return $this->_propDict["passwordRequiredType"];
803
+ }
804
+ }
805
+ return null;
806
+ }
807
+
808
+ /**
809
+ * Sets the passwordRequiredType
810
+ * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
811
+ *
812
+ * @param AndroidRequiredPasswordType $val The passwordRequiredType
813
+ *
814
+ * @return AndroidGeneralDeviceConfiguration
815
+ */
816
+ public function setPasswordRequiredType($val)
817
+ {
818
+ $this->_propDict["passwordRequiredType"] = $val;
819
+ return $this;
820
+ }
821
+
822
+ /**
823
+ * Gets the passwordRequired
824
+ * Indicates whether or not to require a password.
825
+ *
826
+ * @return bool The passwordRequired
827
+ */
828
+ public function getPasswordRequired()
829
+ {
830
+ if (array_key_exists("passwordRequired", $this->_propDict)) {
831
+ return $this->_propDict["passwordRequired"];
832
+ } else {
833
+ return null;
834
+ }
835
+ }
836
+
837
+ /**
838
+ * Sets the passwordRequired
839
+ * Indicates whether or not to require a password.
840
+ *
841
+ * @param bool $val The passwordRequired
842
+ *
843
+ * @return AndroidGeneralDeviceConfiguration
844
+ */
845
+ public function setPasswordRequired($val)
846
+ {
847
+ $this->_propDict["passwordRequired"] = boolval($val);
848
+ return $this;
849
+ }
850
+
851
+ /**
852
+ * Gets the powerOffBlocked
853
+ * Indicates whether or not to block powering off the device.
854
+ *
855
+ * @return bool The powerOffBlocked
856
+ */
857
+ public function getPowerOffBlocked()
858
+ {
859
+ if (array_key_exists("powerOffBlocked", $this->_propDict)) {
860
+ return $this->_propDict["powerOffBlocked"];
861
+ } else {
862
+ return null;
863
+ }
864
+ }
865
+
866
+ /**
867
+ * Sets the powerOffBlocked
868
+ * Indicates whether or not to block powering off the device.
869
+ *
870
+ * @param bool $val The powerOffBlocked
871
+ *
872
+ * @return AndroidGeneralDeviceConfiguration
873
+ */
874
+ public function setPowerOffBlocked($val)
875
+ {
876
+ $this->_propDict["powerOffBlocked"] = boolval($val);
877
+ return $this;
878
+ }
879
+
880
+ /**
881
+ * Gets the factoryResetBlocked
882
+ * Indicates whether or not to block user performing a factory reset.
883
+ *
884
+ * @return bool The factoryResetBlocked
885
+ */
886
+ public function getFactoryResetBlocked()
887
+ {
888
+ if (array_key_exists("factoryResetBlocked", $this->_propDict)) {
889
+ return $this->_propDict["factoryResetBlocked"];
890
+ } else {
891
+ return null;
892
+ }
893
+ }
894
+
895
+ /**
896
+ * Sets the factoryResetBlocked
897
+ * Indicates whether or not to block user performing a factory reset.
898
+ *
899
+ * @param bool $val The factoryResetBlocked
900
+ *
901
+ * @return AndroidGeneralDeviceConfiguration
902
+ */
903
+ public function setFactoryResetBlocked($val)
904
+ {
905
+ $this->_propDict["factoryResetBlocked"] = boolval($val);
906
+ return $this;
907
+ }
908
+
909
+ /**
910
+ * Gets the screenCaptureBlocked
911
+ * Indicates whether or not to block screenshots.
912
+ *
913
+ * @return bool The screenCaptureBlocked
914
+ */
915
+ public function getScreenCaptureBlocked()
916
+ {
917
+ if (array_key_exists("screenCaptureBlocked", $this->_propDict)) {
918
+ return $this->_propDict["screenCaptureBlocked"];
919
+ } else {
920
+ return null;
921
+ }
922
+ }
923
+
924
+ /**
925
+ * Sets the screenCaptureBlocked
926
+ * Indicates whether or not to block screenshots.
927
+ *
928
+ * @param bool $val The screenCaptureBlocked
929
+ *
930
+ * @return AndroidGeneralDeviceConfiguration
931
+ */
932
+ public function setScreenCaptureBlocked($val)
933
+ {
934
+ $this->_propDict["screenCaptureBlocked"] = boolval($val);
935
+ return $this;
936
+ }
937
+
938
+ /**
939
+ * Gets the deviceSharingAllowed
940
+ * Indicates whether or not to allow device sharing mode.
941
+ *
942
+ * @return bool The deviceSharingAllowed
943
+ */
944
+ public function getDeviceSharingAllowed()
945
+ {
946
+ if (array_key_exists("deviceSharingAllowed", $this->_propDict)) {
947
+ return $this->_propDict["deviceSharingAllowed"];
948
+ } else {
949
+ return null;
950
+ }
951
+ }
952
+
953
+ /**
954
+ * Sets the deviceSharingAllowed
955
+ * Indicates whether or not to allow device sharing mode.
956
+ *
957
+ * @param bool $val The deviceSharingAllowed
958
+ *
959
+ * @return AndroidGeneralDeviceConfiguration
960
+ */
961
+ public function setDeviceSharingAllowed($val)
962
+ {
963
+ $this->_propDict["deviceSharingAllowed"] = boolval($val);
964
+ return $this;
965
+ }
966
+
967
+ /**
968
+ * Gets the storageBlockGoogleBackup
969
+ * Indicates whether or not to block Google Backup.
970
+ *
971
+ * @return bool The storageBlockGoogleBackup
972
+ */
973
+ public function getStorageBlockGoogleBackup()
974
+ {
975
+ if (array_key_exists("storageBlockGoogleBackup", $this->_propDict)) {
976
+ return $this->_propDict["storageBlockGoogleBackup"];
977
+ } else {
978
+ return null;
979
+ }
980
+ }
981
+
982
+ /**
983
+ * Sets the storageBlockGoogleBackup
984
+ * Indicates whether or not to block Google Backup.
985
+ *
986
+ * @param bool $val The storageBlockGoogleBackup
987
+ *
988
+ * @return AndroidGeneralDeviceConfiguration
989
+ */
990
+ public function setStorageBlockGoogleBackup($val)
991
+ {
992
+ $this->_propDict["storageBlockGoogleBackup"] = boolval($val);
993
+ return $this;
994
+ }
995
+
996
+ /**
997
+ * Gets the storageBlockRemovableStorage
998
+ * Indicates whether or not to block removable storage usage.
999
+ *
1000
+ * @return bool The storageBlockRemovableStorage
1001
+ */
1002
+ public function getStorageBlockRemovableStorage()
1003
+ {
1004
+ if (array_key_exists("storageBlockRemovableStorage", $this->_propDict)) {
1005
+ return $this->_propDict["storageBlockRemovableStorage"];
1006
+ } else {
1007
+ return null;
1008
+ }
1009
+ }
1010
+
1011
+ /**
1012
+ * Sets the storageBlockRemovableStorage
1013
+ * Indicates whether or not to block removable storage usage.
1014
+ *
1015
+ * @param bool $val The storageBlockRemovableStorage
1016
+ *
1017
+ * @return AndroidGeneralDeviceConfiguration
1018
+ */
1019
+ public function setStorageBlockRemovableStorage($val)
1020
+ {
1021
+ $this->_propDict["storageBlockRemovableStorage"] = boolval($val);
1022
+ return $this;
1023
+ }
1024
+
1025
+ /**
1026
+ * Gets the storageRequireDeviceEncryption
1027
+ * Indicates whether or not to require device encryption.
1028
+ *
1029
+ * @return bool The storageRequireDeviceEncryption
1030
+ */
1031
+ public function getStorageRequireDeviceEncryption()
1032
+ {
1033
+ if (array_key_exists("storageRequireDeviceEncryption", $this->_propDict)) {
1034
+ return $this->_propDict["storageRequireDeviceEncryption"];
1035
+ } else {
1036
+ return null;
1037
+ }
1038
+ }
1039
+
1040
+ /**
1041
+ * Sets the storageRequireDeviceEncryption
1042
+ * Indicates whether or not to require device encryption.
1043
+ *
1044
+ * @param bool $val The storageRequireDeviceEncryption
1045
+ *
1046
+ * @return AndroidGeneralDeviceConfiguration
1047
+ */
1048
+ public function setStorageRequireDeviceEncryption($val)
1049
+ {
1050
+ $this->_propDict["storageRequireDeviceEncryption"] = boolval($val);
1051
+ return $this;
1052
+ }
1053
+
1054
+ /**
1055
+ * Gets the storageRequireRemovableStorageEncryption
1056
+ * Indicates whether or not to require removable storage encryption.
1057
+ *
1058
+ * @return bool The storageRequireRemovableStorageEncryption
1059
+ */
1060
+ public function getStorageRequireRemovableStorageEncryption()
1061
+ {
1062
+ if (array_key_exists("storageRequireRemovableStorageEncryption", $this->_propDict)) {
1063
+ return $this->_propDict["storageRequireRemovableStorageEncryption"];
1064
+ } else {
1065
+ return null;
1066
+ }
1067
+ }
1068
+
1069
+ /**
1070
+ * Sets the storageRequireRemovableStorageEncryption
1071
+ * Indicates whether or not to require removable storage encryption.
1072
+ *
1073
+ * @param bool $val The storageRequireRemovableStorageEncryption
1074
+ *
1075
+ * @return AndroidGeneralDeviceConfiguration
1076
+ */
1077
+ public function setStorageRequireRemovableStorageEncryption($val)
1078
+ {
1079
+ $this->_propDict["storageRequireRemovableStorageEncryption"] = boolval($val);
1080
+ return $this;
1081
+ }
1082
+
1083
+ /**
1084
+ * Gets the voiceAssistantBlocked
1085
+ * Indicates whether or not to block the use of the Voice Assistant.
1086
+ *
1087
+ * @return bool The voiceAssistantBlocked
1088
+ */
1089
+ public function getVoiceAssistantBlocked()
1090
+ {
1091
+ if (array_key_exists("voiceAssistantBlocked", $this->_propDict)) {
1092
+ return $this->_propDict["voiceAssistantBlocked"];
1093
+ } else {
1094
+ return null;
1095
+ }
1096
+ }
1097
+
1098
+ /**
1099
+ * Sets the voiceAssistantBlocked
1100
+ * Indicates whether or not to block the use of the Voice Assistant.
1101
+ *
1102
+ * @param bool $val The voiceAssistantBlocked
1103
+ *
1104
+ * @return AndroidGeneralDeviceConfiguration
1105
+ */
1106
+ public function setVoiceAssistantBlocked($val)
1107
+ {
1108
+ $this->_propDict["voiceAssistantBlocked"] = boolval($val);
1109
+ return $this;
1110
+ }
1111
+
1112
+ /**
1113
+ * Gets the voiceDialingBlocked
1114
+ * Indicates whether or not to block voice dialing.
1115
+ *
1116
+ * @return bool The voiceDialingBlocked
1117
+ */
1118
+ public function getVoiceDialingBlocked()
1119
+ {
1120
+ if (array_key_exists("voiceDialingBlocked", $this->_propDict)) {
1121
+ return $this->_propDict["voiceDialingBlocked"];
1122
+ } else {
1123
+ return null;
1124
+ }
1125
+ }
1126
+
1127
+ /**
1128
+ * Sets the voiceDialingBlocked
1129
+ * Indicates whether or not to block voice dialing.
1130
+ *
1131
+ * @param bool $val The voiceDialingBlocked
1132
+ *
1133
+ * @return AndroidGeneralDeviceConfiguration
1134
+ */
1135
+ public function setVoiceDialingBlocked($val)
1136
+ {
1137
+ $this->_propDict["voiceDialingBlocked"] = boolval($val);
1138
+ return $this;
1139
+ }
1140
+
1141
+ /**
1142
+ * Gets the webBrowserBlockPopups
1143
+ * Indicates whether or not to block popups within the web browser.
1144
+ *
1145
+ * @return bool The webBrowserBlockPopups
1146
+ */
1147
+ public function getWebBrowserBlockPopups()
1148
+ {
1149
+ if (array_key_exists("webBrowserBlockPopups", $this->_propDict)) {
1150
+ return $this->_propDict["webBrowserBlockPopups"];
1151
+ } else {
1152
+ return null;
1153
+ }
1154
+ }
1155
+
1156
+ /**
1157
+ * Sets the webBrowserBlockPopups
1158
+ * Indicates whether or not to block popups within the web browser.
1159
+ *
1160
+ * @param bool $val The webBrowserBlockPopups
1161
+ *
1162
+ * @return AndroidGeneralDeviceConfiguration
1163
+ */
1164
+ public function setWebBrowserBlockPopups($val)
1165
+ {
1166
+ $this->_propDict["webBrowserBlockPopups"] = boolval($val);
1167
+ return $this;
1168
+ }
1169
+
1170
+ /**
1171
+ * Gets the webBrowserBlockAutofill
1172
+ * Indicates whether or not to block the web browser's auto fill feature.
1173
+ *
1174
+ * @return bool The webBrowserBlockAutofill
1175
+ */
1176
+ public function getWebBrowserBlockAutofill()
1177
+ {
1178
+ if (array_key_exists("webBrowserBlockAutofill", $this->_propDict)) {
1179
+ return $this->_propDict["webBrowserBlockAutofill"];
1180
+ } else {
1181
+ return null;
1182
+ }
1183
+ }
1184
+
1185
+ /**
1186
+ * Sets the webBrowserBlockAutofill
1187
+ * Indicates whether or not to block the web browser's auto fill feature.
1188
+ *
1189
+ * @param bool $val The webBrowserBlockAutofill
1190
+ *
1191
+ * @return AndroidGeneralDeviceConfiguration
1192
+ */
1193
+ public function setWebBrowserBlockAutofill($val)
1194
+ {
1195
+ $this->_propDict["webBrowserBlockAutofill"] = boolval($val);
1196
+ return $this;
1197
+ }
1198
+
1199
+ /**
1200
+ * Gets the webBrowserBlockJavaScript
1201
+ * Indicates whether or not to block JavaScript within the web browser.
1202
+ *
1203
+ * @return bool The webBrowserBlockJavaScript
1204
+ */
1205
+ public function getWebBrowserBlockJavaScript()
1206
+ {
1207
+ if (array_key_exists("webBrowserBlockJavaScript", $this->_propDict)) {
1208
+ return $this->_propDict["webBrowserBlockJavaScript"];
1209
+ } else {
1210
+ return null;
1211
+ }
1212
+ }
1213
+
1214
+ /**
1215
+ * Sets the webBrowserBlockJavaScript
1216
+ * Indicates whether or not to block JavaScript within the web browser.
1217
+ *
1218
+ * @param bool $val The webBrowserBlockJavaScript
1219
+ *
1220
+ * @return AndroidGeneralDeviceConfiguration
1221
+ */
1222
+ public function setWebBrowserBlockJavaScript($val)
1223
+ {
1224
+ $this->_propDict["webBrowserBlockJavaScript"] = boolval($val);
1225
+ return $this;
1226
+ }
1227
+
1228
+ /**
1229
+ * Gets the webBrowserBlocked
1230
+ * Indicates whether or not to block the web browser.
1231
+ *
1232
+ * @return bool The webBrowserBlocked
1233
+ */
1234
+ public function getWebBrowserBlocked()
1235
+ {
1236
+ if (array_key_exists("webBrowserBlocked", $this->_propDict)) {
1237
+ return $this->_propDict["webBrowserBlocked"];
1238
+ } else {
1239
+ return null;
1240
+ }
1241
+ }
1242
+
1243
+ /**
1244
+ * Sets the webBrowserBlocked
1245
+ * Indicates whether or not to block the web browser.
1246
+ *
1247
+ * @param bool $val The webBrowserBlocked
1248
+ *
1249
+ * @return AndroidGeneralDeviceConfiguration
1250
+ */
1251
+ public function setWebBrowserBlocked($val)
1252
+ {
1253
+ $this->_propDict["webBrowserBlocked"] = boolval($val);
1254
+ return $this;
1255
+ }
1256
+
1257
+ /**
1258
+ * Gets the webBrowserCookieSettings
1259
+ * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways.
1260
+ *
1261
+ * @return WebBrowserCookieSettings The webBrowserCookieSettings
1262
+ */
1263
+ public function getWebBrowserCookieSettings()
1264
+ {
1265
+ if (array_key_exists("webBrowserCookieSettings", $this->_propDict)) {
1266
+ if (is_a($this->_propDict["webBrowserCookieSettings"], "Microsoft\Graph\Model\WebBrowserCookieSettings")) {
1267
+ return $this->_propDict["webBrowserCookieSettings"];
1268
+ } else {
1269
+ $this->_propDict["webBrowserCookieSettings"] = new WebBrowserCookieSettings($this->_propDict["webBrowserCookieSettings"]);
1270
+ return $this->_propDict["webBrowserCookieSettings"];
1271
+ }
1272
+ }
1273
+ return null;
1274
+ }
1275
+
1276
+ /**
1277
+ * Sets the webBrowserCookieSettings
1278
+ * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways.
1279
+ *
1280
+ * @param WebBrowserCookieSettings $val The webBrowserCookieSettings
1281
+ *
1282
+ * @return AndroidGeneralDeviceConfiguration
1283
+ */
1284
+ public function setWebBrowserCookieSettings($val)
1285
+ {
1286
+ $this->_propDict["webBrowserCookieSettings"] = $val;
1287
+ return $this;
1288
+ }
1289
+
1290
+ /**
1291
+ * Gets the wiFiBlocked
1292
+ * Indicates whether or not to block syncing Wi-Fi.
1293
+ *
1294
+ * @return bool The wiFiBlocked
1295
+ */
1296
+ public function getWiFiBlocked()
1297
+ {
1298
+ if (array_key_exists("wiFiBlocked", $this->_propDict)) {
1299
+ return $this->_propDict["wiFiBlocked"];
1300
+ } else {
1301
+ return null;
1302
+ }
1303
+ }
1304
+
1305
+ /**
1306
+ * Sets the wiFiBlocked
1307
+ * Indicates whether or not to block syncing Wi-Fi.
1308
+ *
1309
+ * @param bool $val The wiFiBlocked
1310
+ *
1311
+ * @return AndroidGeneralDeviceConfiguration
1312
+ */
1313
+ public function setWiFiBlocked($val)
1314
+ {
1315
+ $this->_propDict["wiFiBlocked"] = boolval($val);
1316
+ return $this;
1317
+ }
1318
+
1319
+
1320
+ /**
1321
+ * Gets the appsInstallAllowList
1322
+ * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.
1323
+ *
1324
+ * @return array The appsInstallAllowList
1325
+ */
1326
+ public function getAppsInstallAllowList()
1327
+ {
1328
+ if (array_key_exists("appsInstallAllowList", $this->_propDict)) {
1329
+ return $this->_propDict["appsInstallAllowList"];
1330
+ } else {
1331
+ return null;
1332
+ }
1333
+ }
1334
+
1335
+ /**
1336
+ * Sets the appsInstallAllowList
1337
+ * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.
1338
+ *
1339
+ * @param AppListItem $val The appsInstallAllowList
1340
+ *
1341
+ * @return AndroidGeneralDeviceConfiguration
1342
+ */
1343
+ public function setAppsInstallAllowList($val)
1344
+ {
1345
+ $this->_propDict["appsInstallAllowList"] = $val;
1346
+ return $this;
1347
+ }
1348
+
1349
+
1350
+ /**
1351
+ * Gets the appsLaunchBlockList
1352
+ * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.
1353
+ *
1354
+ * @return array The appsLaunchBlockList
1355
+ */
1356
+ public function getAppsLaunchBlockList()
1357
+ {
1358
+ if (array_key_exists("appsLaunchBlockList", $this->_propDict)) {
1359
+ return $this->_propDict["appsLaunchBlockList"];
1360
+ } else {
1361
+ return null;
1362
+ }
1363
+ }
1364
+
1365
+ /**
1366
+ * Sets the appsLaunchBlockList
1367
+ * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.
1368
+ *
1369
+ * @param AppListItem $val The appsLaunchBlockList
1370
+ *
1371
+ * @return AndroidGeneralDeviceConfiguration
1372
+ */
1373
+ public function setAppsLaunchBlockList($val)
1374
+ {
1375
+ $this->_propDict["appsLaunchBlockList"] = $val;
1376
+ return $this;
1377
+ }
1378
+
1379
+
1380
+ /**
1381
+ * Gets the appsHideList
1382
+ * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.
1383
+ *
1384
+ * @return array The appsHideList
1385
+ */
1386
+ public function getAppsHideList()
1387
+ {
1388
+ if (array_key_exists("appsHideList", $this->_propDict)) {
1389
+ return $this->_propDict["appsHideList"];
1390
+ } else {
1391
+ return null;
1392
+ }
1393
+ }
1394
+
1395
+ /**
1396
+ * Sets the appsHideList
1397
+ * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.
1398
+ *
1399
+ * @param AppListItem $val The appsHideList
1400
+ *
1401
+ * @return AndroidGeneralDeviceConfiguration
1402
+ */
1403
+ public function setAppsHideList($val)
1404
+ {
1405
+ $this->_propDict["appsHideList"] = $val;
1406
+ return $this;
1407
+ }
1408
+
1409
+ /**
1410
+ * Gets the securityRequireVerifyApps
1411
+ * Require the Android Verify apps feature is turned on.
1412
+ *
1413
+ * @return bool The securityRequireVerifyApps
1414
+ */
1415
+ public function getSecurityRequireVerifyApps()
1416
+ {
1417
+ if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) {
1418
+ return $this->_propDict["securityRequireVerifyApps"];
1419
+ } else {
1420
+ return null;
1421
+ }
1422
+ }
1423
+
1424
+ /**
1425
+ * Sets the securityRequireVerifyApps
1426
+ * Require the Android Verify apps feature is turned on.
1427
+ *
1428
+ * @param bool $val The securityRequireVerifyApps
1429
+ *
1430
+ * @return AndroidGeneralDeviceConfiguration
1431
+ */
1432
+ public function setSecurityRequireVerifyApps($val)
1433
+ {
1434
+ $this->_propDict["securityRequireVerifyApps"] = boolval($val);
1435
+ return $this;
1436
+ }
1437
+
1438
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidLobApp.php ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidLobApp File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidLobApp class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidLobApp extends MobileLobApp
28
+ {
29
+ /**
30
+ * Gets the packageId
31
+ * The package identifier.
32
+ *
33
+ * @return string The packageId
34
+ */
35
+ public function getPackageId()
36
+ {
37
+ if (array_key_exists("packageId", $this->_propDict)) {
38
+ return $this->_propDict["packageId"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the packageId
46
+ * The package identifier.
47
+ *
48
+ * @param string $val The packageId
49
+ *
50
+ * @return AndroidLobApp
51
+ */
52
+ public function setPackageId($val)
53
+ {
54
+ $this->_propDict["packageId"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the minimumSupportedOperatingSystem
60
+ * The value for the minimum applicable operating system.
61
+ *
62
+ * @return AndroidMinimumOperatingSystem The minimumSupportedOperatingSystem
63
+ */
64
+ public function getMinimumSupportedOperatingSystem()
65
+ {
66
+ if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) {
67
+ if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) {
68
+ return $this->_propDict["minimumSupportedOperatingSystem"];
69
+ } else {
70
+ $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]);
71
+ return $this->_propDict["minimumSupportedOperatingSystem"];
72
+ }
73
+ }
74
+ return null;
75
+ }
76
+
77
+ /**
78
+ * Sets the minimumSupportedOperatingSystem
79
+ * The value for the minimum applicable operating system.
80
+ *
81
+ * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem
82
+ *
83
+ * @return AndroidLobApp
84
+ */
85
+ public function setMinimumSupportedOperatingSystem($val)
86
+ {
87
+ $this->_propDict["minimumSupportedOperatingSystem"] = $val;
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the versionName
93
+ * The version name of Android Line of Business (LoB) app.
94
+ *
95
+ * @return string The versionName
96
+ */
97
+ public function getVersionName()
98
+ {
99
+ if (array_key_exists("versionName", $this->_propDict)) {
100
+ return $this->_propDict["versionName"];
101
+ } else {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Sets the versionName
108
+ * The version name of Android Line of Business (LoB) app.
109
+ *
110
+ * @param string $val The versionName
111
+ *
112
+ * @return AndroidLobApp
113
+ */
114
+ public function setVersionName($val)
115
+ {
116
+ $this->_propDict["versionName"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the versionCode
122
+ * The version code of Android Line of Business (LoB) app.
123
+ *
124
+ * @return string The versionCode
125
+ */
126
+ public function getVersionCode()
127
+ {
128
+ if (array_key_exists("versionCode", $this->_propDict)) {
129
+ return $this->_propDict["versionCode"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the versionCode
137
+ * The version code of Android Line of Business (LoB) app.
138
+ *
139
+ * @param string $val The versionCode
140
+ *
141
+ * @return AndroidLobApp
142
+ */
143
+ public function setVersionCode($val)
144
+ {
145
+ $this->_propDict["versionCode"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppProtection.php ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidManagedAppProtection File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidManagedAppProtection class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidManagedAppProtection extends TargetedManagedAppProtection
28
+ {
29
+ /**
30
+ * Gets the screenCaptureBlocked
31
+ * Indicates whether a managed user can take screen captures of managed apps
32
+ *
33
+ * @return bool The screenCaptureBlocked
34
+ */
35
+ public function getScreenCaptureBlocked()
36
+ {
37
+ if (array_key_exists("screenCaptureBlocked", $this->_propDict)) {
38
+ return $this->_propDict["screenCaptureBlocked"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the screenCaptureBlocked
46
+ * Indicates whether a managed user can take screen captures of managed apps
47
+ *
48
+ * @param bool $val The screenCaptureBlocked
49
+ *
50
+ * @return AndroidManagedAppProtection
51
+ */
52
+ public function setScreenCaptureBlocked($val)
53
+ {
54
+ $this->_propDict["screenCaptureBlocked"] = boolval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled
60
+ * When this setting is enabled, app level encryption is disabled if device level encryption is enabled
61
+ *
62
+ * @return bool The disableAppEncryptionIfDeviceEncryptionIsEnabled
63
+ */
64
+ public function getDisableAppEncryptionIfDeviceEncryptionIsEnabled()
65
+ {
66
+ if (array_key_exists("disableAppEncryptionIfDeviceEncryptionIsEnabled", $this->_propDict)) {
67
+ return $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled
75
+ * When this setting is enabled, app level encryption is disabled if device level encryption is enabled
76
+ *
77
+ * @param bool $val The disableAppEncryptionIfDeviceEncryptionIsEnabled
78
+ *
79
+ * @return AndroidManagedAppProtection
80
+ */
81
+ public function setDisableAppEncryptionIfDeviceEncryptionIsEnabled($val)
82
+ {
83
+ $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"] = boolval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the encryptAppData
89
+ * Indicates whether application data for managed apps should be encrypted
90
+ *
91
+ * @return bool The encryptAppData
92
+ */
93
+ public function getEncryptAppData()
94
+ {
95
+ if (array_key_exists("encryptAppData", $this->_propDict)) {
96
+ return $this->_propDict["encryptAppData"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the encryptAppData
104
+ * Indicates whether application data for managed apps should be encrypted
105
+ *
106
+ * @param bool $val The encryptAppData
107
+ *
108
+ * @return AndroidManagedAppProtection
109
+ */
110
+ public function setEncryptAppData($val)
111
+ {
112
+ $this->_propDict["encryptAppData"] = boolval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the deployedAppCount
118
+ * Count of apps to which the current policy is deployed.
119
+ *
120
+ * @return int The deployedAppCount
121
+ */
122
+ public function getDeployedAppCount()
123
+ {
124
+ if (array_key_exists("deployedAppCount", $this->_propDict)) {
125
+ return $this->_propDict["deployedAppCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the deployedAppCount
133
+ * Count of apps to which the current policy is deployed.
134
+ *
135
+ * @param int $val The deployedAppCount
136
+ *
137
+ * @return AndroidManagedAppProtection
138
+ */
139
+ public function setDeployedAppCount($val)
140
+ {
141
+ $this->_propDict["deployedAppCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the minimumRequiredPatchVersion
147
+ * Define the oldest required Android security patch level a user can have to gain secure access to the app.
148
+ *
149
+ * @return string The minimumRequiredPatchVersion
150
+ */
151
+ public function getMinimumRequiredPatchVersion()
152
+ {
153
+ if (array_key_exists("minimumRequiredPatchVersion", $this->_propDict)) {
154
+ return $this->_propDict["minimumRequiredPatchVersion"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the minimumRequiredPatchVersion
162
+ * Define the oldest required Android security patch level a user can have to gain secure access to the app.
163
+ *
164
+ * @param string $val The minimumRequiredPatchVersion
165
+ *
166
+ * @return AndroidManagedAppProtection
167
+ */
168
+ public function setMinimumRequiredPatchVersion($val)
169
+ {
170
+ $this->_propDict["minimumRequiredPatchVersion"] = $val;
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the minimumWarningPatchVersion
176
+ * Define the oldest recommended Android security patch level a user can have for secure access to the app.
177
+ *
178
+ * @return string The minimumWarningPatchVersion
179
+ */
180
+ public function getMinimumWarningPatchVersion()
181
+ {
182
+ if (array_key_exists("minimumWarningPatchVersion", $this->_propDict)) {
183
+ return $this->_propDict["minimumWarningPatchVersion"];
184
+ } else {
185
+ return null;
186
+ }
187
+ }
188
+
189
+ /**
190
+ * Sets the minimumWarningPatchVersion
191
+ * Define the oldest recommended Android security patch level a user can have for secure access to the app.
192
+ *
193
+ * @param string $val The minimumWarningPatchVersion
194
+ *
195
+ * @return AndroidManagedAppProtection
196
+ */
197
+ public function setMinimumWarningPatchVersion($val)
198
+ {
199
+ $this->_propDict["minimumWarningPatchVersion"] = $val;
200
+ return $this;
201
+ }
202
+
203
+
204
+ /**
205
+ * Gets the apps
206
+ * List of apps to which the policy is deployed.
207
+ *
208
+ * @return array The apps
209
+ */
210
+ public function getApps()
211
+ {
212
+ if (array_key_exists("apps", $this->_propDict)) {
213
+ return $this->_propDict["apps"];
214
+ } else {
215
+ return null;
216
+ }
217
+ }
218
+
219
+ /**
220
+ * Sets the apps
221
+ * List of apps to which the policy is deployed.
222
+ *
223
+ * @param ManagedMobileApp $val The apps
224
+ *
225
+ * @return AndroidManagedAppProtection
226
+ */
227
+ public function setApps($val)
228
+ {
229
+ $this->_propDict["apps"] = $val;
230
+ return $this;
231
+ }
232
+
233
+ /**
234
+ * Gets the deploymentSummary
235
+ * Navigation property to deployment summary of the configuration.
236
+ *
237
+ * @return ManagedAppPolicyDeploymentSummary The deploymentSummary
238
+ */
239
+ public function getDeploymentSummary()
240
+ {
241
+ if (array_key_exists("deploymentSummary", $this->_propDict)) {
242
+ if (is_a($this->_propDict["deploymentSummary"], "Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) {
243
+ return $this->_propDict["deploymentSummary"];
244
+ } else {
245
+ $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]);
246
+ return $this->_propDict["deploymentSummary"];
247
+ }
248
+ }
249
+ return null;
250
+ }
251
+
252
+ /**
253
+ * Sets the deploymentSummary
254
+ * Navigation property to deployment summary of the configuration.
255
+ *
256
+ * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary
257
+ *
258
+ * @return AndroidManagedAppProtection
259
+ */
260
+ public function setDeploymentSummary($val)
261
+ {
262
+ $this->_propDict["deploymentSummary"] = $val;
263
+ return $this;
264
+ }
265
+
266
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppRegistration.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidManagedAppRegistration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidManagedAppRegistration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidManagedAppRegistration extends ManagedAppRegistration
28
+ {
29
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidMinimumOperatingSystem.php ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidMinimumOperatingSystem File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AndroidMinimumOperatingSystem class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AndroidMinimumOperatingSystem extends Entity
27
+ {
28
+ /**
29
+ * Gets the v4_0
30
+ * Version 4.0 or later.
31
+ *
32
+ * @return bool The v4_0
33
+ */
34
+ public function getV4_0()
35
+ {
36
+ if (array_key_exists("v40", $this->_propDict)) {
37
+ return $this->_propDict["v40"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the v4_0
45
+ * Version 4.0 or later.
46
+ *
47
+ * @param bool $val The value of the v4_0
48
+ *
49
+ * @return AndroidMinimumOperatingSystem
50
+ */
51
+ public function setV4_0($val)
52
+ {
53
+ $this->_propDict["v40"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the v4_0_3
58
+ * Version 4.0.3 or later.
59
+ *
60
+ * @return bool The v4_0_3
61
+ */
62
+ public function getV4_0_3()
63
+ {
64
+ if (array_key_exists("v403", $this->_propDict)) {
65
+ return $this->_propDict["v403"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the v4_0_3
73
+ * Version 4.0.3 or later.
74
+ *
75
+ * @param bool $val The value of the v4_0_3
76
+ *
77
+ * @return AndroidMinimumOperatingSystem
78
+ */
79
+ public function setV4_0_3($val)
80
+ {
81
+ $this->_propDict["v403"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the v4_1
86
+ * Version 4.1 or later.
87
+ *
88
+ * @return bool The v4_1
89
+ */
90
+ public function getV4_1()
91
+ {
92
+ if (array_key_exists("v41", $this->_propDict)) {
93
+ return $this->_propDict["v41"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the v4_1
101
+ * Version 4.1 or later.
102
+ *
103
+ * @param bool $val The value of the v4_1
104
+ *
105
+ * @return AndroidMinimumOperatingSystem
106
+ */
107
+ public function setV4_1($val)
108
+ {
109
+ $this->_propDict["v41"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the v4_2
114
+ * Version 4.2 or later.
115
+ *
116
+ * @return bool The v4_2
117
+ */
118
+ public function getV4_2()
119
+ {
120
+ if (array_key_exists("v42", $this->_propDict)) {
121
+ return $this->_propDict["v42"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the v4_2
129
+ * Version 4.2 or later.
130
+ *
131
+ * @param bool $val The value of the v4_2
132
+ *
133
+ * @return AndroidMinimumOperatingSystem
134
+ */
135
+ public function setV4_2($val)
136
+ {
137
+ $this->_propDict["v42"] = $val;
138
+ return $this;
139
+ }
140
+ /**
141
+ * Gets the v4_3
142
+ * Version 4.3 or later.
143
+ *
144
+ * @return bool The v4_3
145
+ */
146
+ public function getV4_3()
147
+ {
148
+ if (array_key_exists("v43", $this->_propDict)) {
149
+ return $this->_propDict["v43"];
150
+ } else {
151
+ return null;
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Sets the v4_3
157
+ * Version 4.3 or later.
158
+ *
159
+ * @param bool $val The value of the v4_3
160
+ *
161
+ * @return AndroidMinimumOperatingSystem
162
+ */
163
+ public function setV4_3($val)
164
+ {
165
+ $this->_propDict["v43"] = $val;
166
+ return $this;
167
+ }
168
+ /**
169
+ * Gets the v4_4
170
+ * Version 4.4 or later.
171
+ *
172
+ * @return bool The v4_4
173
+ */
174
+ public function getV4_4()
175
+ {
176
+ if (array_key_exists("v44", $this->_propDict)) {
177
+ return $this->_propDict["v44"];
178
+ } else {
179
+ return null;
180
+ }
181
+ }
182
+
183
+ /**
184
+ * Sets the v4_4
185
+ * Version 4.4 or later.
186
+ *
187
+ * @param bool $val The value of the v4_4
188
+ *
189
+ * @return AndroidMinimumOperatingSystem
190
+ */
191
+ public function setV4_4($val)
192
+ {
193
+ $this->_propDict["v44"] = $val;
194
+ return $this;
195
+ }
196
+ /**
197
+ * Gets the v5_0
198
+ * Version 5.0 or later.
199
+ *
200
+ * @return bool The v5_0
201
+ */
202
+ public function getV5_0()
203
+ {
204
+ if (array_key_exists("v50", $this->_propDict)) {
205
+ return $this->_propDict["v50"];
206
+ } else {
207
+ return null;
208
+ }
209
+ }
210
+
211
+ /**
212
+ * Sets the v5_0
213
+ * Version 5.0 or later.
214
+ *
215
+ * @param bool $val The value of the v5_0
216
+ *
217
+ * @return AndroidMinimumOperatingSystem
218
+ */
219
+ public function setV5_0($val)
220
+ {
221
+ $this->_propDict["v50"] = $val;
222
+ return $this;
223
+ }
224
+ /**
225
+ * Gets the v5_1
226
+ * Version 5.1 or later.
227
+ *
228
+ * @return bool The v5_1
229
+ */
230
+ public function getV5_1()
231
+ {
232
+ if (array_key_exists("v51", $this->_propDict)) {
233
+ return $this->_propDict["v51"];
234
+ } else {
235
+ return null;
236
+ }
237
+ }
238
+
239
+ /**
240
+ * Sets the v5_1
241
+ * Version 5.1 or later.
242
+ *
243
+ * @param bool $val The value of the v5_1
244
+ *
245
+ * @return AndroidMinimumOperatingSystem
246
+ */
247
+ public function setV5_1($val)
248
+ {
249
+ $this->_propDict["v51"] = $val;
250
+ return $this;
251
+ }
252
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidMobileAppIdentifier.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidMobileAppIdentifier File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AndroidMobileAppIdentifier class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AndroidMobileAppIdentifier extends MobileAppIdentifier
27
+ {
28
+ /**
29
+ * Set the @odata.type since this type is immediately descended from an abstract
30
+ * type that is referenced as the type in an entity.
31
+ */
32
+ public function __construct()
33
+ {
34
+ $this->setODataType("#microsoft.graph.androidMobileAppIdentifier");
35
+ }
36
+
37
+ /**
38
+ * Gets the packageId
39
+ * The identifier for an app, as specified in the play store.
40
+ *
41
+ * @return string The packageId
42
+ */
43
+ public function getPackageId()
44
+ {
45
+ if (array_key_exists("packageId", $this->_propDict)) {
46
+ return $this->_propDict["packageId"];
47
+ } else {
48
+ return null;
49
+ }
50
+ }
51
+
52
+ /**
53
+ * Sets the packageId
54
+ * The identifier for an app, as specified in the play store.
55
+ *
56
+ * @param string $val The value of the packageId
57
+ *
58
+ * @return AndroidMobileAppIdentifier
59
+ */
60
+ public function setPackageId($val)
61
+ {
62
+ $this->_propDict["packageId"] = $val;
63
+ return $this;
64
+ }
65
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidRequiredPasswordType.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidRequiredPasswordType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AndroidRequiredPasswordType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AndroidRequiredPasswordType extends Enum
30
+ {
31
+ /**
32
+ * The Enum AndroidRequiredPasswordType
33
+ */
34
+ const DEVICE_DEFAULT = "deviceDefault";
35
+ const ALPHABETIC = "alphabetic";
36
+ const ALPHANUMERIC = "alphanumeric";
37
+ const ALPHANUMERIC_WITH_SYMBOLS = "alphanumericWithSymbols";
38
+ const LOW_SECURITY_BIOMETRIC = "lowSecurityBiometric";
39
+ const NUMERIC = "numeric";
40
+ const NUMERIC_COMPLEX = "numericComplex";
41
+ const ANY = "any";
42
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidStoreApp.php ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidStoreApp File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidStoreApp class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidStoreApp extends MobileApp
28
+ {
29
+ /**
30
+ * Gets the packageId
31
+ * The package identifier.
32
+ *
33
+ * @return string The packageId
34
+ */
35
+ public function getPackageId()
36
+ {
37
+ if (array_key_exists("packageId", $this->_propDict)) {
38
+ return $this->_propDict["packageId"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the packageId
46
+ * The package identifier.
47
+ *
48
+ * @param string $val The packageId
49
+ *
50
+ * @return AndroidStoreApp
51
+ */
52
+ public function setPackageId($val)
53
+ {
54
+ $this->_propDict["packageId"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the appStoreUrl
60
+ * The Android app store URL.
61
+ *
62
+ * @return string The appStoreUrl
63
+ */
64
+ public function getAppStoreUrl()
65
+ {
66
+ if (array_key_exists("appStoreUrl", $this->_propDict)) {
67
+ return $this->_propDict["appStoreUrl"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the appStoreUrl
75
+ * The Android app store URL.
76
+ *
77
+ * @param string $val The appStoreUrl
78
+ *
79
+ * @return AndroidStoreApp
80
+ */
81
+ public function setAppStoreUrl($val)
82
+ {
83
+ $this->_propDict["appStoreUrl"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the minimumSupportedOperatingSystem
89
+ * The value for the minimum applicable operating system.
90
+ *
91
+ * @return AndroidMinimumOperatingSystem The minimumSupportedOperatingSystem
92
+ */
93
+ public function getMinimumSupportedOperatingSystem()
94
+ {
95
+ if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) {
96
+ if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) {
97
+ return $this->_propDict["minimumSupportedOperatingSystem"];
98
+ } else {
99
+ $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]);
100
+ return $this->_propDict["minimumSupportedOperatingSystem"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the minimumSupportedOperatingSystem
108
+ * The value for the minimum applicable operating system.
109
+ *
110
+ * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem
111
+ *
112
+ * @return AndroidStoreApp
113
+ */
114
+ public function setMinimumSupportedOperatingSystem($val)
115
+ {
116
+ $this->_propDict["minimumSupportedOperatingSystem"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCompliancePolicy.php ADDED
@@ -0,0 +1,646 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidWorkProfileCompliancePolicy File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidWorkProfileCompliancePolicy class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy
28
+ {
29
+ /**
30
+ * Gets the passwordRequired
31
+ * Require a password to unlock device.
32
+ *
33
+ * @return bool The passwordRequired
34
+ */
35
+ public function getPasswordRequired()
36
+ {
37
+ if (array_key_exists("passwordRequired", $this->_propDict)) {
38
+ return $this->_propDict["passwordRequired"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the passwordRequired
46
+ * Require a password to unlock device.
47
+ *
48
+ * @param bool $val The passwordRequired
49
+ *
50
+ * @return AndroidWorkProfileCompliancePolicy
51
+ */
52
+ public function setPasswordRequired($val)
53
+ {
54
+ $this->_propDict["passwordRequired"] = boolval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the passwordMinimumLength
60
+ * Minimum password length. Valid values 4 to 16
61
+ *
62
+ * @return int The passwordMinimumLength
63
+ */
64
+ public function getPasswordMinimumLength()
65
+ {
66
+ if (array_key_exists("passwordMinimumLength", $this->_propDict)) {
67
+ return $this->_propDict["passwordMinimumLength"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the passwordMinimumLength
75
+ * Minimum password length. Valid values 4 to 16
76
+ *
77
+ * @param int $val The passwordMinimumLength
78
+ *
79
+ * @return AndroidWorkProfileCompliancePolicy
80
+ */
81
+ public function setPasswordMinimumLength($val)
82
+ {
83
+ $this->_propDict["passwordMinimumLength"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the passwordRequiredType
89
+ * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
90
+ *
91
+ * @return AndroidRequiredPasswordType The passwordRequiredType
92
+ */
93
+ public function getPasswordRequiredType()
94
+ {
95
+ if (array_key_exists("passwordRequiredType", $this->_propDict)) {
96
+ if (is_a($this->_propDict["passwordRequiredType"], "Microsoft\Graph\Model\AndroidRequiredPasswordType")) {
97
+ return $this->_propDict["passwordRequiredType"];
98
+ } else {
99
+ $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]);
100
+ return $this->_propDict["passwordRequiredType"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the passwordRequiredType
108
+ * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any.
109
+ *
110
+ * @param AndroidRequiredPasswordType $val The passwordRequiredType
111
+ *
112
+ * @return AndroidWorkProfileCompliancePolicy
113
+ */
114
+ public function setPasswordRequiredType($val)
115
+ {
116
+ $this->_propDict["passwordRequiredType"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the passwordMinutesOfInactivityBeforeLock
122
+ * Minutes of inactivity before a password is required.
123
+ *
124
+ * @return int The passwordMinutesOfInactivityBeforeLock
125
+ */
126
+ public function getPasswordMinutesOfInactivityBeforeLock()
127
+ {
128
+ if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) {
129
+ return $this->_propDict["passwordMinutesOfInactivityBeforeLock"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the passwordMinutesOfInactivityBeforeLock
137
+ * Minutes of inactivity before a password is required.
138
+ *
139
+ * @param int $val The passwordMinutesOfInactivityBeforeLock
140
+ *
141
+ * @return AndroidWorkProfileCompliancePolicy
142
+ */
143
+ public function setPasswordMinutesOfInactivityBeforeLock($val)
144
+ {
145
+ $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val);
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the passwordExpirationDays
151
+ * Number of days before the password expires. Valid values 1 to 365
152
+ *
153
+ * @return int The passwordExpirationDays
154
+ */
155
+ public function getPasswordExpirationDays()
156
+ {
157
+ if (array_key_exists("passwordExpirationDays", $this->_propDict)) {
158
+ return $this->_propDict["passwordExpirationDays"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the passwordExpirationDays
166
+ * Number of days before the password expires. Valid values 1 to 365
167
+ *
168
+ * @param int $val The passwordExpirationDays
169
+ *
170
+ * @return AndroidWorkProfileCompliancePolicy
171
+ */
172
+ public function setPasswordExpirationDays($val)
173
+ {
174
+ $this->_propDict["passwordExpirationDays"] = intval($val);
175
+ return $this;
176
+ }
177
+
178
+ /**
179
+ * Gets the passwordPreviousPasswordBlockCount
180
+ * Number of previous passwords to block. Valid values 1 to 24
181
+ *
182
+ * @return int The passwordPreviousPasswordBlockCount
183
+ */
184
+ public function getPasswordPreviousPasswordBlockCount()
185
+ {
186
+ if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) {
187
+ return $this->_propDict["passwordPreviousPasswordBlockCount"];
188
+ } else {
189
+ return null;
190
+ }
191
+ }
192
+
193
+ /**
194
+ * Sets the passwordPreviousPasswordBlockCount
195
+ * Number of previous passwords to block. Valid values 1 to 24
196
+ *
197
+ * @param int $val The passwordPreviousPasswordBlockCount
198
+ *
199
+ * @return AndroidWorkProfileCompliancePolicy
200
+ */
201
+ public function setPasswordPreviousPasswordBlockCount($val)
202
+ {
203
+ $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val);
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the securityPreventInstallAppsFromUnknownSources
209
+ * Require that devices disallow installation of apps from unknown sources.
210
+ *
211
+ * @return bool The securityPreventInstallAppsFromUnknownSources
212
+ */
213
+ public function getSecurityPreventInstallAppsFromUnknownSources()
214
+ {
215
+ if (array_key_exists("securityPreventInstallAppsFromUnknownSources", $this->_propDict)) {
216
+ return $this->_propDict["securityPreventInstallAppsFromUnknownSources"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the securityPreventInstallAppsFromUnknownSources
224
+ * Require that devices disallow installation of apps from unknown sources.
225
+ *
226
+ * @param bool $val The securityPreventInstallAppsFromUnknownSources
227
+ *
228
+ * @return AndroidWorkProfileCompliancePolicy
229
+ */
230
+ public function setSecurityPreventInstallAppsFromUnknownSources($val)
231
+ {
232
+ $this->_propDict["securityPreventInstallAppsFromUnknownSources"] = boolval($val);
233
+ return $this;
234
+ }
235
+
236
+ /**
237
+ * Gets the securityDisableUsbDebugging
238
+ * Disable USB debugging on Android devices.
239
+ *
240
+ * @return bool The securityDisableUsbDebugging
241
+ */
242
+ public function getSecurityDisableUsbDebugging()
243
+ {
244
+ if (array_key_exists("securityDisableUsbDebugging", $this->_propDict)) {
245
+ return $this->_propDict["securityDisableUsbDebugging"];
246
+ } else {
247
+ return null;
248
+ }
249
+ }
250
+
251
+ /**
252
+ * Sets the securityDisableUsbDebugging
253
+ * Disable USB debugging on Android devices.
254
+ *
255
+ * @param bool $val The securityDisableUsbDebugging
256
+ *
257
+ * @return AndroidWorkProfileCompliancePolicy
258
+ */
259
+ public function setSecurityDisableUsbDebugging($val)
260
+ {
261
+ $this->_propDict["securityDisableUsbDebugging"] = boolval($val);
262
+ return $this;
263
+ }
264
+
265
+ /**
266
+ * Gets the securityRequireVerifyApps
267
+ * Require the Android Verify apps feature is turned on.
268
+ *
269
+ * @return bool The securityRequireVerifyApps
270
+ */
271
+ public function getSecurityRequireVerifyApps()
272
+ {
273
+ if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) {
274
+ return $this->_propDict["securityRequireVerifyApps"];
275
+ } else {
276
+ return null;
277
+ }
278
+ }
279
+
280
+ /**
281
+ * Sets the securityRequireVerifyApps
282
+ * Require the Android Verify apps feature is turned on.
283
+ *
284
+ * @param bool $val The securityRequireVerifyApps
285
+ *
286
+ * @return AndroidWorkProfileCompliancePolicy
287
+ */
288
+ public function setSecurityRequireVerifyApps($val)
289
+ {
290
+ $this->_propDict["securityRequireVerifyApps"] = boolval($val);
291
+ return $this;
292
+ }
293
+
294
+ /**
295
+ * Gets the deviceThreatProtectionEnabled
296
+ * Require that devices have enabled device threat protection.
297
+ *
298
+ * @return bool The deviceThreatProtectionEnabled
299
+ */
300
+ public function getDeviceThreatProtectionEnabled()
301
+ {
302
+ if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) {
303
+ return $this->_propDict["deviceThreatProtectionEnabled"];
304
+ } else {
305
+ return null;
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Sets the deviceThreatProtectionEnabled
311
+ * Require that devices have enabled device threat protection.
312
+ *
313
+ * @param bool $val The deviceThreatProtectionEnabled
314
+ *
315
+ * @return AndroidWorkProfileCompliancePolicy
316
+ */
317
+ public function setDeviceThreatProtectionEnabled($val)
318
+ {
319
+ $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val);
320
+ return $this;
321
+ }
322
+
323
+ /**
324
+ * Gets the deviceThreatProtectionRequiredSecurityLevel
325
+ * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet.
326
+ *
327
+ * @return DeviceThreatProtectionLevel The deviceThreatProtectionRequiredSecurityLevel
328
+ */
329
+ public function getDeviceThreatProtectionRequiredSecurityLevel()
330
+ {
331
+ if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) {
332
+ if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "Microsoft\Graph\Model\DeviceThreatProtectionLevel")) {
333
+ return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"];
334
+ } else {
335
+ $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]);
336
+ return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"];
337
+ }
338
+ }
339
+ return null;
340
+ }
341
+
342
+ /**
343
+ * Sets the deviceThreatProtectionRequiredSecurityLevel
344
+ * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet.
345
+ *
346
+ * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel
347
+ *
348
+ * @return AndroidWorkProfileCompliancePolicy
349
+ */
350
+ public function setDeviceThreatProtectionRequiredSecurityLevel($val)
351
+ {
352
+ $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val;
353
+ return $this;
354
+ }
355
+
356
+ /**
357
+ * Gets the securityBlockJailbrokenDevices
358
+ * Devices must not be jailbroken or rooted.
359
+ *
360
+ * @return bool The securityBlockJailbrokenDevices
361
+ */
362
+ public function getSecurityBlockJailbrokenDevices()
363
+ {
364
+ if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) {
365
+ return $this->_propDict["securityBlockJailbrokenDevices"];
366
+ } else {
367
+ return null;
368
+ }
369
+ }
370
+
371
+ /**
372
+ * Sets the securityBlockJailbrokenDevices
373
+ * Devices must not be jailbroken or rooted.
374
+ *
375
+ * @param bool $val The securityBlockJailbrokenDevices
376
+ *
377
+ * @return AndroidWorkProfileCompliancePolicy
378
+ */
379
+ public function setSecurityBlockJailbrokenDevices($val)
380
+ {
381
+ $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val);
382
+ return $this;
383
+ }
384
+
385
+ /**
386
+ * Gets the osMinimumVersion
387
+ * Minimum Android version.
388
+ *
389
+ * @return string The osMinimumVersion
390
+ */
391
+ public function getOsMinimumVersion()
392
+ {
393
+ if (array_key_exists("osMinimumVersion", $this->_propDict)) {
394
+ return $this->_propDict["osMinimumVersion"];
395
+ } else {
396
+ return null;
397
+ }
398
+ }
399
+
400
+ /**
401
+ * Sets the osMinimumVersion
402
+ * Minimum Android version.
403
+ *
404
+ * @param string $val The osMinimumVersion
405
+ *
406
+ * @return AndroidWorkProfileCompliancePolicy
407
+ */
408
+ public function setOsMinimumVersion($val)
409
+ {
410
+ $this->_propDict["osMinimumVersion"] = $val;
411
+ return $this;
412
+ }
413
+
414
+ /**
415
+ * Gets the osMaximumVersion
416
+ * Maximum Android version.
417
+ *
418
+ * @return string The osMaximumVersion
419
+ */
420
+ public function getOsMaximumVersion()
421
+ {
422
+ if (array_key_exists("osMaximumVersion", $this->_propDict)) {
423
+ return $this->_propDict["osMaximumVersion"];
424
+ } else {
425
+ return null;
426
+ }
427
+ }
428
+
429
+ /**
430
+ * Sets the osMaximumVersion
431
+ * Maximum Android version.
432
+ *
433
+ * @param string $val The osMaximumVersion
434
+ *
435
+ * @return AndroidWorkProfileCompliancePolicy
436
+ */
437
+ public function setOsMaximumVersion($val)
438
+ {
439
+ $this->_propDict["osMaximumVersion"] = $val;
440
+ return $this;
441
+ }
442
+
443
+ /**
444
+ * Gets the minAndroidSecurityPatchLevel
445
+ * Minimum Android security patch level.
446
+ *
447
+ * @return string The minAndroidSecurityPatchLevel
448
+ */
449
+ public function getMinAndroidSecurityPatchLevel()
450
+ {
451
+ if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) {
452
+ return $this->_propDict["minAndroidSecurityPatchLevel"];
453
+ } else {
454
+ return null;
455
+ }
456
+ }
457
+
458
+ /**
459
+ * Sets the minAndroidSecurityPatchLevel
460
+ * Minimum Android security patch level.
461
+ *
462
+ * @param string $val The minAndroidSecurityPatchLevel
463
+ *
464
+ * @return AndroidWorkProfileCompliancePolicy
465
+ */
466
+ public function setMinAndroidSecurityPatchLevel($val)
467
+ {
468
+ $this->_propDict["minAndroidSecurityPatchLevel"] = $val;
469
+ return $this;
470
+ }
471
+
472
+ /**
473
+ * Gets the storageRequireEncryption
474
+ * Require encryption on Android devices.
475
+ *
476
+ * @return bool The storageRequireEncryption
477
+ */
478
+ public function getStorageRequireEncryption()
479
+ {
480
+ if (array_key_exists("storageRequireEncryption", $this->_propDict)) {
481
+ return $this->_propDict["storageRequireEncryption"];
482
+ } else {
483
+ return null;
484
+ }
485
+ }
486
+
487
+ /**
488
+ * Sets the storageRequireEncryption
489
+ * Require encryption on Android devices.
490
+ *
491
+ * @param bool $val The storageRequireEncryption
492
+ *
493
+ * @return AndroidWorkProfileCompliancePolicy
494
+ */
495
+ public function setStorageRequireEncryption($val)
496
+ {
497
+ $this->_propDict["storageRequireEncryption"] = boolval($val);
498
+ return $this;
499
+ }
500
+
501
+ /**
502
+ * Gets the securityRequireSafetyNetAttestationBasicIntegrity
503
+ * Require the device to pass the SafetyNet basic integrity check.
504
+ *
505
+ * @return bool The securityRequireSafetyNetAttestationBasicIntegrity
506
+ */
507
+ public function getSecurityRequireSafetyNetAttestationBasicIntegrity()
508
+ {
509
+ if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) {
510
+ return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"];
511
+ } else {
512
+ return null;
513
+ }
514
+ }
515
+
516
+ /**
517
+ * Sets the securityRequireSafetyNetAttestationBasicIntegrity
518
+ * Require the device to pass the SafetyNet basic integrity check.
519
+ *
520
+ * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity
521
+ *
522
+ * @return AndroidWorkProfileCompliancePolicy
523
+ */
524
+ public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val)
525
+ {
526
+ $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val);
527
+ return $this;
528
+ }
529
+
530
+ /**
531
+ * Gets the securityRequireSafetyNetAttestationCertifiedDevice
532
+ * Require the device to pass the SafetyNet certified device check.
533
+ *
534
+ * @return bool The securityRequireSafetyNetAttestationCertifiedDevice
535
+ */
536
+ public function getSecurityRequireSafetyNetAttestationCertifiedDevice()
537
+ {
538
+ if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) {
539
+ return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"];
540
+ } else {
541
+ return null;
542
+ }
543
+ }
544
+
545
+ /**
546
+ * Sets the securityRequireSafetyNetAttestationCertifiedDevice
547
+ * Require the device to pass the SafetyNet certified device check.
548
+ *
549
+ * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice
550
+ *
551
+ * @return AndroidWorkProfileCompliancePolicy
552
+ */
553
+ public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val)
554
+ {
555
+ $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val);
556
+ return $this;
557
+ }
558
+
559
+ /**
560
+ * Gets the securityRequireGooglePlayServices
561
+ * Require Google Play Services to be installed and enabled on the device.
562
+ *
563
+ * @return bool The securityRequireGooglePlayServices
564
+ */
565
+ public function getSecurityRequireGooglePlayServices()
566
+ {
567
+ if (array_key_exists("securityRequireGooglePlayServices", $this->_propDict)) {
568
+ return $this->_propDict["securityRequireGooglePlayServices"];
569
+ } else {
570
+ return null;
571
+ }
572
+ }
573
+
574
+ /**
575
+ * Sets the securityRequireGooglePlayServices
576
+ * Require Google Play Services to be installed and enabled on the device.
577
+ *
578
+ * @param bool $val The securityRequireGooglePlayServices
579
+ *
580
+ * @return AndroidWorkProfileCompliancePolicy
581
+ */
582
+ public function setSecurityRequireGooglePlayServices($val)
583
+ {
584
+ $this->_propDict["securityRequireGooglePlayServices"] = boolval($val);
585
+ return $this;
586
+ }
587
+
588
+ /**
589
+ * Gets the securityRequireUpToDateSecurityProviders
590
+ * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date.
591
+ *
592
+ * @return bool The securityRequireUpToDateSecurityProviders
593
+ */
594
+ public function getSecurityRequireUpToDateSecurityProviders()
595
+ {
596
+ if (array_key_exists("securityRequireUpToDateSecurityProviders", $this->_propDict)) {
597
+ return $this->_propDict["securityRequireUpToDateSecurityProviders"];
598
+ } else {
599
+ return null;
600
+ }
601
+ }
602
+
603
+ /**
604
+ * Sets the securityRequireUpToDateSecurityProviders
605
+ * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date.
606
+ *
607
+ * @param bool $val The securityRequireUpToDateSecurityProviders
608
+ *
609
+ * @return AndroidWorkProfileCompliancePolicy
610
+ */
611
+ public function setSecurityRequireUpToDateSecurityProviders($val)
612
+ {
613
+ $this->_propDict["securityRequireUpToDateSecurityProviders"] = boolval($val);
614
+ return $this;
615
+ }
616
+
617
+ /**
618
+ * Gets the securityRequireCompanyPortalAppIntegrity
619
+ * Require the device to pass the Company Portal client app runtime integrity check.
620
+ *
621
+ * @return bool The securityRequireCompanyPortalAppIntegrity
622
+ */
623
+ public function getSecurityRequireCompanyPortalAppIntegrity()
624
+ {
625
+ if (array_key_exists("securityRequireCompanyPortalAppIntegrity", $this->_propDict)) {
626
+ return $this->_propDict["securityRequireCompanyPortalAppIntegrity"];
627
+ } else {
628
+ return null;
629
+ }
630
+ }
631
+
632
+ /**
633
+ * Sets the securityRequireCompanyPortalAppIntegrity
634
+ * Require the device to pass the Company Portal client app runtime integrity check.
635
+ *
636
+ * @param bool $val The securityRequireCompanyPortalAppIntegrity
637
+ *
638
+ * @return AndroidWorkProfileCompliancePolicy
639
+ */
640
+ public function setSecurityRequireCompanyPortalAppIntegrity($val)
641
+ {
642
+ $this->_propDict["securityRequireCompanyPortalAppIntegrity"] = boolval($val);
643
+ return $this;
644
+ }
645
+
646
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCrossProfileDataSharingType.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidWorkProfileCrossProfileDataSharingType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AndroidWorkProfileCrossProfileDataSharingType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AndroidWorkProfileCrossProfileDataSharingType extends Enum
30
+ {
31
+ /**
32
+ * The Enum AndroidWorkProfileCrossProfileDataSharingType
33
+ */
34
+ const DEVICE_DEFAULT = "deviceDefault";
35
+ const PREVENT_ANY = "preventAny";
36
+ const ALLOW_PERSONAL_TO_WORK = "allowPersonalToWork";
37
+ const NO_RESTRICTIONS = "noRestrictions";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCustomConfiguration.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidWorkProfileCustomConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidWorkProfileCustomConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidWorkProfileCustomConfiguration extends DeviceConfiguration
28
+ {
29
+
30
+ /**
31
+ * Gets the omaSettings
32
+ * OMA settings. This collection can contain a maximum of 500 elements.
33
+ *
34
+ * @return array The omaSettings
35
+ */
36
+ public function getOmaSettings()
37
+ {
38
+ if (array_key_exists("omaSettings", $this->_propDict)) {
39
+ return $this->_propDict["omaSettings"];
40
+ } else {
41
+ return null;
42
+ }
43
+ }
44
+
45
+ /**
46
+ * Sets the omaSettings
47
+ * OMA settings. This collection can contain a maximum of 500 elements.
48
+ *
49
+ * @param OmaSetting $val The omaSettings
50
+ *
51
+ * @return AndroidWorkProfileCustomConfiguration
52
+ */
53
+ public function setOmaSettings($val)
54
+ {
55
+ $this->_propDict["omaSettings"] = $val;
56
+ return $this;
57
+ }
58
+
59
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidWorkProfileDefaultAppPermissionPolicyType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AndroidWorkProfileDefaultAppPermissionPolicyType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AndroidWorkProfileDefaultAppPermissionPolicyType extends Enum
30
+ {
31
+ /**
32
+ * The Enum AndroidWorkProfileDefaultAppPermissionPolicyType
33
+ */
34
+ const DEVICE_DEFAULT = "deviceDefault";
35
+ const PROMPT = "prompt";
36
+ const AUTO_GRANT = "autoGrant";
37
+ const AUTO_DENY = "autoDeny";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileGeneralDeviceConfiguration.php ADDED
@@ -0,0 +1,1031 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidWorkProfileGeneralDeviceConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AndroidWorkProfileGeneralDeviceConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration
28
+ {
29
+ /**
30
+ * Gets the passwordBlockFingerprintUnlock
31
+ * Indicates whether or not to block fingerprint unlock.
32
+ *
33
+ * @return bool The passwordBlockFingerprintUnlock
34
+ */
35
+ public function getPasswordBlockFingerprintUnlock()
36
+ {
37
+ if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) {
38
+ return $this->_propDict["passwordBlockFingerprintUnlock"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the passwordBlockFingerprintUnlock
46
+ * Indicates whether or not to block fingerprint unlock.
47
+ *
48
+ * @param bool $val The passwordBlockFingerprintUnlock
49
+ *
50
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
51
+ */
52
+ public function setPasswordBlockFingerprintUnlock($val)
53
+ {
54
+ $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the passwordBlockTrustAgents
60
+ * Indicates whether or not to block Smart Lock and other trust agents.
61
+ *
62
+ * @return bool The passwordBlockTrustAgents
63
+ */
64
+ public function getPasswordBlockTrustAgents()
65
+ {
66
+ if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) {
67
+ return $this->_propDict["passwordBlockTrustAgents"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the passwordBlockTrustAgents
75
+ * Indicates whether or not to block Smart Lock and other trust agents.
76
+ *
77
+ * @param bool $val The passwordBlockTrustAgents
78
+ *
79
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
80
+ */
81
+ public function setPasswordBlockTrustAgents($val)
82
+ {
83
+ $this->_propDict["passwordBlockTrustAgents"] = boolval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the passwordExpirationDays
89
+ * Number of days before the password expires. Valid values 1 to 365
90
+ *
91
+ * @return int The passwordExpirationDays
92
+ */
93
+ public function getPasswordExpirationDays()
94
+ {
95
+ if (array_key_exists("passwordExpirationDays", $this->_propDict)) {
96
+ return $this->_propDict["passwordExpirationDays"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the passwordExpirationDays
104
+ * Number of days before the password expires. Valid values 1 to 365
105
+ *
106
+ * @param int $val The passwordExpirationDays
107
+ *
108
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
109
+ */
110
+ public function setPasswordExpirationDays($val)
111
+ {
112
+ $this->_propDict["passwordExpirationDays"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the passwordMinimumLength
118
+ * Minimum length of passwords. Valid values 4 to 16
119
+ *
120
+ * @return int The passwordMinimumLength
121
+ */
122
+ public function getPasswordMinimumLength()
123
+ {
124
+ if (array_key_exists("passwordMinimumLength", $this->_propDict)) {
125
+ return $this->_propDict["passwordMinimumLength"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the passwordMinimumLength
133
+ * Minimum length of passwords. Valid values 4 to 16
134
+ *
135
+ * @param int $val The passwordMinimumLength
136
+ *
137
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
138
+ */
139
+ public function setPasswordMinimumLength($val)
140
+ {
141
+ $this->_propDict["passwordMinimumLength"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the passwordMinutesOfInactivityBeforeScreenTimeout
147
+ * Minutes of inactivity before the screen times out.
148
+ *
149
+ * @return int The passwordMinutesOfInactivityBeforeScreenTimeout
150
+ */
151
+ public function getPasswordMinutesOfInactivityBeforeScreenTimeout()
152
+ {
153
+ if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) {
154
+ return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the passwordMinutesOfInactivityBeforeScreenTimeout
162
+ * Minutes of inactivity before the screen times out.
163
+ *
164
+ * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout
165
+ *
166
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
167
+ */
168
+ public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val)
169
+ {
170
+ $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the passwordPreviousPasswordBlockCount
176
+ * Number of previous passwords to block. Valid values 0 to 24
177
+ *
178
+ * @return int The passwordPreviousPasswordBlockCount
179
+ */
180
+ public function getPasswordPreviousPasswordBlockCount()
181
+ {
182
+ if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) {
183
+ return $this->_propDict["passwordPreviousPasswordBlockCount"];
184
+ } else {
185
+ return null;
186
+ }
187
+ }
188
+
189
+ /**
190
+ * Sets the passwordPreviousPasswordBlockCount
191
+ * Number of previous passwords to block. Valid values 0 to 24
192
+ *
193
+ * @param int $val The passwordPreviousPasswordBlockCount
194
+ *
195
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
196
+ */
197
+ public function setPasswordPreviousPasswordBlockCount($val)
198
+ {
199
+ $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val);
200
+ return $this;
201
+ }
202
+
203
+ /**
204
+ * Gets the passwordSignInFailureCountBeforeFactoryReset
205
+ * Number of sign in failures allowed before factory reset. Valid values 1 to 16
206
+ *
207
+ * @return int The passwordSignInFailureCountBeforeFactoryReset
208
+ */
209
+ public function getPasswordSignInFailureCountBeforeFactoryReset()
210
+ {
211
+ if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) {
212
+ return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"];
213
+ } else {
214
+ return null;
215
+ }
216
+ }
217
+
218
+ /**
219
+ * Sets the passwordSignInFailureCountBeforeFactoryReset
220
+ * Number of sign in failures allowed before factory reset. Valid values 1 to 16
221
+ *
222
+ * @param int $val The passwordSignInFailureCountBeforeFactoryReset
223
+ *
224
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
225
+ */
226
+ public function setPasswordSignInFailureCountBeforeFactoryReset($val)
227
+ {
228
+ $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val);
229
+ return $this;
230
+ }
231
+
232
+ /**
233
+ * Gets the passwordRequiredType
234
+ * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols.
235
+ *
236
+ * @return AndroidWorkProfileRequiredPasswordType The passwordRequiredType
237
+ */
238
+ public function getPasswordRequiredType()
239
+ {
240
+ if (array_key_exists("passwordRequiredType", $this->_propDict)) {
241
+ if (is_a($this->_propDict["passwordRequiredType"], "Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType")) {
242
+ return $this->_propDict["passwordRequiredType"];
243
+ } else {
244
+ $this->_propDict["passwordRequiredType"] = new AndroidWorkProfileRequiredPasswordType($this->_propDict["passwordRequiredType"]);
245
+ return $this->_propDict["passwordRequiredType"];
246
+ }
247
+ }
248
+ return null;
249
+ }
250
+
251
+ /**
252
+ * Sets the passwordRequiredType
253
+ * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols.
254
+ *
255
+ * @param AndroidWorkProfileRequiredPasswordType $val The passwordRequiredType
256
+ *
257
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
258
+ */
259
+ public function setPasswordRequiredType($val)
260
+ {
261
+ $this->_propDict["passwordRequiredType"] = $val;
262
+ return $this;
263
+ }
264
+
265
+ /**
266
+ * Gets the workProfileDataSharingType
267
+ * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions.
268
+ *
269
+ * @return AndroidWorkProfileCrossProfileDataSharingType The workProfileDataSharingType
270
+ */
271
+ public function getWorkProfileDataSharingType()
272
+ {
273
+ if (array_key_exists("workProfileDataSharingType", $this->_propDict)) {
274
+ if (is_a($this->_propDict["workProfileDataSharingType"], "Microsoft\Graph\Model\AndroidWorkProfileCrossProfileDataSharingType")) {
275
+ return $this->_propDict["workProfileDataSharingType"];
276
+ } else {
277
+ $this->_propDict["workProfileDataSharingType"] = new AndroidWorkProfileCrossProfileDataSharingType($this->_propDict["workProfileDataSharingType"]);
278
+ return $this->_propDict["workProfileDataSharingType"];
279
+ }
280
+ }
281
+ return null;
282
+ }
283
+
284
+ /**
285
+ * Sets the workProfileDataSharingType
286
+ * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions.
287
+ *
288
+ * @param AndroidWorkProfileCrossProfileDataSharingType $val The workProfileDataSharingType
289
+ *
290
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
291
+ */
292
+ public function setWorkProfileDataSharingType($val)
293
+ {
294
+ $this->_propDict["workProfileDataSharingType"] = $val;
295
+ return $this;
296
+ }
297
+
298
+ /**
299
+ * Gets the workProfileBlockNotificationsWhileDeviceLocked
300
+ * Indicates whether or not to block notifications while device locked.
301
+ *
302
+ * @return bool The workProfileBlockNotificationsWhileDeviceLocked
303
+ */
304
+ public function getWorkProfileBlockNotificationsWhileDeviceLocked()
305
+ {
306
+ if (array_key_exists("workProfileBlockNotificationsWhileDeviceLocked", $this->_propDict)) {
307
+ return $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"];
308
+ } else {
309
+ return null;
310
+ }
311
+ }
312
+
313
+ /**
314
+ * Sets the workProfileBlockNotificationsWhileDeviceLocked
315
+ * Indicates whether or not to block notifications while device locked.
316
+ *
317
+ * @param bool $val The workProfileBlockNotificationsWhileDeviceLocked
318
+ *
319
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
320
+ */
321
+ public function setWorkProfileBlockNotificationsWhileDeviceLocked($val)
322
+ {
323
+ $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"] = boolval($val);
324
+ return $this;
325
+ }
326
+
327
+ /**
328
+ * Gets the workProfileBlockAddingAccounts
329
+ * Block users from adding/removing accounts in work profile.
330
+ *
331
+ * @return bool The workProfileBlockAddingAccounts
332
+ */
333
+ public function getWorkProfileBlockAddingAccounts()
334
+ {
335
+ if (array_key_exists("workProfileBlockAddingAccounts", $this->_propDict)) {
336
+ return $this->_propDict["workProfileBlockAddingAccounts"];
337
+ } else {
338
+ return null;
339
+ }
340
+ }
341
+
342
+ /**
343
+ * Sets the workProfileBlockAddingAccounts
344
+ * Block users from adding/removing accounts in work profile.
345
+ *
346
+ * @param bool $val The workProfileBlockAddingAccounts
347
+ *
348
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
349
+ */
350
+ public function setWorkProfileBlockAddingAccounts($val)
351
+ {
352
+ $this->_propDict["workProfileBlockAddingAccounts"] = boolval($val);
353
+ return $this;
354
+ }
355
+
356
+ /**
357
+ * Gets the workProfileBluetoothEnableContactSharing
358
+ * Allow bluetooth devices to access enterprise contacts.
359
+ *
360
+ * @return bool The workProfileBluetoothEnableContactSharing
361
+ */
362
+ public function getWorkProfileBluetoothEnableContactSharing()
363
+ {
364
+ if (array_key_exists("workProfileBluetoothEnableContactSharing", $this->_propDict)) {
365
+ return $this->_propDict["workProfileBluetoothEnableContactSharing"];
366
+ } else {
367
+ return null;
368
+ }
369
+ }
370
+
371
+ /**
372
+ * Sets the workProfileBluetoothEnableContactSharing
373
+ * Allow bluetooth devices to access enterprise contacts.
374
+ *
375
+ * @param bool $val The workProfileBluetoothEnableContactSharing
376
+ *
377
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
378
+ */
379
+ public function setWorkProfileBluetoothEnableContactSharing($val)
380
+ {
381
+ $this->_propDict["workProfileBluetoothEnableContactSharing"] = boolval($val);
382
+ return $this;
383
+ }
384
+
385
+ /**
386
+ * Gets the workProfileBlockScreenCapture
387
+ * Block screen capture in work profile.
388
+ *
389
+ * @return bool The workProfileBlockScreenCapture
390
+ */
391
+ public function getWorkProfileBlockScreenCapture()
392
+ {
393
+ if (array_key_exists("workProfileBlockScreenCapture", $this->_propDict)) {
394
+ return $this->_propDict["workProfileBlockScreenCapture"];
395
+ } else {
396
+ return null;
397
+ }
398
+ }
399
+
400
+ /**
401
+ * Sets the workProfileBlockScreenCapture
402
+ * Block screen capture in work profile.
403
+ *
404
+ * @param bool $val The workProfileBlockScreenCapture
405
+ *
406
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
407
+ */
408
+ public function setWorkProfileBlockScreenCapture($val)
409
+ {
410
+ $this->_propDict["workProfileBlockScreenCapture"] = boolval($val);
411
+ return $this;
412
+ }
413
+
414
+ /**
415
+ * Gets the workProfileBlockCrossProfileCallerId
416
+ * Block display work profile caller ID in personal profile.
417
+ *
418
+ * @return bool The workProfileBlockCrossProfileCallerId
419
+ */
420
+ public function getWorkProfileBlockCrossProfileCallerId()
421
+ {
422
+ if (array_key_exists("workProfileBlockCrossProfileCallerId", $this->_propDict)) {
423
+ return $this->_propDict["workProfileBlockCrossProfileCallerId"];
424
+ } else {
425
+ return null;
426
+ }
427
+ }
428
+
429
+ /**
430
+ * Sets the workProfileBlockCrossProfileCallerId
431
+ * Block display work profile caller ID in personal profile.
432
+ *
433
+ * @param bool $val The workProfileBlockCrossProfileCallerId
434
+ *
435
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
436
+ */
437
+ public function setWorkProfileBlockCrossProfileCallerId($val)
438
+ {
439
+ $this->_propDict["workProfileBlockCrossProfileCallerId"] = boolval($val);
440
+ return $this;
441
+ }
442
+
443
+ /**
444
+ * Gets the workProfileBlockCamera
445
+ * Block work profile camera.
446
+ *
447
+ * @return bool The workProfileBlockCamera
448
+ */
449
+ public function getWorkProfileBlockCamera()
450
+ {
451
+ if (array_key_exists("workProfileBlockCamera", $this->_propDict)) {
452
+ return $this->_propDict["workProfileBlockCamera"];
453
+ } else {
454
+ return null;
455
+ }
456
+ }
457
+
458
+ /**
459
+ * Sets the workProfileBlockCamera
460
+ * Block work profile camera.
461
+ *
462
+ * @param bool $val The workProfileBlockCamera
463
+ *
464
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
465
+ */
466
+ public function setWorkProfileBlockCamera($val)
467
+ {
468
+ $this->_propDict["workProfileBlockCamera"] = boolval($val);
469
+ return $this;
470
+ }
471
+
472
+ /**
473
+ * Gets the workProfileBlockCrossProfileContactsSearch
474
+ * Block work profile contacts availability in personal profile.
475
+ *
476
+ * @return bool The workProfileBlockCrossProfileContactsSearch
477
+ */
478
+ public function getWorkProfileBlockCrossProfileContactsSearch()
479
+ {
480
+ if (array_key_exists("workProfileBlockCrossProfileContactsSearch", $this->_propDict)) {
481
+ return $this->_propDict["workProfileBlockCrossProfileContactsSearch"];
482
+ } else {
483
+ return null;
484
+ }
485
+ }
486
+
487
+ /**
488
+ * Sets the workProfileBlockCrossProfileContactsSearch
489
+ * Block work profile contacts availability in personal profile.
490
+ *
491
+ * @param bool $val The workProfileBlockCrossProfileContactsSearch
492
+ *
493
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
494
+ */
495
+ public function setWorkProfileBlockCrossProfileContactsSearch($val)
496
+ {
497
+ $this->_propDict["workProfileBlockCrossProfileContactsSearch"] = boolval($val);
498
+ return $this;
499
+ }
500
+
501
+ /**
502
+ * Gets the workProfileBlockCrossProfileCopyPaste
503
+ * Boolean that indicates if the setting disallow cross profile copy/paste is enabled.
504
+ *
505
+ * @return bool The workProfileBlockCrossProfileCopyPaste
506
+ */
507
+ public function getWorkProfileBlockCrossProfileCopyPaste()
508
+ {
509
+ if (array_key_exists("workProfileBlockCrossProfileCopyPaste", $this->_propDict)) {
510
+ return $this->_propDict["workProfileBlockCrossProfileCopyPaste"];
511
+ } else {
512
+ return null;
513
+ }
514
+ }
515
+
516
+ /**
517
+ * Sets the workProfileBlockCrossProfileCopyPaste
518
+ * Boolean that indicates if the setting disallow cross profile copy/paste is enabled.
519
+ *
520
+ * @param bool $val The workProfileBlockCrossProfileCopyPaste
521
+ *
522
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
523
+ */
524
+ public function setWorkProfileBlockCrossProfileCopyPaste($val)
525
+ {
526
+ $this->_propDict["workProfileBlockCrossProfileCopyPaste"] = boolval($val);
527
+ return $this;
528
+ }
529
+
530
+ /**
531
+ * Gets the workProfileDefaultAppPermissionPolicy
532
+ * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny.
533
+ *
534
+ * @return AndroidWorkProfileDefaultAppPermissionPolicyType The workProfileDefaultAppPermissionPolicy
535
+ */
536
+ public function getWorkProfileDefaultAppPermissionPolicy()
537
+ {
538
+ if (array_key_exists("workProfileDefaultAppPermissionPolicy", $this->_propDict)) {
539
+ if (is_a($this->_propDict["workProfileDefaultAppPermissionPolicy"], "Microsoft\Graph\Model\AndroidWorkProfileDefaultAppPermissionPolicyType")) {
540
+ return $this->_propDict["workProfileDefaultAppPermissionPolicy"];
541
+ } else {
542
+ $this->_propDict["workProfileDefaultAppPermissionPolicy"] = new AndroidWorkProfileDefaultAppPermissionPolicyType($this->_propDict["workProfileDefaultAppPermissionPolicy"]);
543
+ return $this->_propDict["workProfileDefaultAppPermissionPolicy"];
544
+ }
545
+ }
546
+ return null;
547
+ }
548
+
549
+ /**
550
+ * Sets the workProfileDefaultAppPermissionPolicy
551
+ * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny.
552
+ *
553
+ * @param AndroidWorkProfileDefaultAppPermissionPolicyType $val The workProfileDefaultAppPermissionPolicy
554
+ *
555
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
556
+ */
557
+ public function setWorkProfileDefaultAppPermissionPolicy($val)
558
+ {
559
+ $this->_propDict["workProfileDefaultAppPermissionPolicy"] = $val;
560
+ return $this;
561
+ }
562
+
563
+ /**
564
+ * Gets the workProfilePasswordBlockFingerprintUnlock
565
+ * Indicates whether or not to block fingerprint unlock for work profile.
566
+ *
567
+ * @return bool The workProfilePasswordBlockFingerprintUnlock
568
+ */
569
+ public function getWorkProfilePasswordBlockFingerprintUnlock()
570
+ {
571
+ if (array_key_exists("workProfilePasswordBlockFingerprintUnlock", $this->_propDict)) {
572
+ return $this->_propDict["workProfilePasswordBlockFingerprintUnlock"];
573
+ } else {
574
+ return null;
575
+ }
576
+ }
577
+
578
+ /**
579
+ * Sets the workProfilePasswordBlockFingerprintUnlock
580
+ * Indicates whether or not to block fingerprint unlock for work profile.
581
+ *
582
+ * @param bool $val The workProfilePasswordBlockFingerprintUnlock
583
+ *
584
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
585
+ */
586
+ public function setWorkProfilePasswordBlockFingerprintUnlock($val)
587
+ {
588
+ $this->_propDict["workProfilePasswordBlockFingerprintUnlock"] = boolval($val);
589
+ return $this;
590
+ }
591
+
592
+ /**
593
+ * Gets the workProfilePasswordBlockTrustAgents
594
+ * Indicates whether or not to block Smart Lock and other trust agents for work profile.
595
+ *
596
+ * @return bool The workProfilePasswordBlockTrustAgents
597
+ */
598
+ public function getWorkProfilePasswordBlockTrustAgents()
599
+ {
600
+ if (array_key_exists("workProfilePasswordBlockTrustAgents", $this->_propDict)) {
601
+ return $this->_propDict["workProfilePasswordBlockTrustAgents"];
602
+ } else {
603
+ return null;
604
+ }
605
+ }
606
+
607
+ /**
608
+ * Sets the workProfilePasswordBlockTrustAgents
609
+ * Indicates whether or not to block Smart Lock and other trust agents for work profile.
610
+ *
611
+ * @param bool $val The workProfilePasswordBlockTrustAgents
612
+ *
613
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
614
+ */
615
+ public function setWorkProfilePasswordBlockTrustAgents($val)
616
+ {
617
+ $this->_propDict["workProfilePasswordBlockTrustAgents"] = boolval($val);
618
+ return $this;
619
+ }
620
+
621
+ /**
622
+ * Gets the workProfilePasswordExpirationDays
623
+ * Number of days before the work profile password expires. Valid values 1 to 365
624
+ *
625
+ * @return int The workProfilePasswordExpirationDays
626
+ */
627
+ public function getWorkProfilePasswordExpirationDays()
628
+ {
629
+ if (array_key_exists("workProfilePasswordExpirationDays", $this->_propDict)) {
630
+ return $this->_propDict["workProfilePasswordExpirationDays"];
631
+ } else {
632
+ return null;
633
+ }
634
+ }
635
+
636
+ /**
637
+ * Sets the workProfilePasswordExpirationDays
638
+ * Number of days before the work profile password expires. Valid values 1 to 365
639
+ *
640
+ * @param int $val The workProfilePasswordExpirationDays
641
+ *
642
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
643
+ */
644
+ public function setWorkProfilePasswordExpirationDays($val)
645
+ {
646
+ $this->_propDict["workProfilePasswordExpirationDays"] = intval($val);
647
+ return $this;
648
+ }
649
+
650
+ /**
651
+ * Gets the workProfilePasswordMinimumLength
652
+ * Minimum length of work profile password. Valid values 4 to 16
653
+ *
654
+ * @return int The workProfilePasswordMinimumLength
655
+ */
656
+ public function getWorkProfilePasswordMinimumLength()
657
+ {
658
+ if (array_key_exists("workProfilePasswordMinimumLength", $this->_propDict)) {
659
+ return $this->_propDict["workProfilePasswordMinimumLength"];
660
+ } else {
661
+ return null;
662
+ }
663
+ }
664
+
665
+ /**
666
+ * Sets the workProfilePasswordMinimumLength
667
+ * Minimum length of work profile password. Valid values 4 to 16
668
+ *
669
+ * @param int $val The workProfilePasswordMinimumLength
670
+ *
671
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
672
+ */
673
+ public function setWorkProfilePasswordMinimumLength($val)
674
+ {
675
+ $this->_propDict["workProfilePasswordMinimumLength"] = intval($val);
676
+ return $this;
677
+ }
678
+
679
+ /**
680
+ * Gets the workProfilePasswordMinNumericCharacters
681
+ * Minimum # of numeric characters required in work profile password. Valid values 1 to 10
682
+ *
683
+ * @return int The workProfilePasswordMinNumericCharacters
684
+ */
685
+ public function getWorkProfilePasswordMinNumericCharacters()
686
+ {
687
+ if (array_key_exists("workProfilePasswordMinNumericCharacters", $this->_propDict)) {
688
+ return $this->_propDict["workProfilePasswordMinNumericCharacters"];
689
+ } else {
690
+ return null;
691
+ }
692
+ }
693
+
694
+ /**
695
+ * Sets the workProfilePasswordMinNumericCharacters
696
+ * Minimum # of numeric characters required in work profile password. Valid values 1 to 10
697
+ *
698
+ * @param int $val The workProfilePasswordMinNumericCharacters
699
+ *
700
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
701
+ */
702
+ public function setWorkProfilePasswordMinNumericCharacters($val)
703
+ {
704
+ $this->_propDict["workProfilePasswordMinNumericCharacters"] = intval($val);
705
+ return $this;
706
+ }
707
+
708
+ /**
709
+ * Gets the workProfilePasswordMinNonLetterCharacters
710
+ * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10
711
+ *
712
+ * @return int The workProfilePasswordMinNonLetterCharacters
713
+ */
714
+ public function getWorkProfilePasswordMinNonLetterCharacters()
715
+ {
716
+ if (array_key_exists("workProfilePasswordMinNonLetterCharacters", $this->_propDict)) {
717
+ return $this->_propDict["workProfilePasswordMinNonLetterCharacters"];
718
+ } else {
719
+ return null;
720
+ }
721
+ }
722
+
723
+ /**
724
+ * Sets the workProfilePasswordMinNonLetterCharacters
725
+ * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10
726
+ *
727
+ * @param int $val The workProfilePasswordMinNonLetterCharacters
728
+ *
729
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
730
+ */
731
+ public function setWorkProfilePasswordMinNonLetterCharacters($val)
732
+ {
733
+ $this->_propDict["workProfilePasswordMinNonLetterCharacters"] = intval($val);
734
+ return $this;
735
+ }
736
+
737
+ /**
738
+ * Gets the workProfilePasswordMinLetterCharacters
739
+ * Minimum # of letter characters required in work profile password. Valid values 1 to 10
740
+ *
741
+ * @return int The workProfilePasswordMinLetterCharacters
742
+ */
743
+ public function getWorkProfilePasswordMinLetterCharacters()
744
+ {
745
+ if (array_key_exists("workProfilePasswordMinLetterCharacters", $this->_propDict)) {
746
+ return $this->_propDict["workProfilePasswordMinLetterCharacters"];
747
+ } else {
748
+ return null;
749
+ }
750
+ }
751
+
752
+ /**
753
+ * Sets the workProfilePasswordMinLetterCharacters
754
+ * Minimum # of letter characters required in work profile password. Valid values 1 to 10
755
+ *
756
+ * @param int $val The workProfilePasswordMinLetterCharacters
757
+ *
758
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
759
+ */
760
+ public function setWorkProfilePasswordMinLetterCharacters($val)
761
+ {
762
+ $this->_propDict["workProfilePasswordMinLetterCharacters"] = intval($val);
763
+ return $this;
764
+ }
765
+
766
+ /**
767
+ * Gets the workProfilePasswordMinLowerCaseCharacters
768
+ * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10
769
+ *
770
+ * @return int The workProfilePasswordMinLowerCaseCharacters
771
+ */
772
+ public function getWorkProfilePasswordMinLowerCaseCharacters()
773
+ {
774
+ if (array_key_exists("workProfilePasswordMinLowerCaseCharacters", $this->_propDict)) {
775
+ return $this->_propDict["workProfilePasswordMinLowerCaseCharacters"];
776
+ } else {
777
+ return null;
778
+ }
779
+ }
780
+
781
+ /**
782
+ * Sets the workProfilePasswordMinLowerCaseCharacters
783
+ * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10
784
+ *
785
+ * @param int $val The workProfilePasswordMinLowerCaseCharacters
786
+ *
787
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
788
+ */
789
+ public function setWorkProfilePasswordMinLowerCaseCharacters($val)
790
+ {
791
+ $this->_propDict["workProfilePasswordMinLowerCaseCharacters"] = intval($val);
792
+ return $this;
793
+ }
794
+
795
+ /**
796
+ * Gets the workProfilePasswordMinUpperCaseCharacters
797
+ * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10
798
+ *
799
+ * @return int The workProfilePasswordMinUpperCaseCharacters
800
+ */
801
+ public function getWorkProfilePasswordMinUpperCaseCharacters()
802
+ {
803
+ if (array_key_exists("workProfilePasswordMinUpperCaseCharacters", $this->_propDict)) {
804
+ return $this->_propDict["workProfilePasswordMinUpperCaseCharacters"];
805
+ } else {
806
+ return null;
807
+ }
808
+ }
809
+
810
+ /**
811
+ * Sets the workProfilePasswordMinUpperCaseCharacters
812
+ * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10
813
+ *
814
+ * @param int $val The workProfilePasswordMinUpperCaseCharacters
815
+ *
816
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
817
+ */
818
+ public function setWorkProfilePasswordMinUpperCaseCharacters($val)
819
+ {
820
+ $this->_propDict["workProfilePasswordMinUpperCaseCharacters"] = intval($val);
821
+ return $this;
822
+ }
823
+
824
+ /**
825
+ * Gets the workProfilePasswordMinSymbolCharacters
826
+ * Minimum # of symbols required in work profile password. Valid values 1 to 10
827
+ *
828
+ * @return int The workProfilePasswordMinSymbolCharacters
829
+ */
830
+ public function getWorkProfilePasswordMinSymbolCharacters()
831
+ {
832
+ if (array_key_exists("workProfilePasswordMinSymbolCharacters", $this->_propDict)) {
833
+ return $this->_propDict["workProfilePasswordMinSymbolCharacters"];
834
+ } else {
835
+ return null;
836
+ }
837
+ }
838
+
839
+ /**
840
+ * Sets the workProfilePasswordMinSymbolCharacters
841
+ * Minimum # of symbols required in work profile password. Valid values 1 to 10
842
+ *
843
+ * @param int $val The workProfilePasswordMinSymbolCharacters
844
+ *
845
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
846
+ */
847
+ public function setWorkProfilePasswordMinSymbolCharacters($val)
848
+ {
849
+ $this->_propDict["workProfilePasswordMinSymbolCharacters"] = intval($val);
850
+ return $this;
851
+ }
852
+
853
+ /**
854
+ * Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
855
+ * Minutes of inactivity before the screen times out.
856
+ *
857
+ * @return int The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
858
+ */
859
+ public function getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout()
860
+ {
861
+ if (array_key_exists("workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) {
862
+ return $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"];
863
+ } else {
864
+ return null;
865
+ }
866
+ }
867
+
868
+ /**
869
+ * Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
870
+ * Minutes of inactivity before the screen times out.
871
+ *
872
+ * @param int $val The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
873
+ *
874
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
875
+ */
876
+ public function setWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout($val)
877
+ {
878
+ $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"] = intval($val);
879
+ return $this;
880
+ }
881
+
882
+ /**
883
+ * Gets the workProfilePasswordPreviousPasswordBlockCount
884
+ * Number of previous work profile passwords to block. Valid values 0 to 24
885
+ *
886
+ * @return int The workProfilePasswordPreviousPasswordBlockCount
887
+ */
888
+ public function getWorkProfilePasswordPreviousPasswordBlockCount()
889
+ {
890
+ if (array_key_exists("workProfilePasswordPreviousPasswordBlockCount", $this->_propDict)) {
891
+ return $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"];
892
+ } else {
893
+ return null;
894
+ }
895
+ }
896
+
897
+ /**
898
+ * Sets the workProfilePasswordPreviousPasswordBlockCount
899
+ * Number of previous work profile passwords to block. Valid values 0 to 24
900
+ *
901
+ * @param int $val The workProfilePasswordPreviousPasswordBlockCount
902
+ *
903
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
904
+ */
905
+ public function setWorkProfilePasswordPreviousPasswordBlockCount($val)
906
+ {
907
+ $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"] = intval($val);
908
+ return $this;
909
+ }
910
+
911
+ /**
912
+ * Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset
913
+ * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16
914
+ *
915
+ * @return int The workProfilePasswordSignInFailureCountBeforeFactoryReset
916
+ */
917
+ public function getWorkProfilePasswordSignInFailureCountBeforeFactoryReset()
918
+ {
919
+ if (array_key_exists("workProfilePasswordSignInFailureCountBeforeFactoryReset", $this->_propDict)) {
920
+ return $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"];
921
+ } else {
922
+ return null;
923
+ }
924
+ }
925
+
926
+ /**
927
+ * Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset
928
+ * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16
929
+ *
930
+ * @param int $val The workProfilePasswordSignInFailureCountBeforeFactoryReset
931
+ *
932
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
933
+ */
934
+ public function setWorkProfilePasswordSignInFailureCountBeforeFactoryReset($val)
935
+ {
936
+ $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"] = intval($val);
937
+ return $this;
938
+ }
939
+
940
+ /**
941
+ * Gets the workProfilePasswordRequiredType
942
+ * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols.
943
+ *
944
+ * @return AndroidWorkProfileRequiredPasswordType The workProfilePasswordRequiredType
945
+ */
946
+ public function getWorkProfilePasswordRequiredType()
947
+ {
948
+ if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) {
949
+ if (is_a($this->_propDict["workProfilePasswordRequiredType"], "Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType")) {
950
+ return $this->_propDict["workProfilePasswordRequiredType"];
951
+ } else {
952
+ $this->_propDict["workProfilePasswordRequiredType"] = new AndroidWorkProfileRequiredPasswordType($this->_propDict["workProfilePasswordRequiredType"]);
953
+ return $this->_propDict["workProfilePasswordRequiredType"];
954
+ }
955
+ }
956
+ return null;
957
+ }
958
+
959
+ /**
960
+ * Sets the workProfilePasswordRequiredType
961
+ * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols.
962
+ *
963
+ * @param AndroidWorkProfileRequiredPasswordType $val The workProfilePasswordRequiredType
964
+ *
965
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
966
+ */
967
+ public function setWorkProfilePasswordRequiredType($val)
968
+ {
969
+ $this->_propDict["workProfilePasswordRequiredType"] = $val;
970
+ return $this;
971
+ }
972
+
973
+ /**
974
+ * Gets the workProfileRequirePassword
975
+ * Password is required or not for work profile
976
+ *
977
+ * @return bool The workProfileRequirePassword
978
+ */
979
+ public function getWorkProfileRequirePassword()
980
+ {
981
+ if (array_key_exists("workProfileRequirePassword", $this->_propDict)) {
982
+ return $this->_propDict["workProfileRequirePassword"];
983
+ } else {
984
+ return null;
985
+ }
986
+ }
987
+
988
+ /**
989
+ * Sets the workProfileRequirePassword
990
+ * Password is required or not for work profile
991
+ *
992
+ * @param bool $val The workProfileRequirePassword
993
+ *
994
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
995
+ */
996
+ public function setWorkProfileRequirePassword($val)
997
+ {
998
+ $this->_propDict["workProfileRequirePassword"] = boolval($val);
999
+ return $this;
1000
+ }
1001
+
1002
+ /**
1003
+ * Gets the securityRequireVerifyApps
1004
+ * Require the Android Verify apps feature is turned on.
1005
+ *
1006
+ * @return bool The securityRequireVerifyApps
1007
+ */
1008
+ public function getSecurityRequireVerifyApps()
1009
+ {
1010
+ if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) {
1011
+ return $this->_propDict["securityRequireVerifyApps"];
1012
+ } else {
1013
+ return null;
1014
+ }
1015
+ }
1016
+
1017
+ /**
1018
+ * Sets the securityRequireVerifyApps
1019
+ * Require the Android Verify apps feature is turned on.
1020
+ *
1021
+ * @param bool $val The securityRequireVerifyApps
1022
+ *
1023
+ * @return AndroidWorkProfileGeneralDeviceConfiguration
1024
+ */
1025
+ public function setSecurityRequireVerifyApps($val)
1026
+ {
1027
+ $this->_propDict["securityRequireVerifyApps"] = boolval($val);
1028
+ return $this;
1029
+ }
1030
+
1031
+ }
vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileRequiredPasswordType.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AndroidWorkProfileRequiredPasswordType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AndroidWorkProfileRequiredPasswordType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AndroidWorkProfileRequiredPasswordType extends Enum
30
+ {
31
+ /**
32
+ * The Enum AndroidWorkProfileRequiredPasswordType
33
+ */
34
+ const DEVICE_DEFAULT = "deviceDefault";
35
+ const LOW_SECURITY_BIOMETRIC = "lowSecurityBiometric";
36
+ const REQUIRED = "required";
37
+ const AT_LEAST_NUMERIC = "atLeastNumeric";
38
+ const NUMERIC_COMPLEX = "numericComplex";
39
+ const AT_LEAST_ALPHABETIC = "atLeastAlphabetic";
40
+ const AT_LEAST_ALPHANUMERIC = "atLeastAlphanumeric";
41
+ const ALPHANUMERIC_WITH_SYMBOLS = "alphanumericWithSymbols";
42
+ }
vendor/microsoft/microsoft-graph/src/Model/AppCatalogs.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppCatalogs File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AppCatalogs class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AppCatalogs extends Entity
28
+ {
29
+
30
+ /**
31
+ * Gets the teamsApps
32
+ *
33
+ * @return array The teamsApps
34
+ */
35
+ public function getTeamsApps()
36
+ {
37
+ if (array_key_exists("teamsApps", $this->_propDict)) {
38
+ return $this->_propDict["teamsApps"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the teamsApps
46
+ *
47
+ * @param TeamsApp $val The teamsApps
48
+ *
49
+ * @return AppCatalogs
50
+ */
51
+ public function setTeamsApps($val)
52
+ {
53
+ $this->_propDict["teamsApps"] = $val;
54
+ return $this;
55
+ }
56
+
57
+ }
vendor/microsoft/microsoft-graph/src/Model/AppConfigurationSettingItem.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppConfigurationSettingItem File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AppConfigurationSettingItem class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AppConfigurationSettingItem extends Entity
27
+ {
28
+ /**
29
+ * Gets the appConfigKey
30
+ * app configuration key.
31
+ *
32
+ * @return string The appConfigKey
33
+ */
34
+ public function getAppConfigKey()
35
+ {
36
+ if (array_key_exists("appConfigKey", $this->_propDict)) {
37
+ return $this->_propDict["appConfigKey"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the appConfigKey
45
+ * app configuration key.
46
+ *
47
+ * @param string $val The value of the appConfigKey
48
+ *
49
+ * @return AppConfigurationSettingItem
50
+ */
51
+ public function setAppConfigKey($val)
52
+ {
53
+ $this->_propDict["appConfigKey"] = $val;
54
+ return $this;
55
+ }
56
+
57
+ /**
58
+ * Gets the appConfigKeyType
59
+ * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType.
60
+ *
61
+ * @return MdmAppConfigKeyType The appConfigKeyType
62
+ */
63
+ public function getAppConfigKeyType()
64
+ {
65
+ if (array_key_exists("appConfigKeyType", $this->_propDict)) {
66
+ if (is_a($this->_propDict["appConfigKeyType"], "Microsoft\Graph\Model\MdmAppConfigKeyType")) {
67
+ return $this->_propDict["appConfigKeyType"];
68
+ } else {
69
+ $this->_propDict["appConfigKeyType"] = new MdmAppConfigKeyType($this->_propDict["appConfigKeyType"]);
70
+ return $this->_propDict["appConfigKeyType"];
71
+ }
72
+ }
73
+ return null;
74
+ }
75
+
76
+ /**
77
+ * Sets the appConfigKeyType
78
+ * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType.
79
+ *
80
+ * @param MdmAppConfigKeyType $val The value to assign to the appConfigKeyType
81
+ *
82
+ * @return AppConfigurationSettingItem The AppConfigurationSettingItem
83
+ */
84
+ public function setAppConfigKeyType($val)
85
+ {
86
+ $this->_propDict["appConfigKeyType"] = $val;
87
+ return $this;
88
+ }
89
+ /**
90
+ * Gets the appConfigKeyValue
91
+ * app configuration key value.
92
+ *
93
+ * @return string The appConfigKeyValue
94
+ */
95
+ public function getAppConfigKeyValue()
96
+ {
97
+ if (array_key_exists("appConfigKeyValue", $this->_propDict)) {
98
+ return $this->_propDict["appConfigKeyValue"];
99
+ } else {
100
+ return null;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Sets the appConfigKeyValue
106
+ * app configuration key value.
107
+ *
108
+ * @param string $val The value of the appConfigKeyValue
109
+ *
110
+ * @return AppConfigurationSettingItem
111
+ */
112
+ public function setAppConfigKeyValue($val)
113
+ {
114
+ $this->_propDict["appConfigKeyValue"] = $val;
115
+ return $this;
116
+ }
117
+ }
vendor/microsoft/microsoft-graph/src/Model/AppHostedMediaConfig.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppHostedMediaConfig File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AppHostedMediaConfig class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AppHostedMediaConfig extends MediaConfig
27
+ {
28
+ /**
29
+ * Set the @odata.type since this type is immediately descended from an abstract
30
+ * type that is referenced as the type in an entity.
31
+ */
32
+ public function __construct()
33
+ {
34
+ $this->setODataType("#microsoft.graph.appHostedMediaConfig");
35
+ }
36
+
37
+ /**
38
+ * Gets the blob
39
+ *
40
+ * @return string The blob
41
+ */
42
+ public function getBlob()
43
+ {
44
+ if (array_key_exists("blob", $this->_propDict)) {
45
+ return $this->_propDict["blob"];
46
+ } else {
47
+ return null;
48
+ }
49
+ }
50
+
51
+ /**
52
+ * Sets the blob
53
+ *
54
+ * @param string $val The value of the blob
55
+ *
56
+ * @return AppHostedMediaConfig
57
+ */
58
+ public function setBlob($val)
59
+ {
60
+ $this->_propDict["blob"] = $val;
61
+ return $this;
62
+ }
63
+ }
vendor/microsoft/microsoft-graph/src/Model/AppIdentity.php ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppIdentity File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AppIdentity class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AppIdentity extends Entity
27
+ {
28
+ /**
29
+ * Gets the appId
30
+ * Refers to the Unique GUID representing Application Id in the Azure Active Directory.
31
+ *
32
+ * @return string The appId
33
+ */
34
+ public function getAppId()
35
+ {
36
+ if (array_key_exists("appId", $this->_propDict)) {
37
+ return $this->_propDict["appId"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the appId
45
+ * Refers to the Unique GUID representing Application Id in the Azure Active Directory.
46
+ *
47
+ * @param string $val The value of the appId
48
+ *
49
+ * @return AppIdentity
50
+ */
51
+ public function setAppId($val)
52
+ {
53
+ $this->_propDict["appId"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the displayName
58
+ * Refers to the Application Name displayed in the Azure Portal.
59
+ *
60
+ * @return string The displayName
61
+ */
62
+ public function getDisplayName()
63
+ {
64
+ if (array_key_exists("displayName", $this->_propDict)) {
65
+ return $this->_propDict["displayName"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the displayName
73
+ * Refers to the Application Name displayed in the Azure Portal.
74
+ *
75
+ * @param string $val The value of the displayName
76
+ *
77
+ * @return AppIdentity
78
+ */
79
+ public function setDisplayName($val)
80
+ {
81
+ $this->_propDict["displayName"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the servicePrincipalId
86
+ * Refers to the Unique GUID indicating Service Principal Id in Azure Active Directory for the corresponding App.
87
+ *
88
+ * @return string The servicePrincipalId
89
+ */
90
+ public function getServicePrincipalId()
91
+ {
92
+ if (array_key_exists("servicePrincipalId", $this->_propDict)) {
93
+ return $this->_propDict["servicePrincipalId"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the servicePrincipalId
101
+ * Refers to the Unique GUID indicating Service Principal Id in Azure Active Directory for the corresponding App.
102
+ *
103
+ * @param string $val The value of the servicePrincipalId
104
+ *
105
+ * @return AppIdentity
106
+ */
107
+ public function setServicePrincipalId($val)
108
+ {
109
+ $this->_propDict["servicePrincipalId"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the servicePrincipalName
114
+ * Refers to the Service Principal Name is the Application name in the tenant.
115
+ *
116
+ * @return string The servicePrincipalName
117
+ */
118
+ public function getServicePrincipalName()
119
+ {
120
+ if (array_key_exists("servicePrincipalName", $this->_propDict)) {
121
+ return $this->_propDict["servicePrincipalName"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the servicePrincipalName
129
+ * Refers to the Service Principal Name is the Application name in the tenant.
130
+ *
131
+ * @param string $val The value of the servicePrincipalName
132
+ *
133
+ * @return AppIdentity
134
+ */
135
+ public function setServicePrincipalName($val)
136
+ {
137
+ $this->_propDict["servicePrincipalName"] = $val;
138
+ return $this;
139
+ }
140
+ }
vendor/microsoft/microsoft-graph/src/Model/AppListItem.php ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppListItem File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AppListItem class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AppListItem extends Entity
27
+ {
28
+ /**
29
+ * Gets the name
30
+ * The application name
31
+ *
32
+ * @return string The name
33
+ */
34
+ public function getName()
35
+ {
36
+ if (array_key_exists("name", $this->_propDict)) {
37
+ return $this->_propDict["name"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the name
45
+ * The application name
46
+ *
47
+ * @param string $val The value of the name
48
+ *
49
+ * @return AppListItem
50
+ */
51
+ public function setName($val)
52
+ {
53
+ $this->_propDict["name"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the publisher
58
+ * The publisher of the application
59
+ *
60
+ * @return string The publisher
61
+ */
62
+ public function getPublisher()
63
+ {
64
+ if (array_key_exists("publisher", $this->_propDict)) {
65
+ return $this->_propDict["publisher"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the publisher
73
+ * The publisher of the application
74
+ *
75
+ * @param string $val The value of the publisher
76
+ *
77
+ * @return AppListItem
78
+ */
79
+ public function setPublisher($val)
80
+ {
81
+ $this->_propDict["publisher"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the appStoreUrl
86
+ * The Store URL of the application
87
+ *
88
+ * @return string The appStoreUrl
89
+ */
90
+ public function getAppStoreUrl()
91
+ {
92
+ if (array_key_exists("appStoreUrl", $this->_propDict)) {
93
+ return $this->_propDict["appStoreUrl"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the appStoreUrl
101
+ * The Store URL of the application
102
+ *
103
+ * @param string $val The value of the appStoreUrl
104
+ *
105
+ * @return AppListItem
106
+ */
107
+ public function setAppStoreUrl($val)
108
+ {
109
+ $this->_propDict["appStoreUrl"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the appId
114
+ * The application or bundle identifier of the application
115
+ *
116
+ * @return string The appId
117
+ */
118
+ public function getAppId()
119
+ {
120
+ if (array_key_exists("appId", $this->_propDict)) {
121
+ return $this->_propDict["appId"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the appId
129
+ * The application or bundle identifier of the application
130
+ *
131
+ * @param string $val The value of the appId
132
+ *
133
+ * @return AppListItem
134
+ */
135
+ public function setAppId($val)
136
+ {
137
+ $this->_propDict["appId"] = $val;
138
+ return $this;
139
+ }
140
+ }
vendor/microsoft/microsoft-graph/src/Model/AppListType.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppListType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AppListType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AppListType extends Enum
30
+ {
31
+ /**
32
+ * The Enum AppListType
33
+ */
34
+ const NONE = "none";
35
+ const APPS_IN_LIST_COMPLIANT = "appsInListCompliant";
36
+ const APPS_NOT_IN_LIST_COMPLIANT = "appsNotInListCompliant";
37
+ }
vendor/microsoft/microsoft-graph/src/Model/AppLockerApplicationControlType.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppLockerApplicationControlType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AppLockerApplicationControlType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AppLockerApplicationControlType extends Enum
30
+ {
31
+ /**
32
+ * The Enum AppLockerApplicationControlType
33
+ */
34
+ const NOT_CONFIGURED = "notConfigured";
35
+ const ENFORCE_COMPONENTS_AND_STORE_APPS = "enforceComponentsAndStoreApps";
36
+ const AUDIT_COMPONENTS_AND_STORE_APPS = "auditComponentsAndStoreApps";
37
+ const ENFORCE_COMPONENTS_STORE_APPS_AND_SMARTLOCKER = "enforceComponentsStoreAppsAndSmartlocker";
38
+ const AUDIT_COMPONENTS_STORE_APPS_AND_SMARTLOCKER = "auditComponentsStoreAppsAndSmartlocker";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/AppleDeviceFeaturesConfigurationBase.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppleDeviceFeaturesConfigurationBase File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AppleDeviceFeaturesConfigurationBase class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AppleDeviceFeaturesConfigurationBase extends DeviceConfiguration
28
+ {
29
+ }
vendor/microsoft/microsoft-graph/src/Model/ApplePushNotificationCertificate.php ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ApplePushNotificationCertificate File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * ApplePushNotificationCertificate class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class ApplePushNotificationCertificate extends Entity
28
+ {
29
+ /**
30
+ * Gets the appleIdentifier
31
+ * Apple Id of the account used to create the MDM push certificate.
32
+ *
33
+ * @return string The appleIdentifier
34
+ */
35
+ public function getAppleIdentifier()
36
+ {
37
+ if (array_key_exists("appleIdentifier", $this->_propDict)) {
38
+ return $this->_propDict["appleIdentifier"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the appleIdentifier
46
+ * Apple Id of the account used to create the MDM push certificate.
47
+ *
48
+ * @param string $val The appleIdentifier
49
+ *
50
+ * @return ApplePushNotificationCertificate
51
+ */
52
+ public function setAppleIdentifier($val)
53
+ {
54
+ $this->_propDict["appleIdentifier"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the topicIdentifier
60
+ * Topic Id.
61
+ *
62
+ * @return string The topicIdentifier
63
+ */
64
+ public function getTopicIdentifier()
65
+ {
66
+ if (array_key_exists("topicIdentifier", $this->_propDict)) {
67
+ return $this->_propDict["topicIdentifier"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the topicIdentifier
75
+ * Topic Id.
76
+ *
77
+ * @param string $val The topicIdentifier
78
+ *
79
+ * @return ApplePushNotificationCertificate
80
+ */
81
+ public function setTopicIdentifier($val)
82
+ {
83
+ $this->_propDict["topicIdentifier"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the lastModifiedDateTime
89
+ * Last modified date and time for Apple push notification certificate.
90
+ *
91
+ * @return \DateTime The lastModifiedDateTime
92
+ */
93
+ public function getLastModifiedDateTime()
94
+ {
95
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
96
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
97
+ return $this->_propDict["lastModifiedDateTime"];
98
+ } else {
99
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
100
+ return $this->_propDict["lastModifiedDateTime"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the lastModifiedDateTime
108
+ * Last modified date and time for Apple push notification certificate.
109
+ *
110
+ * @param \DateTime $val The lastModifiedDateTime
111
+ *
112
+ * @return ApplePushNotificationCertificate
113
+ */
114
+ public function setLastModifiedDateTime($val)
115
+ {
116
+ $this->_propDict["lastModifiedDateTime"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the expirationDateTime
122
+ * The expiration date and time for Apple push notification certificate.
123
+ *
124
+ * @return \DateTime The expirationDateTime
125
+ */
126
+ public function getExpirationDateTime()
127
+ {
128
+ if (array_key_exists("expirationDateTime", $this->_propDict)) {
129
+ if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) {
130
+ return $this->_propDict["expirationDateTime"];
131
+ } else {
132
+ $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]);
133
+ return $this->_propDict["expirationDateTime"];
134
+ }
135
+ }
136
+ return null;
137
+ }
138
+
139
+ /**
140
+ * Sets the expirationDateTime
141
+ * The expiration date and time for Apple push notification certificate.
142
+ *
143
+ * @param \DateTime $val The expirationDateTime
144
+ *
145
+ * @return ApplePushNotificationCertificate
146
+ */
147
+ public function setExpirationDateTime($val)
148
+ {
149
+ $this->_propDict["expirationDateTime"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the certificate
155
+ * Not yet documented
156
+ *
157
+ * @return string The certificate
158
+ */
159
+ public function getCertificate()
160
+ {
161
+ if (array_key_exists("certificate", $this->_propDict)) {
162
+ return $this->_propDict["certificate"];
163
+ } else {
164
+ return null;
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Sets the certificate
170
+ * Not yet documented
171
+ *
172
+ * @param string $val The certificate
173
+ *
174
+ * @return ApplePushNotificationCertificate
175
+ */
176
+ public function setCertificate($val)
177
+ {
178
+ $this->_propDict["certificate"] = $val;
179
+ return $this;
180
+ }
181
+
182
+ }
vendor/microsoft/microsoft-graph/src/Model/ApplicationGuardBlockClipboardSharingType.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ApplicationGuardBlockClipboardSharingType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ApplicationGuardBlockClipboardSharingType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ApplicationGuardBlockClipboardSharingType extends Enum
30
+ {
31
+ /**
32
+ * The Enum ApplicationGuardBlockClipboardSharingType
33
+ */
34
+ const NOT_CONFIGURED = "notConfigured";
35
+ const BLOCK_BOTH = "blockBoth";
36
+ const BLOCK_HOST_TO_CONTAINER = "blockHostToContainer";
37
+ const BLOCK_CONTAINER_TO_HOST = "blockContainerToHost";
38
+ const BLOCK_NONE = "blockNone";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/ApplicationGuardBlockFileTransferType.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ApplicationGuardBlockFileTransferType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ApplicationGuardBlockFileTransferType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ApplicationGuardBlockFileTransferType extends Enum
30
+ {
31
+ /**
32
+ * The Enum ApplicationGuardBlockFileTransferType
33
+ */
34
+ const NOT_CONFIGURED = "notConfigured";
35
+ const BLOCK_IMAGE_AND_TEXT_FILE = "blockImageAndTextFile";
36
+ const BLOCK_IMAGE_FILE = "blockImageFile";
37
+ const BLOCK_NONE = "blockNone";
38
+ const BLOCK_TEXT_FILE = "blockTextFile";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/ApplicationType.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ApplicationType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ApplicationType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ApplicationType extends Enum
30
+ {
31
+ /**
32
+ * The Enum ApplicationType
33
+ */
34
+ const UNIVERSAL = "universal";
35
+ const DESKTOP = "desktop";
36
+ }
vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicy.php ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppliedConditionalAccessPolicy File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AppliedConditionalAccessPolicy class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AppliedConditionalAccessPolicy extends Entity
27
+ {
28
+ /**
29
+ * Gets the id
30
+ * Unique GUID of the conditional access polic.y
31
+ *
32
+ * @return string The id
33
+ */
34
+ public function getId()
35
+ {
36
+ if (array_key_exists("id", $this->_propDict)) {
37
+ return $this->_propDict["id"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the id
45
+ * Unique GUID of the conditional access polic.y
46
+ *
47
+ * @param string $val The value of the id
48
+ *
49
+ * @return AppliedConditionalAccessPolicy
50
+ */
51
+ public function setId($val)
52
+ {
53
+ $this->_propDict["id"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the displayName
58
+ * Refers to the Name of the conditional access policy (example: 'Require MFA for Salesforce').
59
+ *
60
+ * @return string The displayName
61
+ */
62
+ public function getDisplayName()
63
+ {
64
+ if (array_key_exists("displayName", $this->_propDict)) {
65
+ return $this->_propDict["displayName"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the displayName
73
+ * Refers to the Name of the conditional access policy (example: 'Require MFA for Salesforce').
74
+ *
75
+ * @param string $val The value of the displayName
76
+ *
77
+ * @return AppliedConditionalAccessPolicy
78
+ */
79
+ public function setDisplayName($val)
80
+ {
81
+ $this->_propDict["displayName"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the enforcedGrantControls
86
+ * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication').
87
+ *
88
+ * @return string The enforcedGrantControls
89
+ */
90
+ public function getEnforcedGrantControls()
91
+ {
92
+ if (array_key_exists("enforcedGrantControls", $this->_propDict)) {
93
+ return $this->_propDict["enforcedGrantControls"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the enforcedGrantControls
101
+ * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication').
102
+ *
103
+ * @param string $val The value of the enforcedGrantControls
104
+ *
105
+ * @return AppliedConditionalAccessPolicy
106
+ */
107
+ public function setEnforcedGrantControls($val)
108
+ {
109
+ $this->_propDict["enforcedGrantControls"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the enforcedSessionControls
114
+ * Refers to the session controls enforced by the conditional access policy (example: 'Require app enforced controls').
115
+ *
116
+ * @return string The enforcedSessionControls
117
+ */
118
+ public function getEnforcedSessionControls()
119
+ {
120
+ if (array_key_exists("enforcedSessionControls", $this->_propDict)) {
121
+ return $this->_propDict["enforcedSessionControls"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the enforcedSessionControls
129
+ * Refers to the session controls enforced by the conditional access policy (example: 'Require app enforced controls').
130
+ *
131
+ * @param string $val The value of the enforcedSessionControls
132
+ *
133
+ * @return AppliedConditionalAccessPolicy
134
+ */
135
+ public function setEnforcedSessionControls($val)
136
+ {
137
+ $this->_propDict["enforcedSessionControls"] = $val;
138
+ return $this;
139
+ }
140
+
141
+ /**
142
+ * Gets the result
143
+ * Indicates the result of the CA policy that was triggered. Possible values are:successfailurenotApplied - Policy isn't applied because policy conditions were not met.notEnabled - This is due to the policy in disabled state.
144
+ *
145
+ * @return AppliedConditionalAccessPolicyResult The result
146
+ */
147
+ public function getResult()
148
+ {
149
+ if (array_key_exists("result", $this->_propDict)) {
150
+ if (is_a($this->_propDict["result"], "Microsoft\Graph\Model\AppliedConditionalAccessPolicyResult")) {
151
+ return $this->_propDict["result"];
152
+ } else {
153
+ $this->_propDict["result"] = new AppliedConditionalAccessPolicyResult($this->_propDict["result"]);
154
+ return $this->_propDict["result"];
155
+ }
156
+ }
157
+ return null;
158
+ }
159
+
160
+ /**
161
+ * Sets the result
162
+ * Indicates the result of the CA policy that was triggered. Possible values are:successfailurenotApplied - Policy isn't applied because policy conditions were not met.notEnabled - This is due to the policy in disabled state.
163
+ *
164
+ * @param AppliedConditionalAccessPolicyResult $val The value to assign to the result
165
+ *
166
+ * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy
167
+ */
168
+ public function setResult($val)
169
+ {
170
+ $this->_propDict["result"] = $val;
171
+ return $this;
172
+ }
173
+ }
vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicyResult.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AppliedConditionalAccessPolicyResult File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AppliedConditionalAccessPolicyResult class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AppliedConditionalAccessPolicyResult extends Enum
30
+ {
31
+ /**
32
+ * The Enum AppliedConditionalAccessPolicyResult
33
+ */
34
+ const SUCCESS = "success";
35
+ const FAILURE = "failure";
36
+ const NOT_APPLIED = "notApplied";
37
+ const NOT_ENABLED = "notEnabled";
38
+ const UNKNOWN = "unknown";
39
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
40
+ }
vendor/microsoft/microsoft-graph/src/Model/AssignedLicense.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AssignedLicense File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AssignedLicense class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AssignedLicense extends Entity
27
+ {
28
+ /**
29
+ * Gets the disabledPlans
30
+ * A collection of the unique identifiers for plans that have been disabled.
31
+ *
32
+ * @return string The disabledPlans
33
+ */
34
+ public function getDisabledPlans()
35
+ {
36
+ if (array_key_exists("disabledPlans", $this->_propDict)) {
37
+ return $this->_propDict["disabledPlans"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the disabledPlans
45
+ * A collection of the unique identifiers for plans that have been disabled.
46
+ *
47
+ * @param string $val The value of the disabledPlans
48
+ *
49
+ * @return AssignedLicense
50
+ */
51
+ public function setDisabledPlans($val)
52
+ {
53
+ $this->_propDict["disabledPlans"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the skuId
58
+ * The unique identifier for the SKU.
59
+ *
60
+ * @return string The skuId
61
+ */
62
+ public function getSkuId()
63
+ {
64
+ if (array_key_exists("skuId", $this->_propDict)) {
65
+ return $this->_propDict["skuId"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the skuId
73
+ * The unique identifier for the SKU.
74
+ *
75
+ * @param string $val The value of the skuId
76
+ *
77
+ * @return AssignedLicense
78
+ */
79
+ public function setSkuId($val)
80
+ {
81
+ $this->_propDict["skuId"] = $val;
82
+ return $this;
83
+ }
84
+ }
vendor/microsoft/microsoft-graph/src/Model/AssignedPlan.php ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AssignedPlan File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AssignedPlan class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AssignedPlan extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the assignedDateTime
31
+ * The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
32
+ *
33
+ * @return \DateTime The assignedDateTime
34
+ */
35
+ public function getAssignedDateTime()
36
+ {
37
+ if (array_key_exists("assignedDateTime", $this->_propDict)) {
38
+ if (is_a($this->_propDict["assignedDateTime"], "Microsoft\Graph\Model\\DateTime")) {
39
+ return $this->_propDict["assignedDateTime"];
40
+ } else {
41
+ $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]);
42
+ return $this->_propDict["assignedDateTime"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the assignedDateTime
50
+ * The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
51
+ *
52
+ * @param \DateTime $val The value to assign to the assignedDateTime
53
+ *
54
+ * @return AssignedPlan The AssignedPlan
55
+ */
56
+ public function setAssignedDateTime($val)
57
+ {
58
+ $this->_propDict["assignedDateTime"] = $val;
59
+ return $this;
60
+ }
61
+ /**
62
+ * Gets the capabilityStatus
63
+ * For example, 'Enabled'.
64
+ *
65
+ * @return string The capabilityStatus
66
+ */
67
+ public function getCapabilityStatus()
68
+ {
69
+ if (array_key_exists("capabilityStatus", $this->_propDict)) {
70
+ return $this->_propDict["capabilityStatus"];
71
+ } else {
72
+ return null;
73
+ }
74
+ }
75
+
76
+ /**
77
+ * Sets the capabilityStatus
78
+ * For example, 'Enabled'.
79
+ *
80
+ * @param string $val The value of the capabilityStatus
81
+ *
82
+ * @return AssignedPlan
83
+ */
84
+ public function setCapabilityStatus($val)
85
+ {
86
+ $this->_propDict["capabilityStatus"] = $val;
87
+ return $this;
88
+ }
89
+ /**
90
+ * Gets the service
91
+ * The name of the service; for example, 'Exchange'.
92
+ *
93
+ * @return string The service
94
+ */
95
+ public function getService()
96
+ {
97
+ if (array_key_exists("service", $this->_propDict)) {
98
+ return $this->_propDict["service"];
99
+ } else {
100
+ return null;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Sets the service
106
+ * The name of the service; for example, 'Exchange'.
107
+ *
108
+ * @param string $val The value of the service
109
+ *
110
+ * @return AssignedPlan
111
+ */
112
+ public function setService($val)
113
+ {
114
+ $this->_propDict["service"] = $val;
115
+ return $this;
116
+ }
117
+ /**
118
+ * Gets the servicePlanId
119
+ * A GUID that identifies the service plan.
120
+ *
121
+ * @return string The servicePlanId
122
+ */
123
+ public function getServicePlanId()
124
+ {
125
+ if (array_key_exists("servicePlanId", $this->_propDict)) {
126
+ return $this->_propDict["servicePlanId"];
127
+ } else {
128
+ return null;
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Sets the servicePlanId
134
+ * A GUID that identifies the service plan.
135
+ *
136
+ * @param string $val The value of the servicePlanId
137
+ *
138
+ * @return AssignedPlan
139
+ */
140
+ public function setServicePlanId($val)
141
+ {
142
+ $this->_propDict["servicePlanId"] = $val;
143
+ return $this;
144
+ }
145
+ }
vendor/microsoft/microsoft-graph/src/Model/Attachment.php ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Attachment File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Attachment class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Attachment extends Entity
28
+ {
29
+ /**
30
+ * Gets the lastModifiedDateTime
31
+ * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
32
+ *
33
+ * @return \DateTime The lastModifiedDateTime
34
+ */
35
+ public function getLastModifiedDateTime()
36
+ {
37
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
38
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
39
+ return $this->_propDict["lastModifiedDateTime"];
40
+ } else {
41
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
42
+ return $this->_propDict["lastModifiedDateTime"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the lastModifiedDateTime
50
+ * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
51
+ *
52
+ * @param \DateTime $val The lastModifiedDateTime
53
+ *
54
+ * @return Attachment
55
+ */
56
+ public function setLastModifiedDateTime($val)
57
+ {
58
+ $this->_propDict["lastModifiedDateTime"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the name
64
+ * The attachment's file name.
65
+ *
66
+ * @return string The name
67
+ */
68
+ public function getName()
69
+ {
70
+ if (array_key_exists("name", $this->_propDict)) {
71
+ return $this->_propDict["name"];
72
+ } else {
73
+ return null;
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Sets the name
79
+ * The attachment's file name.
80
+ *
81
+ * @param string $val The name
82
+ *
83
+ * @return Attachment
84
+ */
85
+ public function setName($val)
86
+ {
87
+ $this->_propDict["name"] = $val;
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the contentType
93
+ * The MIME type.
94
+ *
95
+ * @return string The contentType
96
+ */
97
+ public function getContentType()
98
+ {
99
+ if (array_key_exists("contentType", $this->_propDict)) {
100
+ return $this->_propDict["contentType"];
101
+ } else {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Sets the contentType
108
+ * The MIME type.
109
+ *
110
+ * @param string $val The contentType
111
+ *
112
+ * @return Attachment
113
+ */
114
+ public function setContentType($val)
115
+ {
116
+ $this->_propDict["contentType"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the size
122
+ * The length of the attachment in bytes.
123
+ *
124
+ * @return int The size
125
+ */
126
+ public function getSize()
127
+ {
128
+ if (array_key_exists("size", $this->_propDict)) {
129
+ return $this->_propDict["size"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the size
137
+ * The length of the attachment in bytes.
138
+ *
139
+ * @param int $val The size
140
+ *
141
+ * @return Attachment
142
+ */
143
+ public function setSize($val)
144
+ {
145
+ $this->_propDict["size"] = intval($val);
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the isInline
151
+ * true if the attachment is an inline attachment; otherwise, false.
152
+ *
153
+ * @return bool The isInline
154
+ */
155
+ public function getIsInline()
156
+ {
157
+ if (array_key_exists("isInline", $this->_propDict)) {
158
+ return $this->_propDict["isInline"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the isInline
166
+ * true if the attachment is an inline attachment; otherwise, false.
167
+ *
168
+ * @param bool $val The isInline
169
+ *
170
+ * @return Attachment
171
+ */
172
+ public function setIsInline($val)
173
+ {
174
+ $this->_propDict["isInline"] = boolval($val);
175
+ return $this;
176
+ }
177
+
178
+ }
vendor/microsoft/microsoft-graph/src/Model/Attendee.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Attendee File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * Attendee class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class Attendee extends AttendeeBase
27
+ {
28
+
29
+ /**
30
+ * Gets the status
31
+ * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent.
32
+ *
33
+ * @return ResponseStatus The status
34
+ */
35
+ public function getStatus()
36
+ {
37
+ if (array_key_exists("status", $this->_propDict)) {
38
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\ResponseStatus")) {
39
+ return $this->_propDict["status"];
40
+ } else {
41
+ $this->_propDict["status"] = new ResponseStatus($this->_propDict["status"]);
42
+ return $this->_propDict["status"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the status
50
+ * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent.
51
+ *
52
+ * @param ResponseStatus $val The value to assign to the status
53
+ *
54
+ * @return Attendee The Attendee
55
+ */
56
+ public function setStatus($val)
57
+ {
58
+ $this->_propDict["status"] = $val;
59
+ return $this;
60
+ }
61
+ }
vendor/microsoft/microsoft-graph/src/Model/AttendeeAvailability.php ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AttendeeAvailability File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AttendeeAvailability class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AttendeeAvailability extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the attendee
31
+ * The email address and type of attendee - whether it's a person or a resource, and whether required or optional if it's a person.
32
+ *
33
+ * @return AttendeeBase The attendee
34
+ */
35
+ public function getAttendee()
36
+ {
37
+ if (array_key_exists("attendee", $this->_propDict)) {
38
+ if (is_a($this->_propDict["attendee"], "Microsoft\Graph\Model\AttendeeBase")) {
39
+ return $this->_propDict["attendee"];
40
+ } else {
41
+ $this->_propDict["attendee"] = new AttendeeBase($this->_propDict["attendee"]);
42
+ return $this->_propDict["attendee"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the attendee
50
+ * The email address and type of attendee - whether it's a person or a resource, and whether required or optional if it's a person.
51
+ *
52
+ * @param AttendeeBase $val The value to assign to the attendee
53
+ *
54
+ * @return AttendeeAvailability The AttendeeAvailability
55
+ */
56
+ public function setAttendee($val)
57
+ {
58
+ $this->_propDict["attendee"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the availability
64
+ * The availability status of the attendee. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown.
65
+ *
66
+ * @return FreeBusyStatus The availability
67
+ */
68
+ public function getAvailability()
69
+ {
70
+ if (array_key_exists("availability", $this->_propDict)) {
71
+ if (is_a($this->_propDict["availability"], "Microsoft\Graph\Model\FreeBusyStatus")) {
72
+ return $this->_propDict["availability"];
73
+ } else {
74
+ $this->_propDict["availability"] = new FreeBusyStatus($this->_propDict["availability"]);
75
+ return $this->_propDict["availability"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the availability
83
+ * The availability status of the attendee. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown.
84
+ *
85
+ * @param FreeBusyStatus $val The value to assign to the availability
86
+ *
87
+ * @return AttendeeAvailability The AttendeeAvailability
88
+ */
89
+ public function setAvailability($val)
90
+ {
91
+ $this->_propDict["availability"] = $val;
92
+ return $this;
93
+ }
94
+ }
vendor/microsoft/microsoft-graph/src/Model/AttendeeBase.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AttendeeBase File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AttendeeBase class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AttendeeBase extends Recipient
27
+ {
28
+
29
+ /**
30
+ * Gets the type
31
+ * The type of attendee. The possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type.
32
+ *
33
+ * @return AttendeeType The type
34
+ */
35
+ public function getType()
36
+ {
37
+ if (array_key_exists("type", $this->_propDict)) {
38
+ if (is_a($this->_propDict["type"], "Microsoft\Graph\Model\AttendeeType")) {
39
+ return $this->_propDict["type"];
40
+ } else {
41
+ $this->_propDict["type"] = new AttendeeType($this->_propDict["type"]);
42
+ return $this->_propDict["type"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the type
50
+ * The type of attendee. The possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type.
51
+ *
52
+ * @param AttendeeType $val The value to assign to the type
53
+ *
54
+ * @return AttendeeBase The AttendeeBase
55
+ */
56
+ public function setType($val)
57
+ {
58
+ $this->_propDict["type"] = $val;
59
+ return $this;
60
+ }
61
+ }
vendor/microsoft/microsoft-graph/src/Model/AttendeeType.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AttendeeType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AttendeeType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AttendeeType extends Enum
30
+ {
31
+ /**
32
+ * The Enum AttendeeType
33
+ */
34
+ const REQUIRED = "required";
35
+ const OPTIONAL = "optional";
36
+ const RESOURCE = "resource";
37
+ }
vendor/microsoft/microsoft-graph/src/Model/Audio.php ADDED
@@ -0,0 +1,476 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Audio File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * Audio class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class Audio extends Entity
27
+ {
28
+ /**
29
+ * Gets the album
30
+ * The title of the album for this audio file.
31
+ *
32
+ * @return string The album
33
+ */
34
+ public function getAlbum()
35
+ {
36
+ if (array_key_exists("album", $this->_propDict)) {
37
+ return $this->_propDict["album"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the album
45
+ * The title of the album for this audio file.
46
+ *
47
+ * @param string $val The value of the album
48
+ *
49
+ * @return Audio
50
+ */
51
+ public function setAlbum($val)
52
+ {
53
+ $this->_propDict["album"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the albumArtist
58
+ * The artist named on the album for the audio file.
59
+ *
60
+ * @return string The albumArtist
61
+ */
62
+ public function getAlbumArtist()
63
+ {
64
+ if (array_key_exists("albumArtist", $this->_propDict)) {
65
+ return $this->_propDict["albumArtist"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the albumArtist
73
+ * The artist named on the album for the audio file.
74
+ *
75
+ * @param string $val The value of the albumArtist
76
+ *
77
+ * @return Audio
78
+ */
79
+ public function setAlbumArtist($val)
80
+ {
81
+ $this->_propDict["albumArtist"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the artist
86
+ * The performing artist for the audio file.
87
+ *
88
+ * @return string The artist
89
+ */
90
+ public function getArtist()
91
+ {
92
+ if (array_key_exists("artist", $this->_propDict)) {
93
+ return $this->_propDict["artist"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the artist
101
+ * The performing artist for the audio file.
102
+ *
103
+ * @param string $val The value of the artist
104
+ *
105
+ * @return Audio
106
+ */
107
+ public function setArtist($val)
108
+ {
109
+ $this->_propDict["artist"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the bitrate
114
+ * Bitrate expressed in kbps.
115
+ *
116
+ * @return int The bitrate
117
+ */
118
+ public function getBitrate()
119
+ {
120
+ if (array_key_exists("bitrate", $this->_propDict)) {
121
+ return $this->_propDict["bitrate"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the bitrate
129
+ * Bitrate expressed in kbps.
130
+ *
131
+ * @param int $val The value of the bitrate
132
+ *
133
+ * @return Audio
134
+ */
135
+ public function setBitrate($val)
136
+ {
137
+ $this->_propDict["bitrate"] = $val;
138
+ return $this;
139
+ }
140
+ /**
141
+ * Gets the composers
142
+ * The name of the composer of the audio file.
143
+ *
144
+ * @return string The composers
145
+ */
146
+ public function getComposers()
147
+ {
148
+ if (array_key_exists("composers", $this->_propDict)) {
149
+ return $this->_propDict["composers"];
150
+ } else {
151
+ return null;
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Sets the composers
157
+ * The name of the composer of the audio file.
158
+ *
159
+ * @param string $val The value of the composers
160
+ *
161
+ * @return Audio
162
+ */
163
+ public function setComposers($val)
164
+ {
165
+ $this->_propDict["composers"] = $val;
166
+ return $this;
167
+ }
168
+ /**
169
+ * Gets the copyright
170
+ * Copyright information for the audio file.
171
+ *
172
+ * @return string The copyright
173
+ */
174
+ public function getCopyright()
175
+ {
176
+ if (array_key_exists("copyright", $this->_propDict)) {
177
+ return $this->_propDict["copyright"];
178
+ } else {
179
+ return null;
180
+ }
181
+ }
182
+
183
+ /**
184
+ * Sets the copyright
185
+ * Copyright information for the audio file.
186
+ *
187
+ * @param string $val The value of the copyright
188
+ *
189
+ * @return Audio
190
+ */
191
+ public function setCopyright($val)
192
+ {
193
+ $this->_propDict["copyright"] = $val;
194
+ return $this;
195
+ }
196
+ /**
197
+ * Gets the disc
198
+ * The number of the disc this audio file came from.
199
+ *
200
+ * @return int The disc
201
+ */
202
+ public function getDisc()
203
+ {
204
+ if (array_key_exists("disc", $this->_propDict)) {
205
+ return $this->_propDict["disc"];
206
+ } else {
207
+ return null;
208
+ }
209
+ }
210
+
211
+ /**
212
+ * Sets the disc
213
+ * The number of the disc this audio file came from.
214
+ *
215
+ * @param int $val The value of the disc
216
+ *
217
+ * @return Audio
218
+ */
219
+ public function setDisc($val)
220
+ {
221
+ $this->_propDict["disc"] = $val;
222
+ return $this;
223
+ }
224
+ /**
225
+ * Gets the discCount
226
+ * The total number of discs in this album.
227
+ *
228
+ * @return int The discCount
229
+ */
230
+ public function getDiscCount()
231
+ {
232
+ if (array_key_exists("discCount", $this->_propDict)) {
233
+ return $this->_propDict["discCount"];
234
+ } else {
235
+ return null;
236
+ }
237
+ }
238
+
239
+ /**
240
+ * Sets the discCount
241
+ * The total number of discs in this album.
242
+ *
243
+ * @param int $val The value of the discCount
244
+ *
245
+ * @return Audio
246
+ */
247
+ public function setDiscCount($val)
248
+ {
249
+ $this->_propDict["discCount"] = $val;
250
+ return $this;
251
+ }
252
+ /**
253
+ * Gets the duration
254
+ * Duration of the audio file, expressed in milliseconds
255
+ *
256
+ * @return int The duration
257
+ */
258
+ public function getDuration()
259
+ {
260
+ if (array_key_exists("duration", $this->_propDict)) {
261
+ return $this->_propDict["duration"];
262
+ } else {
263
+ return null;
264
+ }
265
+ }
266
+
267
+ /**
268
+ * Sets the duration
269
+ * Duration of the audio file, expressed in milliseconds
270
+ *
271
+ * @param int $val The value of the duration
272
+ *
273
+ * @return Audio
274
+ */
275
+ public function setDuration($val)
276
+ {
277
+ $this->_propDict["duration"] = $val;
278
+ return $this;
279
+ }
280
+ /**
281
+ * Gets the genre
282
+ * The genre of this audio file.
283
+ *
284
+ * @return string The genre
285
+ */
286
+ public function getGenre()
287
+ {
288
+ if (array_key_exists("genre", $this->_propDict)) {
289
+ return $this->_propDict["genre"];
290
+ } else {
291
+ return null;
292
+ }
293
+ }
294
+
295
+ /**
296
+ * Sets the genre
297
+ * The genre of this audio file.
298
+ *
299
+ * @param string $val The value of the genre
300
+ *
301
+ * @return Audio
302
+ */
303
+ public function setGenre($val)
304
+ {
305
+ $this->_propDict["genre"] = $val;
306
+ return $this;
307
+ }
308
+ /**
309
+ * Gets the hasDrm
310
+ * Indicates if the file is protected with digital rights management.
311
+ *
312
+ * @return bool The hasDrm
313
+ */
314
+ public function getHasDrm()
315
+ {
316
+ if (array_key_exists("hasDrm", $this->_propDict)) {
317
+ return $this->_propDict["hasDrm"];
318
+ } else {
319
+ return null;
320
+ }
321
+ }
322
+
323
+ /**
324
+ * Sets the hasDrm
325
+ * Indicates if the file is protected with digital rights management.
326
+ *
327
+ * @param bool $val The value of the hasDrm
328
+ *
329
+ * @return Audio
330
+ */
331
+ public function setHasDrm($val)
332
+ {
333
+ $this->_propDict["hasDrm"] = $val;
334
+ return $this;
335
+ }
336
+ /**
337
+ * Gets the isVariableBitrate
338
+ * Indicates if the file is encoded with a variable bitrate.
339
+ *
340
+ * @return bool The isVariableBitrate
341
+ */
342
+ public function getIsVariableBitrate()
343
+ {
344
+ if (array_key_exists("isVariableBitrate", $this->_propDict)) {
345
+ return $this->_propDict["isVariableBitrate"];
346
+ } else {
347
+ return null;
348
+ }
349
+ }
350
+
351
+ /**
352
+ * Sets the isVariableBitrate
353
+ * Indicates if the file is encoded with a variable bitrate.
354
+ *
355
+ * @param bool $val The value of the isVariableBitrate
356
+ *
357
+ * @return Audio
358
+ */
359
+ public function setIsVariableBitrate($val)
360
+ {
361
+ $this->_propDict["isVariableBitrate"] = $val;
362
+ return $this;
363
+ }
364
+ /**
365
+ * Gets the title
366
+ * The title of the audio file.
367
+ *
368
+ * @return string The title
369
+ */
370
+ public function getTitle()
371
+ {
372
+ if (array_key_exists("title", $this->_propDict)) {
373
+ return $this->_propDict["title"];
374
+ } else {
375
+ return null;
376
+ }
377
+ }
378
+
379
+ /**
380
+ * Sets the title
381
+ * The title of the audio file.
382
+ *
383
+ * @param string $val The value of the title
384
+ *
385
+ * @return Audio
386
+ */
387
+ public function setTitle($val)
388
+ {
389
+ $this->_propDict["title"] = $val;
390
+ return $this;
391
+ }
392
+ /**
393
+ * Gets the track
394
+ * The number of the track on the original disc for this audio file.
395
+ *
396
+ * @return int The track
397
+ */
398
+ public function getTrack()
399
+ {
400
+ if (array_key_exists("track", $this->_propDict)) {
401
+ return $this->_propDict["track"];
402
+ } else {
403
+ return null;
404
+ }
405
+ }
406
+
407
+ /**
408
+ * Sets the track
409
+ * The number of the track on the original disc for this audio file.
410
+ *
411
+ * @param int $val The value of the track
412
+ *
413
+ * @return Audio
414
+ */
415
+ public function setTrack($val)
416
+ {
417
+ $this->_propDict["track"] = $val;
418
+ return $this;
419
+ }
420
+ /**
421
+ * Gets the trackCount
422
+ * The total number of tracks on the original disc for this audio file.
423
+ *
424
+ * @return int The trackCount
425
+ */
426
+ public function getTrackCount()
427
+ {
428
+ if (array_key_exists("trackCount", $this->_propDict)) {
429
+ return $this->_propDict["trackCount"];
430
+ } else {
431
+ return null;
432
+ }
433
+ }
434
+
435
+ /**
436
+ * Sets the trackCount
437
+ * The total number of tracks on the original disc for this audio file.
438
+ *
439
+ * @param int $val The value of the trackCount
440
+ *
441
+ * @return Audio
442
+ */
443
+ public function setTrackCount($val)
444
+ {
445
+ $this->_propDict["trackCount"] = $val;
446
+ return $this;
447
+ }
448
+ /**
449
+ * Gets the year
450
+ * The year the audio file was recorded.
451
+ *
452
+ * @return int The year
453
+ */
454
+ public function getYear()
455
+ {
456
+ if (array_key_exists("year", $this->_propDict)) {
457
+ return $this->_propDict["year"];
458
+ } else {
459
+ return null;
460
+ }
461
+ }
462
+
463
+ /**
464
+ * Sets the year
465
+ * The year the audio file was recorded.
466
+ *
467
+ * @param int $val The value of the year
468
+ *
469
+ * @return Audio
470
+ */
471
+ public function setYear($val)
472
+ {
473
+ $this->_propDict["year"] = $val;
474
+ return $this;
475
+ }
476
+ }
vendor/microsoft/microsoft-graph/src/Model/AudioConferencing.php ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AudioConferencing File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AudioConferencing class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AudioConferencing extends Entity
27
+ {
28
+ /**
29
+ * Gets the conferenceId
30
+ *
31
+ * @return string The conferenceId
32
+ */
33
+ public function getConferenceId()
34
+ {
35
+ if (array_key_exists("conferenceId", $this->_propDict)) {
36
+ return $this->_propDict["conferenceId"];
37
+ } else {
38
+ return null;
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Sets the conferenceId
44
+ *
45
+ * @param string $val The value of the conferenceId
46
+ *
47
+ * @return AudioConferencing
48
+ */
49
+ public function setConferenceId($val)
50
+ {
51
+ $this->_propDict["conferenceId"] = $val;
52
+ return $this;
53
+ }
54
+ /**
55
+ * Gets the tollNumber
56
+ *
57
+ * @return string The tollNumber
58
+ */
59
+ public function getTollNumber()
60
+ {
61
+ if (array_key_exists("tollNumber", $this->_propDict)) {
62
+ return $this->_propDict["tollNumber"];
63
+ } else {
64
+ return null;
65
+ }
66
+ }
67
+
68
+ /**
69
+ * Sets the tollNumber
70
+ *
71
+ * @param string $val The value of the tollNumber
72
+ *
73
+ * @return AudioConferencing
74
+ */
75
+ public function setTollNumber($val)
76
+ {
77
+ $this->_propDict["tollNumber"] = $val;
78
+ return $this;
79
+ }
80
+ /**
81
+ * Gets the tollFreeNumber
82
+ *
83
+ * @return string The tollFreeNumber
84
+ */
85
+ public function getTollFreeNumber()
86
+ {
87
+ if (array_key_exists("tollFreeNumber", $this->_propDict)) {
88
+ return $this->_propDict["tollFreeNumber"];
89
+ } else {
90
+ return null;
91
+ }
92
+ }
93
+
94
+ /**
95
+ * Sets the tollFreeNumber
96
+ *
97
+ * @param string $val The value of the tollFreeNumber
98
+ *
99
+ * @return AudioConferencing
100
+ */
101
+ public function setTollFreeNumber($val)
102
+ {
103
+ $this->_propDict["tollFreeNumber"] = $val;
104
+ return $this;
105
+ }
106
+ /**
107
+ * Gets the dialinUrl
108
+ *
109
+ * @return string The dialinUrl
110
+ */
111
+ public function getDialinUrl()
112
+ {
113
+ if (array_key_exists("dialinUrl", $this->_propDict)) {
114
+ return $this->_propDict["dialinUrl"];
115
+ } else {
116
+ return null;
117
+ }
118
+ }
119
+
120
+ /**
121
+ * Sets the dialinUrl
122
+ *
123
+ * @param string $val The value of the dialinUrl
124
+ *
125
+ * @return AudioConferencing
126
+ */
127
+ public function setDialinUrl($val)
128
+ {
129
+ $this->_propDict["dialinUrl"] = $val;
130
+ return $this;
131
+ }
132
+ }
vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AuditActivityInitiator File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AuditActivityInitiator class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AuditActivityInitiator extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the user
31
+ * If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName.
32
+ *
33
+ * @return UserIdentity The user
34
+ */
35
+ public function getUser()
36
+ {
37
+ if (array_key_exists("user", $this->_propDict)) {
38
+ if (is_a($this->_propDict["user"], "Microsoft\Graph\Model\UserIdentity")) {
39
+ return $this->_propDict["user"];
40
+ } else {
41
+ $this->_propDict["user"] = new UserIdentity($this->_propDict["user"]);
42
+ return $this->_propDict["user"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the user
50
+ * If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName.
51
+ *
52
+ * @param UserIdentity $val The value to assign to the user
53
+ *
54
+ * @return AuditActivityInitiator The AuditActivityInitiator
55
+ */
56
+ public function setUser($val)
57
+ {
58
+ $this->_propDict["user"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the app
64
+ * If the resource initiating the activity is an app, this property indicates all the app related information like appId, Name, servicePrincipalId, Name.
65
+ *
66
+ * @return AppIdentity The app
67
+ */
68
+ public function getApp()
69
+ {
70
+ if (array_key_exists("app", $this->_propDict)) {
71
+ if (is_a($this->_propDict["app"], "Microsoft\Graph\Model\AppIdentity")) {
72
+ return $this->_propDict["app"];
73
+ } else {
74
+ $this->_propDict["app"] = new AppIdentity($this->_propDict["app"]);
75
+ return $this->_propDict["app"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the app
83
+ * If the resource initiating the activity is an app, this property indicates all the app related information like appId, Name, servicePrincipalId, Name.
84
+ *
85
+ * @param AppIdentity $val The value to assign to the app
86
+ *
87
+ * @return AuditActivityInitiator The AuditActivityInitiator
88
+ */
89
+ public function setApp($val)
90
+ {
91
+ $this->_propDict["app"] = $val;
92
+ return $this;
93
+ }
94
+ }
vendor/microsoft/microsoft-graph/src/Model/AuditLogRoot.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AuditLogRoot File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * AuditLogRoot class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class AuditLogRoot extends Entity
28
+ {
29
+
30
+ /**
31
+ * Gets the signIns
32
+ * Read-only. Nullable.
33
+ *
34
+ * @return array The signIns
35
+ */
36
+ public function getSignIns()
37
+ {
38
+ if (array_key_exists("signIns", $this->_propDict)) {
39
+ return $this->_propDict["signIns"];
40
+ } else {
41
+ return null;
42
+ }
43
+ }
44
+
45
+ /**
46
+ * Sets the signIns
47
+ * Read-only. Nullable.
48
+ *
49
+ * @param SignIn $val The signIns
50
+ *
51
+ * @return AuditLogRoot
52
+ */
53
+ public function setSignIns($val)
54
+ {
55
+ $this->_propDict["signIns"] = $val;
56
+ return $this;
57
+ }
58
+
59
+
60
+ /**
61
+ * Gets the directoryAudits
62
+ * Read-only. Nullable.
63
+ *
64
+ * @return array The directoryAudits
65
+ */
66
+ public function getDirectoryAudits()
67
+ {
68
+ if (array_key_exists("directoryAudits", $this->_propDict)) {
69
+ return $this->_propDict["directoryAudits"];
70
+ } else {
71
+ return null;
72
+ }
73
+ }
74
+
75
+ /**
76
+ * Sets the directoryAudits
77
+ * Read-only. Nullable.
78
+ *
79
+ * @param DirectoryAudit $val The directoryAudits
80
+ *
81
+ * @return AuditLogRoot
82
+ */
83
+ public function setDirectoryAudits($val)
84
+ {
85
+ $this->_propDict["directoryAudits"] = $val;
86
+ return $this;
87
+ }
88
+
89
+
90
+ /**
91
+ * Gets the restrictedSignIns
92
+ *
93
+ * @return array The restrictedSignIns
94
+ */
95
+ public function getRestrictedSignIns()
96
+ {
97
+ if (array_key_exists("restrictedSignIns", $this->_propDict)) {
98
+ return $this->_propDict["restrictedSignIns"];
99
+ } else {
100
+ return null;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Sets the restrictedSignIns
106
+ *
107
+ * @param RestrictedSignIn $val The restrictedSignIns
108
+ *
109
+ * @return AuditLogRoot
110
+ */
111
+ public function setRestrictedSignIns($val)
112
+ {
113
+ $this->_propDict["restrictedSignIns"] = $val;
114
+ return $this;
115
+ }
116
+
117
+ }
vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AutomaticRepliesMailTips File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AutomaticRepliesMailTips class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AutomaticRepliesMailTips extends Entity
27
+ {
28
+ /**
29
+ * Gets the message
30
+ * The automatic reply message.
31
+ *
32
+ * @return string The message
33
+ */
34
+ public function getMessage()
35
+ {
36
+ if (array_key_exists("message", $this->_propDict)) {
37
+ return $this->_propDict["message"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the message
45
+ * The automatic reply message.
46
+ *
47
+ * @param string $val The value of the message
48
+ *
49
+ * @return AutomaticRepliesMailTips
50
+ */
51
+ public function setMessage($val)
52
+ {
53
+ $this->_propDict["message"] = $val;
54
+ return $this;
55
+ }
56
+
57
+ /**
58
+ * Gets the messageLanguage
59
+ * The language that the automatic reply message is in.
60
+ *
61
+ * @return LocaleInfo The messageLanguage
62
+ */
63
+ public function getMessageLanguage()
64
+ {
65
+ if (array_key_exists("messageLanguage", $this->_propDict)) {
66
+ if (is_a($this->_propDict["messageLanguage"], "Microsoft\Graph\Model\LocaleInfo")) {
67
+ return $this->_propDict["messageLanguage"];
68
+ } else {
69
+ $this->_propDict["messageLanguage"] = new LocaleInfo($this->_propDict["messageLanguage"]);
70
+ return $this->_propDict["messageLanguage"];
71
+ }
72
+ }
73
+ return null;
74
+ }
75
+
76
+ /**
77
+ * Sets the messageLanguage
78
+ * The language that the automatic reply message is in.
79
+ *
80
+ * @param LocaleInfo $val The value to assign to the messageLanguage
81
+ *
82
+ * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips
83
+ */
84
+ public function setMessageLanguage($val)
85
+ {
86
+ $this->_propDict["messageLanguage"] = $val;
87
+ return $this;
88
+ }
89
+
90
+ /**
91
+ * Gets the scheduledStartTime
92
+ * The date and time that automatic replies are set to begin.
93
+ *
94
+ * @return DateTimeTimeZone The scheduledStartTime
95
+ */
96
+ public function getScheduledStartTime()
97
+ {
98
+ if (array_key_exists("scheduledStartTime", $this->_propDict)) {
99
+ if (is_a($this->_propDict["scheduledStartTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) {
100
+ return $this->_propDict["scheduledStartTime"];
101
+ } else {
102
+ $this->_propDict["scheduledStartTime"] = new DateTimeTimeZone($this->_propDict["scheduledStartTime"]);
103
+ return $this->_propDict["scheduledStartTime"];
104
+ }
105
+ }
106
+ return null;
107
+ }
108
+
109
+ /**
110
+ * Sets the scheduledStartTime
111
+ * The date and time that automatic replies are set to begin.
112
+ *
113
+ * @param DateTimeTimeZone $val The value to assign to the scheduledStartTime
114
+ *
115
+ * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips
116
+ */
117
+ public function setScheduledStartTime($val)
118
+ {
119
+ $this->_propDict["scheduledStartTime"] = $val;
120
+ return $this;
121
+ }
122
+
123
+ /**
124
+ * Gets the scheduledEndTime
125
+ * The date and time that automatic replies are set to end.
126
+ *
127
+ * @return DateTimeTimeZone The scheduledEndTime
128
+ */
129
+ public function getScheduledEndTime()
130
+ {
131
+ if (array_key_exists("scheduledEndTime", $this->_propDict)) {
132
+ if (is_a($this->_propDict["scheduledEndTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) {
133
+ return $this->_propDict["scheduledEndTime"];
134
+ } else {
135
+ $this->_propDict["scheduledEndTime"] = new DateTimeTimeZone($this->_propDict["scheduledEndTime"]);
136
+ return $this->_propDict["scheduledEndTime"];
137
+ }
138
+ }
139
+ return null;
140
+ }
141
+
142
+ /**
143
+ * Sets the scheduledEndTime
144
+ * The date and time that automatic replies are set to end.
145
+ *
146
+ * @param DateTimeTimeZone $val The value to assign to the scheduledEndTime
147
+ *
148
+ * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips
149
+ */
150
+ public function setScheduledEndTime($val)
151
+ {
152
+ $this->_propDict["scheduledEndTime"] = $val;
153
+ return $this;
154
+ }
155
+ }
vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesSetting.php ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AutomaticRepliesSetting File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AutomaticRepliesSetting class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AutomaticRepliesSetting extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the status
31
+ * Configurations status for automatic replies. The possible values are: disabled, alwaysEnabled, scheduled.
32
+ *
33
+ * @return AutomaticRepliesStatus The status
34
+ */
35
+ public function getStatus()
36
+ {
37
+ if (array_key_exists("status", $this->_propDict)) {
38
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\AutomaticRepliesStatus")) {
39
+ return $this->_propDict["status"];
40
+ } else {
41
+ $this->_propDict["status"] = new AutomaticRepliesStatus($this->_propDict["status"]);
42
+ return $this->_propDict["status"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the status
50
+ * Configurations status for automatic replies. The possible values are: disabled, alwaysEnabled, scheduled.
51
+ *
52
+ * @param AutomaticRepliesStatus $val The value to assign to the status
53
+ *
54
+ * @return AutomaticRepliesSetting The AutomaticRepliesSetting
55
+ */
56
+ public function setStatus($val)
57
+ {
58
+ $this->_propDict["status"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the externalAudience
64
+ * The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. The possible values are: none, contactsOnly, all.
65
+ *
66
+ * @return ExternalAudienceScope The externalAudience
67
+ */
68
+ public function getExternalAudience()
69
+ {
70
+ if (array_key_exists("externalAudience", $this->_propDict)) {
71
+ if (is_a($this->_propDict["externalAudience"], "Microsoft\Graph\Model\ExternalAudienceScope")) {
72
+ return $this->_propDict["externalAudience"];
73
+ } else {
74
+ $this->_propDict["externalAudience"] = new ExternalAudienceScope($this->_propDict["externalAudience"]);
75
+ return $this->_propDict["externalAudience"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the externalAudience
83
+ * The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. The possible values are: none, contactsOnly, all.
84
+ *
85
+ * @param ExternalAudienceScope $val The value to assign to the externalAudience
86
+ *
87
+ * @return AutomaticRepliesSetting The AutomaticRepliesSetting
88
+ */
89
+ public function setExternalAudience($val)
90
+ {
91
+ $this->_propDict["externalAudience"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the scheduledStartDateTime
97
+ * The date and time that automatic replies are set to begin, if Status is set to Scheduled.
98
+ *
99
+ * @return DateTimeTimeZone The scheduledStartDateTime
100
+ */
101
+ public function getScheduledStartDateTime()
102
+ {
103
+ if (array_key_exists("scheduledStartDateTime", $this->_propDict)) {
104
+ if (is_a($this->_propDict["scheduledStartDateTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) {
105
+ return $this->_propDict["scheduledStartDateTime"];
106
+ } else {
107
+ $this->_propDict["scheduledStartDateTime"] = new DateTimeTimeZone($this->_propDict["scheduledStartDateTime"]);
108
+ return $this->_propDict["scheduledStartDateTime"];
109
+ }
110
+ }
111
+ return null;
112
+ }
113
+
114
+ /**
115
+ * Sets the scheduledStartDateTime
116
+ * The date and time that automatic replies are set to begin, if Status is set to Scheduled.
117
+ *
118
+ * @param DateTimeTimeZone $val The value to assign to the scheduledStartDateTime
119
+ *
120
+ * @return AutomaticRepliesSetting The AutomaticRepliesSetting
121
+ */
122
+ public function setScheduledStartDateTime($val)
123
+ {
124
+ $this->_propDict["scheduledStartDateTime"] = $val;
125
+ return $this;
126
+ }
127
+
128
+ /**
129
+ * Gets the scheduledEndDateTime
130
+ * The date and time that automatic replies are set to end, if Status is set to Scheduled.
131
+ *
132
+ * @return DateTimeTimeZone The scheduledEndDateTime
133
+ */
134
+ public function getScheduledEndDateTime()
135
+ {
136
+ if (array_key_exists("scheduledEndDateTime", $this->_propDict)) {
137
+ if (is_a($this->_propDict["scheduledEndDateTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) {
138
+ return $this->_propDict["scheduledEndDateTime"];
139
+ } else {
140
+ $this->_propDict["scheduledEndDateTime"] = new DateTimeTimeZone($this->_propDict["scheduledEndDateTime"]);
141
+ return $this->_propDict["scheduledEndDateTime"];
142
+ }
143
+ }
144
+ return null;
145
+ }
146
+
147
+ /**
148
+ * Sets the scheduledEndDateTime
149
+ * The date and time that automatic replies are set to end, if Status is set to Scheduled.
150
+ *
151
+ * @param DateTimeTimeZone $val The value to assign to the scheduledEndDateTime
152
+ *
153
+ * @return AutomaticRepliesSetting The AutomaticRepliesSetting
154
+ */
155
+ public function setScheduledEndDateTime($val)
156
+ {
157
+ $this->_propDict["scheduledEndDateTime"] = $val;
158
+ return $this;
159
+ }
160
+ /**
161
+ * Gets the internalReplyMessage
162
+ * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.
163
+ *
164
+ * @return string The internalReplyMessage
165
+ */
166
+ public function getInternalReplyMessage()
167
+ {
168
+ if (array_key_exists("internalReplyMessage", $this->_propDict)) {
169
+ return $this->_propDict["internalReplyMessage"];
170
+ } else {
171
+ return null;
172
+ }
173
+ }
174
+
175
+ /**
176
+ * Sets the internalReplyMessage
177
+ * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.
178
+ *
179
+ * @param string $val The value of the internalReplyMessage
180
+ *
181
+ * @return AutomaticRepliesSetting
182
+ */
183
+ public function setInternalReplyMessage($val)
184
+ {
185
+ $this->_propDict["internalReplyMessage"] = $val;
186
+ return $this;
187
+ }
188
+ /**
189
+ * Gets the externalReplyMessage
190
+ * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.
191
+ *
192
+ * @return string The externalReplyMessage
193
+ */
194
+ public function getExternalReplyMessage()
195
+ {
196
+ if (array_key_exists("externalReplyMessage", $this->_propDict)) {
197
+ return $this->_propDict["externalReplyMessage"];
198
+ } else {
199
+ return null;
200
+ }
201
+ }
202
+
203
+ /**
204
+ * Sets the externalReplyMessage
205
+ * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.
206
+ *
207
+ * @param string $val The value of the externalReplyMessage
208
+ *
209
+ * @return AutomaticRepliesSetting
210
+ */
211
+ public function setExternalReplyMessage($val)
212
+ {
213
+ $this->_propDict["externalReplyMessage"] = $val;
214
+ return $this;
215
+ }
216
+ }
vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesStatus.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AutomaticRepliesStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AutomaticRepliesStatus class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AutomaticRepliesStatus extends Enum
30
+ {
31
+ /**
32
+ * The Enum AutomaticRepliesStatus
33
+ */
34
+ const DISABLED = "disabled";
35
+ const ALWAYS_ENABLED = "alwaysEnabled";
36
+ const SCHEDULED = "scheduled";
37
+ }
vendor/microsoft/microsoft-graph/src/Model/AutomaticUpdateMode.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AutomaticUpdateMode File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * AutomaticUpdateMode class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class AutomaticUpdateMode extends Enum
30
+ {
31
+ /**
32
+ * The Enum AutomaticUpdateMode
33
+ */
34
+ const USER_DEFINED = "userDefined";
35
+ const NOTIFY_DOWNLOAD = "notifyDownload";
36
+ const AUTO_INSTALL_AT_MAINTENANCE_TIME = "autoInstallAtMaintenanceTime";
37
+ const AUTO_INSTALL_AND_REBOOT_AT_MAINTENANCE_TIME = "autoInstallAndRebootAtMaintenanceTime";
38
+ const AUTO_INSTALL_AND_REBOOT_AT_SCHEDULED_TIME = "autoInstallAndRebootAtScheduledTime";
39
+ const AUTO_INSTALL_AND_REBOOT_WITHOUT_END_USER_CONTROL = "autoInstallAndRebootWithoutEndUserControl";
40
+ }
vendor/microsoft/microsoft-graph/src/Model/AverageComparativeScore.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * AverageComparativeScore File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * AverageComparativeScore class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class AverageComparativeScore extends Entity
27
+ {
28
+ /**
29
+ * Gets the averageScore
30
+ * Average score within specified basis.
31
+ *
32
+ * @return float The averageScore
33
+ */
34
+ public function getAverageScore()
35
+ {
36
+ if (array_key_exists("averageScore", $this->_propDict)) {
37
+ return $this->_propDict["averageScore"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the averageScore
45
+ * Average score within specified basis.
46
+ *
47
+ * @param float $val The value of the averageScore
48
+ *
49
+ * @return AverageComparativeScore
50
+ */
51
+ public function setAverageScore($val)
52
+ {
53
+ $this->_propDict["averageScore"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the basis
58
+ * Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes.
59
+ *
60
+ * @return string The basis
61
+ */
62
+ public function getBasis()
63
+ {
64
+ if (array_key_exists("basis", $this->_propDict)) {
65
+ return $this->_propDict["basis"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the basis
73
+ * Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes.
74
+ *
75
+ * @param string $val The value of the basis
76
+ *
77
+ * @return AverageComparativeScore
78
+ */
79
+ public function setBasis($val)
80
+ {
81
+ $this->_propDict["basis"] = $val;
82
+ return $this;
83
+ }
84
+ }
vendor/microsoft/microsoft-graph/src/Model/BaseItem.php ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * BaseItem File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * BaseItem class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class BaseItem extends Entity
28
+ {
29
+ /**
30
+ * Gets the createdBy
31
+ * Identity of the user, device, or application which created the item. Read-only.
32
+ *
33
+ * @return IdentitySet The createdBy
34
+ */
35
+ public function getCreatedBy()
36
+ {
37
+ if (array_key_exists("createdBy", $this->_propDict)) {
38
+ if (is_a($this->_propDict["createdBy"], "Microsoft\Graph\Model\IdentitySet")) {
39
+ return $this->_propDict["createdBy"];
40
+ } else {
41
+ $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]);
42
+ return $this->_propDict["createdBy"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the createdBy
50
+ * Identity of the user, device, or application which created the item. Read-only.
51
+ *
52
+ * @param IdentitySet $val The createdBy
53
+ *
54
+ * @return BaseItem
55
+ */
56
+ public function setCreatedBy($val)
57
+ {
58
+ $this->_propDict["createdBy"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the createdDateTime
64
+ * Date and time of item creation. Read-only.
65
+ *
66
+ * @return \DateTime The createdDateTime
67
+ */
68
+ public function getCreatedDateTime()
69
+ {
70
+ if (array_key_exists("createdDateTime", $this->_propDict)) {
71
+ if (is_a($this->_propDict["createdDateTime"], "\DateTime")) {
72
+ return $this->_propDict["createdDateTime"];
73
+ } else {
74
+ $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
75
+ return $this->_propDict["createdDateTime"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the createdDateTime
83
+ * Date and time of item creation. Read-only.
84
+ *
85
+ * @param \DateTime $val The createdDateTime
86
+ *
87
+ * @return BaseItem
88
+ */
89
+ public function setCreatedDateTime($val)
90
+ {
91
+ $this->_propDict["createdDateTime"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the description
97
+ * Provides a user-visible description of the item. Optional.
98
+ *
99
+ * @return string The description
100
+ */
101
+ public function getDescription()
102
+ {
103
+ if (array_key_exists("description", $this->_propDict)) {
104
+ return $this->_propDict["description"];
105
+ } else {
106
+ return null;
107
+ }
108
+ }
109
+
110
+ /**
111
+ * Sets the description
112
+ * Provides a user-visible description of the item. Optional.
113
+ *
114
+ * @param string $val The description
115
+ *
116
+ * @return BaseItem
117
+ */
118
+ public function setDescription($val)
119
+ {
120
+ $this->_propDict["description"] = $val;
121
+ return $this;
122
+ }
123
+
124
+ /**
125
+ * Gets the eTag
126
+ * ETag for the item. Read-only.
127
+ *
128
+ * @return string The eTag
129
+ */
130
+ public function getETag()
131
+ {
132
+ if (array_key_exists("eTag", $this->_propDict)) {
133
+ return $this->_propDict["eTag"];
134
+ } else {
135
+ return null;
136
+ }
137
+ }
138
+
139
+ /**
140
+ * Sets the eTag
141
+ * ETag for the item. Read-only.
142
+ *
143
+ * @param string $val The eTag
144
+ *
145
+ * @return BaseItem
146
+ */
147
+ public function setETag($val)
148
+ {
149
+ $this->_propDict["eTag"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the lastModifiedBy
155
+ * Identity of the user, device, and application which last modified the item. Read-only.
156
+ *
157
+ * @return IdentitySet The lastModifiedBy
158
+ */
159
+ public function getLastModifiedBy()
160
+ {
161
+ if (array_key_exists("lastModifiedBy", $this->_propDict)) {
162
+ if (is_a($this->_propDict["lastModifiedBy"], "Microsoft\Graph\Model\IdentitySet")) {
163
+ return $this->_propDict["lastModifiedBy"];
164
+ } else {
165
+ $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
166
+ return $this->_propDict["lastModifiedBy"];
167
+ }
168
+ }
169
+ return null;
170
+ }
171
+
172
+ /**
173
+ * Sets the lastModifiedBy
174
+ * Identity of the user, device, and application which last modified the item. Read-only.
175
+ *
176
+ * @param IdentitySet $val The lastModifiedBy
177
+ *
178
+ * @return BaseItem
179
+ */
180
+ public function setLastModifiedBy($val)
181
+ {
182
+ $this->_propDict["lastModifiedBy"] = $val;
183
+ return $this;
184
+ }
185
+
186
+ /**
187
+ * Gets the lastModifiedDateTime
188
+ * Date and time the item was last modified. Read-only.
189
+ *
190
+ * @return \DateTime The lastModifiedDateTime
191
+ */
192
+ public function getLastModifiedDateTime()
193
+ {
194
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
195
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
196
+ return $this->_propDict["lastModifiedDateTime"];
197
+ } else {
198
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
199
+ return $this->_propDict["lastModifiedDateTime"];
200
+ }
201
+ }
202
+ return null;
203
+ }
204
+
205
+ /**
206
+ * Sets the lastModifiedDateTime
207
+ * Date and time the item was last modified. Read-only.
208
+ *
209
+ * @param \DateTime $val The lastModifiedDateTime
210
+ *
211
+ * @return BaseItem
212
+ */
213
+ public function setLastModifiedDateTime($val)
214
+ {
215
+ $this->_propDict["lastModifiedDateTime"] = $val;
216
+ return $this;
217
+ }
218
+
219
+ /**
220
+ * Gets the name
221
+ * The name of the item. Read-write.
222
+ *
223
+ * @return string The name
224
+ */
225
+ public function getName()
226
+ {
227
+ if (array_key_exists("name", $this->_propDict)) {
228
+ return $this->_propDict["name"];
229
+ } else {
230
+ return null;
231
+ }
232
+ }
233
+
234
+ /**
235
+ * Sets the name
236
+ * The name of the item. Read-write.
237
+ *
238
+ * @param string $val The name
239
+ *
240
+ * @return BaseItem
241
+ */
242
+ public function setName($val)
243
+ {
244
+ $this->_propDict["name"] = $val;
245
+ return $this;
246
+ }
247
+
248
+ /**
249
+ * Gets the parentReference
250
+ * Parent information, if the item has a parent. Read-write.
251
+ *
252
+ * @return ItemReference The parentReference
253
+ */
254
+ public function getParentReference()
255
+ {
256
+ if (array_key_exists("parentReference", $this->_propDict)) {
257
+ if (is_a($this->_propDict["parentReference"], "Microsoft\Graph\Model\ItemReference")) {
258
+ return $this->_propDict["parentReference"];
259
+ } else {
260
+ $this->_propDict["parentReference"] = new ItemReference($this->_propDict["parentReference"]);
261
+ return $this->_propDict["parentReference"];
262
+ }
263
+ }
264
+ return null;
265
+ }
266
+
267
+ /**
268
+ * Sets the parentReference
269
+ * Parent information, if the item has a parent. Read-write.
270
+ *
271
+ * @param ItemReference $val The parentReference
272
+ *
273
+ * @return BaseItem
274
+ */
275
+ public function setParentReference($val)
276
+ {
277
+ $this->_propDict["parentReference"] = $val;
278
+ return $this;
279
+ }
280
+
281
+ /**
282
+ * Gets the webUrl
283
+ * URL that displays the resource in the browser. Read-only.
284
+ *
285
+ * @return string The webUrl
286
+ */
287
+ public function getWebUrl()
288
+ {
289
+ if (array_key_exists("webUrl", $this->_propDict)) {
290
+ return $this->_propDict["webUrl"];
291
+ } else {
292
+ return null;
293
+ }
294
+ }
295
+
296
+ /**
297
+ * Sets the webUrl
298
+ * URL that displays the resource in the browser. Read-only.
299
+ *
300
+ * @param string $val The webUrl
301
+ *
302
+ * @return BaseItem
303
+ */
304
+ public function setWebUrl($val)
305
+ {
306
+ $this->_propDict["webUrl"] = $val;
307
+ return $this;
308
+ }
309
+
310
+ /**
311
+ * Gets the createdByUser
312
+ * Identity of the user who created the item. Read-only.
313
+ *
314
+ * @return User The createdByUser
315
+ */
316
+ public function getCreatedByUser()
317
+ {
318
+ if (array_key_exists("createdByUser", $this->_propDict)) {
319
+ if (is_a($this->_propDict["createdByUser"], "Microsoft\Graph\Model\User")) {
320
+ return $this->_propDict["createdByUser"];
321
+ } else {
322
+ $this->_propDict["createdByUser"] = new User($this->_propDict["createdByUser"]);
323
+ return $this->_propDict["createdByUser"];
324
+ }
325
+ }
326
+ return null;
327
+ }
328
+
329
+ /**
330
+ * Sets the createdByUser
331
+ * Identity of the user who created the item. Read-only.
332
+ *
333
+ * @param User $val The createdByUser
334
+ *
335
+ * @return BaseItem
336
+ */
337
+ public function setCreatedByUser($val)
338
+ {
339
+ $this->_propDict["createdByUser"] = $val;
340
+ return $this;
341
+ }
342
+
343
+ /**
344
+ * Gets the lastModifiedByUser
345
+ * Identity of the user who last modified the item. Read-only.
346
+ *
347
+ * @return User The lastModifiedByUser
348
+ */
349
+ public function getLastModifiedByUser()
350
+ {
351
+ if (array_key_exists("lastModifiedByUser", $this->_propDict)) {
352
+ if (is_a($this->_propDict["lastModifiedByUser"], "Microsoft\Graph\Model\User")) {
353
+ return $this->_propDict["lastModifiedByUser"];
354
+ } else {
355
+ $this->_propDict["lastModifiedByUser"] = new User($this->_propDict["lastModifiedByUser"]);
356
+ return $this->_propDict["lastModifiedByUser"];
357
+ }
358
+ }
359
+ return null;
360
+ }
361
+
362
+ /**
363
+ * Sets the lastModifiedByUser
364
+ * Identity of the user who last modified the item. Read-only.
365
+ *
366
+ * @param User $val The lastModifiedByUser
367
+ *
368
+ * @return BaseItem
369
+ */
370
+ public function setLastModifiedByUser($val)
371
+ {
372
+ $this->_propDict["lastModifiedByUser"] = $val;
373
+ return $this;
374
+ }
375
+
376
+ }
vendor/microsoft/microsoft-graph/src/Model/BaseItemVersion.php ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * BaseItemVersion File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * BaseItemVersion class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class BaseItemVersion extends Entity
28
+ {
29
+ /**
30
+ * Gets the lastModifiedBy
31
+ * Identity of the user which last modified the version. Read-only.
32
+ *
33
+ * @return IdentitySet The lastModifiedBy
34
+ */
35
+ public function getLastModifiedBy()
36
+ {
37
+ if (array_key_exists("lastModifiedBy", $this->_propDict)) {
38
+ if (is_a($this->_propDict["lastModifiedBy"], "Microsoft\Graph\Model\IdentitySet")) {
39
+ return $this->_propDict["lastModifiedBy"];
40
+ } else {
41
+ $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
42
+ return $this->_propDict["lastModifiedBy"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the lastModifiedBy
50
+ * Identity of the user which last modified the version. Read-only.
51
+ *
52
+ * @param IdentitySet $val The lastModifiedBy
53
+ *
54
+ * @return BaseItemVersion
55
+ */
56
+ public function setLastModifiedBy($val)
57
+ {
58
+ $this->_propDict["lastModifiedBy"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the lastModifiedDateTime
64
+ * Date and time the version was last modified. Read-only.
65
+ *
66
+ * @return \DateTime The lastModifiedDateTime
67
+ */
68
+ public function getLastModifiedDateTime()
69
+ {
70
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
71
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
72
+ return $this->_propDict["lastModifiedDateTime"];
73
+ } else {
74
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
75
+ return $this->_propDict["lastModifiedDateTime"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the lastModifiedDateTime
83
+ * Date and time the version was last modified. Read-only.
84
+ *
85
+ * @param \DateTime $val The lastModifiedDateTime
86
+ *
87
+ * @return BaseItemVersion
88
+ */
89
+ public function setLastModifiedDateTime($val)
90
+ {
91
+ $this->_propDict["lastModifiedDateTime"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the publication
97
+ * Indicates the publication status of this particular version. Read-only.
98
+ *
99
+ * @return PublicationFacet The publication
100
+ */
101
+ public function getPublication()
102
+ {
103
+ if (array_key_exists("publication", $this->_propDict)) {
104
+ if (is_a($this->_propDict["publication"], "Microsoft\Graph\Model\PublicationFacet")) {
105
+ return $this->_propDict["publication"];
106
+ } else {
107
+ $this->_propDict["publication"] = new PublicationFacet($this->_propDict["publication"]);
108
+ return $this->_propDict["publication"];
109
+ }
110
+ }
111
+ return null;
112
+ }
113
+
114
+ /**
115
+ * Sets the publication
116
+ * Indicates the publication status of this particular version. Read-only.
117
+ *
118
+ * @param PublicationFacet $val The publication
119
+ *
120
+ * @return BaseItemVersion
121
+ */
122
+ public function setPublication($val)
123
+ {
124
+ $this->_propDict["publication"] = $val;
125
+ return $this;
126
+ }
127
+
128
+ }
vendor/microsoft/microsoft-graph/src/Model/BitLockerEncryptionMethod.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * BitLockerEncryptionMethod File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * BitLockerEncryptionMethod class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class BitLockerEncryptionMethod extends Enum
30
+ {
31
+ /**
32
+ * The Enum BitLockerEncryptionMethod
33
+ */
34
+ const AES_CBC128 = "aesCbc128";
35
+ const AES_CBC256 = "aesCbc256";
36
+ const XTS_AES128 = "xtsAes128";
37
+ const XTS_AES256 = "xtsAes256";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/BitLockerRemovableDrivePolicy.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * BitLockerRemovableDrivePolicy File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * BitLockerRemovableDrivePolicy class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class BitLockerRemovableDrivePolicy extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the encryptionMethod
31
+ * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256.
32
+ *
33
+ * @return BitLockerEncryptionMethod The encryptionMethod
34
+ */
35
+ public function getEncryptionMethod()
36
+ {
37
+ if (array_key_exists("encryptionMethod", $this->_propDict)) {
38
+ if (is_a($this->_propDict["encryptionMethod"], "Microsoft\Graph\Model\BitLockerEncryptionMethod")) {
39
+ return $this->_propDict["encryptionMethod"];
40
+ } else {
41
+ $this->_propDict["encryptionMethod"] = new BitLockerEncryptionMethod($this->_propDict["encryptionMethod"]);
42
+ return $this->_propDict["encryptionMethod"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the encryptionMethod
50
+ * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256.
51
+ *
52
+ * @param BitLockerEncryptionMethod $val The value to assign to the encryptionMethod
53
+ *
54
+ * @return BitLockerRemovableDrivePolicy The BitLockerRemovableDrivePolicy
55
+ */
56
+ public function setEncryptionMethod($val)
57
+ {
58
+ $this->_propDict["encryptionMethod"] = $val;
59
+ return $this;
60
+ }
61
+ /**
62
+ * Gets the requireEncryptionForWriteAccess
63
+ * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect.
64
+ *
65
+ * @return bool The requireEncryptionForWriteAccess
66
+ */
67
+ public function getRequireEncryptionForWriteAccess()
68
+ {
69
+ if (array_key_exists("requireEncryptionForWriteAccess", $this->_propDict)) {
70
+ return $this->_propDict["requireEncryptionForWriteAccess"];
71
+ } else {
72
+ return null;
73
+ }
74
+ }
75
+
76
+ /**
77
+ * Sets the requireEncryptionForWriteAccess
78
+ * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect.
79
+ *
80
+ * @param bool $val The value of the requireEncryptionForWriteAccess
81
+ *
82
+ * @return BitLockerRemovableDrivePolicy
83
+ */
84
+ public function setRequireEncryptionForWriteAccess($val)
85
+ {
86
+ $this->_propDict["requireEncryptionForWriteAccess"] = $val;
87
+ return $this;
88
+ }
89
+ /**
90
+ * Gets the blockCrossOrganizationWriteAccess
91
+ * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer.
92
+ *
93
+ * @return bool The blockCrossOrganizationWriteAccess
94
+ */
95
+ public function getBlockCrossOrganizationWriteAccess()
96
+ {
97
+ if (array_key_exists("blockCrossOrganizationWriteAccess", $this->_propDict)) {
98
+ return $this->_propDict["blockCrossOrganizationWriteAccess"];
99
+ } else {
100
+ return null;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Sets the blockCrossOrganizationWriteAccess
106
+ * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer.
107
+ *
108
+ * @param bool $val The value of the blockCrossOrganizationWriteAccess
109
+ *
110
+ * @return BitLockerRemovableDrivePolicy
111
+ */
112
+ public function setBlockCrossOrganizationWriteAccess($val)
113
+ {
114
+ $this->_propDict["blockCrossOrganizationWriteAccess"] = $val;
115
+ return $this;
116
+ }
117
+ }
vendor/microsoft/microsoft-graph/src/Model/BodyType.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * BodyType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * BodyType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class BodyType extends Enum
30
+ {
31
+ /**
32
+ * The Enum BodyType
33
+ */
34
+ const TEXT = "text";
35
+ const HTML = "html";
36
+ }
vendor/microsoft/microsoft-graph/src/Model/BooleanColumn.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * BooleanColumn File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * BooleanColumn class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class BooleanColumn extends Entity
27
+ {
28
+ }
vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CalculatedColumn File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CalculatedColumn class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CalculatedColumn extends Entity
27
+ {
28
+ /**
29
+ * Gets the format
30
+ * For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.
31
+ *
32
+ * @return string The format
33
+ */
34
+ public function getFormat()
35
+ {
36
+ if (array_key_exists("format", $this->_propDict)) {
37
+ return $this->_propDict["format"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the format
45
+ * For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.
46
+ *
47
+ * @param string $val The value of the format
48
+ *
49
+ * @return CalculatedColumn
50
+ */
51
+ public function setFormat($val)
52
+ {
53
+ $this->_propDict["format"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the formula
58
+ * The formula used to compute the value for this column.
59
+ *
60
+ * @return string The formula
61
+ */
62
+ public function getFormula()
63
+ {
64
+ if (array_key_exists("formula", $this->_propDict)) {
65
+ return $this->_propDict["formula"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the formula
73
+ * The formula used to compute the value for this column.
74
+ *
75
+ * @param string $val The value of the formula
76
+ *
77
+ * @return CalculatedColumn
78
+ */
79
+ public function setFormula($val)
80
+ {
81
+ $this->_propDict["formula"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the outputType
86
+ * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.
87
+ *
88
+ * @return string The outputType
89
+ */
90
+ public function getOutputType()
91
+ {
92
+ if (array_key_exists("outputType", $this->_propDict)) {
93
+ return $this->_propDict["outputType"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the outputType
101
+ * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.
102
+ *
103
+ * @param string $val The value of the outputType
104
+ *
105
+ * @return CalculatedColumn
106
+ */
107
+ public function setOutputType($val)
108
+ {
109
+ $this->_propDict["outputType"] = $val;
110
+ return $this;
111
+ }
112
+ }
vendor/microsoft/microsoft-graph/src/Model/Calendar.php ADDED
@@ -0,0 +1,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Calendar File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Calendar class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Calendar extends Entity
28
+ {
29
+ /**
30
+ * Gets the name
31
+ * The calendar name.
32
+ *
33
+ * @return string The name
34
+ */
35
+ public function getName()
36
+ {
37
+ if (array_key_exists("name", $this->_propDict)) {
38
+ return $this->_propDict["name"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the name
46
+ * The calendar name.
47
+ *
48
+ * @param string $val The name
49
+ *
50
+ * @return Calendar
51
+ */
52
+ public function setName($val)
53
+ {
54
+ $this->_propDict["name"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the color
60
+ * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: LightBlue=0, LightGreen=1, LightOrange=2, LightGray=3, LightYellow=4, LightTeal=5, LightPink=6, LightBrown=7, LightRed=8, MaxColor=9, Auto=-1
61
+ *
62
+ * @return CalendarColor The color
63
+ */
64
+ public function getColor()
65
+ {
66
+ if (array_key_exists("color", $this->_propDict)) {
67
+ if (is_a($this->_propDict["color"], "Microsoft\Graph\Model\CalendarColor")) {
68
+ return $this->_propDict["color"];
69
+ } else {
70
+ $this->_propDict["color"] = new CalendarColor($this->_propDict["color"]);
71
+ return $this->_propDict["color"];
72
+ }
73
+ }
74
+ return null;
75
+ }
76
+
77
+ /**
78
+ * Sets the color
79
+ * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: LightBlue=0, LightGreen=1, LightOrange=2, LightGray=3, LightYellow=4, LightTeal=5, LightPink=6, LightBrown=7, LightRed=8, MaxColor=9, Auto=-1
80
+ *
81
+ * @param CalendarColor $val The color
82
+ *
83
+ * @return Calendar
84
+ */
85
+ public function setColor($val)
86
+ {
87
+ $this->_propDict["color"] = $val;
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the changeKey
93
+ * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
94
+ *
95
+ * @return string The changeKey
96
+ */
97
+ public function getChangeKey()
98
+ {
99
+ if (array_key_exists("changeKey", $this->_propDict)) {
100
+ return $this->_propDict["changeKey"];
101
+ } else {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Sets the changeKey
108
+ * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
109
+ *
110
+ * @param string $val The changeKey
111
+ *
112
+ * @return Calendar
113
+ */
114
+ public function setChangeKey($val)
115
+ {
116
+ $this->_propDict["changeKey"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the canShare
122
+ * True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
123
+ *
124
+ * @return bool The canShare
125
+ */
126
+ public function getCanShare()
127
+ {
128
+ if (array_key_exists("canShare", $this->_propDict)) {
129
+ return $this->_propDict["canShare"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the canShare
137
+ * True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
138
+ *
139
+ * @param bool $val The canShare
140
+ *
141
+ * @return Calendar
142
+ */
143
+ public function setCanShare($val)
144
+ {
145
+ $this->_propDict["canShare"] = boolval($val);
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the canViewPrivateItems
151
+ * True if the user can read calendar items that have been marked private, false otherwise.
152
+ *
153
+ * @return bool The canViewPrivateItems
154
+ */
155
+ public function getCanViewPrivateItems()
156
+ {
157
+ if (array_key_exists("canViewPrivateItems", $this->_propDict)) {
158
+ return $this->_propDict["canViewPrivateItems"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the canViewPrivateItems
166
+ * True if the user can read calendar items that have been marked private, false otherwise.
167
+ *
168
+ * @param bool $val The canViewPrivateItems
169
+ *
170
+ * @return Calendar
171
+ */
172
+ public function setCanViewPrivateItems($val)
173
+ {
174
+ $this->_propDict["canViewPrivateItems"] = boolval($val);
175
+ return $this;
176
+ }
177
+
178
+ /**
179
+ * Gets the canEdit
180
+ * True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.
181
+ *
182
+ * @return bool The canEdit
183
+ */
184
+ public function getCanEdit()
185
+ {
186
+ if (array_key_exists("canEdit", $this->_propDict)) {
187
+ return $this->_propDict["canEdit"];
188
+ } else {
189
+ return null;
190
+ }
191
+ }
192
+
193
+ /**
194
+ * Sets the canEdit
195
+ * True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.
196
+ *
197
+ * @param bool $val The canEdit
198
+ *
199
+ * @return Calendar
200
+ */
201
+ public function setCanEdit($val)
202
+ {
203
+ $this->_propDict["canEdit"] = boolval($val);
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the owner
209
+ * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user.
210
+ *
211
+ * @return EmailAddress The owner
212
+ */
213
+ public function getOwner()
214
+ {
215
+ if (array_key_exists("owner", $this->_propDict)) {
216
+ if (is_a($this->_propDict["owner"], "Microsoft\Graph\Model\EmailAddress")) {
217
+ return $this->_propDict["owner"];
218
+ } else {
219
+ $this->_propDict["owner"] = new EmailAddress($this->_propDict["owner"]);
220
+ return $this->_propDict["owner"];
221
+ }
222
+ }
223
+ return null;
224
+ }
225
+
226
+ /**
227
+ * Sets the owner
228
+ * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user.
229
+ *
230
+ * @param EmailAddress $val The owner
231
+ *
232
+ * @return Calendar
233
+ */
234
+ public function setOwner($val)
235
+ {
236
+ $this->_propDict["owner"] = $val;
237
+ return $this;
238
+ }
239
+
240
+
241
+ /**
242
+ * Gets the singleValueExtendedProperties
243
+ * The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
244
+ *
245
+ * @return array The singleValueExtendedProperties
246
+ */
247
+ public function getSingleValueExtendedProperties()
248
+ {
249
+ if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) {
250
+ return $this->_propDict["singleValueExtendedProperties"];
251
+ } else {
252
+ return null;
253
+ }
254
+ }
255
+
256
+ /**
257
+ * Sets the singleValueExtendedProperties
258
+ * The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
259
+ *
260
+ * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties
261
+ *
262
+ * @return Calendar
263
+ */
264
+ public function setSingleValueExtendedProperties($val)
265
+ {
266
+ $this->_propDict["singleValueExtendedProperties"] = $val;
267
+ return $this;
268
+ }
269
+
270
+
271
+ /**
272
+ * Gets the multiValueExtendedProperties
273
+ * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
274
+ *
275
+ * @return array The multiValueExtendedProperties
276
+ */
277
+ public function getMultiValueExtendedProperties()
278
+ {
279
+ if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) {
280
+ return $this->_propDict["multiValueExtendedProperties"];
281
+ } else {
282
+ return null;
283
+ }
284
+ }
285
+
286
+ /**
287
+ * Sets the multiValueExtendedProperties
288
+ * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
289
+ *
290
+ * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties
291
+ *
292
+ * @return Calendar
293
+ */
294
+ public function setMultiValueExtendedProperties($val)
295
+ {
296
+ $this->_propDict["multiValueExtendedProperties"] = $val;
297
+ return $this;
298
+ }
299
+
300
+
301
+ /**
302
+ * Gets the events
303
+ * The events in the calendar. Navigation property. Read-only.
304
+ *
305
+ * @return array The events
306
+ */
307
+ public function getEvents()
308
+ {
309
+ if (array_key_exists("events", $this->_propDict)) {
310
+ return $this->_propDict["events"];
311
+ } else {
312
+ return null;
313
+ }
314
+ }
315
+
316
+ /**
317
+ * Sets the events
318
+ * The events in the calendar. Navigation property. Read-only.
319
+ *
320
+ * @param Event $val The events
321
+ *
322
+ * @return Calendar
323
+ */
324
+ public function setEvents($val)
325
+ {
326
+ $this->_propDict["events"] = $val;
327
+ return $this;
328
+ }
329
+
330
+
331
+ /**
332
+ * Gets the calendarView
333
+ * The calendar view for the calendar. Navigation property. Read-only.
334
+ *
335
+ * @return array The calendarView
336
+ */
337
+ public function getCalendarView()
338
+ {
339
+ if (array_key_exists("calendarView", $this->_propDict)) {
340
+ return $this->_propDict["calendarView"];
341
+ } else {
342
+ return null;
343
+ }
344
+ }
345
+
346
+ /**
347
+ * Sets the calendarView
348
+ * The calendar view for the calendar. Navigation property. Read-only.
349
+ *
350
+ * @param Event $val The calendarView
351
+ *
352
+ * @return Calendar
353
+ */
354
+ public function setCalendarView($val)
355
+ {
356
+ $this->_propDict["calendarView"] = $val;
357
+ return $this;
358
+ }
359
+
360
+ }
vendor/microsoft/microsoft-graph/src/Model/CalendarColor.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CalendarColor File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * CalendarColor class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class CalendarColor extends Enum
30
+ {
31
+ /**
32
+ * The Enum CalendarColor
33
+ */
34
+ const LIGHT_BLUE = "lightBlue";
35
+ const LIGHT_GREEN = "lightGreen";
36
+ const LIGHT_ORANGE = "lightOrange";
37
+ const LIGHT_GRAY = "lightGray";
38
+ const LIGHT_YELLOW = "lightYellow";
39
+ const LIGHT_TEAL = "lightTeal";
40
+ const LIGHT_PINK = "lightPink";
41
+ const LIGHT_BROWN = "lightBrown";
42
+ const LIGHT_RED = "lightRed";
43
+ const MAX_COLOR = "maxColor";
44
+ const AUTO = "auto";
45
+ }
vendor/microsoft/microsoft-graph/src/Model/CalendarGroup.php ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CalendarGroup File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * CalendarGroup class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class CalendarGroup extends Entity
28
+ {
29
+ /**
30
+ * Gets the name
31
+ * The group name.
32
+ *
33
+ * @return string The name
34
+ */
35
+ public function getName()
36
+ {
37
+ if (array_key_exists("name", $this->_propDict)) {
38
+ return $this->_propDict["name"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the name
46
+ * The group name.
47
+ *
48
+ * @param string $val The name
49
+ *
50
+ * @return CalendarGroup
51
+ */
52
+ public function setName($val)
53
+ {
54
+ $this->_propDict["name"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the classId
60
+ * The class identifier. Read-only.
61
+ *
62
+ * @return string The classId
63
+ */
64
+ public function getClassId()
65
+ {
66
+ if (array_key_exists("classId", $this->_propDict)) {
67
+ return $this->_propDict["classId"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the classId
75
+ * The class identifier. Read-only.
76
+ *
77
+ * @param string $val The classId
78
+ *
79
+ * @return CalendarGroup
80
+ */
81
+ public function setClassId($val)
82
+ {
83
+ $this->_propDict["classId"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the changeKey
89
+ * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
90
+ *
91
+ * @return string The changeKey
92
+ */
93
+ public function getChangeKey()
94
+ {
95
+ if (array_key_exists("changeKey", $this->_propDict)) {
96
+ return $this->_propDict["changeKey"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the changeKey
104
+ * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
105
+ *
106
+ * @param string $val The changeKey
107
+ *
108
+ * @return CalendarGroup
109
+ */
110
+ public function setChangeKey($val)
111
+ {
112
+ $this->_propDict["changeKey"] = $val;
113
+ return $this;
114
+ }
115
+
116
+
117
+ /**
118
+ * Gets the calendars
119
+ * The calendars in the calendar group. Navigation property. Read-only. Nullable.
120
+ *
121
+ * @return array The calendars
122
+ */
123
+ public function getCalendars()
124
+ {
125
+ if (array_key_exists("calendars", $this->_propDict)) {
126
+ return $this->_propDict["calendars"];
127
+ } else {
128
+ return null;
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Sets the calendars
134
+ * The calendars in the calendar group. Navigation property. Read-only. Nullable.
135
+ *
136
+ * @param Calendar $val The calendars
137
+ *
138
+ * @return CalendarGroup
139
+ */
140
+ public function setCalendars($val)
141
+ {
142
+ $this->_propDict["calendars"] = $val;
143
+ return $this;
144
+ }
145
+
146
+ }
vendor/microsoft/microsoft-graph/src/Model/Call.php ADDED
@@ -0,0 +1,528 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Call File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Call class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Call extends Entity
28
+ {
29
+ /**
30
+ * Gets the state
31
+ *
32
+ * @return CallState The state
33
+ */
34
+ public function getState()
35
+ {
36
+ if (array_key_exists("state", $this->_propDict)) {
37
+ if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\CallState")) {
38
+ return $this->_propDict["state"];
39
+ } else {
40
+ $this->_propDict["state"] = new CallState($this->_propDict["state"]);
41
+ return $this->_propDict["state"];
42
+ }
43
+ }
44
+ return null;
45
+ }
46
+
47
+ /**
48
+ * Sets the state
49
+ *
50
+ * @param CallState $val The state
51
+ *
52
+ * @return Call
53
+ */
54
+ public function setState($val)
55
+ {
56
+ $this->_propDict["state"] = $val;
57
+ return $this;
58
+ }
59
+
60
+ /**
61
+ * Gets the mediaState
62
+ *
63
+ * @return CallMediaState The mediaState
64
+ */
65
+ public function getMediaState()
66
+ {
67
+ if (array_key_exists("mediaState", $this->_propDict)) {
68
+ if (is_a($this->_propDict["mediaState"], "Microsoft\Graph\Model\CallMediaState")) {
69
+ return $this->_propDict["mediaState"];
70
+ } else {
71
+ $this->_propDict["mediaState"] = new CallMediaState($this->_propDict["mediaState"]);
72
+ return $this->_propDict["mediaState"];
73
+ }
74
+ }
75
+ return null;
76
+ }
77
+
78
+ /**
79
+ * Sets the mediaState
80
+ *
81
+ * @param CallMediaState $val The mediaState
82
+ *
83
+ * @return Call
84
+ */
85
+ public function setMediaState($val)
86
+ {
87
+ $this->_propDict["mediaState"] = $val;
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the resultInfo
93
+ *
94
+ * @return ResultInfo The resultInfo
95
+ */
96
+ public function getResultInfo()
97
+ {
98
+ if (array_key_exists("resultInfo", $this->_propDict)) {
99
+ if (is_a($this->_propDict["resultInfo"], "Microsoft\Graph\Model\ResultInfo")) {
100
+ return $this->_propDict["resultInfo"];
101
+ } else {
102
+ $this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]);
103
+ return $this->_propDict["resultInfo"];
104
+ }
105
+ }
106
+ return null;
107
+ }
108
+
109
+ /**
110
+ * Sets the resultInfo
111
+ *
112
+ * @param ResultInfo $val The resultInfo
113
+ *
114
+ * @return Call
115
+ */
116
+ public function setResultInfo($val)
117
+ {
118
+ $this->_propDict["resultInfo"] = $val;
119
+ return $this;
120
+ }
121
+
122
+ /**
123
+ * Gets the direction
124
+ *
125
+ * @return CallDirection The direction
126
+ */
127
+ public function getDirection()
128
+ {
129
+ if (array_key_exists("direction", $this->_propDict)) {
130
+ if (is_a($this->_propDict["direction"], "Microsoft\Graph\Model\CallDirection")) {
131
+ return $this->_propDict["direction"];
132
+ } else {
133
+ $this->_propDict["direction"] = new CallDirection($this->_propDict["direction"]);
134
+ return $this->_propDict["direction"];
135
+ }
136
+ }
137
+ return null;
138
+ }
139
+
140
+ /**
141
+ * Sets the direction
142
+ *
143
+ * @param CallDirection $val The direction
144
+ *
145
+ * @return Call
146
+ */
147
+ public function setDirection($val)
148
+ {
149
+ $this->_propDict["direction"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the subject
155
+ *
156
+ * @return string The subject
157
+ */
158
+ public function getSubject()
159
+ {
160
+ if (array_key_exists("subject", $this->_propDict)) {
161
+ return $this->_propDict["subject"];
162
+ } else {
163
+ return null;
164
+ }
165
+ }
166
+
167
+ /**
168
+ * Sets the subject
169
+ *
170
+ * @param string $val The subject
171
+ *
172
+ * @return Call
173
+ */
174
+ public function setSubject($val)
175
+ {
176
+ $this->_propDict["subject"] = $val;
177
+ return $this;
178
+ }
179
+
180
+ /**
181
+ * Gets the callbackUri
182
+ *
183
+ * @return string The callbackUri
184
+ */
185
+ public function getCallbackUri()
186
+ {
187
+ if (array_key_exists("callbackUri", $this->_propDict)) {
188
+ return $this->_propDict["callbackUri"];
189
+ } else {
190
+ return null;
191
+ }
192
+ }
193
+
194
+ /**
195
+ * Sets the callbackUri
196
+ *
197
+ * @param string $val The callbackUri
198
+ *
199
+ * @return Call
200
+ */
201
+ public function setCallbackUri($val)
202
+ {
203
+ $this->_propDict["callbackUri"] = $val;
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the source
209
+ *
210
+ * @return ParticipantInfo The source
211
+ */
212
+ public function getSource()
213
+ {
214
+ if (array_key_exists("source", $this->_propDict)) {
215
+ if (is_a($this->_propDict["source"], "Microsoft\Graph\Model\ParticipantInfo")) {
216
+ return $this->_propDict["source"];
217
+ } else {
218
+ $this->_propDict["source"] = new ParticipantInfo($this->_propDict["source"]);
219
+ return $this->_propDict["source"];
220
+ }
221
+ }
222
+ return null;
223
+ }
224
+
225
+ /**
226
+ * Sets the source
227
+ *
228
+ * @param ParticipantInfo $val The source
229
+ *
230
+ * @return Call
231
+ */
232
+ public function setSource($val)
233
+ {
234
+ $this->_propDict["source"] = $val;
235
+ return $this;
236
+ }
237
+
238
+
239
+ /**
240
+ * Gets the targets
241
+ *
242
+ * @return array The targets
243
+ */
244
+ public function getTargets()
245
+ {
246
+ if (array_key_exists("targets", $this->_propDict)) {
247
+ return $this->_propDict["targets"];
248
+ } else {
249
+ return null;
250
+ }
251
+ }
252
+
253
+ /**
254
+ * Sets the targets
255
+ *
256
+ * @param ParticipantInfo $val The targets
257
+ *
258
+ * @return Call
259
+ */
260
+ public function setTargets($val)
261
+ {
262
+ $this->_propDict["targets"] = $val;
263
+ return $this;
264
+ }
265
+
266
+
267
+ /**
268
+ * Gets the requestedModalities
269
+ *
270
+ * @return array The requestedModalities
271
+ */
272
+ public function getRequestedModalities()
273
+ {
274
+ if (array_key_exists("requestedModalities", $this->_propDict)) {
275
+ return $this->_propDict["requestedModalities"];
276
+ } else {
277
+ return null;
278
+ }
279
+ }
280
+
281
+ /**
282
+ * Sets the requestedModalities
283
+ *
284
+ * @param Modality $val The requestedModalities
285
+ *
286
+ * @return Call
287
+ */
288
+ public function setRequestedModalities($val)
289
+ {
290
+ $this->_propDict["requestedModalities"] = $val;
291
+ return $this;
292
+ }
293
+
294
+ /**
295
+ * Gets the mediaConfig
296
+ *
297
+ * @return MediaConfig The mediaConfig
298
+ */
299
+ public function getMediaConfig()
300
+ {
301
+ if (array_key_exists("mediaConfig", $this->_propDict)) {
302
+ if (is_a($this->_propDict["mediaConfig"], "Microsoft\Graph\Model\MediaConfig")) {
303
+ return $this->_propDict["mediaConfig"];
304
+ } else {
305
+ $this->_propDict["mediaConfig"] = new MediaConfig($this->_propDict["mediaConfig"]);
306
+ return $this->_propDict["mediaConfig"];
307
+ }
308
+ }
309
+ return null;
310
+ }
311
+
312
+ /**
313
+ * Sets the mediaConfig
314
+ *
315
+ * @param MediaConfig $val The mediaConfig
316
+ *
317
+ * @return Call
318
+ */
319
+ public function setMediaConfig($val)
320
+ {
321
+ $this->_propDict["mediaConfig"] = $val;
322
+ return $this;
323
+ }
324
+
325
+ /**
326
+ * Gets the chatInfo
327
+ *
328
+ * @return ChatInfo The chatInfo
329
+ */
330
+ public function getChatInfo()
331
+ {
332
+ if (array_key_exists("chatInfo", $this->_propDict)) {
333
+ if (is_a($this->_propDict["chatInfo"], "Microsoft\Graph\Model\ChatInfo")) {
334
+ return $this->_propDict["chatInfo"];
335
+ } else {
336
+ $this->_propDict["chatInfo"] = new ChatInfo($this->_propDict["chatInfo"]);
337
+ return $this->_propDict["chatInfo"];
338
+ }
339
+ }
340
+ return null;
341
+ }
342
+
343
+ /**
344
+ * Sets the chatInfo
345
+ *
346
+ * @param ChatInfo $val The chatInfo
347
+ *
348
+ * @return Call
349
+ */
350
+ public function setChatInfo($val)
351
+ {
352
+ $this->_propDict["chatInfo"] = $val;
353
+ return $this;
354
+ }
355
+
356
+ /**
357
+ * Gets the meetingInfo
358
+ *
359
+ * @return MeetingInfo The meetingInfo
360
+ */
361
+ public function getMeetingInfo()
362
+ {
363
+ if (array_key_exists("meetingInfo", $this->_propDict)) {
364
+ if (is_a($this->_propDict["meetingInfo"], "Microsoft\Graph\Model\MeetingInfo")) {
365
+ return $this->_propDict["meetingInfo"];
366
+ } else {
367
+ $this->_propDict["meetingInfo"] = new MeetingInfo($this->_propDict["meetingInfo"]);
368
+ return $this->_propDict["meetingInfo"];
369
+ }
370
+ }
371
+ return null;
372
+ }
373
+
374
+ /**
375
+ * Sets the meetingInfo
376
+ *
377
+ * @param MeetingInfo $val The meetingInfo
378
+ *
379
+ * @return Call
380
+ */
381
+ public function setMeetingInfo($val)
382
+ {
383
+ $this->_propDict["meetingInfo"] = $val;
384
+ return $this;
385
+ }
386
+
387
+ /**
388
+ * Gets the tenantId
389
+ *
390
+ * @return string The tenantId
391
+ */
392
+ public function getTenantId()
393
+ {
394
+ if (array_key_exists("tenantId", $this->_propDict)) {
395
+ return $this->_propDict["tenantId"];
396
+ } else {
397
+ return null;
398
+ }
399
+ }
400
+
401
+ /**
402
+ * Sets the tenantId
403
+ *
404
+ * @param string $val The tenantId
405
+ *
406
+ * @return Call
407
+ */
408
+ public function setTenantId($val)
409
+ {
410
+ $this->_propDict["tenantId"] = $val;
411
+ return $this;
412
+ }
413
+
414
+ /**
415
+ * Gets the myParticipantId
416
+ *
417
+ * @return string The myParticipantId
418
+ */
419
+ public function getMyParticipantId()
420
+ {
421
+ if (array_key_exists("myParticipantId", $this->_propDict)) {
422
+ return $this->_propDict["myParticipantId"];
423
+ } else {
424
+ return null;
425
+ }
426
+ }
427
+
428
+ /**
429
+ * Sets the myParticipantId
430
+ *
431
+ * @param string $val The myParticipantId
432
+ *
433
+ * @return Call
434
+ */
435
+ public function setMyParticipantId($val)
436
+ {
437
+ $this->_propDict["myParticipantId"] = $val;
438
+ return $this;
439
+ }
440
+
441
+ /**
442
+ * Gets the toneInfo
443
+ *
444
+ * @return ToneInfo The toneInfo
445
+ */
446
+ public function getToneInfo()
447
+ {
448
+ if (array_key_exists("toneInfo", $this->_propDict)) {
449
+ if (is_a($this->_propDict["toneInfo"], "Microsoft\Graph\Model\ToneInfo")) {
450
+ return $this->_propDict["toneInfo"];
451
+ } else {
452
+ $this->_propDict["toneInfo"] = new ToneInfo($this->_propDict["toneInfo"]);
453
+ return $this->_propDict["toneInfo"];
454
+ }
455
+ }
456
+ return null;
457
+ }
458
+
459
+ /**
460
+ * Sets the toneInfo
461
+ *
462
+ * @param ToneInfo $val The toneInfo
463
+ *
464
+ * @return Call
465
+ */
466
+ public function setToneInfo($val)
467
+ {
468
+ $this->_propDict["toneInfo"] = $val;
469
+ return $this;
470
+ }
471
+
472
+
473
+ /**
474
+ * Gets the participants
475
+ *
476
+ * @return array The participants
477
+ */
478
+ public function getParticipants()
479
+ {
480
+ if (array_key_exists("participants", $this->_propDict)) {
481
+ return $this->_propDict["participants"];
482
+ } else {
483
+ return null;
484
+ }
485
+ }
486
+
487
+ /**
488
+ * Sets the participants
489
+ *
490
+ * @param Participant $val The participants
491
+ *
492
+ * @return Call
493
+ */
494
+ public function setParticipants($val)
495
+ {
496
+ $this->_propDict["participants"] = $val;
497
+ return $this;
498
+ }
499
+
500
+
501
+ /**
502
+ * Gets the operations
503
+ *
504
+ * @return array The operations
505
+ */
506
+ public function getOperations()
507
+ {
508
+ if (array_key_exists("operations", $this->_propDict)) {
509
+ return $this->_propDict["operations"];
510
+ } else {
511
+ return null;
512
+ }
513
+ }
514
+
515
+ /**
516
+ * Sets the operations
517
+ *
518
+ * @param CommsOperation $val The operations
519
+ *
520
+ * @return Call
521
+ */
522
+ public function setOperations($val)
523
+ {
524
+ $this->_propDict["operations"] = $val;
525
+ return $this;
526
+ }
527
+
528
+ }
vendor/microsoft/microsoft-graph/src/Model/CallDirection.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CallDirection File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * CallDirection class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class CallDirection extends Enum
30
+ {
31
+ /**
32
+ * The Enum CallDirection
33
+ */
34
+ const INCOMING = "incoming";
35
+ const OUTGOING = "outgoing";
36
+ }
vendor/microsoft/microsoft-graph/src/Model/CallMediaState.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CallMediaState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CallMediaState class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CallMediaState extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the audio
31
+ *
32
+ * @return MediaState The audio
33
+ */
34
+ public function getAudio()
35
+ {
36
+ if (array_key_exists("audio", $this->_propDict)) {
37
+ if (is_a($this->_propDict["audio"], "Microsoft\Graph\Model\MediaState")) {
38
+ return $this->_propDict["audio"];
39
+ } else {
40
+ $this->_propDict["audio"] = new MediaState($this->_propDict["audio"]);
41
+ return $this->_propDict["audio"];
42
+ }
43
+ }
44
+ return null;
45
+ }
46
+
47
+ /**
48
+ * Sets the audio
49
+ *
50
+ * @param MediaState $val The value to assign to the audio
51
+ *
52
+ * @return CallMediaState The CallMediaState
53
+ */
54
+ public function setAudio($val)
55
+ {
56
+ $this->_propDict["audio"] = $val;
57
+ return $this;
58
+ }
59
+ }
vendor/microsoft/microsoft-graph/src/Model/CallState.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CallState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * CallState class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class CallState extends Enum
30
+ {
31
+ /**
32
+ * The Enum CallState
33
+ */
34
+ const INCOMING = "incoming";
35
+ const ESTABLISHING = "establishing";
36
+ const ESTABLISHED = "established";
37
+ const HOLD = "hold";
38
+ const TRANSFERRING = "transferring";
39
+ const TRANSFER_ACCEPTED = "transferAccepted";
40
+ const REDIRECTING = "redirecting";
41
+ const TERMINATING = "terminating";
42
+ const TERMINATED = "terminated";
43
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
44
+ }
vendor/microsoft/microsoft-graph/src/Model/CategoryColor.php ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CategoryColor File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * CategoryColor class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class CategoryColor extends Enum
30
+ {
31
+ /**
32
+ * The Enum CategoryColor
33
+ */
34
+ const PRESET0 = "preset0";
35
+ const PRESET1 = "preset1";
36
+ const PRESET2 = "preset2";
37
+ const PRESET3 = "preset3";
38
+ const PRESET4 = "preset4";
39
+ const PRESET5 = "preset5";
40
+ const PRESET6 = "preset6";
41
+ const PRESET7 = "preset7";
42
+ const PRESET8 = "preset8";
43
+ const PRESET9 = "preset9";
44
+ const PRESET10 = "preset10";
45
+ const PRESET11 = "preset11";
46
+ const PRESET12 = "preset12";
47
+ const PRESET13 = "preset13";
48
+ const PRESET14 = "preset14";
49
+ const PRESET15 = "preset15";
50
+ const PRESET16 = "preset16";
51
+ const PRESET17 = "preset17";
52
+ const PRESET18 = "preset18";
53
+ const PRESET19 = "preset19";
54
+ const PRESET20 = "preset20";
55
+ const PRESET21 = "preset21";
56
+ const PRESET22 = "preset22";
57
+ const PRESET23 = "preset23";
58
+ const PRESET24 = "preset24";
59
+ const NONE = "none";
60
+ }
vendor/microsoft/microsoft-graph/src/Model/CertificateAuthority.php ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CertificateAuthority File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CertificateAuthority class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CertificateAuthority extends Entity
27
+ {
28
+ /**
29
+ * Gets the isRootAuthority
30
+ * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority.
31
+ *
32
+ * @return bool The isRootAuthority
33
+ */
34
+ public function getIsRootAuthority()
35
+ {
36
+ if (array_key_exists("isRootAuthority", $this->_propDict)) {
37
+ return $this->_propDict["isRootAuthority"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the isRootAuthority
45
+ * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority.
46
+ *
47
+ * @param bool $val The value of the isRootAuthority
48
+ *
49
+ * @return CertificateAuthority
50
+ */
51
+ public function setIsRootAuthority($val)
52
+ {
53
+ $this->_propDict["isRootAuthority"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the certificateRevocationListUrl
58
+ * The URL of the certificate revocation list.
59
+ *
60
+ * @return string The certificateRevocationListUrl
61
+ */
62
+ public function getCertificateRevocationListUrl()
63
+ {
64
+ if (array_key_exists("certificateRevocationListUrl", $this->_propDict)) {
65
+ return $this->_propDict["certificateRevocationListUrl"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the certificateRevocationListUrl
73
+ * The URL of the certificate revocation list.
74
+ *
75
+ * @param string $val The value of the certificateRevocationListUrl
76
+ *
77
+ * @return CertificateAuthority
78
+ */
79
+ public function setCertificateRevocationListUrl($val)
80
+ {
81
+ $this->_propDict["certificateRevocationListUrl"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the deltaCertificateRevocationListUrl
86
+ * The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.
87
+ *
88
+ * @return string The deltaCertificateRevocationListUrl
89
+ */
90
+ public function getDeltaCertificateRevocationListUrl()
91
+ {
92
+ if (array_key_exists("deltaCertificateRevocationListUrl", $this->_propDict)) {
93
+ return $this->_propDict["deltaCertificateRevocationListUrl"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the deltaCertificateRevocationListUrl
101
+ * The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.
102
+ *
103
+ * @param string $val The value of the deltaCertificateRevocationListUrl
104
+ *
105
+ * @return CertificateAuthority
106
+ */
107
+ public function setDeltaCertificateRevocationListUrl($val)
108
+ {
109
+ $this->_propDict["deltaCertificateRevocationListUrl"] = $val;
110
+ return $this;
111
+ }
112
+
113
+ /**
114
+ * Gets the certificate
115
+ * Required. The base64 encoded string representing the public certificate.
116
+ *
117
+ * @return \GuzzleHttp\Psr7\Stream The certificate
118
+ */
119
+ public function getCertificate()
120
+ {
121
+ if (array_key_exists("certificate", $this->_propDict)) {
122
+ if (is_a($this->_propDict["certificate"], "Microsoft\Graph\Model\\GuzzleHttp\Psr7\Stream")) {
123
+ return $this->_propDict["certificate"];
124
+ } else {
125
+ $this->_propDict["certificate"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["certificate"]);
126
+ return $this->_propDict["certificate"];
127
+ }
128
+ }
129
+ return null;
130
+ }
131
+
132
+ /**
133
+ * Sets the certificate
134
+ * Required. The base64 encoded string representing the public certificate.
135
+ *
136
+ * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the certificate
137
+ *
138
+ * @return CertificateAuthority The CertificateAuthority
139
+ */
140
+ public function setCertificate($val)
141
+ {
142
+ $this->_propDict["certificate"] = $val;
143
+ return $this;
144
+ }
145
+ /**
146
+ * Gets the issuer
147
+ * The issuer of the certificate, calculated from the certificate value. Read-only.
148
+ *
149
+ * @return string The issuer
150
+ */
151
+ public function getIssuer()
152
+ {
153
+ if (array_key_exists("issuer", $this->_propDict)) {
154
+ return $this->_propDict["issuer"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the issuer
162
+ * The issuer of the certificate, calculated from the certificate value. Read-only.
163
+ *
164
+ * @param string $val The value of the issuer
165
+ *
166
+ * @return CertificateAuthority
167
+ */
168
+ public function setIssuer($val)
169
+ {
170
+ $this->_propDict["issuer"] = $val;
171
+ return $this;
172
+ }
173
+ /**
174
+ * Gets the issuerSki
175
+ * The subject key identifier of the certificate, calculated from the certificate value. Read-only.
176
+ *
177
+ * @return string The issuerSki
178
+ */
179
+ public function getIssuerSki()
180
+ {
181
+ if (array_key_exists("issuerSki", $this->_propDict)) {
182
+ return $this->_propDict["issuerSki"];
183
+ } else {
184
+ return null;
185
+ }
186
+ }
187
+
188
+ /**
189
+ * Sets the issuerSki
190
+ * The subject key identifier of the certificate, calculated from the certificate value. Read-only.
191
+ *
192
+ * @param string $val The value of the issuerSki
193
+ *
194
+ * @return CertificateAuthority
195
+ */
196
+ public function setIssuerSki($val)
197
+ {
198
+ $this->_propDict["issuerSki"] = $val;
199
+ return $this;
200
+ }
201
+ }
vendor/microsoft/microsoft-graph/src/Model/CertificateBasedAuthConfiguration.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CertificateBasedAuthConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * CertificateBasedAuthConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class CertificateBasedAuthConfiguration extends Entity
28
+ {
29
+
30
+ /**
31
+ * Gets the certificateAuthorities
32
+ * Collection of certificate authorities which creates a trusted certificate chain.
33
+ *
34
+ * @return array The certificateAuthorities
35
+ */
36
+ public function getCertificateAuthorities()
37
+ {
38
+ if (array_key_exists("certificateAuthorities", $this->_propDict)) {
39
+ return $this->_propDict["certificateAuthorities"];
40
+ } else {
41
+ return null;
42
+ }
43
+ }
44
+
45
+ /**
46
+ * Sets the certificateAuthorities
47
+ * Collection of certificate authorities which creates a trusted certificate chain.
48
+ *
49
+ * @param CertificateAuthority $val The certificateAuthorities
50
+ *
51
+ * @return CertificateBasedAuthConfiguration
52
+ */
53
+ public function setCertificateAuthorities($val)
54
+ {
55
+ $this->_propDict["certificateAuthorities"] = $val;
56
+ return $this;
57
+ }
58
+
59
+ }
vendor/microsoft/microsoft-graph/src/Model/CertificationControl.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CertificationControl File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CertificationControl class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CertificationControl extends Entity
27
+ {
28
+ /**
29
+ * Gets the name
30
+ * Certification control name
31
+ *
32
+ * @return string The name
33
+ */
34
+ public function getName()
35
+ {
36
+ if (array_key_exists("name", $this->_propDict)) {
37
+ return $this->_propDict["name"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the name
45
+ * Certification control name
46
+ *
47
+ * @param string $val The value of the name
48
+ *
49
+ * @return CertificationControl
50
+ */
51
+ public function setName($val)
52
+ {
53
+ $this->_propDict["name"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the url
58
+ * URL for the Microsoft Service Trust Portal
59
+ *
60
+ * @return string The url
61
+ */
62
+ public function getUrl()
63
+ {
64
+ if (array_key_exists("url", $this->_propDict)) {
65
+ return $this->_propDict["url"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the url
73
+ * URL for the Microsoft Service Trust Portal
74
+ *
75
+ * @param string $val The value of the url
76
+ *
77
+ * @return CertificationControl
78
+ */
79
+ public function setUrl($val)
80
+ {
81
+ $this->_propDict["url"] = $val;
82
+ return $this;
83
+ }
84
+ }
vendor/microsoft/microsoft-graph/src/Model/ChangeType.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ChangeType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ChangeType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ChangeType extends Enum
30
+ {
31
+ /**
32
+ * The Enum ChangeType
33
+ */
34
+ const CREATED = "created";
35
+ const UPDATED = "updated";
36
+ const DELETED = "deleted";
37
+ }
vendor/microsoft/microsoft-graph/src/Model/Channel.php ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Channel File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Channel class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Channel extends Entity
28
+ {
29
+ /**
30
+ * Gets the displayName
31
+ * Channel name as it will appear to the user in Microsoft Teams.
32
+ *
33
+ * @return string The displayName
34
+ */
35
+ public function getDisplayName()
36
+ {
37
+ if (array_key_exists("displayName", $this->_propDict)) {
38
+ return $this->_propDict["displayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the displayName
46
+ * Channel name as it will appear to the user in Microsoft Teams.
47
+ *
48
+ * @param string $val The displayName
49
+ *
50
+ * @return Channel
51
+ */
52
+ public function setDisplayName($val)
53
+ {
54
+ $this->_propDict["displayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the description
60
+ * Optional textual description for the channel.
61
+ *
62
+ * @return string The description
63
+ */
64
+ public function getDescription()
65
+ {
66
+ if (array_key_exists("description", $this->_propDict)) {
67
+ return $this->_propDict["description"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the description
75
+ * Optional textual description for the channel.
76
+ *
77
+ * @param string $val The description
78
+ *
79
+ * @return Channel
80
+ */
81
+ public function setDescription($val)
82
+ {
83
+ $this->_propDict["description"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the email
89
+ * The email address for sending messages to the channel. Read-only.
90
+ *
91
+ * @return string The email
92
+ */
93
+ public function getEmail()
94
+ {
95
+ if (array_key_exists("email", $this->_propDict)) {
96
+ return $this->_propDict["email"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the email
104
+ * The email address for sending messages to the channel. Read-only.
105
+ *
106
+ * @param string $val The email
107
+ *
108
+ * @return Channel
109
+ */
110
+ public function setEmail($val)
111
+ {
112
+ $this->_propDict["email"] = $val;
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the webUrl
118
+ * A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.
119
+ *
120
+ * @return string The webUrl
121
+ */
122
+ public function getWebUrl()
123
+ {
124
+ if (array_key_exists("webUrl", $this->_propDict)) {
125
+ return $this->_propDict["webUrl"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the webUrl
133
+ * A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.
134
+ *
135
+ * @param string $val The webUrl
136
+ *
137
+ * @return Channel
138
+ */
139
+ public function setWebUrl($val)
140
+ {
141
+ $this->_propDict["webUrl"] = $val;
142
+ return $this;
143
+ }
144
+
145
+
146
+ /**
147
+ * Gets the tabs
148
+ * A collection of all the tabs in the channel. A navigation property.
149
+ *
150
+ * @return array The tabs
151
+ */
152
+ public function getTabs()
153
+ {
154
+ if (array_key_exists("tabs", $this->_propDict)) {
155
+ return $this->_propDict["tabs"];
156
+ } else {
157
+ return null;
158
+ }
159
+ }
160
+
161
+ /**
162
+ * Sets the tabs
163
+ * A collection of all the tabs in the channel. A navigation property.
164
+ *
165
+ * @param TeamsTab $val The tabs
166
+ *
167
+ * @return Channel
168
+ */
169
+ public function setTabs($val)
170
+ {
171
+ $this->_propDict["tabs"] = $val;
172
+ return $this;
173
+ }
174
+
175
+ }
vendor/microsoft/microsoft-graph/src/Model/ChatInfo.php ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ChatInfo File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ChatInfo class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ChatInfo extends Entity
27
+ {
28
+ /**
29
+ * Gets the threadId
30
+ *
31
+ * @return string The threadId
32
+ */
33
+ public function getThreadId()
34
+ {
35
+ if (array_key_exists("threadId", $this->_propDict)) {
36
+ return $this->_propDict["threadId"];
37
+ } else {
38
+ return null;
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Sets the threadId
44
+ *
45
+ * @param string $val The value of the threadId
46
+ *
47
+ * @return ChatInfo
48
+ */
49
+ public function setThreadId($val)
50
+ {
51
+ $this->_propDict["threadId"] = $val;
52
+ return $this;
53
+ }
54
+ /**
55
+ * Gets the messageId
56
+ *
57
+ * @return string The messageId
58
+ */
59
+ public function getMessageId()
60
+ {
61
+ if (array_key_exists("messageId", $this->_propDict)) {
62
+ return $this->_propDict["messageId"];
63
+ } else {
64
+ return null;
65
+ }
66
+ }
67
+
68
+ /**
69
+ * Sets the messageId
70
+ *
71
+ * @param string $val The value of the messageId
72
+ *
73
+ * @return ChatInfo
74
+ */
75
+ public function setMessageId($val)
76
+ {
77
+ $this->_propDict["messageId"] = $val;
78
+ return $this;
79
+ }
80
+ /**
81
+ * Gets the replyChainMessageId
82
+ *
83
+ * @return string The replyChainMessageId
84
+ */
85
+ public function getReplyChainMessageId()
86
+ {
87
+ if (array_key_exists("replyChainMessageId", $this->_propDict)) {
88
+ return $this->_propDict["replyChainMessageId"];
89
+ } else {
90
+ return null;
91
+ }
92
+ }
93
+
94
+ /**
95
+ * Sets the replyChainMessageId
96
+ *
97
+ * @param string $val The value of the replyChainMessageId
98
+ *
99
+ * @return ChatInfo
100
+ */
101
+ public function setReplyChainMessageId($val)
102
+ {
103
+ $this->_propDict["replyChainMessageId"] = $val;
104
+ return $this;
105
+ }
106
+ }
vendor/microsoft/microsoft-graph/src/Model/ChoiceColumn.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ChoiceColumn File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ChoiceColumn class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ChoiceColumn extends Entity
27
+ {
28
+ /**
29
+ * Gets the allowTextEntry
30
+ * If true, allows custom values that aren't in the configured choices.
31
+ *
32
+ * @return bool The allowTextEntry
33
+ */
34
+ public function getAllowTextEntry()
35
+ {
36
+ if (array_key_exists("allowTextEntry", $this->_propDict)) {
37
+ return $this->_propDict["allowTextEntry"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the allowTextEntry
45
+ * If true, allows custom values that aren't in the configured choices.
46
+ *
47
+ * @param bool $val The value of the allowTextEntry
48
+ *
49
+ * @return ChoiceColumn
50
+ */
51
+ public function setAllowTextEntry($val)
52
+ {
53
+ $this->_propDict["allowTextEntry"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the choices
58
+ * The list of values available for this column.
59
+ *
60
+ * @return string The choices
61
+ */
62
+ public function getChoices()
63
+ {
64
+ if (array_key_exists("choices", $this->_propDict)) {
65
+ return $this->_propDict["choices"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the choices
73
+ * The list of values available for this column.
74
+ *
75
+ * @param string $val The value of the choices
76
+ *
77
+ * @return ChoiceColumn
78
+ */
79
+ public function setChoices($val)
80
+ {
81
+ $this->_propDict["choices"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the displayAs
86
+ * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons
87
+ *
88
+ * @return string The displayAs
89
+ */
90
+ public function getDisplayAs()
91
+ {
92
+ if (array_key_exists("displayAs", $this->_propDict)) {
93
+ return $this->_propDict["displayAs"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the displayAs
101
+ * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons
102
+ *
103
+ * @param string $val The value of the displayAs
104
+ *
105
+ * @return ChoiceColumn
106
+ */
107
+ public function setDisplayAs($val)
108
+ {
109
+ $this->_propDict["displayAs"] = $val;
110
+ return $this;
111
+ }
112
+ }
vendor/microsoft/microsoft-graph/src/Model/ClonableTeamParts.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ClonableTeamParts File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ClonableTeamParts class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ClonableTeamParts extends Enum
30
+ {
31
+ /**
32
+ * The Enum ClonableTeamParts
33
+ */
34
+ const APPS = "apps";
35
+ const TABS = "tabs";
36
+ const SETTINGS = "settings";
37
+ const CHANNELS = "channels";
38
+ const MEMBERS = "members";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/CloudAppSecurityState.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CloudAppSecurityState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CloudAppSecurityState class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CloudAppSecurityState extends Entity
27
+ {
28
+ /**
29
+ * Gets the destinationServiceIp
30
+ * Destination IP Address of the connection to the cloud application/service.
31
+ *
32
+ * @return string The destinationServiceIp
33
+ */
34
+ public function getDestinationServiceIp()
35
+ {
36
+ if (array_key_exists("destinationServiceIp", $this->_propDict)) {
37
+ return $this->_propDict["destinationServiceIp"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the destinationServiceIp
45
+ * Destination IP Address of the connection to the cloud application/service.
46
+ *
47
+ * @param string $val The value of the destinationServiceIp
48
+ *
49
+ * @return CloudAppSecurityState
50
+ */
51
+ public function setDestinationServiceIp($val)
52
+ {
53
+ $this->_propDict["destinationServiceIp"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the destinationServiceName
58
+ * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.).
59
+ *
60
+ * @return string The destinationServiceName
61
+ */
62
+ public function getDestinationServiceName()
63
+ {
64
+ if (array_key_exists("destinationServiceName", $this->_propDict)) {
65
+ return $this->_propDict["destinationServiceName"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the destinationServiceName
73
+ * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.).
74
+ *
75
+ * @param string $val The value of the destinationServiceName
76
+ *
77
+ * @return CloudAppSecurityState
78
+ */
79
+ public function setDestinationServiceName($val)
80
+ {
81
+ $this->_propDict["destinationServiceName"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the riskScore
86
+ * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage.
87
+ *
88
+ * @return string The riskScore
89
+ */
90
+ public function getRiskScore()
91
+ {
92
+ if (array_key_exists("riskScore", $this->_propDict)) {
93
+ return $this->_propDict["riskScore"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the riskScore
101
+ * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage.
102
+ *
103
+ * @param string $val The value of the riskScore
104
+ *
105
+ * @return CloudAppSecurityState
106
+ */
107
+ public function setRiskScore($val)
108
+ {
109
+ $this->_propDict["riskScore"] = $val;
110
+ return $this;
111
+ }
112
+ }
vendor/microsoft/microsoft-graph/src/Model/CloudCommunications.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CloudCommunications File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * CloudCommunications class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class CloudCommunications extends Entity
28
+ {
29
+
30
+ /**
31
+ * Gets the calls
32
+ *
33
+ * @return array The calls
34
+ */
35
+ public function getCalls()
36
+ {
37
+ if (array_key_exists("calls", $this->_propDict)) {
38
+ return $this->_propDict["calls"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the calls
46
+ *
47
+ * @param Call $val The calls
48
+ *
49
+ * @return CloudCommunications
50
+ */
51
+ public function setCalls($val)
52
+ {
53
+ $this->_propDict["calls"] = $val;
54
+ return $this;
55
+ }
56
+
57
+
58
+ /**
59
+ * Gets the onlineMeetings
60
+ *
61
+ * @return array The onlineMeetings
62
+ */
63
+ public function getOnlineMeetings()
64
+ {
65
+ if (array_key_exists("onlineMeetings", $this->_propDict)) {
66
+ return $this->_propDict["onlineMeetings"];
67
+ } else {
68
+ return null;
69
+ }
70
+ }
71
+
72
+ /**
73
+ * Sets the onlineMeetings
74
+ *
75
+ * @param OnlineMeeting $val The onlineMeetings
76
+ *
77
+ * @return CloudCommunications
78
+ */
79
+ public function setOnlineMeetings($val)
80
+ {
81
+ $this->_propDict["onlineMeetings"] = $val;
82
+ return $this;
83
+ }
84
+
85
+ }
vendor/microsoft/microsoft-graph/src/Model/ColumnDefinition.php ADDED
@@ -0,0 +1,620 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ColumnDefinition File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * ColumnDefinition class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class ColumnDefinition extends Entity
28
+ {
29
+ /**
30
+ * Gets the boolean
31
+ * This column stores boolean values.
32
+ *
33
+ * @return BooleanColumn The boolean
34
+ */
35
+ public function getBoolean()
36
+ {
37
+ if (array_key_exists("boolean", $this->_propDict)) {
38
+ if (is_a($this->_propDict["boolean"], "Microsoft\Graph\Model\BooleanColumn")) {
39
+ return $this->_propDict["boolean"];
40
+ } else {
41
+ $this->_propDict["boolean"] = new BooleanColumn($this->_propDict["boolean"]);
42
+ return $this->_propDict["boolean"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the boolean
50
+ * This column stores boolean values.
51
+ *
52
+ * @param BooleanColumn $val The boolean
53
+ *
54
+ * @return ColumnDefinition
55
+ */
56
+ public function setBoolean($val)
57
+ {
58
+ $this->_propDict["boolean"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the calculated
64
+ * This column's data is calculated based on other columns.
65
+ *
66
+ * @return CalculatedColumn The calculated
67
+ */
68
+ public function getCalculated()
69
+ {
70
+ if (array_key_exists("calculated", $this->_propDict)) {
71
+ if (is_a($this->_propDict["calculated"], "Microsoft\Graph\Model\CalculatedColumn")) {
72
+ return $this->_propDict["calculated"];
73
+ } else {
74
+ $this->_propDict["calculated"] = new CalculatedColumn($this->_propDict["calculated"]);
75
+ return $this->_propDict["calculated"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the calculated
83
+ * This column's data is calculated based on other columns.
84
+ *
85
+ * @param CalculatedColumn $val The calculated
86
+ *
87
+ * @return ColumnDefinition
88
+ */
89
+ public function setCalculated($val)
90
+ {
91
+ $this->_propDict["calculated"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the choice
97
+ * This column stores data from a list of choices.
98
+ *
99
+ * @return ChoiceColumn The choice
100
+ */
101
+ public function getChoice()
102
+ {
103
+ if (array_key_exists("choice", $this->_propDict)) {
104
+ if (is_a($this->_propDict["choice"], "Microsoft\Graph\Model\ChoiceColumn")) {
105
+ return $this->_propDict["choice"];
106
+ } else {
107
+ $this->_propDict["choice"] = new ChoiceColumn($this->_propDict["choice"]);
108
+ return $this->_propDict["choice"];
109
+ }
110
+ }
111
+ return null;
112
+ }
113
+
114
+ /**
115
+ * Sets the choice
116
+ * This column stores data from a list of choices.
117
+ *
118
+ * @param ChoiceColumn $val The choice
119
+ *
120
+ * @return ColumnDefinition
121
+ */
122
+ public function setChoice($val)
123
+ {
124
+ $this->_propDict["choice"] = $val;
125
+ return $this;
126
+ }
127
+
128
+ /**
129
+ * Gets the columnGroup
130
+ * For site columns, the name of the group this column belongs to. Helps organize related columns.
131
+ *
132
+ * @return string The columnGroup
133
+ */
134
+ public function getColumnGroup()
135
+ {
136
+ if (array_key_exists("columnGroup", $this->_propDict)) {
137
+ return $this->_propDict["columnGroup"];
138
+ } else {
139
+ return null;
140
+ }
141
+ }
142
+
143
+ /**
144
+ * Sets the columnGroup
145
+ * For site columns, the name of the group this column belongs to. Helps organize related columns.
146
+ *
147
+ * @param string $val The columnGroup
148
+ *
149
+ * @return ColumnDefinition
150
+ */
151
+ public function setColumnGroup($val)
152
+ {
153
+ $this->_propDict["columnGroup"] = $val;
154
+ return $this;
155
+ }
156
+
157
+ /**
158
+ * Gets the currency
159
+ * This column stores currency values.
160
+ *
161
+ * @return CurrencyColumn The currency
162
+ */
163
+ public function getCurrency()
164
+ {
165
+ if (array_key_exists("currency", $this->_propDict)) {
166
+ if (is_a($this->_propDict["currency"], "Microsoft\Graph\Model\CurrencyColumn")) {
167
+ return $this->_propDict["currency"];
168
+ } else {
169
+ $this->_propDict["currency"] = new CurrencyColumn($this->_propDict["currency"]);
170
+ return $this->_propDict["currency"];
171
+ }
172
+ }
173
+ return null;
174
+ }
175
+
176
+ /**
177
+ * Sets the currency
178
+ * This column stores currency values.
179
+ *
180
+ * @param CurrencyColumn $val The currency
181
+ *
182
+ * @return ColumnDefinition
183
+ */
184
+ public function setCurrency($val)
185
+ {
186
+ $this->_propDict["currency"] = $val;
187
+ return $this;
188
+ }
189
+
190
+ /**
191
+ * Gets the dateTime
192
+ * This column stores DateTime values.
193
+ *
194
+ * @return DateTimeColumn The dateTime
195
+ */
196
+ public function getDateTime()
197
+ {
198
+ if (array_key_exists("dateTime", $this->_propDict)) {
199
+ if (is_a($this->_propDict["dateTime"], "Microsoft\Graph\Model\DateTimeColumn")) {
200
+ return $this->_propDict["dateTime"];
201
+ } else {
202
+ $this->_propDict["dateTime"] = new DateTimeColumn($this->_propDict["dateTime"]);
203
+ return $this->_propDict["dateTime"];
204
+ }
205
+ }
206
+ return null;
207
+ }
208
+
209
+ /**
210
+ * Sets the dateTime
211
+ * This column stores DateTime values.
212
+ *
213
+ * @param DateTimeColumn $val The dateTime
214
+ *
215
+ * @return ColumnDefinition
216
+ */
217
+ public function setDateTime($val)
218
+ {
219
+ $this->_propDict["dateTime"] = $val;
220
+ return $this;
221
+ }
222
+
223
+ /**
224
+ * Gets the defaultValue
225
+ * The default value for this column.
226
+ *
227
+ * @return DefaultColumnValue The defaultValue
228
+ */
229
+ public function getDefaultValue()
230
+ {
231
+ if (array_key_exists("defaultValue", $this->_propDict)) {
232
+ if (is_a($this->_propDict["defaultValue"], "Microsoft\Graph\Model\DefaultColumnValue")) {
233
+ return $this->_propDict["defaultValue"];
234
+ } else {
235
+ $this->_propDict["defaultValue"] = new DefaultColumnValue($this->_propDict["defaultValue"]);
236
+ return $this->_propDict["defaultValue"];
237
+ }
238
+ }
239
+ return null;
240
+ }
241
+
242
+ /**
243
+ * Sets the defaultValue
244
+ * The default value for this column.
245
+ *
246
+ * @param DefaultColumnValue $val The defaultValue
247
+ *
248
+ * @return ColumnDefinition
249
+ */
250
+ public function setDefaultValue($val)
251
+ {
252
+ $this->_propDict["defaultValue"] = $val;
253
+ return $this;
254
+ }
255
+
256
+ /**
257
+ * Gets the description
258
+ * The user-facing description of the column.
259
+ *
260
+ * @return string The description
261
+ */
262
+ public function getDescription()
263
+ {
264
+ if (array_key_exists("description", $this->_propDict)) {
265
+ return $this->_propDict["description"];
266
+ } else {
267
+ return null;
268
+ }
269
+ }
270
+
271
+ /**
272
+ * Sets the description
273
+ * The user-facing description of the column.
274
+ *
275
+ * @param string $val The description
276
+ *
277
+ * @return ColumnDefinition
278
+ */
279
+ public function setDescription($val)
280
+ {
281
+ $this->_propDict["description"] = $val;
282
+ return $this;
283
+ }
284
+
285
+ /**
286
+ * Gets the displayName
287
+ * The user-facing name of the column.
288
+ *
289
+ * @return string The displayName
290
+ */
291
+ public function getDisplayName()
292
+ {
293
+ if (array_key_exists("displayName", $this->_propDict)) {
294
+ return $this->_propDict["displayName"];
295
+ } else {
296
+ return null;
297
+ }
298
+ }
299
+
300
+ /**
301
+ * Sets the displayName
302
+ * The user-facing name of the column.
303
+ *
304
+ * @param string $val The displayName
305
+ *
306
+ * @return ColumnDefinition
307
+ */
308
+ public function setDisplayName($val)
309
+ {
310
+ $this->_propDict["displayName"] = $val;
311
+ return $this;
312
+ }
313
+
314
+ /**
315
+ * Gets the enforceUniqueValues
316
+ * If true, no two list items may have the same value for this column.
317
+ *
318
+ * @return bool The enforceUniqueValues
319
+ */
320
+ public function getEnforceUniqueValues()
321
+ {
322
+ if (array_key_exists("enforceUniqueValues", $this->_propDict)) {
323
+ return $this->_propDict["enforceUniqueValues"];
324
+ } else {
325
+ return null;
326
+ }
327
+ }
328
+
329
+ /**
330
+ * Sets the enforceUniqueValues
331
+ * If true, no two list items may have the same value for this column.
332
+ *
333
+ * @param bool $val The enforceUniqueValues
334
+ *
335
+ * @return ColumnDefinition
336
+ */
337
+ public function setEnforceUniqueValues($val)
338
+ {
339
+ $this->_propDict["enforceUniqueValues"] = boolval($val);
340
+ return $this;
341
+ }
342
+
343
+ /**
344
+ * Gets the hidden
345
+ * Specifies whether the column is displayed in the user interface.
346
+ *
347
+ * @return bool The hidden
348
+ */
349
+ public function getHidden()
350
+ {
351
+ if (array_key_exists("hidden", $this->_propDict)) {
352
+ return $this->_propDict["hidden"];
353
+ } else {
354
+ return null;
355
+ }
356
+ }
357
+
358
+ /**
359
+ * Sets the hidden
360
+ * Specifies whether the column is displayed in the user interface.
361
+ *
362
+ * @param bool $val The hidden
363
+ *
364
+ * @return ColumnDefinition
365
+ */
366
+ public function setHidden($val)
367
+ {
368
+ $this->_propDict["hidden"] = boolval($val);
369
+ return $this;
370
+ }
371
+
372
+ /**
373
+ * Gets the indexed
374
+ * Specifies whether the column values can used for sorting and searching.
375
+ *
376
+ * @return bool The indexed
377
+ */
378
+ public function getIndexed()
379
+ {
380
+ if (array_key_exists("indexed", $this->_propDict)) {
381
+ return $this->_propDict["indexed"];
382
+ } else {
383
+ return null;
384
+ }
385
+ }
386
+
387
+ /**
388
+ * Sets the indexed
389
+ * Specifies whether the column values can used for sorting and searching.
390
+ *
391
+ * @param bool $val The indexed
392
+ *
393
+ * @return ColumnDefinition
394
+ */
395
+ public function setIndexed($val)
396
+ {
397
+ $this->_propDict["indexed"] = boolval($val);
398
+ return $this;
399
+ }
400
+
401
+ /**
402
+ * Gets the lookup
403
+ * This column's data is looked up from another source in the site.
404
+ *
405
+ * @return LookupColumn The lookup
406
+ */
407
+ public function getLookup()
408
+ {
409
+ if (array_key_exists("lookup", $this->_propDict)) {
410
+ if (is_a($this->_propDict["lookup"], "Microsoft\Graph\Model\LookupColumn")) {
411
+ return $this->_propDict["lookup"];
412
+ } else {
413
+ $this->_propDict["lookup"] = new LookupColumn($this->_propDict["lookup"]);
414
+ return $this->_propDict["lookup"];
415
+ }
416
+ }
417
+ return null;
418
+ }
419
+
420
+ /**
421
+ * Sets the lookup
422
+ * This column's data is looked up from another source in the site.
423
+ *
424
+ * @param LookupColumn $val The lookup
425
+ *
426
+ * @return ColumnDefinition
427
+ */
428
+ public function setLookup($val)
429
+ {
430
+ $this->_propDict["lookup"] = $val;
431
+ return $this;
432
+ }
433
+
434
+ /**
435
+ * Gets the name
436
+ * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName.
437
+ *
438
+ * @return string The name
439
+ */
440
+ public function getName()
441
+ {
442
+ if (array_key_exists("name", $this->_propDict)) {
443
+ return $this->_propDict["name"];
444
+ } else {
445
+ return null;
446
+ }
447
+ }
448
+
449
+ /**
450
+ * Sets the name
451
+ * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName.
452
+ *
453
+ * @param string $val The name
454
+ *
455
+ * @return ColumnDefinition
456
+ */
457
+ public function setName($val)
458
+ {
459
+ $this->_propDict["name"] = $val;
460
+ return $this;
461
+ }
462
+
463
+ /**
464
+ * Gets the number
465
+ * This column stores number values.
466
+ *
467
+ * @return NumberColumn The number
468
+ */
469
+ public function getNumber()
470
+ {
471
+ if (array_key_exists("number", $this->_propDict)) {
472
+ if (is_a($this->_propDict["number"], "Microsoft\Graph\Model\NumberColumn")) {
473
+ return $this->_propDict["number"];
474
+ } else {
475
+ $this->_propDict["number"] = new NumberColumn($this->_propDict["number"]);
476
+ return $this->_propDict["number"];
477
+ }
478
+ }
479
+ return null;
480
+ }
481
+
482
+ /**
483
+ * Sets the number
484
+ * This column stores number values.
485
+ *
486
+ * @param NumberColumn $val The number
487
+ *
488
+ * @return ColumnDefinition
489
+ */
490
+ public function setNumber($val)
491
+ {
492
+ $this->_propDict["number"] = $val;
493
+ return $this;
494
+ }
495
+
496
+ /**
497
+ * Gets the personOrGroup
498
+ * This column stores Person or Group values.
499
+ *
500
+ * @return PersonOrGroupColumn The personOrGroup
501
+ */
502
+ public function getPersonOrGroup()
503
+ {
504
+ if (array_key_exists("personOrGroup", $this->_propDict)) {
505
+ if (is_a($this->_propDict["personOrGroup"], "Microsoft\Graph\Model\PersonOrGroupColumn")) {
506
+ return $this->_propDict["personOrGroup"];
507
+ } else {
508
+ $this->_propDict["personOrGroup"] = new PersonOrGroupColumn($this->_propDict["personOrGroup"]);
509
+ return $this->_propDict["personOrGroup"];
510
+ }
511
+ }
512
+ return null;
513
+ }
514
+
515
+ /**
516
+ * Sets the personOrGroup
517
+ * This column stores Person or Group values.
518
+ *
519
+ * @param PersonOrGroupColumn $val The personOrGroup
520
+ *
521
+ * @return ColumnDefinition
522
+ */
523
+ public function setPersonOrGroup($val)
524
+ {
525
+ $this->_propDict["personOrGroup"] = $val;
526
+ return $this;
527
+ }
528
+
529
+ /**
530
+ * Gets the readOnly
531
+ * Specifies whether the column values can be modified.
532
+ *
533
+ * @return bool The readOnly
534
+ */
535
+ public function getReadOnly()
536
+ {
537
+ if (array_key_exists("readOnly", $this->_propDict)) {
538
+ return $this->_propDict["readOnly"];
539
+ } else {
540
+ return null;
541
+ }
542
+ }
543
+
544
+ /**
545
+ * Sets the readOnly
546
+ * Specifies whether the column values can be modified.
547
+ *
548
+ * @param bool $val The readOnly
549
+ *
550
+ * @return ColumnDefinition
551
+ */
552
+ public function setReadOnly($val)
553
+ {
554
+ $this->_propDict["readOnly"] = boolval($val);
555
+ return $this;
556
+ }
557
+
558
+ /**
559
+ * Gets the required
560
+ * Specifies whether the column value is not optional.
561
+ *
562
+ * @return bool The required
563
+ */
564
+ public function getRequired()
565
+ {
566
+ if (array_key_exists("required", $this->_propDict)) {
567
+ return $this->_propDict["required"];
568
+ } else {
569
+ return null;
570
+ }
571
+ }
572
+
573
+ /**
574
+ * Sets the required
575
+ * Specifies whether the column value is not optional.
576
+ *
577
+ * @param bool $val The required
578
+ *
579
+ * @return ColumnDefinition
580
+ */
581
+ public function setRequired($val)
582
+ {
583
+ $this->_propDict["required"] = boolval($val);
584
+ return $this;
585
+ }
586
+
587
+ /**
588
+ * Gets the text
589
+ * This column stores text values.
590
+ *
591
+ * @return TextColumn The text
592
+ */
593
+ public function getText()
594
+ {
595
+ if (array_key_exists("text", $this->_propDict)) {
596
+ if (is_a($this->_propDict["text"], "Microsoft\Graph\Model\TextColumn")) {
597
+ return $this->_propDict["text"];
598
+ } else {
599
+ $this->_propDict["text"] = new TextColumn($this->_propDict["text"]);
600
+ return $this->_propDict["text"];
601
+ }
602
+ }
603
+ return null;
604
+ }
605
+
606
+ /**
607
+ * Sets the text
608
+ * This column stores text values.
609
+ *
610
+ * @param TextColumn $val The text
611
+ *
612
+ * @return ColumnDefinition
613
+ */
614
+ public function setText($val)
615
+ {
616
+ $this->_propDict["text"] = $val;
617
+ return $this;
618
+ }
619
+
620
+ }
vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ColumnLink File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * ColumnLink class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class ColumnLink extends Entity
28
+ {
29
+ /**
30
+ * Gets the name
31
+ * The name of the column in this content type.
32
+ *
33
+ * @return string The name
34
+ */
35
+ public function getName()
36
+ {
37
+ if (array_key_exists("name", $this->_propDict)) {
38
+ return $this->_propDict["name"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the name
46
+ * The name of the column in this content type.
47
+ *
48
+ * @param string $val The name
49
+ *
50
+ * @return ColumnLink
51
+ */
52
+ public function setName($val)
53
+ {
54
+ $this->_propDict["name"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ }
vendor/microsoft/microsoft-graph/src/Model/CommsNotification.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CommsNotification File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CommsNotification class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CommsNotification extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the changeType
31
+ *
32
+ * @return ChangeType The changeType
33
+ */
34
+ public function getChangeType()
35
+ {
36
+ if (array_key_exists("changeType", $this->_propDict)) {
37
+ if (is_a($this->_propDict["changeType"], "Microsoft\Graph\Model\ChangeType")) {
38
+ return $this->_propDict["changeType"];
39
+ } else {
40
+ $this->_propDict["changeType"] = new ChangeType($this->_propDict["changeType"]);
41
+ return $this->_propDict["changeType"];
42
+ }
43
+ }
44
+ return null;
45
+ }
46
+
47
+ /**
48
+ * Sets the changeType
49
+ *
50
+ * @param ChangeType $val The value to assign to the changeType
51
+ *
52
+ * @return CommsNotification The CommsNotification
53
+ */
54
+ public function setChangeType($val)
55
+ {
56
+ $this->_propDict["changeType"] = $val;
57
+ return $this;
58
+ }
59
+ /**
60
+ * Gets the resourceUrl
61
+ *
62
+ * @return string The resourceUrl
63
+ */
64
+ public function getResourceUrl()
65
+ {
66
+ if (array_key_exists("resourceUrl", $this->_propDict)) {
67
+ return $this->_propDict["resourceUrl"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the resourceUrl
75
+ *
76
+ * @param string $val The value of the resourceUrl
77
+ *
78
+ * @return CommsNotification
79
+ */
80
+ public function setResourceUrl($val)
81
+ {
82
+ $this->_propDict["resourceUrl"] = $val;
83
+ return $this;
84
+ }
85
+ }
vendor/microsoft/microsoft-graph/src/Model/CommsNotifications.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CommsNotifications File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CommsNotifications class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CommsNotifications extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the value
31
+ *
32
+ * @return CommsNotification The value
33
+ */
34
+ public function getValue()
35
+ {
36
+ if (array_key_exists("value", $this->_propDict)) {
37
+ if (is_a($this->_propDict["value"], "Microsoft\Graph\Model\CommsNotification")) {
38
+ return $this->_propDict["value"];
39
+ } else {
40
+ $this->_propDict["value"] = new CommsNotification($this->_propDict["value"]);
41
+ return $this->_propDict["value"];
42
+ }
43
+ }
44
+ return null;
45
+ }
46
+
47
+ /**
48
+ * Sets the value
49
+ *
50
+ * @param CommsNotification $val The value to assign to the value
51
+ *
52
+ * @return CommsNotifications The CommsNotifications
53
+ */
54
+ public function setValue($val)
55
+ {
56
+ $this->_propDict["value"] = $val;
57
+ return $this;
58
+ }
59
+ }
vendor/microsoft/microsoft-graph/src/Model/CommsOperation.php ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CommsOperation File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * CommsOperation class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class CommsOperation extends Entity
28
+ {
29
+ /**
30
+ * Gets the status
31
+ *
32
+ * @return OperationStatus The status
33
+ */
34
+ public function getStatus()
35
+ {
36
+ if (array_key_exists("status", $this->_propDict)) {
37
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\OperationStatus")) {
38
+ return $this->_propDict["status"];
39
+ } else {
40
+ $this->_propDict["status"] = new OperationStatus($this->_propDict["status"]);
41
+ return $this->_propDict["status"];
42
+ }
43
+ }
44
+ return null;
45
+ }
46
+
47
+ /**
48
+ * Sets the status
49
+ *
50
+ * @param OperationStatus $val The status
51
+ *
52
+ * @return CommsOperation
53
+ */
54
+ public function setStatus($val)
55
+ {
56
+ $this->_propDict["status"] = $val;
57
+ return $this;
58
+ }
59
+
60
+ /**
61
+ * Gets the clientContext
62
+ *
63
+ * @return string The clientContext
64
+ */
65
+ public function getClientContext()
66
+ {
67
+ if (array_key_exists("clientContext", $this->_propDict)) {
68
+ return $this->_propDict["clientContext"];
69
+ } else {
70
+ return null;
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Sets the clientContext
76
+ *
77
+ * @param string $val The clientContext
78
+ *
79
+ * @return CommsOperation
80
+ */
81
+ public function setClientContext($val)
82
+ {
83
+ $this->_propDict["clientContext"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the resultInfo
89
+ *
90
+ * @return ResultInfo The resultInfo
91
+ */
92
+ public function getResultInfo()
93
+ {
94
+ if (array_key_exists("resultInfo", $this->_propDict)) {
95
+ if (is_a($this->_propDict["resultInfo"], "Microsoft\Graph\Model\ResultInfo")) {
96
+ return $this->_propDict["resultInfo"];
97
+ } else {
98
+ $this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]);
99
+ return $this->_propDict["resultInfo"];
100
+ }
101
+ }
102
+ return null;
103
+ }
104
+
105
+ /**
106
+ * Sets the resultInfo
107
+ *
108
+ * @param ResultInfo $val The resultInfo
109
+ *
110
+ * @return CommsOperation
111
+ */
112
+ public function setResultInfo($val)
113
+ {
114
+ $this->_propDict["resultInfo"] = $val;
115
+ return $this;
116
+ }
117
+
118
+ }
vendor/microsoft/microsoft-graph/src/Model/ComplexExtensionValue.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ComplexExtensionValue File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ComplexExtensionValue class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ComplexExtensionValue extends Entity
27
+ {
28
+ }
vendor/microsoft/microsoft-graph/src/Model/ComplianceInformation.php ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ComplianceInformation File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ComplianceInformation class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ComplianceInformation extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the certificationControls
31
+ * Collection of the certification controls associated with certification
32
+ *
33
+ * @return CertificationControl The certificationControls
34
+ */
35
+ public function getCertificationControls()
36
+ {
37
+ if (array_key_exists("certificationControls", $this->_propDict)) {
38
+ if (is_a($this->_propDict["certificationControls"], "Microsoft\Graph\Model\CertificationControl")) {
39
+ return $this->_propDict["certificationControls"];
40
+ } else {
41
+ $this->_propDict["certificationControls"] = new CertificationControl($this->_propDict["certificationControls"]);
42
+ return $this->_propDict["certificationControls"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the certificationControls
50
+ * Collection of the certification controls associated with certification
51
+ *
52
+ * @param CertificationControl $val The value to assign to the certificationControls
53
+ *
54
+ * @return ComplianceInformation The ComplianceInformation
55
+ */
56
+ public function setCertificationControls($val)
57
+ {
58
+ $this->_propDict["certificationControls"] = $val;
59
+ return $this;
60
+ }
61
+ /**
62
+ * Gets the certificationName
63
+ * Compliance certification name (for example, ISO 27018:2014, GDPR, FedRAMP, NIST 800-171)
64
+ *
65
+ * @return string The certificationName
66
+ */
67
+ public function getCertificationName()
68
+ {
69
+ if (array_key_exists("certificationName", $this->_propDict)) {
70
+ return $this->_propDict["certificationName"];
71
+ } else {
72
+ return null;
73
+ }
74
+ }
75
+
76
+ /**
77
+ * Sets the certificationName
78
+ * Compliance certification name (for example, ISO 27018:2014, GDPR, FedRAMP, NIST 800-171)
79
+ *
80
+ * @param string $val The value of the certificationName
81
+ *
82
+ * @return ComplianceInformation
83
+ */
84
+ public function setCertificationName($val)
85
+ {
86
+ $this->_propDict["certificationName"] = $val;
87
+ return $this;
88
+ }
89
+ }
vendor/microsoft/microsoft-graph/src/Model/ComplianceState.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ComplianceState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ComplianceState class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ComplianceState extends Enum
30
+ {
31
+ /**
32
+ * The Enum ComplianceState
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const COMPLIANT = "compliant";
36
+ const NONCOMPLIANT = "noncompliant";
37
+ const CONFLICT = "conflict";
38
+ const ERROR = "error";
39
+ const IN_GRACE_PERIOD = "inGracePeriod";
40
+ const CONFIG_MANAGER = "configManager";
41
+ }
vendor/microsoft/microsoft-graph/src/Model/ComplianceStatus.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ComplianceStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ComplianceStatus class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ComplianceStatus extends Enum
30
+ {
31
+ /**
32
+ * The Enum ComplianceStatus
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const NOT_APPLICABLE = "notApplicable";
36
+ const COMPLIANT = "compliant";
37
+ const REMEDIATED = "remediated";
38
+ const NON_COMPLIANT = "nonCompliant";
39
+ const ERROR = "error";
40
+ const CONFLICT = "conflict";
41
+ const NOT_ASSIGNED = "notAssigned";
42
+ }
vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessStatus.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ConditionalAccessStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ConditionalAccessStatus class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ConditionalAccessStatus extends Enum
30
+ {
31
+ /**
32
+ * The Enum ConditionalAccessStatus
33
+ */
34
+ const SUCCESS = "success";
35
+ const FAILURE = "failure";
36
+ const NOT_APPLIED = "notApplied";
37
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerClientEnabledFeatures.php ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ConfigurationManagerClientEnabledFeatures File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ConfigurationManagerClientEnabledFeatures class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ConfigurationManagerClientEnabledFeatures extends Entity
27
+ {
28
+ /**
29
+ * Gets the inventory
30
+ * Whether inventory is managed by Intune
31
+ *
32
+ * @return bool The inventory
33
+ */
34
+ public function getInventory()
35
+ {
36
+ if (array_key_exists("inventory", $this->_propDict)) {
37
+ return $this->_propDict["inventory"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the inventory
45
+ * Whether inventory is managed by Intune
46
+ *
47
+ * @param bool $val The value of the inventory
48
+ *
49
+ * @return ConfigurationManagerClientEnabledFeatures
50
+ */
51
+ public function setInventory($val)
52
+ {
53
+ $this->_propDict["inventory"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the modernApps
58
+ * Whether modern application is managed by Intune
59
+ *
60
+ * @return bool The modernApps
61
+ */
62
+ public function getModernApps()
63
+ {
64
+ if (array_key_exists("modernApps", $this->_propDict)) {
65
+ return $this->_propDict["modernApps"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the modernApps
73
+ * Whether modern application is managed by Intune
74
+ *
75
+ * @param bool $val The value of the modernApps
76
+ *
77
+ * @return ConfigurationManagerClientEnabledFeatures
78
+ */
79
+ public function setModernApps($val)
80
+ {
81
+ $this->_propDict["modernApps"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the resourceAccess
86
+ * Whether resource access is managed by Intune
87
+ *
88
+ * @return bool The resourceAccess
89
+ */
90
+ public function getResourceAccess()
91
+ {
92
+ if (array_key_exists("resourceAccess", $this->_propDict)) {
93
+ return $this->_propDict["resourceAccess"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the resourceAccess
101
+ * Whether resource access is managed by Intune
102
+ *
103
+ * @param bool $val The value of the resourceAccess
104
+ *
105
+ * @return ConfigurationManagerClientEnabledFeatures
106
+ */
107
+ public function setResourceAccess($val)
108
+ {
109
+ $this->_propDict["resourceAccess"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the deviceConfiguration
114
+ * Whether device configuration is managed by Intune
115
+ *
116
+ * @return bool The deviceConfiguration
117
+ */
118
+ public function getDeviceConfiguration()
119
+ {
120
+ if (array_key_exists("deviceConfiguration", $this->_propDict)) {
121
+ return $this->_propDict["deviceConfiguration"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the deviceConfiguration
129
+ * Whether device configuration is managed by Intune
130
+ *
131
+ * @param bool $val The value of the deviceConfiguration
132
+ *
133
+ * @return ConfigurationManagerClientEnabledFeatures
134
+ */
135
+ public function setDeviceConfiguration($val)
136
+ {
137
+ $this->_propDict["deviceConfiguration"] = $val;
138
+ return $this;
139
+ }
140
+ /**
141
+ * Gets the compliancePolicy
142
+ * Whether compliance policy is managed by Intune
143
+ *
144
+ * @return bool The compliancePolicy
145
+ */
146
+ public function getCompliancePolicy()
147
+ {
148
+ if (array_key_exists("compliancePolicy", $this->_propDict)) {
149
+ return $this->_propDict["compliancePolicy"];
150
+ } else {
151
+ return null;
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Sets the compliancePolicy
157
+ * Whether compliance policy is managed by Intune
158
+ *
159
+ * @param bool $val The value of the compliancePolicy
160
+ *
161
+ * @return ConfigurationManagerClientEnabledFeatures
162
+ */
163
+ public function setCompliancePolicy($val)
164
+ {
165
+ $this->_propDict["compliancePolicy"] = $val;
166
+ return $this;
167
+ }
168
+ /**
169
+ * Gets the windowsUpdateForBusiness
170
+ * Whether Windows Update for Business is managed by Intune
171
+ *
172
+ * @return bool The windowsUpdateForBusiness
173
+ */
174
+ public function getWindowsUpdateForBusiness()
175
+ {
176
+ if (array_key_exists("windowsUpdateForBusiness", $this->_propDict)) {
177
+ return $this->_propDict["windowsUpdateForBusiness"];
178
+ } else {
179
+ return null;
180
+ }
181
+ }
182
+
183
+ /**
184
+ * Sets the windowsUpdateForBusiness
185
+ * Whether Windows Update for Business is managed by Intune
186
+ *
187
+ * @param bool $val The value of the windowsUpdateForBusiness
188
+ *
189
+ * @return ConfigurationManagerClientEnabledFeatures
190
+ */
191
+ public function setWindowsUpdateForBusiness($val)
192
+ {
193
+ $this->_propDict["windowsUpdateForBusiness"] = $val;
194
+ return $this;
195
+ }
196
+ }
vendor/microsoft/microsoft-graph/src/Model/ConnectionDirection.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ConnectionDirection File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ConnectionDirection class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ConnectionDirection extends Enum
30
+ {
31
+ /**
32
+ * The Enum ConnectionDirection
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const INBOUND = "inbound";
36
+ const OUTBOUND = "outbound";
37
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/ConnectionStatus.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ConnectionStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * ConnectionStatus class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class ConnectionStatus extends Enum
30
+ {
31
+ /**
32
+ * The Enum ConnectionStatus
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const ATTEMPTED = "attempted";
36
+ const SUCCEEDED = "succeeded";
37
+ const BLOCKED = "blocked";
38
+ const FAILED = "failed";
39
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
40
+ }
vendor/microsoft/microsoft-graph/src/Model/Contact.php ADDED
@@ -0,0 +1,1126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Contact File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Contact class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Contact extends OutlookItem
28
+ {
29
+ /**
30
+ * Gets the parentFolderId
31
+ * The ID of the contact's parent folder.
32
+ *
33
+ * @return string The parentFolderId
34
+ */
35
+ public function getParentFolderId()
36
+ {
37
+ if (array_key_exists("parentFolderId", $this->_propDict)) {
38
+ return $this->_propDict["parentFolderId"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the parentFolderId
46
+ * The ID of the contact's parent folder.
47
+ *
48
+ * @param string $val The parentFolderId
49
+ *
50
+ * @return Contact
51
+ */
52
+ public function setParentFolderId($val)
53
+ {
54
+ $this->_propDict["parentFolderId"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the birthday
60
+ * The contact's birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
61
+ *
62
+ * @return \DateTime The birthday
63
+ */
64
+ public function getBirthday()
65
+ {
66
+ if (array_key_exists("birthday", $this->_propDict)) {
67
+ if (is_a($this->_propDict["birthday"], "\DateTime")) {
68
+ return $this->_propDict["birthday"];
69
+ } else {
70
+ $this->_propDict["birthday"] = new \DateTime($this->_propDict["birthday"]);
71
+ return $this->_propDict["birthday"];
72
+ }
73
+ }
74
+ return null;
75
+ }
76
+
77
+ /**
78
+ * Sets the birthday
79
+ * The contact's birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
80
+ *
81
+ * @param \DateTime $val The birthday
82
+ *
83
+ * @return Contact
84
+ */
85
+ public function setBirthday($val)
86
+ {
87
+ $this->_propDict["birthday"] = $val;
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the fileAs
93
+ * The name the contact is filed under.
94
+ *
95
+ * @return string The fileAs
96
+ */
97
+ public function getFileAs()
98
+ {
99
+ if (array_key_exists("fileAs", $this->_propDict)) {
100
+ return $this->_propDict["fileAs"];
101
+ } else {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Sets the fileAs
108
+ * The name the contact is filed under.
109
+ *
110
+ * @param string $val The fileAs
111
+ *
112
+ * @return Contact
113
+ */
114
+ public function setFileAs($val)
115
+ {
116
+ $this->_propDict["fileAs"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the displayName
122
+ * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation.
123
+ *
124
+ * @return string The displayName
125
+ */
126
+ public function getDisplayName()
127
+ {
128
+ if (array_key_exists("displayName", $this->_propDict)) {
129
+ return $this->_propDict["displayName"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the displayName
137
+ * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation.
138
+ *
139
+ * @param string $val The displayName
140
+ *
141
+ * @return Contact
142
+ */
143
+ public function setDisplayName($val)
144
+ {
145
+ $this->_propDict["displayName"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the givenName
151
+ * The contact's given name.
152
+ *
153
+ * @return string The givenName
154
+ */
155
+ public function getGivenName()
156
+ {
157
+ if (array_key_exists("givenName", $this->_propDict)) {
158
+ return $this->_propDict["givenName"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the givenName
166
+ * The contact's given name.
167
+ *
168
+ * @param string $val The givenName
169
+ *
170
+ * @return Contact
171
+ */
172
+ public function setGivenName($val)
173
+ {
174
+ $this->_propDict["givenName"] = $val;
175
+ return $this;
176
+ }
177
+
178
+ /**
179
+ * Gets the initials
180
+ * The contact's initials.
181
+ *
182
+ * @return string The initials
183
+ */
184
+ public function getInitials()
185
+ {
186
+ if (array_key_exists("initials", $this->_propDict)) {
187
+ return $this->_propDict["initials"];
188
+ } else {
189
+ return null;
190
+ }
191
+ }
192
+
193
+ /**
194
+ * Sets the initials
195
+ * The contact's initials.
196
+ *
197
+ * @param string $val The initials
198
+ *
199
+ * @return Contact
200
+ */
201
+ public function setInitials($val)
202
+ {
203
+ $this->_propDict["initials"] = $val;
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the middleName
209
+ * The contact's middle name.
210
+ *
211
+ * @return string The middleName
212
+ */
213
+ public function getMiddleName()
214
+ {
215
+ if (array_key_exists("middleName", $this->_propDict)) {
216
+ return $this->_propDict["middleName"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the middleName
224
+ * The contact's middle name.
225
+ *
226
+ * @param string $val The middleName
227
+ *
228
+ * @return Contact
229
+ */
230
+ public function setMiddleName($val)
231
+ {
232
+ $this->_propDict["middleName"] = $val;
233
+ return $this;
234
+ }
235
+
236
+ /**
237
+ * Gets the nickName
238
+ * The contact's nickname.
239
+ *
240
+ * @return string The nickName
241
+ */
242
+ public function getNickName()
243
+ {
244
+ if (array_key_exists("nickName", $this->_propDict)) {
245
+ return $this->_propDict["nickName"];
246
+ } else {
247
+ return null;
248
+ }
249
+ }
250
+
251
+ /**
252
+ * Sets the nickName
253
+ * The contact's nickname.
254
+ *
255
+ * @param string $val The nickName
256
+ *
257
+ * @return Contact
258
+ */
259
+ public function setNickName($val)
260
+ {
261
+ $this->_propDict["nickName"] = $val;
262
+ return $this;
263
+ }
264
+
265
+ /**
266
+ * Gets the surname
267
+ * The contact's surname.
268
+ *
269
+ * @return string The surname
270
+ */
271
+ public function getSurname()
272
+ {
273
+ if (array_key_exists("surname", $this->_propDict)) {
274
+ return $this->_propDict["surname"];
275
+ } else {
276
+ return null;
277
+ }
278
+ }
279
+
280
+ /**
281
+ * Sets the surname
282
+ * The contact's surname.
283
+ *
284
+ * @param string $val The surname
285
+ *
286
+ * @return Contact
287
+ */
288
+ public function setSurname($val)
289
+ {
290
+ $this->_propDict["surname"] = $val;
291
+ return $this;
292
+ }
293
+
294
+ /**
295
+ * Gets the title
296
+ * The contact's title.
297
+ *
298
+ * @return string The title
299
+ */
300
+ public function getTitle()
301
+ {
302
+ if (array_key_exists("title", $this->_propDict)) {
303
+ return $this->_propDict["title"];
304
+ } else {
305
+ return null;
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Sets the title
311
+ * The contact's title.
312
+ *
313
+ * @param string $val The title
314
+ *
315
+ * @return Contact
316
+ */
317
+ public function setTitle($val)
318
+ {
319
+ $this->_propDict["title"] = $val;
320
+ return $this;
321
+ }
322
+
323
+ /**
324
+ * Gets the yomiGivenName
325
+ * The phonetic Japanese given name (first name) of the contact.
326
+ *
327
+ * @return string The yomiGivenName
328
+ */
329
+ public function getYomiGivenName()
330
+ {
331
+ if (array_key_exists("yomiGivenName", $this->_propDict)) {
332
+ return $this->_propDict["yomiGivenName"];
333
+ } else {
334
+ return null;
335
+ }
336
+ }
337
+
338
+ /**
339
+ * Sets the yomiGivenName
340
+ * The phonetic Japanese given name (first name) of the contact.
341
+ *
342
+ * @param string $val The yomiGivenName
343
+ *
344
+ * @return Contact
345
+ */
346
+ public function setYomiGivenName($val)
347
+ {
348
+ $this->_propDict["yomiGivenName"] = $val;
349
+ return $this;
350
+ }
351
+
352
+ /**
353
+ * Gets the yomiSurname
354
+ * The phonetic Japanese surname (last name) of the contact.
355
+ *
356
+ * @return string The yomiSurname
357
+ */
358
+ public function getYomiSurname()
359
+ {
360
+ if (array_key_exists("yomiSurname", $this->_propDict)) {
361
+ return $this->_propDict["yomiSurname"];
362
+ } else {
363
+ return null;
364
+ }
365
+ }
366
+
367
+ /**
368
+ * Sets the yomiSurname
369
+ * The phonetic Japanese surname (last name) of the contact.
370
+ *
371
+ * @param string $val The yomiSurname
372
+ *
373
+ * @return Contact
374
+ */
375
+ public function setYomiSurname($val)
376
+ {
377
+ $this->_propDict["yomiSurname"] = $val;
378
+ return $this;
379
+ }
380
+
381
+ /**
382
+ * Gets the yomiCompanyName
383
+ * The phonetic Japanese company name of the contact.
384
+ *
385
+ * @return string The yomiCompanyName
386
+ */
387
+ public function getYomiCompanyName()
388
+ {
389
+ if (array_key_exists("yomiCompanyName", $this->_propDict)) {
390
+ return $this->_propDict["yomiCompanyName"];
391
+ } else {
392
+ return null;
393
+ }
394
+ }
395
+
396
+ /**
397
+ * Sets the yomiCompanyName
398
+ * The phonetic Japanese company name of the contact.
399
+ *
400
+ * @param string $val The yomiCompanyName
401
+ *
402
+ * @return Contact
403
+ */
404
+ public function setYomiCompanyName($val)
405
+ {
406
+ $this->_propDict["yomiCompanyName"] = $val;
407
+ return $this;
408
+ }
409
+
410
+ /**
411
+ * Gets the generation
412
+ * The contact's generation.
413
+ *
414
+ * @return string The generation
415
+ */
416
+ public function getGeneration()
417
+ {
418
+ if (array_key_exists("generation", $this->_propDict)) {
419
+ return $this->_propDict["generation"];
420
+ } else {
421
+ return null;
422
+ }
423
+ }
424
+
425
+ /**
426
+ * Sets the generation
427
+ * The contact's generation.
428
+ *
429
+ * @param string $val The generation
430
+ *
431
+ * @return Contact
432
+ */
433
+ public function setGeneration($val)
434
+ {
435
+ $this->_propDict["generation"] = $val;
436
+ return $this;
437
+ }
438
+
439
+
440
+ /**
441
+ * Gets the emailAddresses
442
+ * The contact's email addresses.
443
+ *
444
+ * @return array The emailAddresses
445
+ */
446
+ public function getEmailAddresses()
447
+ {
448
+ if (array_key_exists("emailAddresses", $this->_propDict)) {
449
+ return $this->_propDict["emailAddresses"];
450
+ } else {
451
+ return null;
452
+ }
453
+ }
454
+
455
+ /**
456
+ * Sets the emailAddresses
457
+ * The contact's email addresses.
458
+ *
459
+ * @param EmailAddress $val The emailAddresses
460
+ *
461
+ * @return Contact
462
+ */
463
+ public function setEmailAddresses($val)
464
+ {
465
+ $this->_propDict["emailAddresses"] = $val;
466
+ return $this;
467
+ }
468
+
469
+ /**
470
+ * Gets the imAddresses
471
+ * The contact's instant messaging (IM) addresses.
472
+ *
473
+ * @return string The imAddresses
474
+ */
475
+ public function getImAddresses()
476
+ {
477
+ if (array_key_exists("imAddresses", $this->_propDict)) {
478
+ return $this->_propDict["imAddresses"];
479
+ } else {
480
+ return null;
481
+ }
482
+ }
483
+
484
+ /**
485
+ * Sets the imAddresses
486
+ * The contact's instant messaging (IM) addresses.
487
+ *
488
+ * @param string $val The imAddresses
489
+ *
490
+ * @return Contact
491
+ */
492
+ public function setImAddresses($val)
493
+ {
494
+ $this->_propDict["imAddresses"] = $val;
495
+ return $this;
496
+ }
497
+
498
+ /**
499
+ * Gets the jobTitle
500
+ * The contact’s job title.
501
+ *
502
+ * @return string The jobTitle
503
+ */
504
+ public function getJobTitle()
505
+ {
506
+ if (array_key_exists("jobTitle", $this->_propDict)) {
507
+ return $this->_propDict["jobTitle"];
508
+ } else {
509
+ return null;
510
+ }
511
+ }
512
+
513
+ /**
514
+ * Sets the jobTitle
515
+ * The contact’s job title.
516
+ *
517
+ * @param string $val The jobTitle
518
+ *
519
+ * @return Contact
520
+ */
521
+ public function setJobTitle($val)
522
+ {
523
+ $this->_propDict["jobTitle"] = $val;
524
+ return $this;
525
+ }
526
+
527
+ /**
528
+ * Gets the companyName
529
+ * The name of the contact's company.
530
+ *
531
+ * @return string The companyName
532
+ */
533
+ public function getCompanyName()
534
+ {
535
+ if (array_key_exists("companyName", $this->_propDict)) {
536
+ return $this->_propDict["companyName"];
537
+ } else {
538
+ return null;
539
+ }
540
+ }
541
+
542
+ /**
543
+ * Sets the companyName
544
+ * The name of the contact's company.
545
+ *
546
+ * @param string $val The companyName
547
+ *
548
+ * @return Contact
549
+ */
550
+ public function setCompanyName($val)
551
+ {
552
+ $this->_propDict["companyName"] = $val;
553
+ return $this;
554
+ }
555
+
556
+ /**
557
+ * Gets the department
558
+ * The contact's department.
559
+ *
560
+ * @return string The department
561
+ */
562
+ public function getDepartment()
563
+ {
564
+ if (array_key_exists("department", $this->_propDict)) {
565
+ return $this->_propDict["department"];
566
+ } else {
567
+ return null;
568
+ }
569
+ }
570
+
571
+ /**
572
+ * Sets the department
573
+ * The contact's department.
574
+ *
575
+ * @param string $val The department
576
+ *
577
+ * @return Contact
578
+ */
579
+ public function setDepartment($val)
580
+ {
581
+ $this->_propDict["department"] = $val;
582
+ return $this;
583
+ }
584
+
585
+ /**
586
+ * Gets the officeLocation
587
+ * The location of the contact's office.
588
+ *
589
+ * @return string The officeLocation
590
+ */
591
+ public function getOfficeLocation()
592
+ {
593
+ if (array_key_exists("officeLocation", $this->_propDict)) {
594
+ return $this->_propDict["officeLocation"];
595
+ } else {
596
+ return null;
597
+ }
598
+ }
599
+
600
+ /**
601
+ * Sets the officeLocation
602
+ * The location of the contact's office.
603
+ *
604
+ * @param string $val The officeLocation
605
+ *
606
+ * @return Contact
607
+ */
608
+ public function setOfficeLocation($val)
609
+ {
610
+ $this->_propDict["officeLocation"] = $val;
611
+ return $this;
612
+ }
613
+
614
+ /**
615
+ * Gets the profession
616
+ * The contact's profession.
617
+ *
618
+ * @return string The profession
619
+ */
620
+ public function getProfession()
621
+ {
622
+ if (array_key_exists("profession", $this->_propDict)) {
623
+ return $this->_propDict["profession"];
624
+ } else {
625
+ return null;
626
+ }
627
+ }
628
+
629
+ /**
630
+ * Sets the profession
631
+ * The contact's profession.
632
+ *
633
+ * @param string $val The profession
634
+ *
635
+ * @return Contact
636
+ */
637
+ public function setProfession($val)
638
+ {
639
+ $this->_propDict["profession"] = $val;
640
+ return $this;
641
+ }
642
+
643
+ /**
644
+ * Gets the businessHomePage
645
+ * The business home page of the contact.
646
+ *
647
+ * @return string The businessHomePage
648
+ */
649
+ public function getBusinessHomePage()
650
+ {
651
+ if (array_key_exists("businessHomePage", $this->_propDict)) {
652
+ return $this->_propDict["businessHomePage"];
653
+ } else {
654
+ return null;
655
+ }
656
+ }
657
+
658
+ /**
659
+ * Sets the businessHomePage
660
+ * The business home page of the contact.
661
+ *
662
+ * @param string $val The businessHomePage
663
+ *
664
+ * @return Contact
665
+ */
666
+ public function setBusinessHomePage($val)
667
+ {
668
+ $this->_propDict["businessHomePage"] = $val;
669
+ return $this;
670
+ }
671
+
672
+ /**
673
+ * Gets the assistantName
674
+ * The name of the contact's assistant.
675
+ *
676
+ * @return string The assistantName
677
+ */
678
+ public function getAssistantName()
679
+ {
680
+ if (array_key_exists("assistantName", $this->_propDict)) {
681
+ return $this->_propDict["assistantName"];
682
+ } else {
683
+ return null;
684
+ }
685
+ }
686
+
687
+ /**
688
+ * Sets the assistantName
689
+ * The name of the contact's assistant.
690
+ *
691
+ * @param string $val The assistantName
692
+ *
693
+ * @return Contact
694
+ */
695
+ public function setAssistantName($val)
696
+ {
697
+ $this->_propDict["assistantName"] = $val;
698
+ return $this;
699
+ }
700
+
701
+ /**
702
+ * Gets the manager
703
+ * The name of the contact's manager.
704
+ *
705
+ * @return string The manager
706
+ */
707
+ public function getManager()
708
+ {
709
+ if (array_key_exists("manager", $this->_propDict)) {
710
+ return $this->_propDict["manager"];
711
+ } else {
712
+ return null;
713
+ }
714
+ }
715
+
716
+ /**
717
+ * Sets the manager
718
+ * The name of the contact's manager.
719
+ *
720
+ * @param string $val The manager
721
+ *
722
+ * @return Contact
723
+ */
724
+ public function setManager($val)
725
+ {
726
+ $this->_propDict["manager"] = $val;
727
+ return $this;
728
+ }
729
+
730
+ /**
731
+ * Gets the homePhones
732
+ * The contact's home phone numbers.
733
+ *
734
+ * @return string The homePhones
735
+ */
736
+ public function getHomePhones()
737
+ {
738
+ if (array_key_exists("homePhones", $this->_propDict)) {
739
+ return $this->_propDict["homePhones"];
740
+ } else {
741
+ return null;
742
+ }
743
+ }
744
+
745
+ /**
746
+ * Sets the homePhones
747
+ * The contact's home phone numbers.
748
+ *
749
+ * @param string $val The homePhones
750
+ *
751
+ * @return Contact
752
+ */
753
+ public function setHomePhones($val)
754
+ {
755
+ $this->_propDict["homePhones"] = $val;
756
+ return $this;
757
+ }
758
+
759
+ /**
760
+ * Gets the mobilePhone
761
+ * The contact's mobile phone number.
762
+ *
763
+ * @return string The mobilePhone
764
+ */
765
+ public function getMobilePhone()
766
+ {
767
+ if (array_key_exists("mobilePhone", $this->_propDict)) {
768
+ return $this->_propDict["mobilePhone"];
769
+ } else {
770
+ return null;
771
+ }
772
+ }
773
+
774
+ /**
775
+ * Sets the mobilePhone
776
+ * The contact's mobile phone number.
777
+ *
778
+ * @param string $val The mobilePhone
779
+ *
780
+ * @return Contact
781
+ */
782
+ public function setMobilePhone($val)
783
+ {
784
+ $this->_propDict["mobilePhone"] = $val;
785
+ return $this;
786
+ }
787
+
788
+ /**
789
+ * Gets the businessPhones
790
+ * The contact's business phone numbers.
791
+ *
792
+ * @return string The businessPhones
793
+ */
794
+ public function getBusinessPhones()
795
+ {
796
+ if (array_key_exists("businessPhones", $this->_propDict)) {
797
+ return $this->_propDict["businessPhones"];
798
+ } else {
799
+ return null;
800
+ }
801
+ }
802
+
803
+ /**
804
+ * Sets the businessPhones
805
+ * The contact's business phone numbers.
806
+ *
807
+ * @param string $val The businessPhones
808
+ *
809
+ * @return Contact
810
+ */
811
+ public function setBusinessPhones($val)
812
+ {
813
+ $this->_propDict["businessPhones"] = $val;
814
+ return $this;
815
+ }
816
+
817
+ /**
818
+ * Gets the homeAddress
819
+ * The contact's home address.
820
+ *
821
+ * @return PhysicalAddress The homeAddress
822
+ */
823
+ public function getHomeAddress()
824
+ {
825
+ if (array_key_exists("homeAddress", $this->_propDict)) {
826
+ if (is_a($this->_propDict["homeAddress"], "Microsoft\Graph\Model\PhysicalAddress")) {
827
+ return $this->_propDict["homeAddress"];
828
+ } else {
829
+ $this->_propDict["homeAddress"] = new PhysicalAddress($this->_propDict["homeAddress"]);
830
+ return $this->_propDict["homeAddress"];
831
+ }
832
+ }
833
+ return null;
834
+ }
835
+
836
+ /**
837
+ * Sets the homeAddress
838
+ * The contact's home address.
839
+ *
840
+ * @param PhysicalAddress $val The homeAddress
841
+ *
842
+ * @return Contact
843
+ */
844
+ public function setHomeAddress($val)
845
+ {
846
+ $this->_propDict["homeAddress"] = $val;
847
+ return $this;
848
+ }
849
+
850
+ /**
851
+ * Gets the businessAddress
852
+ * The contact's business address.
853
+ *
854
+ * @return PhysicalAddress The businessAddress
855
+ */
856
+ public function getBusinessAddress()
857
+ {
858
+ if (array_key_exists("businessAddress", $this->_propDict)) {
859
+ if (is_a($this->_propDict["businessAddress"], "Microsoft\Graph\Model\PhysicalAddress")) {
860
+ return $this->_propDict["businessAddress"];
861
+ } else {
862
+ $this->_propDict["businessAddress"] = new PhysicalAddress($this->_propDict["businessAddress"]);
863
+ return $this->_propDict["businessAddress"];
864
+ }
865
+ }
866
+ return null;
867
+ }
868
+
869
+ /**
870
+ * Sets the businessAddress
871
+ * The contact's business address.
872
+ *
873
+ * @param PhysicalAddress $val The businessAddress
874
+ *
875
+ * @return Contact
876
+ */
877
+ public function setBusinessAddress($val)
878
+ {
879
+ $this->_propDict["businessAddress"] = $val;
880
+ return $this;
881
+ }
882
+
883
+ /**
884
+ * Gets the otherAddress
885
+ * Other addresses for the contact.
886
+ *
887
+ * @return PhysicalAddress The otherAddress
888
+ */
889
+ public function getOtherAddress()
890
+ {
891
+ if (array_key_exists("otherAddress", $this->_propDict)) {
892
+ if (is_a($this->_propDict["otherAddress"], "Microsoft\Graph\Model\PhysicalAddress")) {
893
+ return $this->_propDict["otherAddress"];
894
+ } else {
895
+ $this->_propDict["otherAddress"] = new PhysicalAddress($this->_propDict["otherAddress"]);
896
+ return $this->_propDict["otherAddress"];
897
+ }
898
+ }
899
+ return null;
900
+ }
901
+
902
+ /**
903
+ * Sets the otherAddress
904
+ * Other addresses for the contact.
905
+ *
906
+ * @param PhysicalAddress $val The otherAddress
907
+ *
908
+ * @return Contact
909
+ */
910
+ public function setOtherAddress($val)
911
+ {
912
+ $this->_propDict["otherAddress"] = $val;
913
+ return $this;
914
+ }
915
+
916
+ /**
917
+ * Gets the spouseName
918
+ * The name of the contact's spouse/partner.
919
+ *
920
+ * @return string The spouseName
921
+ */
922
+ public function getSpouseName()
923
+ {
924
+ if (array_key_exists("spouseName", $this->_propDict)) {
925
+ return $this->_propDict["spouseName"];
926
+ } else {
927
+ return null;
928
+ }
929
+ }
930
+
931
+ /**
932
+ * Sets the spouseName
933
+ * The name of the contact's spouse/partner.
934
+ *
935
+ * @param string $val The spouseName
936
+ *
937
+ * @return Contact
938
+ */
939
+ public function setSpouseName($val)
940
+ {
941
+ $this->_propDict["spouseName"] = $val;
942
+ return $this;
943
+ }
944
+
945
+ /**
946
+ * Gets the personalNotes
947
+ * The user's notes about the contact.
948
+ *
949
+ * @return string The personalNotes
950
+ */
951
+ public function getPersonalNotes()
952
+ {
953
+ if (array_key_exists("personalNotes", $this->_propDict)) {
954
+ return $this->_propDict["personalNotes"];
955
+ } else {
956
+ return null;
957
+ }
958
+ }
959
+
960
+ /**
961
+ * Sets the personalNotes
962
+ * The user's notes about the contact.
963
+ *
964
+ * @param string $val The personalNotes
965
+ *
966
+ * @return Contact
967
+ */
968
+ public function setPersonalNotes($val)
969
+ {
970
+ $this->_propDict["personalNotes"] = $val;
971
+ return $this;
972
+ }
973
+
974
+ /**
975
+ * Gets the children
976
+ * The names of the contact's children.
977
+ *
978
+ * @return string The children
979
+ */
980
+ public function getChildren()
981
+ {
982
+ if (array_key_exists("children", $this->_propDict)) {
983
+ return $this->_propDict["children"];
984
+ } else {
985
+ return null;
986
+ }
987
+ }
988
+
989
+ /**
990
+ * Sets the children
991
+ * The names of the contact's children.
992
+ *
993
+ * @param string $val The children
994
+ *
995
+ * @return Contact
996
+ */
997
+ public function setChildren($val)
998
+ {
999
+ $this->_propDict["children"] = $val;
1000
+ return $this;
1001
+ }
1002
+
1003
+
1004
+ /**
1005
+ * Gets the singleValueExtendedProperties
1006
+ * The collection of single-value extended properties defined for the contact. Read-only. Nullable.
1007
+ *
1008
+ * @return array The singleValueExtendedProperties
1009
+ */
1010
+ public function getSingleValueExtendedProperties()
1011
+ {
1012
+ if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) {
1013
+ return $this->_propDict["singleValueExtendedProperties"];
1014
+ } else {
1015
+ return null;
1016
+ }
1017
+ }
1018
+
1019
+ /**
1020
+ * Sets the singleValueExtendedProperties
1021
+ * The collection of single-value extended properties defined for the contact. Read-only. Nullable.
1022
+ *
1023
+ * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties
1024
+ *
1025
+ * @return Contact
1026
+ */
1027
+ public function setSingleValueExtendedProperties($val)
1028
+ {
1029
+ $this->_propDict["singleValueExtendedProperties"] = $val;
1030
+ return $this;
1031
+ }
1032
+
1033
+
1034
+ /**
1035
+ * Gets the multiValueExtendedProperties
1036
+ * The collection of multi-value extended properties defined for the contact. Read-only. Nullable.
1037
+ *
1038
+ * @return array The multiValueExtendedProperties
1039
+ */
1040
+ public function getMultiValueExtendedProperties()
1041
+ {
1042
+ if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) {
1043
+ return $this->_propDict["multiValueExtendedProperties"];
1044
+ } else {
1045
+ return null;
1046
+ }
1047
+ }
1048
+
1049
+ /**
1050
+ * Sets the multiValueExtendedProperties
1051
+ * The collection of multi-value extended properties defined for the contact. Read-only. Nullable.
1052
+ *
1053
+ * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties
1054
+ *
1055
+ * @return Contact
1056
+ */
1057
+ public function setMultiValueExtendedProperties($val)
1058
+ {
1059
+ $this->_propDict["multiValueExtendedProperties"] = $val;
1060
+ return $this;
1061
+ }
1062
+
1063
+ /**
1064
+ * Gets the photo
1065
+ * Optional contact picture. You can get or set a photo for a contact.
1066
+ *
1067
+ * @return ProfilePhoto The photo
1068
+ */
1069
+ public function getPhoto()
1070
+ {
1071
+ if (array_key_exists("photo", $this->_propDict)) {
1072
+ if (is_a($this->_propDict["photo"], "Microsoft\Graph\Model\ProfilePhoto")) {
1073
+ return $this->_propDict["photo"];
1074
+ } else {
1075
+ $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]);
1076
+ return $this->_propDict["photo"];
1077
+ }
1078
+ }
1079
+ return null;
1080
+ }
1081
+
1082
+ /**
1083
+ * Sets the photo
1084
+ * Optional contact picture. You can get or set a photo for a contact.
1085
+ *
1086
+ * @param ProfilePhoto $val The photo
1087
+ *
1088
+ * @return Contact
1089
+ */
1090
+ public function setPhoto($val)
1091
+ {
1092
+ $this->_propDict["photo"] = $val;
1093
+ return $this;
1094
+ }
1095
+
1096
+
1097
+ /**
1098
+ * Gets the extensions
1099
+ * The collection of open extensions defined for the contact. Read-only. Nullable.
1100
+ *
1101
+ * @return array The extensions
1102
+ */
1103
+ public function getExtensions()
1104
+ {
1105
+ if (array_key_exists("extensions", $this->_propDict)) {
1106
+ return $this->_propDict["extensions"];
1107
+ } else {
1108
+ return null;
1109
+ }
1110
+ }
1111
+
1112
+ /**
1113
+ * Sets the extensions
1114
+ * The collection of open extensions defined for the contact. Read-only. Nullable.
1115
+ *
1116
+ * @param Extension $val The extensions
1117
+ *
1118
+ * @return Contact
1119
+ */
1120
+ public function setExtensions($val)
1121
+ {
1122
+ $this->_propDict["extensions"] = $val;
1123
+ return $this;
1124
+ }
1125
+
1126
+ }
vendor/microsoft/microsoft-graph/src/Model/ContactFolder.php ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ContactFolder File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * ContactFolder class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class ContactFolder extends Entity
28
+ {
29
+ /**
30
+ * Gets the parentFolderId
31
+ * The ID of the folder's parent folder.
32
+ *
33
+ * @return string The parentFolderId
34
+ */
35
+ public function getParentFolderId()
36
+ {
37
+ if (array_key_exists("parentFolderId", $this->_propDict)) {
38
+ return $this->_propDict["parentFolderId"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the parentFolderId
46
+ * The ID of the folder's parent folder.
47
+ *
48
+ * @param string $val The parentFolderId
49
+ *
50
+ * @return ContactFolder
51
+ */
52
+ public function setParentFolderId($val)
53
+ {
54
+ $this->_propDict["parentFolderId"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the displayName
60
+ * The folder's display name.
61
+ *
62
+ * @return string The displayName
63
+ */
64
+ public function getDisplayName()
65
+ {
66
+ if (array_key_exists("displayName", $this->_propDict)) {
67
+ return $this->_propDict["displayName"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the displayName
75
+ * The folder's display name.
76
+ *
77
+ * @param string $val The displayName
78
+ *
79
+ * @return ContactFolder
80
+ */
81
+ public function setDisplayName($val)
82
+ {
83
+ $this->_propDict["displayName"] = $val;
84
+ return $this;
85
+ }
86
+
87
+
88
+ /**
89
+ * Gets the singleValueExtendedProperties
90
+ * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
91
+ *
92
+ * @return array The singleValueExtendedProperties
93
+ */
94
+ public function getSingleValueExtendedProperties()
95
+ {
96
+ if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) {
97
+ return $this->_propDict["singleValueExtendedProperties"];
98
+ } else {
99
+ return null;
100
+ }
101
+ }
102
+
103
+ /**
104
+ * Sets the singleValueExtendedProperties
105
+ * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
106
+ *
107
+ * @param SingleValueLegacyExtendedProperty $val The singleValueExtendedProperties
108
+ *
109
+ * @return ContactFolder
110
+ */
111
+ public function setSingleValueExtendedProperties($val)
112
+ {
113
+ $this->_propDict["singleValueExtendedProperties"] = $val;
114
+ return $this;
115
+ }
116
+
117
+
118
+ /**
119
+ * Gets the multiValueExtendedProperties
120
+ * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
121
+ *
122
+ * @return array The multiValueExtendedProperties
123
+ */
124
+ public function getMultiValueExtendedProperties()
125
+ {
126
+ if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) {
127
+ return $this->_propDict["multiValueExtendedProperties"];
128
+ } else {
129
+ return null;
130
+ }
131
+ }
132
+
133
+ /**
134
+ * Sets the multiValueExtendedProperties
135
+ * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
136
+ *
137
+ * @param MultiValueLegacyExtendedProperty $val The multiValueExtendedProperties
138
+ *
139
+ * @return ContactFolder
140
+ */
141
+ public function setMultiValueExtendedProperties($val)
142
+ {
143
+ $this->_propDict["multiValueExtendedProperties"] = $val;
144
+ return $this;
145
+ }
146
+
147
+
148
+ /**
149
+ * Gets the contacts
150
+ * The contacts in the folder. Navigation property. Read-only. Nullable.
151
+ *
152
+ * @return array The contacts
153
+ */
154
+ public function getContacts()
155
+ {
156
+ if (array_key_exists("contacts", $this->_propDict)) {
157
+ return $this->_propDict["contacts"];
158
+ } else {
159
+ return null;
160
+ }
161
+ }
162
+
163
+ /**
164
+ * Sets the contacts
165
+ * The contacts in the folder. Navigation property. Read-only. Nullable.
166
+ *
167
+ * @param Contact $val The contacts
168
+ *
169
+ * @return ContactFolder
170
+ */
171
+ public function setContacts($val)
172
+ {
173
+ $this->_propDict["contacts"] = $val;
174
+ return $this;
175
+ }
176
+
177
+
178
+ /**
179
+ * Gets the childFolders
180
+ * The collection of child folders in the folder. Navigation property. Read-only. Nullable.
181
+ *
182
+ * @return array The childFolders
183
+ */
184
+ public function getChildFolders()
185
+ {
186
+ if (array_key_exists("childFolders", $this->_propDict)) {
187
+ return $this->_propDict["childFolders"];
188
+ } else {
189
+ return null;
190
+ }
191
+ }
192
+
193
+ /**
194
+ * Sets the childFolders
195
+ * The collection of child folders in the folder. Navigation property. Read-only. Nullable.
196
+ *
197
+ * @param ContactFolder $val The childFolders
198
+ *
199
+ * @return ContactFolder
200
+ */
201
+ public function setChildFolders($val)
202
+ {
203
+ $this->_propDict["childFolders"] = $val;
204
+ return $this;
205
+ }
206
+
207
+ }
vendor/microsoft/microsoft-graph/src/Model/ContentType.php ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ContentType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * ContentType class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class ContentType extends Entity
28
+ {
29
+ /**
30
+ * Gets the description
31
+ * The descriptive text for the item.
32
+ *
33
+ * @return string The description
34
+ */
35
+ public function getDescription()
36
+ {
37
+ if (array_key_exists("description", $this->_propDict)) {
38
+ return $this->_propDict["description"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the description
46
+ * The descriptive text for the item.
47
+ *
48
+ * @param string $val The description
49
+ *
50
+ * @return ContentType
51
+ */
52
+ public function setDescription($val)
53
+ {
54
+ $this->_propDict["description"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the group
60
+ * The name of the group this content type belongs to. Helps organize related content types.
61
+ *
62
+ * @return string The group
63
+ */
64
+ public function getGroup()
65
+ {
66
+ if (array_key_exists("group", $this->_propDict)) {
67
+ return $this->_propDict["group"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the group
75
+ * The name of the group this content type belongs to. Helps organize related content types.
76
+ *
77
+ * @param string $val The group
78
+ *
79
+ * @return ContentType
80
+ */
81
+ public function setGroup($val)
82
+ {
83
+ $this->_propDict["group"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the hidden
89
+ * Indicates whether the content type is hidden in the list's 'New' menu.
90
+ *
91
+ * @return bool The hidden
92
+ */
93
+ public function getHidden()
94
+ {
95
+ if (array_key_exists("hidden", $this->_propDict)) {
96
+ return $this->_propDict["hidden"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the hidden
104
+ * Indicates whether the content type is hidden in the list's 'New' menu.
105
+ *
106
+ * @param bool $val The hidden
107
+ *
108
+ * @return ContentType
109
+ */
110
+ public function setHidden($val)
111
+ {
112
+ $this->_propDict["hidden"] = boolval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the inheritedFrom
118
+ * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined.
119
+ *
120
+ * @return ItemReference The inheritedFrom
121
+ */
122
+ public function getInheritedFrom()
123
+ {
124
+ if (array_key_exists("inheritedFrom", $this->_propDict)) {
125
+ if (is_a($this->_propDict["inheritedFrom"], "Microsoft\Graph\Model\ItemReference")) {
126
+ return $this->_propDict["inheritedFrom"];
127
+ } else {
128
+ $this->_propDict["inheritedFrom"] = new ItemReference($this->_propDict["inheritedFrom"]);
129
+ return $this->_propDict["inheritedFrom"];
130
+ }
131
+ }
132
+ return null;
133
+ }
134
+
135
+ /**
136
+ * Sets the inheritedFrom
137
+ * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined.
138
+ *
139
+ * @param ItemReference $val The inheritedFrom
140
+ *
141
+ * @return ContentType
142
+ */
143
+ public function setInheritedFrom($val)
144
+ {
145
+ $this->_propDict["inheritedFrom"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the name
151
+ * The name of the content type.
152
+ *
153
+ * @return string The name
154
+ */
155
+ public function getName()
156
+ {
157
+ if (array_key_exists("name", $this->_propDict)) {
158
+ return $this->_propDict["name"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the name
166
+ * The name of the content type.
167
+ *
168
+ * @param string $val The name
169
+ *
170
+ * @return ContentType
171
+ */
172
+ public function setName($val)
173
+ {
174
+ $this->_propDict["name"] = $val;
175
+ return $this;
176
+ }
177
+
178
+ /**
179
+ * Gets the order
180
+ * Specifies the order in which the content type appears in the selection UI.
181
+ *
182
+ * @return ContentTypeOrder The order
183
+ */
184
+ public function getOrder()
185
+ {
186
+ if (array_key_exists("order", $this->_propDict)) {
187
+ if (is_a($this->_propDict["order"], "Microsoft\Graph\Model\ContentTypeOrder")) {
188
+ return $this->_propDict["order"];
189
+ } else {
190
+ $this->_propDict["order"] = new ContentTypeOrder($this->_propDict["order"]);
191
+ return $this->_propDict["order"];
192
+ }
193
+ }
194
+ return null;
195
+ }
196
+
197
+ /**
198
+ * Sets the order
199
+ * Specifies the order in which the content type appears in the selection UI.
200
+ *
201
+ * @param ContentTypeOrder $val The order
202
+ *
203
+ * @return ContentType
204
+ */
205
+ public function setOrder($val)
206
+ {
207
+ $this->_propDict["order"] = $val;
208
+ return $this;
209
+ }
210
+
211
+ /**
212
+ * Gets the parentId
213
+ * The unique identifier of the content type.
214
+ *
215
+ * @return string The parentId
216
+ */
217
+ public function getParentId()
218
+ {
219
+ if (array_key_exists("parentId", $this->_propDict)) {
220
+ return $this->_propDict["parentId"];
221
+ } else {
222
+ return null;
223
+ }
224
+ }
225
+
226
+ /**
227
+ * Sets the parentId
228
+ * The unique identifier of the content type.
229
+ *
230
+ * @param string $val The parentId
231
+ *
232
+ * @return ContentType
233
+ */
234
+ public function setParentId($val)
235
+ {
236
+ $this->_propDict["parentId"] = $val;
237
+ return $this;
238
+ }
239
+
240
+ /**
241
+ * Gets the readOnly
242
+ * If true, the content type cannot be modified unless this value is first set to false.
243
+ *
244
+ * @return bool The readOnly
245
+ */
246
+ public function getReadOnly()
247
+ {
248
+ if (array_key_exists("readOnly", $this->_propDict)) {
249
+ return $this->_propDict["readOnly"];
250
+ } else {
251
+ return null;
252
+ }
253
+ }
254
+
255
+ /**
256
+ * Sets the readOnly
257
+ * If true, the content type cannot be modified unless this value is first set to false.
258
+ *
259
+ * @param bool $val The readOnly
260
+ *
261
+ * @return ContentType
262
+ */
263
+ public function setReadOnly($val)
264
+ {
265
+ $this->_propDict["readOnly"] = boolval($val);
266
+ return $this;
267
+ }
268
+
269
+ /**
270
+ * Gets the sealed
271
+ * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types.
272
+ *
273
+ * @return bool The sealed
274
+ */
275
+ public function getSealed()
276
+ {
277
+ if (array_key_exists("sealed", $this->_propDict)) {
278
+ return $this->_propDict["sealed"];
279
+ } else {
280
+ return null;
281
+ }
282
+ }
283
+
284
+ /**
285
+ * Sets the sealed
286
+ * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types.
287
+ *
288
+ * @param bool $val The sealed
289
+ *
290
+ * @return ContentType
291
+ */
292
+ public function setSealed($val)
293
+ {
294
+ $this->_propDict["sealed"] = boolval($val);
295
+ return $this;
296
+ }
297
+
298
+
299
+ /**
300
+ * Gets the columnLinks
301
+ * The collection of columns that are required by this content type
302
+ *
303
+ * @return array The columnLinks
304
+ */
305
+ public function getColumnLinks()
306
+ {
307
+ if (array_key_exists("columnLinks", $this->_propDict)) {
308
+ return $this->_propDict["columnLinks"];
309
+ } else {
310
+ return null;
311
+ }
312
+ }
313
+
314
+ /**
315
+ * Sets the columnLinks
316
+ * The collection of columns that are required by this content type
317
+ *
318
+ * @param ColumnLink $val The columnLinks
319
+ *
320
+ * @return ContentType
321
+ */
322
+ public function setColumnLinks($val)
323
+ {
324
+ $this->_propDict["columnLinks"] = $val;
325
+ return $this;
326
+ }
327
+
328
+ }
vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ContentTypeInfo File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ContentTypeInfo class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ContentTypeInfo extends Entity
27
+ {
28
+ /**
29
+ * Gets the id
30
+ * The id of the content type.
31
+ *
32
+ * @return string The id
33
+ */
34
+ public function getId()
35
+ {
36
+ if (array_key_exists("id", $this->_propDict)) {
37
+ return $this->_propDict["id"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the id
45
+ * The id of the content type.
46
+ *
47
+ * @param string $val The value of the id
48
+ *
49
+ * @return ContentTypeInfo
50
+ */
51
+ public function setId($val)
52
+ {
53
+ $this->_propDict["id"] = $val;
54
+ return $this;
55
+ }
56
+ }
vendor/microsoft/microsoft-graph/src/Model/ContentTypeOrder.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ContentTypeOrder File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ContentTypeOrder class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ContentTypeOrder extends Entity
27
+ {
28
+ /**
29
+ * Gets the default
30
+ * Whether this is the default Content Type
31
+ *
32
+ * @return bool The default
33
+ */
34
+ public function getDefault()
35
+ {
36
+ if (array_key_exists("default", $this->_propDict)) {
37
+ return $this->_propDict["default"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the default
45
+ * Whether this is the default Content Type
46
+ *
47
+ * @param bool $val The value of the default
48
+ *
49
+ * @return ContentTypeOrder
50
+ */
51
+ public function setDefault($val)
52
+ {
53
+ $this->_propDict["default"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the position
58
+ * Specifies the position in which the Content Type appears in the selection UI.
59
+ *
60
+ * @return int The position
61
+ */
62
+ public function getPosition()
63
+ {
64
+ if (array_key_exists("position", $this->_propDict)) {
65
+ return $this->_propDict["position"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the position
73
+ * Specifies the position in which the Content Type appears in the selection UI.
74
+ *
75
+ * @param int $val The value of the position
76
+ *
77
+ * @return ContentTypeOrder
78
+ */
79
+ public function setPosition($val)
80
+ {
81
+ $this->_propDict["position"] = $val;
82
+ return $this;
83
+ }
84
+ }
vendor/microsoft/microsoft-graph/src/Model/Contract.php ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Contract File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Contract class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Contract extends DirectoryObject
28
+ {
29
+ /**
30
+ * Gets the contractType
31
+ * Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.
32
+ *
33
+ * @return string The contractType
34
+ */
35
+ public function getContractType()
36
+ {
37
+ if (array_key_exists("contractType", $this->_propDict)) {
38
+ return $this->_propDict["contractType"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the contractType
46
+ * Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn’t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.
47
+ *
48
+ * @param string $val The contractType
49
+ *
50
+ * @return Contract
51
+ */
52
+ public function setContractType($val)
53
+ {
54
+ $this->_propDict["contractType"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the customerId
60
+ * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
61
+ *
62
+ * @return string The customerId
63
+ */
64
+ public function getCustomerId()
65
+ {
66
+ if (array_key_exists("customerId", $this->_propDict)) {
67
+ return $this->_propDict["customerId"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the customerId
75
+ * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
76
+ *
77
+ * @param string $val The customerId
78
+ *
79
+ * @return Contract
80
+ */
81
+ public function setCustomerId($val)
82
+ {
83
+ $this->_propDict["customerId"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the defaultDomainName
89
+ * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
90
+ *
91
+ * @return string The defaultDomainName
92
+ */
93
+ public function getDefaultDomainName()
94
+ {
95
+ if (array_key_exists("defaultDomainName", $this->_propDict)) {
96
+ return $this->_propDict["defaultDomainName"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the defaultDomainName
104
+ * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
105
+ *
106
+ * @param string $val The defaultDomainName
107
+ *
108
+ * @return Contract
109
+ */
110
+ public function setDefaultDomainName($val)
111
+ {
112
+ $this->_propDict["defaultDomainName"] = $val;
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the displayName
118
+ * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
119
+ *
120
+ * @return string The displayName
121
+ */
122
+ public function getDisplayName()
123
+ {
124
+ if (array_key_exists("displayName", $this->_propDict)) {
125
+ return $this->_propDict["displayName"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the displayName
133
+ * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
134
+ *
135
+ * @param string $val The displayName
136
+ *
137
+ * @return Contract
138
+ */
139
+ public function setDisplayName($val)
140
+ {
141
+ $this->_propDict["displayName"] = $val;
142
+ return $this;
143
+ }
144
+
145
+ }
vendor/microsoft/microsoft-graph/src/Model/ControlScore.php ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ControlScore File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ControlScore class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ControlScore extends Entity
27
+ {
28
+ /**
29
+ * Gets the controlCategory
30
+ * Control action category (Identity, Data, Device, Apps, Infrastructure).
31
+ *
32
+ * @return string The controlCategory
33
+ */
34
+ public function getControlCategory()
35
+ {
36
+ if (array_key_exists("controlCategory", $this->_propDict)) {
37
+ return $this->_propDict["controlCategory"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the controlCategory
45
+ * Control action category (Identity, Data, Device, Apps, Infrastructure).
46
+ *
47
+ * @param string $val The value of the controlCategory
48
+ *
49
+ * @return ControlScore
50
+ */
51
+ public function setControlCategory($val)
52
+ {
53
+ $this->_propDict["controlCategory"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the controlName
58
+ * Control unique name.
59
+ *
60
+ * @return string The controlName
61
+ */
62
+ public function getControlName()
63
+ {
64
+ if (array_key_exists("controlName", $this->_propDict)) {
65
+ return $this->_propDict["controlName"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the controlName
73
+ * Control unique name.
74
+ *
75
+ * @param string $val The value of the controlName
76
+ *
77
+ * @return ControlScore
78
+ */
79
+ public function setControlName($val)
80
+ {
81
+ $this->_propDict["controlName"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the description
86
+ * Description of the control.
87
+ *
88
+ * @return string The description
89
+ */
90
+ public function getDescription()
91
+ {
92
+ if (array_key_exists("description", $this->_propDict)) {
93
+ return $this->_propDict["description"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the description
101
+ * Description of the control.
102
+ *
103
+ * @param string $val The value of the description
104
+ *
105
+ * @return ControlScore
106
+ */
107
+ public function setDescription($val)
108
+ {
109
+ $this->_propDict["description"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the score
114
+ * Tenant achieved score for the control (it varies day by day depending on tenant operations on the control).
115
+ *
116
+ * @return float The score
117
+ */
118
+ public function getScore()
119
+ {
120
+ if (array_key_exists("score", $this->_propDict)) {
121
+ return $this->_propDict["score"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the score
129
+ * Tenant achieved score for the control (it varies day by day depending on tenant operations on the control).
130
+ *
131
+ * @param float $val The value of the score
132
+ *
133
+ * @return ControlScore
134
+ */
135
+ public function setScore($val)
136
+ {
137
+ $this->_propDict["score"] = $val;
138
+ return $this;
139
+ }
140
+ }
vendor/microsoft/microsoft-graph/src/Model/Conversation.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Conversation File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Conversation class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Conversation extends Entity
28
+ {
29
+ /**
30
+ * Gets the topic
31
+ * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.
32
+ *
33
+ * @return string The topic
34
+ */
35
+ public function getTopic()
36
+ {
37
+ if (array_key_exists("topic", $this->_propDict)) {
38
+ return $this->_propDict["topic"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the topic
46
+ * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.
47
+ *
48
+ * @param string $val The topic
49
+ *
50
+ * @return Conversation
51
+ */
52
+ public function setTopic($val)
53
+ {
54
+ $this->_propDict["topic"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the hasAttachments
60
+ * Indicates whether any of the posts within this Conversation has at least one attachment.
61
+ *
62
+ * @return bool The hasAttachments
63
+ */
64
+ public function getHasAttachments()
65
+ {
66
+ if (array_key_exists("hasAttachments", $this->_propDict)) {
67
+ return $this->_propDict["hasAttachments"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the hasAttachments
75
+ * Indicates whether any of the posts within this Conversation has at least one attachment.
76
+ *
77
+ * @param bool $val The hasAttachments
78
+ *
79
+ * @return Conversation
80
+ */
81
+ public function setHasAttachments($val)
82
+ {
83
+ $this->_propDict["hasAttachments"] = boolval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the lastDeliveredDateTime
89
+ * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
90
+ *
91
+ * @return \DateTime The lastDeliveredDateTime
92
+ */
93
+ public function getLastDeliveredDateTime()
94
+ {
95
+ if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) {
96
+ if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime")) {
97
+ return $this->_propDict["lastDeliveredDateTime"];
98
+ } else {
99
+ $this->_propDict["lastDeliveredDateTime"] = new \DateTime($this->_propDict["lastDeliveredDateTime"]);
100
+ return $this->_propDict["lastDeliveredDateTime"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the lastDeliveredDateTime
108
+ * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
109
+ *
110
+ * @param \DateTime $val The lastDeliveredDateTime
111
+ *
112
+ * @return Conversation
113
+ */
114
+ public function setLastDeliveredDateTime($val)
115
+ {
116
+ $this->_propDict["lastDeliveredDateTime"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the uniqueSenders
122
+ * All the users that sent a message to this Conversation.
123
+ *
124
+ * @return string The uniqueSenders
125
+ */
126
+ public function getUniqueSenders()
127
+ {
128
+ if (array_key_exists("uniqueSenders", $this->_propDict)) {
129
+ return $this->_propDict["uniqueSenders"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the uniqueSenders
137
+ * All the users that sent a message to this Conversation.
138
+ *
139
+ * @param string $val The uniqueSenders
140
+ *
141
+ * @return Conversation
142
+ */
143
+ public function setUniqueSenders($val)
144
+ {
145
+ $this->_propDict["uniqueSenders"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the preview
151
+ * A short summary from the body of the latest post in this converstaion.
152
+ *
153
+ * @return string The preview
154
+ */
155
+ public function getPreview()
156
+ {
157
+ if (array_key_exists("preview", $this->_propDict)) {
158
+ return $this->_propDict["preview"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the preview
166
+ * A short summary from the body of the latest post in this converstaion.
167
+ *
168
+ * @param string $val The preview
169
+ *
170
+ * @return Conversation
171
+ */
172
+ public function setPreview($val)
173
+ {
174
+ $this->_propDict["preview"] = $val;
175
+ return $this;
176
+ }
177
+
178
+
179
+ /**
180
+ * Gets the threads
181
+ * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.
182
+ *
183
+ * @return array The threads
184
+ */
185
+ public function getThreads()
186
+ {
187
+ if (array_key_exists("threads", $this->_propDict)) {
188
+ return $this->_propDict["threads"];
189
+ } else {
190
+ return null;
191
+ }
192
+ }
193
+
194
+ /**
195
+ * Sets the threads
196
+ * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.
197
+ *
198
+ * @param ConversationThread $val The threads
199
+ *
200
+ * @return Conversation
201
+ */
202
+ public function setThreads($val)
203
+ {
204
+ $this->_propDict["threads"] = $val;
205
+ return $this;
206
+ }
207
+
208
+ }
vendor/microsoft/microsoft-graph/src/Model/ConversationThread.php ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ConversationThread File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * ConversationThread class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class ConversationThread extends Entity
28
+ {
29
+
30
+ /**
31
+ * Gets the toRecipients
32
+ * The To: recipients for the thread.
33
+ *
34
+ * @return array The toRecipients
35
+ */
36
+ public function getToRecipients()
37
+ {
38
+ if (array_key_exists("toRecipients", $this->_propDict)) {
39
+ return $this->_propDict["toRecipients"];
40
+ } else {
41
+ return null;
42
+ }
43
+ }
44
+
45
+ /**
46
+ * Sets the toRecipients
47
+ * The To: recipients for the thread.
48
+ *
49
+ * @param Recipient $val The toRecipients
50
+ *
51
+ * @return ConversationThread
52
+ */
53
+ public function setToRecipients($val)
54
+ {
55
+ $this->_propDict["toRecipients"] = $val;
56
+ return $this;
57
+ }
58
+
59
+ /**
60
+ * Gets the topic
61
+ * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.
62
+ *
63
+ * @return string The topic
64
+ */
65
+ public function getTopic()
66
+ {
67
+ if (array_key_exists("topic", $this->_propDict)) {
68
+ return $this->_propDict["topic"];
69
+ } else {
70
+ return null;
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Sets the topic
76
+ * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated.
77
+ *
78
+ * @param string $val The topic
79
+ *
80
+ * @return ConversationThread
81
+ */
82
+ public function setTopic($val)
83
+ {
84
+ $this->_propDict["topic"] = $val;
85
+ return $this;
86
+ }
87
+
88
+ /**
89
+ * Gets the hasAttachments
90
+ * Indicates whether any of the posts within this thread has at least one attachment.
91
+ *
92
+ * @return bool The hasAttachments
93
+ */
94
+ public function getHasAttachments()
95
+ {
96
+ if (array_key_exists("hasAttachments", $this->_propDict)) {
97
+ return $this->_propDict["hasAttachments"];
98
+ } else {
99
+ return null;
100
+ }
101
+ }
102
+
103
+ /**
104
+ * Sets the hasAttachments
105
+ * Indicates whether any of the posts within this thread has at least one attachment.
106
+ *
107
+ * @param bool $val The hasAttachments
108
+ *
109
+ * @return ConversationThread
110
+ */
111
+ public function setHasAttachments($val)
112
+ {
113
+ $this->_propDict["hasAttachments"] = boolval($val);
114
+ return $this;
115
+ }
116
+
117
+ /**
118
+ * Gets the lastDeliveredDateTime
119
+ * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
120
+ *
121
+ * @return \DateTime The lastDeliveredDateTime
122
+ */
123
+ public function getLastDeliveredDateTime()
124
+ {
125
+ if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) {
126
+ if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime")) {
127
+ return $this->_propDict["lastDeliveredDateTime"];
128
+ } else {
129
+ $this->_propDict["lastDeliveredDateTime"] = new \DateTime($this->_propDict["lastDeliveredDateTime"]);
130
+ return $this->_propDict["lastDeliveredDateTime"];
131
+ }
132
+ }
133
+ return null;
134
+ }
135
+
136
+ /**
137
+ * Sets the lastDeliveredDateTime
138
+ * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
139
+ *
140
+ * @param \DateTime $val The lastDeliveredDateTime
141
+ *
142
+ * @return ConversationThread
143
+ */
144
+ public function setLastDeliveredDateTime($val)
145
+ {
146
+ $this->_propDict["lastDeliveredDateTime"] = $val;
147
+ return $this;
148
+ }
149
+
150
+ /**
151
+ * Gets the uniqueSenders
152
+ * All the users that sent a message to this thread.
153
+ *
154
+ * @return string The uniqueSenders
155
+ */
156
+ public function getUniqueSenders()
157
+ {
158
+ if (array_key_exists("uniqueSenders", $this->_propDict)) {
159
+ return $this->_propDict["uniqueSenders"];
160
+ } else {
161
+ return null;
162
+ }
163
+ }
164
+
165
+ /**
166
+ * Sets the uniqueSenders
167
+ * All the users that sent a message to this thread.
168
+ *
169
+ * @param string $val The uniqueSenders
170
+ *
171
+ * @return ConversationThread
172
+ */
173
+ public function setUniqueSenders($val)
174
+ {
175
+ $this->_propDict["uniqueSenders"] = $val;
176
+ return $this;
177
+ }
178
+
179
+
180
+ /**
181
+ * Gets the ccRecipients
182
+ * The Cc: recipients for the thread.
183
+ *
184
+ * @return array The ccRecipients
185
+ */
186
+ public function getCcRecipients()
187
+ {
188
+ if (array_key_exists("ccRecipients", $this->_propDict)) {
189
+ return $this->_propDict["ccRecipients"];
190
+ } else {
191
+ return null;
192
+ }
193
+ }
194
+
195
+ /**
196
+ * Sets the ccRecipients
197
+ * The Cc: recipients for the thread.
198
+ *
199
+ * @param Recipient $val The ccRecipients
200
+ *
201
+ * @return ConversationThread
202
+ */
203
+ public function setCcRecipients($val)
204
+ {
205
+ $this->_propDict["ccRecipients"] = $val;
206
+ return $this;
207
+ }
208
+
209
+ /**
210
+ * Gets the preview
211
+ * A short summary from the body of the latest post in this converstaion.
212
+ *
213
+ * @return string The preview
214
+ */
215
+ public function getPreview()
216
+ {
217
+ if (array_key_exists("preview", $this->_propDict)) {
218
+ return $this->_propDict["preview"];
219
+ } else {
220
+ return null;
221
+ }
222
+ }
223
+
224
+ /**
225
+ * Sets the preview
226
+ * A short summary from the body of the latest post in this converstaion.
227
+ *
228
+ * @param string $val The preview
229
+ *
230
+ * @return ConversationThread
231
+ */
232
+ public function setPreview($val)
233
+ {
234
+ $this->_propDict["preview"] = $val;
235
+ return $this;
236
+ }
237
+
238
+ /**
239
+ * Gets the isLocked
240
+ * Indicates if the thread is locked.
241
+ *
242
+ * @return bool The isLocked
243
+ */
244
+ public function getIsLocked()
245
+ {
246
+ if (array_key_exists("isLocked", $this->_propDict)) {
247
+ return $this->_propDict["isLocked"];
248
+ } else {
249
+ return null;
250
+ }
251
+ }
252
+
253
+ /**
254
+ * Sets the isLocked
255
+ * Indicates if the thread is locked.
256
+ *
257
+ * @param bool $val The isLocked
258
+ *
259
+ * @return ConversationThread
260
+ */
261
+ public function setIsLocked($val)
262
+ {
263
+ $this->_propDict["isLocked"] = boolval($val);
264
+ return $this;
265
+ }
266
+
267
+
268
+ /**
269
+ * Gets the posts
270
+ * Read-only. Nullable.
271
+ *
272
+ * @return array The posts
273
+ */
274
+ public function getPosts()
275
+ {
276
+ if (array_key_exists("posts", $this->_propDict)) {
277
+ return $this->_propDict["posts"];
278
+ } else {
279
+ return null;
280
+ }
281
+ }
282
+
283
+ /**
284
+ * Sets the posts
285
+ * Read-only. Nullable.
286
+ *
287
+ * @param Post $val The posts
288
+ *
289
+ * @return ConversationThread
290
+ */
291
+ public function setPosts($val)
292
+ {
293
+ $this->_propDict["posts"] = $val;
294
+ return $this;
295
+ }
296
+
297
+ }
vendor/microsoft/microsoft-graph/src/Model/ConvertIdResult.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * ConvertIdResult File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * ConvertIdResult class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class ConvertIdResult extends Entity
27
+ {
28
+ /**
29
+ * Gets the sourceId
30
+ * The identifier that was converted. This value is the original, un-converted identifier.
31
+ *
32
+ * @return string The sourceId
33
+ */
34
+ public function getSourceId()
35
+ {
36
+ if (array_key_exists("sourceId", $this->_propDict)) {
37
+ return $this->_propDict["sourceId"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the sourceId
45
+ * The identifier that was converted. This value is the original, un-converted identifier.
46
+ *
47
+ * @param string $val The value of the sourceId
48
+ *
49
+ * @return ConvertIdResult
50
+ */
51
+ public function setSourceId($val)
52
+ {
53
+ $this->_propDict["sourceId"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the targetId
58
+ * The converted identifier. This value is not present if the conversion failed.
59
+ *
60
+ * @return string The targetId
61
+ */
62
+ public function getTargetId()
63
+ {
64
+ if (array_key_exists("targetId", $this->_propDict)) {
65
+ return $this->_propDict["targetId"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the targetId
73
+ * The converted identifier. This value is not present if the conversion failed.
74
+ *
75
+ * @param string $val The value of the targetId
76
+ *
77
+ * @return ConvertIdResult
78
+ */
79
+ public function setTargetId($val)
80
+ {
81
+ $this->_propDict["targetId"] = $val;
82
+ return $this;
83
+ }
84
+
85
+ /**
86
+ * Gets the errorDetails
87
+ * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded.
88
+ *
89
+ * @return GenericError The errorDetails
90
+ */
91
+ public function getErrorDetails()
92
+ {
93
+ if (array_key_exists("errorDetails", $this->_propDict)) {
94
+ if (is_a($this->_propDict["errorDetails"], "Microsoft\Graph\Model\GenericError")) {
95
+ return $this->_propDict["errorDetails"];
96
+ } else {
97
+ $this->_propDict["errorDetails"] = new GenericError($this->_propDict["errorDetails"]);
98
+ return $this->_propDict["errorDetails"];
99
+ }
100
+ }
101
+ return null;
102
+ }
103
+
104
+ /**
105
+ * Sets the errorDetails
106
+ * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded.
107
+ *
108
+ * @param GenericError $val The value to assign to the errorDetails
109
+ *
110
+ * @return ConvertIdResult The ConvertIdResult
111
+ */
112
+ public function setErrorDetails($val)
113
+ {
114
+ $this->_propDict["errorDetails"] = $val;
115
+ return $this;
116
+ }
117
+ }
vendor/microsoft/microsoft-graph/src/Model/CopyNotebookModel.php ADDED
@@ -0,0 +1,448 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CopyNotebookModel File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CopyNotebookModel class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CopyNotebookModel extends Entity
27
+ {
28
+ /**
29
+ * Gets the isDefault
30
+ *
31
+ * @return bool The isDefault
32
+ */
33
+ public function getIsDefault()
34
+ {
35
+ if (array_key_exists("isDefault", $this->_propDict)) {
36
+ return $this->_propDict["isDefault"];
37
+ } else {
38
+ return null;
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Sets the isDefault
44
+ *
45
+ * @param bool $val The value of the isDefault
46
+ *
47
+ * @return CopyNotebookModel
48
+ */
49
+ public function setIsDefault($val)
50
+ {
51
+ $this->_propDict["isDefault"] = $val;
52
+ return $this;
53
+ }
54
+
55
+ /**
56
+ * Gets the userRole
57
+ *
58
+ * @return OnenoteUserRole The userRole
59
+ */
60
+ public function getUserRole()
61
+ {
62
+ if (array_key_exists("userRole", $this->_propDict)) {
63
+ if (is_a($this->_propDict["userRole"], "Microsoft\Graph\Model\OnenoteUserRole")) {
64
+ return $this->_propDict["userRole"];
65
+ } else {
66
+ $this->_propDict["userRole"] = new OnenoteUserRole($this->_propDict["userRole"]);
67
+ return $this->_propDict["userRole"];
68
+ }
69
+ }
70
+ return null;
71
+ }
72
+
73
+ /**
74
+ * Sets the userRole
75
+ *
76
+ * @param OnenoteUserRole $val The value to assign to the userRole
77
+ *
78
+ * @return CopyNotebookModel The CopyNotebookModel
79
+ */
80
+ public function setUserRole($val)
81
+ {
82
+ $this->_propDict["userRole"] = $val;
83
+ return $this;
84
+ }
85
+ /**
86
+ * Gets the isShared
87
+ *
88
+ * @return bool The isShared
89
+ */
90
+ public function getIsShared()
91
+ {
92
+ if (array_key_exists("isShared", $this->_propDict)) {
93
+ return $this->_propDict["isShared"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the isShared
101
+ *
102
+ * @param bool $val The value of the isShared
103
+ *
104
+ * @return CopyNotebookModel
105
+ */
106
+ public function setIsShared($val)
107
+ {
108
+ $this->_propDict["isShared"] = $val;
109
+ return $this;
110
+ }
111
+ /**
112
+ * Gets the sectionsUrl
113
+ *
114
+ * @return string The sectionsUrl
115
+ */
116
+ public function getSectionsUrl()
117
+ {
118
+ if (array_key_exists("sectionsUrl", $this->_propDict)) {
119
+ return $this->_propDict["sectionsUrl"];
120
+ } else {
121
+ return null;
122
+ }
123
+ }
124
+
125
+ /**
126
+ * Sets the sectionsUrl
127
+ *
128
+ * @param string $val The value of the sectionsUrl
129
+ *
130
+ * @return CopyNotebookModel
131
+ */
132
+ public function setSectionsUrl($val)
133
+ {
134
+ $this->_propDict["sectionsUrl"] = $val;
135
+ return $this;
136
+ }
137
+ /**
138
+ * Gets the sectionGroupsUrl
139
+ *
140
+ * @return string The sectionGroupsUrl
141
+ */
142
+ public function getSectionGroupsUrl()
143
+ {
144
+ if (array_key_exists("sectionGroupsUrl", $this->_propDict)) {
145
+ return $this->_propDict["sectionGroupsUrl"];
146
+ } else {
147
+ return null;
148
+ }
149
+ }
150
+
151
+ /**
152
+ * Sets the sectionGroupsUrl
153
+ *
154
+ * @param string $val The value of the sectionGroupsUrl
155
+ *
156
+ * @return CopyNotebookModel
157
+ */
158
+ public function setSectionGroupsUrl($val)
159
+ {
160
+ $this->_propDict["sectionGroupsUrl"] = $val;
161
+ return $this;
162
+ }
163
+
164
+ /**
165
+ * Gets the links
166
+ *
167
+ * @return NotebookLinks The links
168
+ */
169
+ public function getLinks()
170
+ {
171
+ if (array_key_exists("links", $this->_propDict)) {
172
+ if (is_a($this->_propDict["links"], "Microsoft\Graph\Model\NotebookLinks")) {
173
+ return $this->_propDict["links"];
174
+ } else {
175
+ $this->_propDict["links"] = new NotebookLinks($this->_propDict["links"]);
176
+ return $this->_propDict["links"];
177
+ }
178
+ }
179
+ return null;
180
+ }
181
+
182
+ /**
183
+ * Sets the links
184
+ *
185
+ * @param NotebookLinks $val The value to assign to the links
186
+ *
187
+ * @return CopyNotebookModel The CopyNotebookModel
188
+ */
189
+ public function setLinks($val)
190
+ {
191
+ $this->_propDict["links"] = $val;
192
+ return $this;
193
+ }
194
+ /**
195
+ * Gets the name
196
+ *
197
+ * @return string The name
198
+ */
199
+ public function getName()
200
+ {
201
+ if (array_key_exists("name", $this->_propDict)) {
202
+ return $this->_propDict["name"];
203
+ } else {
204
+ return null;
205
+ }
206
+ }
207
+
208
+ /**
209
+ * Sets the name
210
+ *
211
+ * @param string $val The value of the name
212
+ *
213
+ * @return CopyNotebookModel
214
+ */
215
+ public function setName($val)
216
+ {
217
+ $this->_propDict["name"] = $val;
218
+ return $this;
219
+ }
220
+ /**
221
+ * Gets the createdBy
222
+ *
223
+ * @return string The createdBy
224
+ */
225
+ public function getCreatedBy()
226
+ {
227
+ if (array_key_exists("createdBy", $this->_propDict)) {
228
+ return $this->_propDict["createdBy"];
229
+ } else {
230
+ return null;
231
+ }
232
+ }
233
+
234
+ /**
235
+ * Sets the createdBy
236
+ *
237
+ * @param string $val The value of the createdBy
238
+ *
239
+ * @return CopyNotebookModel
240
+ */
241
+ public function setCreatedBy($val)
242
+ {
243
+ $this->_propDict["createdBy"] = $val;
244
+ return $this;
245
+ }
246
+
247
+ /**
248
+ * Gets the createdByIdentity
249
+ *
250
+ * @return IdentitySet The createdByIdentity
251
+ */
252
+ public function getCreatedByIdentity()
253
+ {
254
+ if (array_key_exists("createdByIdentity", $this->_propDict)) {
255
+ if (is_a($this->_propDict["createdByIdentity"], "Microsoft\Graph\Model\IdentitySet")) {
256
+ return $this->_propDict["createdByIdentity"];
257
+ } else {
258
+ $this->_propDict["createdByIdentity"] = new IdentitySet($this->_propDict["createdByIdentity"]);
259
+ return $this->_propDict["createdByIdentity"];
260
+ }
261
+ }
262
+ return null;
263
+ }
264
+
265
+ /**
266
+ * Sets the createdByIdentity
267
+ *
268
+ * @param IdentitySet $val The value to assign to the createdByIdentity
269
+ *
270
+ * @return CopyNotebookModel The CopyNotebookModel
271
+ */
272
+ public function setCreatedByIdentity($val)
273
+ {
274
+ $this->_propDict["createdByIdentity"] = $val;
275
+ return $this;
276
+ }
277
+ /**
278
+ * Gets the lastModifiedBy
279
+ *
280
+ * @return string The lastModifiedBy
281
+ */
282
+ public function getLastModifiedBy()
283
+ {
284
+ if (array_key_exists("lastModifiedBy", $this->_propDict)) {
285
+ return $this->_propDict["lastModifiedBy"];
286
+ } else {
287
+ return null;
288
+ }
289
+ }
290
+
291
+ /**
292
+ * Sets the lastModifiedBy
293
+ *
294
+ * @param string $val The value of the lastModifiedBy
295
+ *
296
+ * @return CopyNotebookModel
297
+ */
298
+ public function setLastModifiedBy($val)
299
+ {
300
+ $this->_propDict["lastModifiedBy"] = $val;
301
+ return $this;
302
+ }
303
+
304
+ /**
305
+ * Gets the lastModifiedByIdentity
306
+ *
307
+ * @return IdentitySet The lastModifiedByIdentity
308
+ */
309
+ public function getLastModifiedByIdentity()
310
+ {
311
+ if (array_key_exists("lastModifiedByIdentity", $this->_propDict)) {
312
+ if (is_a($this->_propDict["lastModifiedByIdentity"], "Microsoft\Graph\Model\IdentitySet")) {
313
+ return $this->_propDict["lastModifiedByIdentity"];
314
+ } else {
315
+ $this->_propDict["lastModifiedByIdentity"] = new IdentitySet($this->_propDict["lastModifiedByIdentity"]);
316
+ return $this->_propDict["lastModifiedByIdentity"];
317
+ }
318
+ }
319
+ return null;
320
+ }
321
+
322
+ /**
323
+ * Sets the lastModifiedByIdentity
324
+ *
325
+ * @param IdentitySet $val The value to assign to the lastModifiedByIdentity
326
+ *
327
+ * @return CopyNotebookModel The CopyNotebookModel
328
+ */
329
+ public function setLastModifiedByIdentity($val)
330
+ {
331
+ $this->_propDict["lastModifiedByIdentity"] = $val;
332
+ return $this;
333
+ }
334
+
335
+ /**
336
+ * Gets the lastModifiedTime
337
+ *
338
+ * @return \DateTime The lastModifiedTime
339
+ */
340
+ public function getLastModifiedTime()
341
+ {
342
+ if (array_key_exists("lastModifiedTime", $this->_propDict)) {
343
+ if (is_a($this->_propDict["lastModifiedTime"], "Microsoft\Graph\Model\\DateTime")) {
344
+ return $this->_propDict["lastModifiedTime"];
345
+ } else {
346
+ $this->_propDict["lastModifiedTime"] = new \DateTime($this->_propDict["lastModifiedTime"]);
347
+ return $this->_propDict["lastModifiedTime"];
348
+ }
349
+ }
350
+ return null;
351
+ }
352
+
353
+ /**
354
+ * Sets the lastModifiedTime
355
+ *
356
+ * @param \DateTime $val The value to assign to the lastModifiedTime
357
+ *
358
+ * @return CopyNotebookModel The CopyNotebookModel
359
+ */
360
+ public function setLastModifiedTime($val)
361
+ {
362
+ $this->_propDict["lastModifiedTime"] = $val;
363
+ return $this;
364
+ }
365
+ /**
366
+ * Gets the id
367
+ *
368
+ * @return string The id
369
+ */
370
+ public function getId()
371
+ {
372
+ if (array_key_exists("id", $this->_propDict)) {
373
+ return $this->_propDict["id"];
374
+ } else {
375
+ return null;
376
+ }
377
+ }
378
+
379
+ /**
380
+ * Sets the id
381
+ *
382
+ * @param string $val The value of the id
383
+ *
384
+ * @return CopyNotebookModel
385
+ */
386
+ public function setId($val)
387
+ {
388
+ $this->_propDict["id"] = $val;
389
+ return $this;
390
+ }
391
+ /**
392
+ * Gets the self
393
+ *
394
+ * @return string The self
395
+ */
396
+ public function getSelf()
397
+ {
398
+ if (array_key_exists("self", $this->_propDict)) {
399
+ return $this->_propDict["self"];
400
+ } else {
401
+ return null;
402
+ }
403
+ }
404
+
405
+ /**
406
+ * Sets the self
407
+ *
408
+ * @param string $val The value of the self
409
+ *
410
+ * @return CopyNotebookModel
411
+ */
412
+ public function setSelf($val)
413
+ {
414
+ $this->_propDict["self"] = $val;
415
+ return $this;
416
+ }
417
+
418
+ /**
419
+ * Gets the createdTime
420
+ *
421
+ * @return \DateTime The createdTime
422
+ */
423
+ public function getCreatedTime()
424
+ {
425
+ if (array_key_exists("createdTime", $this->_propDict)) {
426
+ if (is_a($this->_propDict["createdTime"], "Microsoft\Graph\Model\\DateTime")) {
427
+ return $this->_propDict["createdTime"];
428
+ } else {
429
+ $this->_propDict["createdTime"] = new \DateTime($this->_propDict["createdTime"]);
430
+ return $this->_propDict["createdTime"];
431
+ }
432
+ }
433
+ return null;
434
+ }
435
+
436
+ /**
437
+ * Sets the createdTime
438
+ *
439
+ * @param \DateTime $val The value to assign to the createdTime
440
+ *
441
+ * @return CopyNotebookModel The CopyNotebookModel
442
+ */
443
+ public function setCreatedTime($val)
444
+ {
445
+ $this->_propDict["createdTime"] = $val;
446
+ return $this;
447
+ }
448
+ }
vendor/microsoft/microsoft-graph/src/Model/CurrencyColumn.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CurrencyColumn File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CurrencyColumn class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CurrencyColumn extends Entity
27
+ {
28
+ /**
29
+ * Gets the locale
30
+ * Specifies the locale from which to infer the currency symbol.
31
+ *
32
+ * @return string The locale
33
+ */
34
+ public function getLocale()
35
+ {
36
+ if (array_key_exists("locale", $this->_propDict)) {
37
+ return $this->_propDict["locale"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the locale
45
+ * Specifies the locale from which to infer the currency symbol.
46
+ *
47
+ * @param string $val The value of the locale
48
+ *
49
+ * @return CurrencyColumn
50
+ */
51
+ public function setLocale($val)
52
+ {
53
+ $this->_propDict["locale"] = $val;
54
+ return $this;
55
+ }
56
+ }
vendor/microsoft/microsoft-graph/src/Model/CustomTimeZone.php ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * CustomTimeZone File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * CustomTimeZone class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class CustomTimeZone extends TimeZoneBase
27
+ {
28
+ /**
29
+ * Gets the bias
30
+ * The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes. Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset.
31
+ *
32
+ * @return int The bias
33
+ */
34
+ public function getBias()
35
+ {
36
+ if (array_key_exists("bias", $this->_propDict)) {
37
+ return $this->_propDict["bias"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the bias
45
+ * The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes. Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset.
46
+ *
47
+ * @param int $val The value of the bias
48
+ *
49
+ * @return CustomTimeZone
50
+ */
51
+ public function setBias($val)
52
+ {
53
+ $this->_propDict["bias"] = $val;
54
+ return $this;
55
+ }
56
+
57
+ /**
58
+ * Gets the standardOffset
59
+ * Specifies when the time zone switches from daylight saving time to standard time.
60
+ *
61
+ * @return StandardTimeZoneOffset The standardOffset
62
+ */
63
+ public function getStandardOffset()
64
+ {
65
+ if (array_key_exists("standardOffset", $this->_propDict)) {
66
+ if (is_a($this->_propDict["standardOffset"], "Microsoft\Graph\Model\StandardTimeZoneOffset")) {
67
+ return $this->_propDict["standardOffset"];
68
+ } else {
69
+ $this->_propDict["standardOffset"] = new StandardTimeZoneOffset($this->_propDict["standardOffset"]);
70
+ return $this->_propDict["standardOffset"];
71
+ }
72
+ }
73
+ return null;
74
+ }
75
+
76
+ /**
77
+ * Sets the standardOffset
78
+ * Specifies when the time zone switches from daylight saving time to standard time.
79
+ *
80
+ * @param StandardTimeZoneOffset $val The value to assign to the standardOffset
81
+ *
82
+ * @return CustomTimeZone The CustomTimeZone
83
+ */
84
+ public function setStandardOffset($val)
85
+ {
86
+ $this->_propDict["standardOffset"] = $val;
87
+ return $this;
88
+ }
89
+
90
+ /**
91
+ * Gets the daylightOffset
92
+ * Specifies when the time zone switches from standard time to daylight saving time.
93
+ *
94
+ * @return DaylightTimeZoneOffset The daylightOffset
95
+ */
96
+ public function getDaylightOffset()
97
+ {
98
+ if (array_key_exists("daylightOffset", $this->_propDict)) {
99
+ if (is_a($this->_propDict["daylightOffset"], "Microsoft\Graph\Model\DaylightTimeZoneOffset")) {
100
+ return $this->_propDict["daylightOffset"];
101
+ } else {
102
+ $this->_propDict["daylightOffset"] = new DaylightTimeZoneOffset($this->_propDict["daylightOffset"]);
103
+ return $this->_propDict["daylightOffset"];
104
+ }
105
+ }
106
+ return null;
107
+ }
108
+
109
+ /**
110
+ * Sets the daylightOffset
111
+ * Specifies when the time zone switches from standard time to daylight saving time.
112
+ *
113
+ * @param DaylightTimeZoneOffset $val The value to assign to the daylightOffset
114
+ *
115
+ * @return CustomTimeZone The CustomTimeZone
116
+ */
117
+ public function setDaylightOffset($val)
118
+ {
119
+ $this->_propDict["daylightOffset"] = $val;
120
+ return $this;
121
+ }
122
+ }
vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperation.php ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DataPolicyOperation File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DataPolicyOperation class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DataPolicyOperation extends Entity
28
+ {
29
+ /**
30
+ * Gets the completedDateTime
31
+ * Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Null until the operation completes.
32
+ *
33
+ * @return \DateTime The completedDateTime
34
+ */
35
+ public function getCompletedDateTime()
36
+ {
37
+ if (array_key_exists("completedDateTime", $this->_propDict)) {
38
+ if (is_a($this->_propDict["completedDateTime"], "\DateTime")) {
39
+ return $this->_propDict["completedDateTime"];
40
+ } else {
41
+ $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]);
42
+ return $this->_propDict["completedDateTime"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the completedDateTime
50
+ * Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Null until the operation completes.
51
+ *
52
+ * @param \DateTime $val The completedDateTime
53
+ *
54
+ * @return DataPolicyOperation
55
+ */
56
+ public function setCompletedDateTime($val)
57
+ {
58
+ $this->_propDict["completedDateTime"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the status
64
+ * Possible values are: notStarted, running, complete, failed, unknownFutureValue.
65
+ *
66
+ * @return DataPolicyOperationStatus The status
67
+ */
68
+ public function getStatus()
69
+ {
70
+ if (array_key_exists("status", $this->_propDict)) {
71
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\DataPolicyOperationStatus")) {
72
+ return $this->_propDict["status"];
73
+ } else {
74
+ $this->_propDict["status"] = new DataPolicyOperationStatus($this->_propDict["status"]);
75
+ return $this->_propDict["status"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the status
83
+ * Possible values are: notStarted, running, complete, failed, unknownFutureValue.
84
+ *
85
+ * @param DataPolicyOperationStatus $val The status
86
+ *
87
+ * @return DataPolicyOperation
88
+ */
89
+ public function setStatus($val)
90
+ {
91
+ $this->_propDict["status"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the storageLocation
97
+ * The URL location to where data is being exported for export requests.
98
+ *
99
+ * @return string The storageLocation
100
+ */
101
+ public function getStorageLocation()
102
+ {
103
+ if (array_key_exists("storageLocation", $this->_propDict)) {
104
+ return $this->_propDict["storageLocation"];
105
+ } else {
106
+ return null;
107
+ }
108
+ }
109
+
110
+ /**
111
+ * Sets the storageLocation
112
+ * The URL location to where data is being exported for export requests.
113
+ *
114
+ * @param string $val The storageLocation
115
+ *
116
+ * @return DataPolicyOperation
117
+ */
118
+ public function setStorageLocation($val)
119
+ {
120
+ $this->_propDict["storageLocation"] = $val;
121
+ return $this;
122
+ }
123
+
124
+ /**
125
+ * Gets the userId
126
+ * The id for the user on whom the operation is performed.
127
+ *
128
+ * @return string The userId
129
+ */
130
+ public function getUserId()
131
+ {
132
+ if (array_key_exists("userId", $this->_propDict)) {
133
+ return $this->_propDict["userId"];
134
+ } else {
135
+ return null;
136
+ }
137
+ }
138
+
139
+ /**
140
+ * Sets the userId
141
+ * The id for the user on whom the operation is performed.
142
+ *
143
+ * @param string $val The userId
144
+ *
145
+ * @return DataPolicyOperation
146
+ */
147
+ public function setUserId($val)
148
+ {
149
+ $this->_propDict["userId"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the submittedDateTime
155
+ * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
156
+ *
157
+ * @return \DateTime The submittedDateTime
158
+ */
159
+ public function getSubmittedDateTime()
160
+ {
161
+ if (array_key_exists("submittedDateTime", $this->_propDict)) {
162
+ if (is_a($this->_propDict["submittedDateTime"], "\DateTime")) {
163
+ return $this->_propDict["submittedDateTime"];
164
+ } else {
165
+ $this->_propDict["submittedDateTime"] = new \DateTime($this->_propDict["submittedDateTime"]);
166
+ return $this->_propDict["submittedDateTime"];
167
+ }
168
+ }
169
+ return null;
170
+ }
171
+
172
+ /**
173
+ * Sets the submittedDateTime
174
+ * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
175
+ *
176
+ * @param \DateTime $val The submittedDateTime
177
+ *
178
+ * @return DataPolicyOperation
179
+ */
180
+ public function setSubmittedDateTime($val)
181
+ {
182
+ $this->_propDict["submittedDateTime"] = $val;
183
+ return $this;
184
+ }
185
+
186
+ /**
187
+ * Gets the progress
188
+ * Specifies the progress of an operation.
189
+ *
190
+ * @return float The progress
191
+ */
192
+ public function getProgress()
193
+ {
194
+ if (array_key_exists("progress", $this->_propDict)) {
195
+ return $this->_propDict["progress"];
196
+ } else {
197
+ return null;
198
+ }
199
+ }
200
+
201
+ /**
202
+ * Sets the progress
203
+ * Specifies the progress of an operation.
204
+ *
205
+ * @param float $val The progress
206
+ *
207
+ * @return DataPolicyOperation
208
+ */
209
+ public function setProgress($val)
210
+ {
211
+ $this->_propDict["progress"] = $val;
212
+ return $this;
213
+ }
214
+
215
+ }
vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperationStatus.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DataPolicyOperationStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DataPolicyOperationStatus class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DataPolicyOperationStatus extends Enum
30
+ {
31
+ /**
32
+ * The Enum DataPolicyOperationStatus
33
+ */
34
+ const NOT_STARTED = "notStarted";
35
+ const RUNNING = "running";
36
+ const COMPLETE = "complete";
37
+ const FAILED = "failed";
38
+ const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/DateTimeColumn.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DateTimeColumn File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DateTimeColumn class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DateTimeColumn extends Entity
27
+ {
28
+ /**
29
+ * Gets the displayAs
30
+ * How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
31
+ *
32
+ * @return string The displayAs
33
+ */
34
+ public function getDisplayAs()
35
+ {
36
+ if (array_key_exists("displayAs", $this->_propDict)) {
37
+ return $this->_propDict["displayAs"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the displayAs
45
+ * How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
46
+ *
47
+ * @param string $val The value of the displayAs
48
+ *
49
+ * @return DateTimeColumn
50
+ */
51
+ public function setDisplayAs($val)
52
+ {
53
+ $this->_propDict["displayAs"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the format
58
+ * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime
59
+ *
60
+ * @return string The format
61
+ */
62
+ public function getFormat()
63
+ {
64
+ if (array_key_exists("format", $this->_propDict)) {
65
+ return $this->_propDict["format"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the format
73
+ * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime
74
+ *
75
+ * @param string $val The value of the format
76
+ *
77
+ * @return DateTimeColumn
78
+ */
79
+ public function setFormat($val)
80
+ {
81
+ $this->_propDict["format"] = $val;
82
+ return $this;
83
+ }
84
+ }
vendor/microsoft/microsoft-graph/src/Model/DateTimeTimeZone.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DateTimeTimeZone File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DateTimeTimeZone class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DateTimeTimeZone extends Entity
27
+ {
28
+ /**
29
+ * Gets the dateTime
30
+ * A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).
31
+ *
32
+ * @return string The dateTime
33
+ */
34
+ public function getDateTime()
35
+ {
36
+ if (array_key_exists("dateTime", $this->_propDict)) {
37
+ return $this->_propDict["dateTime"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the dateTime
45
+ * A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).
46
+ *
47
+ * @param string $val The value of the dateTime
48
+ *
49
+ * @return DateTimeTimeZone
50
+ */
51
+ public function setDateTime($val)
52
+ {
53
+ $this->_propDict["dateTime"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the timeZone
58
+ * Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.
59
+ *
60
+ * @return string The timeZone
61
+ */
62
+ public function getTimeZone()
63
+ {
64
+ if (array_key_exists("timeZone", $this->_propDict)) {
65
+ return $this->_propDict["timeZone"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the timeZone
73
+ * Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.
74
+ *
75
+ * @param string $val The value of the timeZone
76
+ *
77
+ * @return DateTimeTimeZone
78
+ */
79
+ public function setTimeZone($val)
80
+ {
81
+ $this->_propDict["timeZone"] = $val;
82
+ return $this;
83
+ }
84
+ }
vendor/microsoft/microsoft-graph/src/Model/DayOfWeek.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DayOfWeek File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DayOfWeek class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DayOfWeek extends Enum
30
+ {
31
+ /**
32
+ * The Enum DayOfWeek
33
+ */
34
+ const SUNDAY = "sunday";
35
+ const MONDAY = "monday";
36
+ const TUESDAY = "tuesday";
37
+ const WEDNESDAY = "wednesday";
38
+ const THURSDAY = "thursday";
39
+ const FRIDAY = "friday";
40
+ const SATURDAY = "saturday";
41
+ }
vendor/microsoft/microsoft-graph/src/Model/DaylightTimeZoneOffset.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DaylightTimeZoneOffset File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DaylightTimeZoneOffset class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DaylightTimeZoneOffset extends StandardTimeZoneOffset
27
+ {
28
+ /**
29
+ * Gets the daylightBias
30
+ * The time offset from Coordinated Universal Time (UTC) for daylight saving time. This value is in minutes.
31
+ *
32
+ * @return int The daylightBias
33
+ */
34
+ public function getDaylightBias()
35
+ {
36
+ if (array_key_exists("daylightBias", $this->_propDict)) {
37
+ return $this->_propDict["daylightBias"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the daylightBias
45
+ * The time offset from Coordinated Universal Time (UTC) for daylight saving time. This value is in minutes.
46
+ *
47
+ * @param int $val The value of the daylightBias
48
+ *
49
+ * @return DaylightTimeZoneOffset
50
+ */
51
+ public function setDaylightBias($val)
52
+ {
53
+ $this->_propDict["daylightBias"] = $val;
54
+ return $this;
55
+ }
56
+ }
vendor/microsoft/microsoft-graph/src/Model/DefaultColumnValue.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefaultColumnValue File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DefaultColumnValue class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DefaultColumnValue extends Entity
27
+ {
28
+ /**
29
+ * Gets the formula
30
+ * The formula used to compute the default value for this column.
31
+ *
32
+ * @return string The formula
33
+ */
34
+ public function getFormula()
35
+ {
36
+ if (array_key_exists("formula", $this->_propDict)) {
37
+ return $this->_propDict["formula"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the formula
45
+ * The formula used to compute the default value for this column.
46
+ *
47
+ * @param string $val The value of the formula
48
+ *
49
+ * @return DefaultColumnValue
50
+ */
51
+ public function setFormula($val)
52
+ {
53
+ $this->_propDict["formula"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the value
58
+ * The direct value to use as the default value for this column.
59
+ *
60
+ * @return string The value
61
+ */
62
+ public function getValue()
63
+ {
64
+ if (array_key_exists("value", $this->_propDict)) {
65
+ return $this->_propDict["value"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the value
73
+ * The direct value to use as the default value for this column.
74
+ *
75
+ * @param string $val The value of the value
76
+ *
77
+ * @return DefaultColumnValue
78
+ */
79
+ public function setValue($val)
80
+ {
81
+ $this->_propDict["value"] = $val;
82
+ return $this;
83
+ }
84
+ }
vendor/microsoft/microsoft-graph/src/Model/DefaultManagedAppProtection.php ADDED
@@ -0,0 +1,387 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefaultManagedAppProtection File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DefaultManagedAppProtection class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DefaultManagedAppProtection extends ManagedAppProtection
28
+ {
29
+ /**
30
+ * Gets the appDataEncryptionType
31
+ * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked.
32
+ *
33
+ * @return ManagedAppDataEncryptionType The appDataEncryptionType
34
+ */
35
+ public function getAppDataEncryptionType()
36
+ {
37
+ if (array_key_exists("appDataEncryptionType", $this->_propDict)) {
38
+ if (is_a($this->_propDict["appDataEncryptionType"], "Microsoft\Graph\Model\ManagedAppDataEncryptionType")) {
39
+ return $this->_propDict["appDataEncryptionType"];
40
+ } else {
41
+ $this->_propDict["appDataEncryptionType"] = new ManagedAppDataEncryptionType($this->_propDict["appDataEncryptionType"]);
42
+ return $this->_propDict["appDataEncryptionType"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the appDataEncryptionType
50
+ * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked.
51
+ *
52
+ * @param ManagedAppDataEncryptionType $val The appDataEncryptionType
53
+ *
54
+ * @return DefaultManagedAppProtection
55
+ */
56
+ public function setAppDataEncryptionType($val)
57
+ {
58
+ $this->_propDict["appDataEncryptionType"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the screenCaptureBlocked
64
+ * Indicates whether screen capture is blocked. (Android only)
65
+ *
66
+ * @return bool The screenCaptureBlocked
67
+ */
68
+ public function getScreenCaptureBlocked()
69
+ {
70
+ if (array_key_exists("screenCaptureBlocked", $this->_propDict)) {
71
+ return $this->_propDict["screenCaptureBlocked"];
72
+ } else {
73
+ return null;
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Sets the screenCaptureBlocked
79
+ * Indicates whether screen capture is blocked. (Android only)
80
+ *
81
+ * @param bool $val The screenCaptureBlocked
82
+ *
83
+ * @return DefaultManagedAppProtection
84
+ */
85
+ public function setScreenCaptureBlocked($val)
86
+ {
87
+ $this->_propDict["screenCaptureBlocked"] = boolval($val);
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the encryptAppData
93
+ * Indicates whether managed-app data should be encrypted. (Android only)
94
+ *
95
+ * @return bool The encryptAppData
96
+ */
97
+ public function getEncryptAppData()
98
+ {
99
+ if (array_key_exists("encryptAppData", $this->_propDict)) {
100
+ return $this->_propDict["encryptAppData"];
101
+ } else {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Sets the encryptAppData
108
+ * Indicates whether managed-app data should be encrypted. (Android only)
109
+ *
110
+ * @param bool $val The encryptAppData
111
+ *
112
+ * @return DefaultManagedAppProtection
113
+ */
114
+ public function setEncryptAppData($val)
115
+ {
116
+ $this->_propDict["encryptAppData"] = boolval($val);
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled
122
+ * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)
123
+ *
124
+ * @return bool The disableAppEncryptionIfDeviceEncryptionIsEnabled
125
+ */
126
+ public function getDisableAppEncryptionIfDeviceEncryptionIsEnabled()
127
+ {
128
+ if (array_key_exists("disableAppEncryptionIfDeviceEncryptionIsEnabled", $this->_propDict)) {
129
+ return $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled
137
+ * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)
138
+ *
139
+ * @param bool $val The disableAppEncryptionIfDeviceEncryptionIsEnabled
140
+ *
141
+ * @return DefaultManagedAppProtection
142
+ */
143
+ public function setDisableAppEncryptionIfDeviceEncryptionIsEnabled($val)
144
+ {
145
+ $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"] = boolval($val);
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the minimumRequiredSdkVersion
151
+ * Versions less than the specified version will block the managed app from accessing company data. (iOS Only)
152
+ *
153
+ * @return string The minimumRequiredSdkVersion
154
+ */
155
+ public function getMinimumRequiredSdkVersion()
156
+ {
157
+ if (array_key_exists("minimumRequiredSdkVersion", $this->_propDict)) {
158
+ return $this->_propDict["minimumRequiredSdkVersion"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the minimumRequiredSdkVersion
166
+ * Versions less than the specified version will block the managed app from accessing company data. (iOS Only)
167
+ *
168
+ * @param string $val The minimumRequiredSdkVersion
169
+ *
170
+ * @return DefaultManagedAppProtection
171
+ */
172
+ public function setMinimumRequiredSdkVersion($val)
173
+ {
174
+ $this->_propDict["minimumRequiredSdkVersion"] = $val;
175
+ return $this;
176
+ }
177
+
178
+
179
+ /**
180
+ * Gets the customSettings
181
+ * A set of string key and string value pairs to be sent to the affected users, unalterned by this service
182
+ *
183
+ * @return array The customSettings
184
+ */
185
+ public function getCustomSettings()
186
+ {
187
+ if (array_key_exists("customSettings", $this->_propDict)) {
188
+ return $this->_propDict["customSettings"];
189
+ } else {
190
+ return null;
191
+ }
192
+ }
193
+
194
+ /**
195
+ * Sets the customSettings
196
+ * A set of string key and string value pairs to be sent to the affected users, unalterned by this service
197
+ *
198
+ * @param KeyValuePair $val The customSettings
199
+ *
200
+ * @return DefaultManagedAppProtection
201
+ */
202
+ public function setCustomSettings($val)
203
+ {
204
+ $this->_propDict["customSettings"] = $val;
205
+ return $this;
206
+ }
207
+
208
+ /**
209
+ * Gets the deployedAppCount
210
+ * Count of apps to which the current policy is deployed.
211
+ *
212
+ * @return int The deployedAppCount
213
+ */
214
+ public function getDeployedAppCount()
215
+ {
216
+ if (array_key_exists("deployedAppCount", $this->_propDict)) {
217
+ return $this->_propDict["deployedAppCount"];
218
+ } else {
219
+ return null;
220
+ }
221
+ }
222
+
223
+ /**
224
+ * Sets the deployedAppCount
225
+ * Count of apps to which the current policy is deployed.
226
+ *
227
+ * @param int $val The deployedAppCount
228
+ *
229
+ * @return DefaultManagedAppProtection
230
+ */
231
+ public function setDeployedAppCount($val)
232
+ {
233
+ $this->_propDict["deployedAppCount"] = intval($val);
234
+ return $this;
235
+ }
236
+
237
+ /**
238
+ * Gets the minimumRequiredPatchVersion
239
+ * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)
240
+ *
241
+ * @return string The minimumRequiredPatchVersion
242
+ */
243
+ public function getMinimumRequiredPatchVersion()
244
+ {
245
+ if (array_key_exists("minimumRequiredPatchVersion", $this->_propDict)) {
246
+ return $this->_propDict["minimumRequiredPatchVersion"];
247
+ } else {
248
+ return null;
249
+ }
250
+ }
251
+
252
+ /**
253
+ * Sets the minimumRequiredPatchVersion
254
+ * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)
255
+ *
256
+ * @param string $val The minimumRequiredPatchVersion
257
+ *
258
+ * @return DefaultManagedAppProtection
259
+ */
260
+ public function setMinimumRequiredPatchVersion($val)
261
+ {
262
+ $this->_propDict["minimumRequiredPatchVersion"] = $val;
263
+ return $this;
264
+ }
265
+
266
+ /**
267
+ * Gets the minimumWarningPatchVersion
268
+ * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)
269
+ *
270
+ * @return string The minimumWarningPatchVersion
271
+ */
272
+ public function getMinimumWarningPatchVersion()
273
+ {
274
+ if (array_key_exists("minimumWarningPatchVersion", $this->_propDict)) {
275
+ return $this->_propDict["minimumWarningPatchVersion"];
276
+ } else {
277
+ return null;
278
+ }
279
+ }
280
+
281
+ /**
282
+ * Sets the minimumWarningPatchVersion
283
+ * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)
284
+ *
285
+ * @param string $val The minimumWarningPatchVersion
286
+ *
287
+ * @return DefaultManagedAppProtection
288
+ */
289
+ public function setMinimumWarningPatchVersion($val)
290
+ {
291
+ $this->_propDict["minimumWarningPatchVersion"] = $val;
292
+ return $this;
293
+ }
294
+
295
+ /**
296
+ * Gets the faceIdBlocked
297
+ * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)
298
+ *
299
+ * @return bool The faceIdBlocked
300
+ */
301
+ public function getFaceIdBlocked()
302
+ {
303
+ if (array_key_exists("faceIdBlocked", $this->_propDict)) {
304
+ return $this->_propDict["faceIdBlocked"];
305
+ } else {
306
+ return null;
307
+ }
308
+ }
309
+
310
+ /**
311
+ * Sets the faceIdBlocked
312
+ * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)
313
+ *
314
+ * @param bool $val The faceIdBlocked
315
+ *
316
+ * @return DefaultManagedAppProtection
317
+ */
318
+ public function setFaceIdBlocked($val)
319
+ {
320
+ $this->_propDict["faceIdBlocked"] = boolval($val);
321
+ return $this;
322
+ }
323
+
324
+
325
+ /**
326
+ * Gets the apps
327
+ * List of apps to which the policy is deployed.
328
+ *
329
+ * @return array The apps
330
+ */
331
+ public function getApps()
332
+ {
333
+ if (array_key_exists("apps", $this->_propDict)) {
334
+ return $this->_propDict["apps"];
335
+ } else {
336
+ return null;
337
+ }
338
+ }
339
+
340
+ /**
341
+ * Sets the apps
342
+ * List of apps to which the policy is deployed.
343
+ *
344
+ * @param ManagedMobileApp $val The apps
345
+ *
346
+ * @return DefaultManagedAppProtection
347
+ */
348
+ public function setApps($val)
349
+ {
350
+ $this->_propDict["apps"] = $val;
351
+ return $this;
352
+ }
353
+
354
+ /**
355
+ * Gets the deploymentSummary
356
+ * Navigation property to deployment summary of the configuration.
357
+ *
358
+ * @return ManagedAppPolicyDeploymentSummary The deploymentSummary
359
+ */
360
+ public function getDeploymentSummary()
361
+ {
362
+ if (array_key_exists("deploymentSummary", $this->_propDict)) {
363
+ if (is_a($this->_propDict["deploymentSummary"], "Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) {
364
+ return $this->_propDict["deploymentSummary"];
365
+ } else {
366
+ $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]);
367
+ return $this->_propDict["deploymentSummary"];
368
+ }
369
+ }
370
+ return null;
371
+ }
372
+
373
+ /**
374
+ * Sets the deploymentSummary
375
+ * Navigation property to deployment summary of the configuration.
376
+ *
377
+ * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary
378
+ *
379
+ * @return DefaultManagedAppProtection
380
+ */
381
+ public function setDeploymentSummary($val)
382
+ {
383
+ $this->_propDict["deploymentSummary"] = $val;
384
+ return $this;
385
+ }
386
+
387
+ }
vendor/microsoft/microsoft-graph/src/Model/DefenderCloudBlockLevelType.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefenderCloudBlockLevelType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DefenderCloudBlockLevelType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DefenderCloudBlockLevelType extends Enum
30
+ {
31
+ /**
32
+ * The Enum DefenderCloudBlockLevelType
33
+ */
34
+ const NOT_CONFIGURED = "notConfigured";
35
+ const HIGH = "high";
36
+ const HIGH_PLUS = "highPlus";
37
+ const ZERO_TOLERANCE = "zeroTolerance";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/DefenderDetectedMalwareActions.php ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefenderDetectedMalwareActions File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DefenderDetectedMalwareActions class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DefenderDetectedMalwareActions extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the lowSeverity
31
+ * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
32
+ *
33
+ * @return DefenderThreatAction The lowSeverity
34
+ */
35
+ public function getLowSeverity()
36
+ {
37
+ if (array_key_exists("lowSeverity", $this->_propDict)) {
38
+ if (is_a($this->_propDict["lowSeverity"], "Microsoft\Graph\Model\DefenderThreatAction")) {
39
+ return $this->_propDict["lowSeverity"];
40
+ } else {
41
+ $this->_propDict["lowSeverity"] = new DefenderThreatAction($this->_propDict["lowSeverity"]);
42
+ return $this->_propDict["lowSeverity"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the lowSeverity
50
+ * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
51
+ *
52
+ * @param DefenderThreatAction $val The value to assign to the lowSeverity
53
+ *
54
+ * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions
55
+ */
56
+ public function setLowSeverity($val)
57
+ {
58
+ $this->_propDict["lowSeverity"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the moderateSeverity
64
+ * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
65
+ *
66
+ * @return DefenderThreatAction The moderateSeverity
67
+ */
68
+ public function getModerateSeverity()
69
+ {
70
+ if (array_key_exists("moderateSeverity", $this->_propDict)) {
71
+ if (is_a($this->_propDict["moderateSeverity"], "Microsoft\Graph\Model\DefenderThreatAction")) {
72
+ return $this->_propDict["moderateSeverity"];
73
+ } else {
74
+ $this->_propDict["moderateSeverity"] = new DefenderThreatAction($this->_propDict["moderateSeverity"]);
75
+ return $this->_propDict["moderateSeverity"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the moderateSeverity
83
+ * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
84
+ *
85
+ * @param DefenderThreatAction $val The value to assign to the moderateSeverity
86
+ *
87
+ * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions
88
+ */
89
+ public function setModerateSeverity($val)
90
+ {
91
+ $this->_propDict["moderateSeverity"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the highSeverity
97
+ * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
98
+ *
99
+ * @return DefenderThreatAction The highSeverity
100
+ */
101
+ public function getHighSeverity()
102
+ {
103
+ if (array_key_exists("highSeverity", $this->_propDict)) {
104
+ if (is_a($this->_propDict["highSeverity"], "Microsoft\Graph\Model\DefenderThreatAction")) {
105
+ return $this->_propDict["highSeverity"];
106
+ } else {
107
+ $this->_propDict["highSeverity"] = new DefenderThreatAction($this->_propDict["highSeverity"]);
108
+ return $this->_propDict["highSeverity"];
109
+ }
110
+ }
111
+ return null;
112
+ }
113
+
114
+ /**
115
+ * Sets the highSeverity
116
+ * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
117
+ *
118
+ * @param DefenderThreatAction $val The value to assign to the highSeverity
119
+ *
120
+ * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions
121
+ */
122
+ public function setHighSeverity($val)
123
+ {
124
+ $this->_propDict["highSeverity"] = $val;
125
+ return $this;
126
+ }
127
+
128
+ /**
129
+ * Gets the severeSeverity
130
+ * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
131
+ *
132
+ * @return DefenderThreatAction The severeSeverity
133
+ */
134
+ public function getSevereSeverity()
135
+ {
136
+ if (array_key_exists("severeSeverity", $this->_propDict)) {
137
+ if (is_a($this->_propDict["severeSeverity"], "Microsoft\Graph\Model\DefenderThreatAction")) {
138
+ return $this->_propDict["severeSeverity"];
139
+ } else {
140
+ $this->_propDict["severeSeverity"] = new DefenderThreatAction($this->_propDict["severeSeverity"]);
141
+ return $this->_propDict["severeSeverity"];
142
+ }
143
+ }
144
+ return null;
145
+ }
146
+
147
+ /**
148
+ * Sets the severeSeverity
149
+ * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block.
150
+ *
151
+ * @param DefenderThreatAction $val The value to assign to the severeSeverity
152
+ *
153
+ * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions
154
+ */
155
+ public function setSevereSeverity($val)
156
+ {
157
+ $this->_propDict["severeSeverity"] = $val;
158
+ return $this;
159
+ }
160
+ }
vendor/microsoft/microsoft-graph/src/Model/DefenderMonitorFileActivity.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefenderMonitorFileActivity File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DefenderMonitorFileActivity class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DefenderMonitorFileActivity extends Enum
30
+ {
31
+ /**
32
+ * The Enum DefenderMonitorFileActivity
33
+ */
34
+ const USER_DEFINED = "userDefined";
35
+ const DISABLE = "disable";
36
+ const MONITOR_ALL_FILES = "monitorAllFiles";
37
+ const MONITOR_INCOMING_FILES_ONLY = "monitorIncomingFilesOnly";
38
+ const MONITOR_OUTGOING_FILES_ONLY = "monitorOutgoingFilesOnly";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/DefenderPromptForSampleSubmission.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefenderPromptForSampleSubmission File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DefenderPromptForSampleSubmission class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DefenderPromptForSampleSubmission extends Enum
30
+ {
31
+ /**
32
+ * The Enum DefenderPromptForSampleSubmission
33
+ */
34
+ const USER_DEFINED = "userDefined";
35
+ const ALWAYS_PROMPT = "alwaysPrompt";
36
+ const PROMPT_BEFORE_SENDING_PERSONAL_DATA = "promptBeforeSendingPersonalData";
37
+ const NEVER_SEND_DATA = "neverSendData";
38
+ const SEND_ALL_DATA_WITHOUT_PROMPTING = "sendAllDataWithoutPrompting";
39
+ }
vendor/microsoft/microsoft-graph/src/Model/DefenderScanType.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefenderScanType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DefenderScanType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DefenderScanType extends Enum
30
+ {
31
+ /**
32
+ * The Enum DefenderScanType
33
+ */
34
+ const USER_DEFINED = "userDefined";
35
+ const DISABLED = "disabled";
36
+ const QUICK = "quick";
37
+ const FULL = "full";
38
+ }
vendor/microsoft/microsoft-graph/src/Model/DefenderThreatAction.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DefenderThreatAction File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DefenderThreatAction class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DefenderThreatAction extends Enum
30
+ {
31
+ /**
32
+ * The Enum DefenderThreatAction
33
+ */
34
+ const DEVICE_DEFAULT = "deviceDefault";
35
+ const CLEAN = "clean";
36
+ const QUARANTINE = "quarantine";
37
+ const REMOVE = "remove";
38
+ const ALLOW = "allow";
39
+ const USER_DEFINED = "userDefined";
40
+ const BLOCK = "block";
41
+ }
vendor/microsoft/microsoft-graph/src/Model/DeleteUserFromSharedAppleDeviceActionResult.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeleteUserFromSharedAppleDeviceActionResult File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeleteUserFromSharedAppleDeviceActionResult class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeleteUserFromSharedAppleDeviceActionResult extends DeviceActionResult
27
+ {
28
+ /**
29
+ * Gets the userPrincipalName
30
+ * User principal name of the user to be deleted
31
+ *
32
+ * @return string The userPrincipalName
33
+ */
34
+ public function getUserPrincipalName()
35
+ {
36
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
37
+ return $this->_propDict["userPrincipalName"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the userPrincipalName
45
+ * User principal name of the user to be deleted
46
+ *
47
+ * @param string $val The value of the userPrincipalName
48
+ *
49
+ * @return DeleteUserFromSharedAppleDeviceActionResult
50
+ */
51
+ public function setUserPrincipalName($val)
52
+ {
53
+ $this->_propDict["userPrincipalName"] = $val;
54
+ return $this;
55
+ }
56
+ }
vendor/microsoft/microsoft-graph/src/Model/Deleted.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Deleted File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * Deleted class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class Deleted extends Entity
27
+ {
28
+ /**
29
+ * Gets the state
30
+ * Represents the state of the deleted item.
31
+ *
32
+ * @return string The state
33
+ */
34
+ public function getState()
35
+ {
36
+ if (array_key_exists("state", $this->_propDict)) {
37
+ return $this->_propDict["state"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the state
45
+ * Represents the state of the deleted item.
46
+ *
47
+ * @param string $val The value of the state
48
+ *
49
+ * @return Deleted
50
+ */
51
+ public function setState($val)
52
+ {
53
+ $this->_propDict["state"] = $val;
54
+ return $this;
55
+ }
56
+ }
vendor/microsoft/microsoft-graph/src/Model/DetectedApp.php ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DetectedApp File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DetectedApp class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DetectedApp extends Entity
28
+ {
29
+ /**
30
+ * Gets the displayName
31
+ * Name of the discovered application. Read-only
32
+ *
33
+ * @return string The displayName
34
+ */
35
+ public function getDisplayName()
36
+ {
37
+ if (array_key_exists("displayName", $this->_propDict)) {
38
+ return $this->_propDict["displayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the displayName
46
+ * Name of the discovered application. Read-only
47
+ *
48
+ * @param string $val The displayName
49
+ *
50
+ * @return DetectedApp
51
+ */
52
+ public function setDisplayName($val)
53
+ {
54
+ $this->_propDict["displayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the version
60
+ * Version of the discovered application. Read-only
61
+ *
62
+ * @return string The version
63
+ */
64
+ public function getVersion()
65
+ {
66
+ if (array_key_exists("version", $this->_propDict)) {
67
+ return $this->_propDict["version"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the version
75
+ * Version of the discovered application. Read-only
76
+ *
77
+ * @param string $val The version
78
+ *
79
+ * @return DetectedApp
80
+ */
81
+ public function setVersion($val)
82
+ {
83
+ $this->_propDict["version"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the sizeInByte
89
+ * Discovered application size in bytes. Read-only
90
+ *
91
+ * @return int The sizeInByte
92
+ */
93
+ public function getSizeInByte()
94
+ {
95
+ if (array_key_exists("sizeInByte", $this->_propDict)) {
96
+ return $this->_propDict["sizeInByte"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the sizeInByte
104
+ * Discovered application size in bytes. Read-only
105
+ *
106
+ * @param int $val The sizeInByte
107
+ *
108
+ * @return DetectedApp
109
+ */
110
+ public function setSizeInByte($val)
111
+ {
112
+ $this->_propDict["sizeInByte"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the deviceCount
118
+ * The number of devices that have installed this application
119
+ *
120
+ * @return int The deviceCount
121
+ */
122
+ public function getDeviceCount()
123
+ {
124
+ if (array_key_exists("deviceCount", $this->_propDict)) {
125
+ return $this->_propDict["deviceCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the deviceCount
133
+ * The number of devices that have installed this application
134
+ *
135
+ * @param int $val The deviceCount
136
+ *
137
+ * @return DetectedApp
138
+ */
139
+ public function setDeviceCount($val)
140
+ {
141
+ $this->_propDict["deviceCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+
146
+ /**
147
+ * Gets the managedDevices
148
+ * The devices that have the discovered application installed
149
+ *
150
+ * @return array The managedDevices
151
+ */
152
+ public function getManagedDevices()
153
+ {
154
+ if (array_key_exists("managedDevices", $this->_propDict)) {
155
+ return $this->_propDict["managedDevices"];
156
+ } else {
157
+ return null;
158
+ }
159
+ }
160
+
161
+ /**
162
+ * Sets the managedDevices
163
+ * The devices that have the discovered application installed
164
+ *
165
+ * @param ManagedDevice $val The managedDevices
166
+ *
167
+ * @return DetectedApp
168
+ */
169
+ public function setManagedDevices($val)
170
+ {
171
+ $this->_propDict["managedDevices"] = $val;
172
+ return $this;
173
+ }
174
+
175
+ }
vendor/microsoft/microsoft-graph/src/Model/Device.php ADDED
@@ -0,0 +1,741 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * Device File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * Device class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class Device extends DirectoryObject
28
+ {
29
+ /**
30
+ * Gets the accountEnabled
31
+ * true if the account is enabled; otherwise, false. Required.
32
+ *
33
+ * @return bool The accountEnabled
34
+ */
35
+ public function getAccountEnabled()
36
+ {
37
+ if (array_key_exists("accountEnabled", $this->_propDict)) {
38
+ return $this->_propDict["accountEnabled"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the accountEnabled
46
+ * true if the account is enabled; otherwise, false. Required.
47
+ *
48
+ * @param bool $val The accountEnabled
49
+ *
50
+ * @return Device
51
+ */
52
+ public function setAccountEnabled($val)
53
+ {
54
+ $this->_propDict["accountEnabled"] = boolval($val);
55
+ return $this;
56
+ }
57
+
58
+
59
+ /**
60
+ * Gets the alternativeSecurityIds
61
+ * For internal use only. Not nullable.
62
+ *
63
+ * @return array The alternativeSecurityIds
64
+ */
65
+ public function getAlternativeSecurityIds()
66
+ {
67
+ if (array_key_exists("alternativeSecurityIds", $this->_propDict)) {
68
+ return $this->_propDict["alternativeSecurityIds"];
69
+ } else {
70
+ return null;
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Sets the alternativeSecurityIds
76
+ * For internal use only. Not nullable.
77
+ *
78
+ * @param AlternativeSecurityId $val The alternativeSecurityIds
79
+ *
80
+ * @return Device
81
+ */
82
+ public function setAlternativeSecurityIds($val)
83
+ {
84
+ $this->_propDict["alternativeSecurityIds"] = $val;
85
+ return $this;
86
+ }
87
+
88
+ /**
89
+ * Gets the approximateLastSignInDateTime
90
+ * The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
91
+ *
92
+ * @return \DateTime The approximateLastSignInDateTime
93
+ */
94
+ public function getApproximateLastSignInDateTime()
95
+ {
96
+ if (array_key_exists("approximateLastSignInDateTime", $this->_propDict)) {
97
+ if (is_a($this->_propDict["approximateLastSignInDateTime"], "\DateTime")) {
98
+ return $this->_propDict["approximateLastSignInDateTime"];
99
+ } else {
100
+ $this->_propDict["approximateLastSignInDateTime"] = new \DateTime($this->_propDict["approximateLastSignInDateTime"]);
101
+ return $this->_propDict["approximateLastSignInDateTime"];
102
+ }
103
+ }
104
+ return null;
105
+ }
106
+
107
+ /**
108
+ * Sets the approximateLastSignInDateTime
109
+ * The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
110
+ *
111
+ * @param \DateTime $val The approximateLastSignInDateTime
112
+ *
113
+ * @return Device
114
+ */
115
+ public function setApproximateLastSignInDateTime($val)
116
+ {
117
+ $this->_propDict["approximateLastSignInDateTime"] = $val;
118
+ return $this;
119
+ }
120
+
121
+ /**
122
+ * Gets the complianceExpirationDateTime
123
+ * The timestamp when the device is no longer deemed compliant. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
124
+ *
125
+ * @return \DateTime The complianceExpirationDateTime
126
+ */
127
+ public function getComplianceExpirationDateTime()
128
+ {
129
+ if (array_key_exists("complianceExpirationDateTime", $this->_propDict)) {
130
+ if (is_a($this->_propDict["complianceExpirationDateTime"], "\DateTime")) {
131
+ return $this->_propDict["complianceExpirationDateTime"];
132
+ } else {
133
+ $this->_propDict["complianceExpirationDateTime"] = new \DateTime($this->_propDict["complianceExpirationDateTime"]);
134
+ return $this->_propDict["complianceExpirationDateTime"];
135
+ }
136
+ }
137
+ return null;
138
+ }
139
+
140
+ /**
141
+ * Sets the complianceExpirationDateTime
142
+ * The timestamp when the device is no longer deemed compliant. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
143
+ *
144
+ * @param \DateTime $val The complianceExpirationDateTime
145
+ *
146
+ * @return Device
147
+ */
148
+ public function setComplianceExpirationDateTime($val)
149
+ {
150
+ $this->_propDict["complianceExpirationDateTime"] = $val;
151
+ return $this;
152
+ }
153
+
154
+ /**
155
+ * Gets the deviceId
156
+ * Unique identifier set by Azure Device Registration Service at the time of registration.
157
+ *
158
+ * @return string The deviceId
159
+ */
160
+ public function getDeviceId()
161
+ {
162
+ if (array_key_exists("deviceId", $this->_propDict)) {
163
+ return $this->_propDict["deviceId"];
164
+ } else {
165
+ return null;
166
+ }
167
+ }
168
+
169
+ /**
170
+ * Sets the deviceId
171
+ * Unique identifier set by Azure Device Registration Service at the time of registration.
172
+ *
173
+ * @param string $val The deviceId
174
+ *
175
+ * @return Device
176
+ */
177
+ public function setDeviceId($val)
178
+ {
179
+ $this->_propDict["deviceId"] = $val;
180
+ return $this;
181
+ }
182
+
183
+ /**
184
+ * Gets the deviceMetadata
185
+ * For interal use only. Set to null.
186
+ *
187
+ * @return string The deviceMetadata
188
+ */
189
+ public function getDeviceMetadata()
190
+ {
191
+ if (array_key_exists("deviceMetadata", $this->_propDict)) {
192
+ return $this->_propDict["deviceMetadata"];
193
+ } else {
194
+ return null;
195
+ }
196
+ }
197
+
198
+ /**
199
+ * Sets the deviceMetadata
200
+ * For interal use only. Set to null.
201
+ *
202
+ * @param string $val The deviceMetadata
203
+ *
204
+ * @return Device
205
+ */
206
+ public function setDeviceMetadata($val)
207
+ {
208
+ $this->_propDict["deviceMetadata"] = $val;
209
+ return $this;
210
+ }
211
+
212
+ /**
213
+ * Gets the deviceVersion
214
+ * For interal use only.
215
+ *
216
+ * @return int The deviceVersion
217
+ */
218
+ public function getDeviceVersion()
219
+ {
220
+ if (array_key_exists("deviceVersion", $this->_propDict)) {
221
+ return $this->_propDict["deviceVersion"];
222
+ } else {
223
+ return null;
224
+ }
225
+ }
226
+
227
+ /**
228
+ * Sets the deviceVersion
229
+ * For interal use only.
230
+ *
231
+ * @param int $val The deviceVersion
232
+ *
233
+ * @return Device
234
+ */
235
+ public function setDeviceVersion($val)
236
+ {
237
+ $this->_propDict["deviceVersion"] = intval($val);
238
+ return $this;
239
+ }
240
+
241
+ /**
242
+ * Gets the displayName
243
+ * The display name for the device. Required.
244
+ *
245
+ * @return string The displayName
246
+ */
247
+ public function getDisplayName()
248
+ {
249
+ if (array_key_exists("displayName", $this->_propDict)) {
250
+ return $this->_propDict["displayName"];
251
+ } else {
252
+ return null;
253
+ }
254
+ }
255
+
256
+ /**
257
+ * Sets the displayName
258
+ * The display name for the device. Required.
259
+ *
260
+ * @param string $val The displayName
261
+ *
262
+ * @return Device
263
+ */
264
+ public function setDisplayName($val)
265
+ {
266
+ $this->_propDict["displayName"] = $val;
267
+ return $this;
268
+ }
269
+
270
+ /**
271
+ * Gets the isCompliant
272
+ * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
273
+ *
274
+ * @return bool The isCompliant
275
+ */
276
+ public function getIsCompliant()
277
+ {
278
+ if (array_key_exists("isCompliant", $this->_propDict)) {
279
+ return $this->_propDict["isCompliant"];
280
+ } else {
281
+ return null;
282
+ }
283
+ }
284
+
285
+ /**
286
+ * Sets the isCompliant
287
+ * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
288
+ *
289
+ * @param bool $val The isCompliant
290
+ *
291
+ * @return Device
292
+ */
293
+ public function setIsCompliant($val)
294
+ {
295
+ $this->_propDict["isCompliant"] = boolval($val);
296
+ return $this;
297
+ }
298
+
299
+ /**
300
+ * Gets the isManaged
301
+ * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
302
+ *
303
+ * @return bool The isManaged
304
+ */
305
+ public function getIsManaged()
306
+ {
307
+ if (array_key_exists("isManaged", $this->_propDict)) {
308
+ return $this->_propDict["isManaged"];
309
+ } else {
310
+ return null;
311
+ }
312
+ }
313
+
314
+ /**
315
+ * Sets the isManaged
316
+ * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
317
+ *
318
+ * @param bool $val The isManaged
319
+ *
320
+ * @return Device
321
+ */
322
+ public function setIsManaged($val)
323
+ {
324
+ $this->_propDict["isManaged"] = boolval($val);
325
+ return $this;
326
+ }
327
+
328
+ /**
329
+ * Gets the mdmAppId
330
+ * Application identifier used to register device into MDM. Read-only. Supports $filter.
331
+ *
332
+ * @return string The mdmAppId
333
+ */
334
+ public function getMdmAppId()
335
+ {
336
+ if (array_key_exists("mdmAppId", $this->_propDict)) {
337
+ return $this->_propDict["mdmAppId"];
338
+ } else {
339
+ return null;
340
+ }
341
+ }
342
+
343
+ /**
344
+ * Sets the mdmAppId
345
+ * Application identifier used to register device into MDM. Read-only. Supports $filter.
346
+ *
347
+ * @param string $val The mdmAppId
348
+ *
349
+ * @return Device
350
+ */
351
+ public function setMdmAppId($val)
352
+ {
353
+ $this->_propDict["mdmAppId"] = $val;
354
+ return $this;
355
+ }
356
+
357
+ /**
358
+ * Gets the onPremisesLastSyncDateTime
359
+ * The last time at which the object was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' Read-only.
360
+ *
361
+ * @return \DateTime The onPremisesLastSyncDateTime
362
+ */
363
+ public function getOnPremisesLastSyncDateTime()
364
+ {
365
+ if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) {
366
+ if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) {
367
+ return $this->_propDict["onPremisesLastSyncDateTime"];
368
+ } else {
369
+ $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]);
370
+ return $this->_propDict["onPremisesLastSyncDateTime"];
371
+ }
372
+ }
373
+ return null;
374
+ }
375
+
376
+ /**
377
+ * Sets the onPremisesLastSyncDateTime
378
+ * The last time at which the object was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' Read-only.
379
+ *
380
+ * @param \DateTime $val The onPremisesLastSyncDateTime
381
+ *
382
+ * @return Device
383
+ */
384
+ public function setOnPremisesLastSyncDateTime($val)
385
+ {
386
+ $this->_propDict["onPremisesLastSyncDateTime"] = $val;
387
+ return $this;
388
+ }
389
+
390
+ /**
391
+ * Gets the onPremisesSyncEnabled
392
+ * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only.
393
+ *
394
+ * @return bool The onPremisesSyncEnabled
395
+ */
396
+ public function getOnPremisesSyncEnabled()
397
+ {
398
+ if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) {
399
+ return $this->_propDict["onPremisesSyncEnabled"];
400
+ } else {
401
+ return null;
402
+ }
403
+ }
404
+
405
+ /**
406
+ * Sets the onPremisesSyncEnabled
407
+ * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only.
408
+ *
409
+ * @param bool $val The onPremisesSyncEnabled
410
+ *
411
+ * @return Device
412
+ */
413
+ public function setOnPremisesSyncEnabled($val)
414
+ {
415
+ $this->_propDict["onPremisesSyncEnabled"] = boolval($val);
416
+ return $this;
417
+ }
418
+
419
+ /**
420
+ * Gets the operatingSystem
421
+ * The type of operating system on the device. Required.
422
+ *
423
+ * @return string The operatingSystem
424
+ */
425
+ public function getOperatingSystem()
426
+ {
427
+ if (array_key_exists("operatingSystem", $this->_propDict)) {
428
+ return $this->_propDict["operatingSystem"];
429
+ } else {
430
+ return null;
431
+ }
432
+ }
433
+
434
+ /**
435
+ * Sets the operatingSystem
436
+ * The type of operating system on the device. Required.
437
+ *
438
+ * @param string $val The operatingSystem
439
+ *
440
+ * @return Device
441
+ */
442
+ public function setOperatingSystem($val)
443
+ {
444
+ $this->_propDict["operatingSystem"] = $val;
445
+ return $this;
446
+ }
447
+
448
+ /**
449
+ * Gets the operatingSystemVersion
450
+ * The version of the operating system on the device. Required.
451
+ *
452
+ * @return string The operatingSystemVersion
453
+ */
454
+ public function getOperatingSystemVersion()
455
+ {
456
+ if (array_key_exists("operatingSystemVersion", $this->_propDict)) {
457
+ return $this->_propDict["operatingSystemVersion"];
458
+ } else {
459
+ return null;
460
+ }
461
+ }
462
+
463
+ /**
464
+ * Sets the operatingSystemVersion
465
+ * The version of the operating system on the device. Required.
466
+ *
467
+ * @param string $val The operatingSystemVersion
468
+ *
469
+ * @return Device
470
+ */
471
+ public function setOperatingSystemVersion($val)
472
+ {
473
+ $this->_propDict["operatingSystemVersion"] = $val;
474
+ return $this;
475
+ }
476
+
477
+ /**
478
+ * Gets the physicalIds
479
+ * For interal use only. Not nullable.
480
+ *
481
+ * @return string The physicalIds
482
+ */
483
+ public function getPhysicalIds()
484
+ {
485
+ if (array_key_exists("physicalIds", $this->_propDict)) {
486
+ return $this->_propDict["physicalIds"];
487
+ } else {
488
+ return null;
489
+ }
490
+ }
491
+
492
+ /**
493
+ * Sets the physicalIds
494
+ * For interal use only. Not nullable.
495
+ *
496
+ * @param string $val The physicalIds
497
+ *
498
+ * @return Device
499
+ */
500
+ public function setPhysicalIds($val)
501
+ {
502
+ $this->_propDict["physicalIds"] = $val;
503
+ return $this;
504
+ }
505
+
506
+ /**
507
+ * Gets the profileType
508
+ * The profile type of the device. Possible values:RegisteredDevice (default)SecureVMPrinterSharedIoT
509
+ *
510
+ * @return string The profileType
511
+ */
512
+ public function getProfileType()
513
+ {
514
+ if (array_key_exists("profileType", $this->_propDict)) {
515
+ return $this->_propDict["profileType"];
516
+ } else {
517
+ return null;
518
+ }
519
+ }
520
+
521
+ /**
522
+ * Sets the profileType
523
+ * The profile type of the device. Possible values:RegisteredDevice (default)SecureVMPrinterSharedIoT
524
+ *
525
+ * @param string $val The profileType
526
+ *
527
+ * @return Device
528
+ */
529
+ public function setProfileType($val)
530
+ {
531
+ $this->_propDict["profileType"] = $val;
532
+ return $this;
533
+ }
534
+
535
+ /**
536
+ * Gets the systemLabels
537
+ * List of labels applied to the device by the system.
538
+ *
539
+ * @return string The systemLabels
540
+ */
541
+ public function getSystemLabels()
542
+ {
543
+ if (array_key_exists("systemLabels", $this->_propDict)) {
544
+ return $this->_propDict["systemLabels"];
545
+ } else {
546
+ return null;
547
+ }
548
+ }
549
+
550
+ /**
551
+ * Sets the systemLabels
552
+ * List of labels applied to the device by the system.
553
+ *
554
+ * @param string $val The systemLabels
555
+ *
556
+ * @return Device
557
+ */
558
+ public function setSystemLabels($val)
559
+ {
560
+ $this->_propDict["systemLabels"] = $val;
561
+ return $this;
562
+ }
563
+
564
+ /**
565
+ * Gets the trustType
566
+ * Type of trust for the joined device. Read-only. Possible values: Workplace - indicates bring your own personal devicesAzureAd - Cloud only joined devicesServerAd - on-premises domain joined devices joined to Azure AD. For more details, see Introduction to device management in Azure Active Directory
567
+ *
568
+ * @return string The trustType
569
+ */
570
+ public function getTrustType()
571
+ {
572
+ if (array_key_exists("trustType", $this->_propDict)) {
573
+ return $this->_propDict["trustType"];
574
+ } else {
575
+ return null;
576
+ }
577
+ }
578
+
579
+ /**
580
+ * Sets the trustType
581
+ * Type of trust for the joined device. Read-only. Possible values: Workplace - indicates bring your own personal devicesAzureAd - Cloud only joined devicesServerAd - on-premises domain joined devices joined to Azure AD. For more details, see Introduction to device management in Azure Active Directory
582
+ *
583
+ * @param string $val The trustType
584
+ *
585
+ * @return Device
586
+ */
587
+ public function setTrustType($val)
588
+ {
589
+ $this->_propDict["trustType"] = $val;
590
+ return $this;
591
+ }
592
+
593
+
594
+ /**
595
+ * Gets the memberOf
596
+ * Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.
597
+ *
598
+ * @return array The memberOf
599
+ */
600
+ public function getMemberOf()
601
+ {
602
+ if (array_key_exists("memberOf", $this->_propDict)) {
603
+ return $this->_propDict["memberOf"];
604
+ } else {
605
+ return null;
606
+ }
607
+ }
608
+
609
+ /**
610
+ * Sets the memberOf
611
+ * Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.
612
+ *
613
+ * @param DirectoryObject $val The memberOf
614
+ *
615
+ * @return Device
616
+ */
617
+ public function setMemberOf($val)
618
+ {
619
+ $this->_propDict["memberOf"] = $val;
620
+ return $this;
621
+ }
622
+
623
+
624
+ /**
625
+ * Gets the registeredOwners
626
+ * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable.
627
+ *
628
+ * @return array The registeredOwners
629
+ */
630
+ public function getRegisteredOwners()
631
+ {
632
+ if (array_key_exists("registeredOwners", $this->_propDict)) {
633
+ return $this->_propDict["registeredOwners"];
634
+ } else {
635
+ return null;
636
+ }
637
+ }
638
+
639
+ /**
640
+ * Sets the registeredOwners
641
+ * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable.
642
+ *
643
+ * @param DirectoryObject $val The registeredOwners
644
+ *
645
+ * @return Device
646
+ */
647
+ public function setRegisteredOwners($val)
648
+ {
649
+ $this->_propDict["registeredOwners"] = $val;
650
+ return $this;
651
+ }
652
+
653
+
654
+ /**
655
+ * Gets the registeredUsers
656
+ * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable.
657
+ *
658
+ * @return array The registeredUsers
659
+ */
660
+ public function getRegisteredUsers()
661
+ {
662
+ if (array_key_exists("registeredUsers", $this->_propDict)) {
663
+ return $this->_propDict["registeredUsers"];
664
+ } else {
665
+ return null;
666
+ }
667
+ }
668
+
669
+ /**
670
+ * Sets the registeredUsers
671
+ * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable.
672
+ *
673
+ * @param DirectoryObject $val The registeredUsers
674
+ *
675
+ * @return Device
676
+ */
677
+ public function setRegisteredUsers($val)
678
+ {
679
+ $this->_propDict["registeredUsers"] = $val;
680
+ return $this;
681
+ }
682
+
683
+
684
+ /**
685
+ * Gets the transitiveMemberOf
686
+ *
687
+ * @return array The transitiveMemberOf
688
+ */
689
+ public function getTransitiveMemberOf()
690
+ {
691
+ if (array_key_exists("transitiveMemberOf", $this->_propDict)) {
692
+ return $this->_propDict["transitiveMemberOf"];
693
+ } else {
694
+ return null;
695
+ }
696
+ }
697
+
698
+ /**
699
+ * Sets the transitiveMemberOf
700
+ *
701
+ * @param DirectoryObject $val The transitiveMemberOf
702
+ *
703
+ * @return Device
704
+ */
705
+ public function setTransitiveMemberOf($val)
706
+ {
707
+ $this->_propDict["transitiveMemberOf"] = $val;
708
+ return $this;
709
+ }
710
+
711
+
712
+ /**
713
+ * Gets the extensions
714
+ * The collection of open extensions defined for the device. Read-only. Nullable.
715
+ *
716
+ * @return array The extensions
717
+ */
718
+ public function getExtensions()
719
+ {
720
+ if (array_key_exists("extensions", $this->_propDict)) {
721
+ return $this->_propDict["extensions"];
722
+ } else {
723
+ return null;
724
+ }
725
+ }
726
+
727
+ /**
728
+ * Sets the extensions
729
+ * The collection of open extensions defined for the device. Read-only. Nullable.
730
+ *
731
+ * @param Extension $val The extensions
732
+ *
733
+ * @return Device
734
+ */
735
+ public function setExtensions($val)
736
+ {
737
+ $this->_propDict["extensions"] = $val;
738
+ return $this;
739
+ }
740
+
741
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceActionResult.php ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceActionResult File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceActionResult class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceActionResult extends Entity
27
+ {
28
+ /**
29
+ * Gets the actionName
30
+ * Action name
31
+ *
32
+ * @return string The actionName
33
+ */
34
+ public function getActionName()
35
+ {
36
+ if (array_key_exists("actionName", $this->_propDict)) {
37
+ return $this->_propDict["actionName"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the actionName
45
+ * Action name
46
+ *
47
+ * @param string $val The value of the actionName
48
+ *
49
+ * @return DeviceActionResult
50
+ */
51
+ public function setActionName($val)
52
+ {
53
+ $this->_propDict["actionName"] = $val;
54
+ return $this;
55
+ }
56
+
57
+ /**
58
+ * Gets the actionState
59
+ * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported.
60
+ *
61
+ * @return ActionState The actionState
62
+ */
63
+ public function getActionState()
64
+ {
65
+ if (array_key_exists("actionState", $this->_propDict)) {
66
+ if (is_a($this->_propDict["actionState"], "Microsoft\Graph\Model\ActionState")) {
67
+ return $this->_propDict["actionState"];
68
+ } else {
69
+ $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]);
70
+ return $this->_propDict["actionState"];
71
+ }
72
+ }
73
+ return null;
74
+ }
75
+
76
+ /**
77
+ * Sets the actionState
78
+ * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported.
79
+ *
80
+ * @param ActionState $val The value to assign to the actionState
81
+ *
82
+ * @return DeviceActionResult The DeviceActionResult
83
+ */
84
+ public function setActionState($val)
85
+ {
86
+ $this->_propDict["actionState"] = $val;
87
+ return $this;
88
+ }
89
+
90
+ /**
91
+ * Gets the startDateTime
92
+ * Time the action was initiated
93
+ *
94
+ * @return \DateTime The startDateTime
95
+ */
96
+ public function getStartDateTime()
97
+ {
98
+ if (array_key_exists("startDateTime", $this->_propDict)) {
99
+ if (is_a($this->_propDict["startDateTime"], "Microsoft\Graph\Model\\DateTime")) {
100
+ return $this->_propDict["startDateTime"];
101
+ } else {
102
+ $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]);
103
+ return $this->_propDict["startDateTime"];
104
+ }
105
+ }
106
+ return null;
107
+ }
108
+
109
+ /**
110
+ * Sets the startDateTime
111
+ * Time the action was initiated
112
+ *
113
+ * @param \DateTime $val The value to assign to the startDateTime
114
+ *
115
+ * @return DeviceActionResult The DeviceActionResult
116
+ */
117
+ public function setStartDateTime($val)
118
+ {
119
+ $this->_propDict["startDateTime"] = $val;
120
+ return $this;
121
+ }
122
+
123
+ /**
124
+ * Gets the lastUpdatedDateTime
125
+ * Time the action state was last updated
126
+ *
127
+ * @return \DateTime The lastUpdatedDateTime
128
+ */
129
+ public function getLastUpdatedDateTime()
130
+ {
131
+ if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) {
132
+ if (is_a($this->_propDict["lastUpdatedDateTime"], "Microsoft\Graph\Model\\DateTime")) {
133
+ return $this->_propDict["lastUpdatedDateTime"];
134
+ } else {
135
+ $this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]);
136
+ return $this->_propDict["lastUpdatedDateTime"];
137
+ }
138
+ }
139
+ return null;
140
+ }
141
+
142
+ /**
143
+ * Sets the lastUpdatedDateTime
144
+ * Time the action state was last updated
145
+ *
146
+ * @param \DateTime $val The value to assign to the lastUpdatedDateTime
147
+ *
148
+ * @return DeviceActionResult The DeviceActionResult
149
+ */
150
+ public function setLastUpdatedDateTime($val)
151
+ {
152
+ $this->_propDict["lastUpdatedDateTime"] = $val;
153
+ return $this;
154
+ }
155
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementAssignmentTarget.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceAndAppManagementAssignmentTarget File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceAndAppManagementAssignmentTarget class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceAndAppManagementAssignmentTarget extends Entity
27
+ {
28
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleAssignment.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceAndAppManagementRoleAssignment File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceAndAppManagementRoleAssignment class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceAndAppManagementRoleAssignment extends RoleAssignment
28
+ {
29
+ /**
30
+ * Gets the members
31
+ * The list of ids of role member security groups. These are IDs from Azure Active Directory.
32
+ *
33
+ * @return string The members
34
+ */
35
+ public function getMembers()
36
+ {
37
+ if (array_key_exists("members", $this->_propDict)) {
38
+ return $this->_propDict["members"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the members
46
+ * The list of ids of role member security groups. These are IDs from Azure Active Directory.
47
+ *
48
+ * @param string $val The members
49
+ *
50
+ * @return DeviceAndAppManagementRoleAssignment
51
+ */
52
+ public function setMembers($val)
53
+ {
54
+ $this->_propDict["members"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleDefinition.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceAndAppManagementRoleDefinition File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceAndAppManagementRoleDefinition class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceAndAppManagementRoleDefinition extends RoleDefinition
28
+ {
29
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceAppManagement.php ADDED
@@ -0,0 +1,573 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceAppManagement File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceAppManagement class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceAppManagement extends Entity
28
+ {
29
+ /**
30
+ * Gets the microsoftStoreForBusinessLastSuccessfulSyncDateTime
31
+ * The last time the apps from the Microsoft Store for Business were synced successfully for the account.
32
+ *
33
+ * @return \DateTime The microsoftStoreForBusinessLastSuccessfulSyncDateTime
34
+ */
35
+ public function getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime()
36
+ {
37
+ if (array_key_exists("microsoftStoreForBusinessLastSuccessfulSyncDateTime", $this->_propDict)) {
38
+ if (is_a($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"], "\DateTime")) {
39
+ return $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"];
40
+ } else {
41
+ $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"] = new \DateTime($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"]);
42
+ return $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the microsoftStoreForBusinessLastSuccessfulSyncDateTime
50
+ * The last time the apps from the Microsoft Store for Business were synced successfully for the account.
51
+ *
52
+ * @param \DateTime $val The microsoftStoreForBusinessLastSuccessfulSyncDateTime
53
+ *
54
+ * @return DeviceAppManagement
55
+ */
56
+ public function setMicrosoftStoreForBusinessLastSuccessfulSyncDateTime($val)
57
+ {
58
+ $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the isEnabledForMicrosoftStoreForBusiness
64
+ * Whether the account is enabled for syncing applications from the Microsoft Store for Business.
65
+ *
66
+ * @return bool The isEnabledForMicrosoftStoreForBusiness
67
+ */
68
+ public function getIsEnabledForMicrosoftStoreForBusiness()
69
+ {
70
+ if (array_key_exists("isEnabledForMicrosoftStoreForBusiness", $this->_propDict)) {
71
+ return $this->_propDict["isEnabledForMicrosoftStoreForBusiness"];
72
+ } else {
73
+ return null;
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Sets the isEnabledForMicrosoftStoreForBusiness
79
+ * Whether the account is enabled for syncing applications from the Microsoft Store for Business.
80
+ *
81
+ * @param bool $val The isEnabledForMicrosoftStoreForBusiness
82
+ *
83
+ * @return DeviceAppManagement
84
+ */
85
+ public function setIsEnabledForMicrosoftStoreForBusiness($val)
86
+ {
87
+ $this->_propDict["isEnabledForMicrosoftStoreForBusiness"] = boolval($val);
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the microsoftStoreForBusinessLanguage
93
+ * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&amp;lt;country/regioncode2&amp;gt;, where is a lowercase two-letter code derived from ISO 639-1 and &amp;lt;country/regioncode2&amp;gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
94
+ *
95
+ * @return string The microsoftStoreForBusinessLanguage
96
+ */
97
+ public function getMicrosoftStoreForBusinessLanguage()
98
+ {
99
+ if (array_key_exists("microsoftStoreForBusinessLanguage", $this->_propDict)) {
100
+ return $this->_propDict["microsoftStoreForBusinessLanguage"];
101
+ } else {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Sets the microsoftStoreForBusinessLanguage
108
+ * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&amp;lt;country/regioncode2&amp;gt;, where is a lowercase two-letter code derived from ISO 639-1 and &amp;lt;country/regioncode2&amp;gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
109
+ *
110
+ * @param string $val The microsoftStoreForBusinessLanguage
111
+ *
112
+ * @return DeviceAppManagement
113
+ */
114
+ public function setMicrosoftStoreForBusinessLanguage($val)
115
+ {
116
+ $this->_propDict["microsoftStoreForBusinessLanguage"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the microsoftStoreForBusinessLastCompletedApplicationSyncTime
122
+ * The last time an application sync from the Microsoft Store for Business was completed.
123
+ *
124
+ * @return \DateTime The microsoftStoreForBusinessLastCompletedApplicationSyncTime
125
+ */
126
+ public function getMicrosoftStoreForBusinessLastCompletedApplicationSyncTime()
127
+ {
128
+ if (array_key_exists("microsoftStoreForBusinessLastCompletedApplicationSyncTime", $this->_propDict)) {
129
+ if (is_a($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"], "\DateTime")) {
130
+ return $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"];
131
+ } else {
132
+ $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"] = new \DateTime($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"]);
133
+ return $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"];
134
+ }
135
+ }
136
+ return null;
137
+ }
138
+
139
+ /**
140
+ * Sets the microsoftStoreForBusinessLastCompletedApplicationSyncTime
141
+ * The last time an application sync from the Microsoft Store for Business was completed.
142
+ *
143
+ * @param \DateTime $val The microsoftStoreForBusinessLastCompletedApplicationSyncTime
144
+ *
145
+ * @return DeviceAppManagement
146
+ */
147
+ public function setMicrosoftStoreForBusinessLastCompletedApplicationSyncTime($val)
148
+ {
149
+ $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"] = $val;
150
+ return $this;
151
+ }
152
+
153
+
154
+ /**
155
+ * Gets the managedEBooks
156
+ * The Managed eBook.
157
+ *
158
+ * @return array The managedEBooks
159
+ */
160
+ public function getManagedEBooks()
161
+ {
162
+ if (array_key_exists("managedEBooks", $this->_propDict)) {
163
+ return $this->_propDict["managedEBooks"];
164
+ } else {
165
+ return null;
166
+ }
167
+ }
168
+
169
+ /**
170
+ * Sets the managedEBooks
171
+ * The Managed eBook.
172
+ *
173
+ * @param ManagedEBook $val The managedEBooks
174
+ *
175
+ * @return DeviceAppManagement
176
+ */
177
+ public function setManagedEBooks($val)
178
+ {
179
+ $this->_propDict["managedEBooks"] = $val;
180
+ return $this;
181
+ }
182
+
183
+
184
+ /**
185
+ * Gets the mobileApps
186
+ * The mobile apps.
187
+ *
188
+ * @return array The mobileApps
189
+ */
190
+ public function getMobileApps()
191
+ {
192
+ if (array_key_exists("mobileApps", $this->_propDict)) {
193
+ return $this->_propDict["mobileApps"];
194
+ } else {
195
+ return null;
196
+ }
197
+ }
198
+
199
+ /**
200
+ * Sets the mobileApps
201
+ * The mobile apps.
202
+ *
203
+ * @param MobileApp $val The mobileApps
204
+ *
205
+ * @return DeviceAppManagement
206
+ */
207
+ public function setMobileApps($val)
208
+ {
209
+ $this->_propDict["mobileApps"] = $val;
210
+ return $this;
211
+ }
212
+
213
+
214
+ /**
215
+ * Gets the mobileAppCategories
216
+ * The mobile app categories.
217
+ *
218
+ * @return array The mobileAppCategories
219
+ */
220
+ public function getMobileAppCategories()
221
+ {
222
+ if (array_key_exists("mobileAppCategories", $this->_propDict)) {
223
+ return $this->_propDict["mobileAppCategories"];
224
+ } else {
225
+ return null;
226
+ }
227
+ }
228
+
229
+ /**
230
+ * Sets the mobileAppCategories
231
+ * The mobile app categories.
232
+ *
233
+ * @param MobileAppCategory $val The mobileAppCategories
234
+ *
235
+ * @return DeviceAppManagement
236
+ */
237
+ public function setMobileAppCategories($val)
238
+ {
239
+ $this->_propDict["mobileAppCategories"] = $val;
240
+ return $this;
241
+ }
242
+
243
+
244
+ /**
245
+ * Gets the mobileAppConfigurations
246
+ * The Managed Device Mobile Application Configurations.
247
+ *
248
+ * @return array The mobileAppConfigurations
249
+ */
250
+ public function getMobileAppConfigurations()
251
+ {
252
+ if (array_key_exists("mobileAppConfigurations", $this->_propDict)) {
253
+ return $this->_propDict["mobileAppConfigurations"];
254
+ } else {
255
+ return null;
256
+ }
257
+ }
258
+
259
+ /**
260
+ * Sets the mobileAppConfigurations
261
+ * The Managed Device Mobile Application Configurations.
262
+ *
263
+ * @param ManagedDeviceMobileAppConfiguration $val The mobileAppConfigurations
264
+ *
265
+ * @return DeviceAppManagement
266
+ */
267
+ public function setMobileAppConfigurations($val)
268
+ {
269
+ $this->_propDict["mobileAppConfigurations"] = $val;
270
+ return $this;
271
+ }
272
+
273
+
274
+ /**
275
+ * Gets the vppTokens
276
+ * List of Vpp tokens for this organization.
277
+ *
278
+ * @return array The vppTokens
279
+ */
280
+ public function getVppTokens()
281
+ {
282
+ if (array_key_exists("vppTokens", $this->_propDict)) {
283
+ return $this->_propDict["vppTokens"];
284
+ } else {
285
+ return null;
286
+ }
287
+ }
288
+
289
+ /**
290
+ * Sets the vppTokens
291
+ * List of Vpp tokens for this organization.
292
+ *
293
+ * @param VppToken $val The vppTokens
294
+ *
295
+ * @return DeviceAppManagement
296
+ */
297
+ public function setVppTokens($val)
298
+ {
299
+ $this->_propDict["vppTokens"] = $val;
300
+ return $this;
301
+ }
302
+
303
+
304
+ /**
305
+ * Gets the managedAppPolicies
306
+ * Managed app policies.
307
+ *
308
+ * @return array The managedAppPolicies
309
+ */
310
+ public function getManagedAppPolicies()
311
+ {
312
+ if (array_key_exists("managedAppPolicies", $this->_propDict)) {
313
+ return $this->_propDict["managedAppPolicies"];
314
+ } else {
315
+ return null;
316
+ }
317
+ }
318
+
319
+ /**
320
+ * Sets the managedAppPolicies
321
+ * Managed app policies.
322
+ *
323
+ * @param ManagedAppPolicy $val The managedAppPolicies
324
+ *
325
+ * @return DeviceAppManagement
326
+ */
327
+ public function setManagedAppPolicies($val)
328
+ {
329
+ $this->_propDict["managedAppPolicies"] = $val;
330
+ return $this;
331
+ }
332
+
333
+
334
+ /**
335
+ * Gets the iosManagedAppProtections
336
+ * iOS managed app policies.
337
+ *
338
+ * @return array The iosManagedAppProtections
339
+ */
340
+ public function getIosManagedAppProtections()
341
+ {
342
+ if (array_key_exists("iosManagedAppProtections", $this->_propDict)) {
343
+ return $this->_propDict["iosManagedAppProtections"];
344
+ } else {
345
+ return null;
346
+ }
347
+ }
348
+
349
+ /**
350
+ * Sets the iosManagedAppProtections
351
+ * iOS managed app policies.
352
+ *
353
+ * @param IosManagedAppProtection $val The iosManagedAppProtections
354
+ *
355
+ * @return DeviceAppManagement
356
+ */
357
+ public function setIosManagedAppProtections($val)
358
+ {
359
+ $this->_propDict["iosManagedAppProtections"] = $val;
360
+ return $this;
361
+ }
362
+
363
+
364
+ /**
365
+ * Gets the androidManagedAppProtections
366
+ * Android managed app policies.
367
+ *
368
+ * @return array The androidManagedAppProtections
369
+ */
370
+ public function getAndroidManagedAppProtections()
371
+ {
372
+ if (array_key_exists("androidManagedAppProtections", $this->_propDict)) {
373
+ return $this->_propDict["androidManagedAppProtections"];
374
+ } else {
375
+ return null;
376
+ }
377
+ }
378
+
379
+ /**
380
+ * Sets the androidManagedAppProtections
381
+ * Android managed app policies.
382
+ *
383
+ * @param AndroidManagedAppProtection $val The androidManagedAppProtections
384
+ *
385
+ * @return DeviceAppManagement
386
+ */
387
+ public function setAndroidManagedAppProtections($val)
388
+ {
389
+ $this->_propDict["androidManagedAppProtections"] = $val;
390
+ return $this;
391
+ }
392
+
393
+
394
+ /**
395
+ * Gets the defaultManagedAppProtections
396
+ * Default managed app policies.
397
+ *
398
+ * @return array The defaultManagedAppProtections
399
+ */
400
+ public function getDefaultManagedAppProtections()
401
+ {
402
+ if (array_key_exists("defaultManagedAppProtections", $this->_propDict)) {
403
+ return $this->_propDict["defaultManagedAppProtections"];
404
+ } else {
405
+ return null;
406
+ }
407
+ }
408
+
409
+ /**
410
+ * Sets the defaultManagedAppProtections
411
+ * Default managed app policies.
412
+ *
413
+ * @param DefaultManagedAppProtection $val The defaultManagedAppProtections
414
+ *
415
+ * @return DeviceAppManagement
416
+ */
417
+ public function setDefaultManagedAppProtections($val)
418
+ {
419
+ $this->_propDict["defaultManagedAppProtections"] = $val;
420
+ return $this;
421
+ }
422
+
423
+
424
+ /**
425
+ * Gets the targetedManagedAppConfigurations
426
+ * Targeted managed app configurations.
427
+ *
428
+ * @return array The targetedManagedAppConfigurations
429
+ */
430
+ public function getTargetedManagedAppConfigurations()
431
+ {
432
+ if (array_key_exists("targetedManagedAppConfigurations", $this->_propDict)) {
433
+ return $this->_propDict["targetedManagedAppConfigurations"];
434
+ } else {
435
+ return null;
436
+ }
437
+ }
438
+
439
+ /**
440
+ * Sets the targetedManagedAppConfigurations
441
+ * Targeted managed app configurations.
442
+ *
443
+ * @param TargetedManagedAppConfiguration $val The targetedManagedAppConfigurations
444
+ *
445
+ * @return DeviceAppManagement
446
+ */
447
+ public function setTargetedManagedAppConfigurations($val)
448
+ {
449
+ $this->_propDict["targetedManagedAppConfigurations"] = $val;
450
+ return $this;
451
+ }
452
+
453
+
454
+ /**
455
+ * Gets the mdmWindowsInformationProtectionPolicies
456
+ * Windows information protection for apps running on devices which are MDM enrolled.
457
+ *
458
+ * @return array The mdmWindowsInformationProtectionPolicies
459
+ */
460
+ public function getMdmWindowsInformationProtectionPolicies()
461
+ {
462
+ if (array_key_exists("mdmWindowsInformationProtectionPolicies", $this->_propDict)) {
463
+ return $this->_propDict["mdmWindowsInformationProtectionPolicies"];
464
+ } else {
465
+ return null;
466
+ }
467
+ }
468
+
469
+ /**
470
+ * Sets the mdmWindowsInformationProtectionPolicies
471
+ * Windows information protection for apps running on devices which are MDM enrolled.
472
+ *
473
+ * @param MdmWindowsInformationProtectionPolicy $val The mdmWindowsInformationProtectionPolicies
474
+ *
475
+ * @return DeviceAppManagement
476
+ */
477
+ public function setMdmWindowsInformationProtectionPolicies($val)
478
+ {
479
+ $this->_propDict["mdmWindowsInformationProtectionPolicies"] = $val;
480
+ return $this;
481
+ }
482
+
483
+
484
+ /**
485
+ * Gets the windowsInformationProtectionPolicies
486
+ * Windows information protection for apps running on devices which are not MDM enrolled.
487
+ *
488
+ * @return array The windowsInformationProtectionPolicies
489
+ */
490
+ public function getWindowsInformationProtectionPolicies()
491
+ {
492
+ if (array_key_exists("windowsInformationProtectionPolicies", $this->_propDict)) {
493
+ return $this->_propDict["windowsInformationProtectionPolicies"];
494
+ } else {
495
+ return null;
496
+ }
497
+ }
498
+
499
+ /**
500
+ * Sets the windowsInformationProtectionPolicies
501
+ * Windows information protection for apps running on devices which are not MDM enrolled.
502
+ *
503
+ * @param WindowsInformationProtectionPolicy $val The windowsInformationProtectionPolicies
504
+ *
505
+ * @return DeviceAppManagement
506
+ */
507
+ public function setWindowsInformationProtectionPolicies($val)
508
+ {
509
+ $this->_propDict["windowsInformationProtectionPolicies"] = $val;
510
+ return $this;
511
+ }
512
+
513
+
514
+ /**
515
+ * Gets the managedAppRegistrations
516
+ * The managed app registrations.
517
+ *
518
+ * @return array The managedAppRegistrations
519
+ */
520
+ public function getManagedAppRegistrations()
521
+ {
522
+ if (array_key_exists("managedAppRegistrations", $this->_propDict)) {
523
+ return $this->_propDict["managedAppRegistrations"];
524
+ } else {
525
+ return null;
526
+ }
527
+ }
528
+
529
+ /**
530
+ * Sets the managedAppRegistrations
531
+ * The managed app registrations.
532
+ *
533
+ * @param ManagedAppRegistration $val The managedAppRegistrations
534
+ *
535
+ * @return DeviceAppManagement
536
+ */
537
+ public function setManagedAppRegistrations($val)
538
+ {
539
+ $this->_propDict["managedAppRegistrations"] = $val;
540
+ return $this;
541
+ }
542
+
543
+
544
+ /**
545
+ * Gets the managedAppStatuses
546
+ * The managed app statuses.
547
+ *
548
+ * @return array The managedAppStatuses
549
+ */
550
+ public function getManagedAppStatuses()
551
+ {
552
+ if (array_key_exists("managedAppStatuses", $this->_propDict)) {
553
+ return $this->_propDict["managedAppStatuses"];
554
+ } else {
555
+ return null;
556
+ }
557
+ }
558
+
559
+ /**
560
+ * Sets the managedAppStatuses
561
+ * The managed app statuses.
562
+ *
563
+ * @param ManagedAppStatus $val The managedAppStatuses
564
+ *
565
+ * @return DeviceAppManagement
566
+ */
567
+ public function setManagedAppStatuses($val)
568
+ {
569
+ $this->_propDict["managedAppStatuses"] = $val;
570
+ return $this;
571
+ }
572
+
573
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceCategory.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceCategory File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceCategory class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceCategory extends Entity
28
+ {
29
+ /**
30
+ * Gets the displayName
31
+ * Display name for the device category.
32
+ *
33
+ * @return string The displayName
34
+ */
35
+ public function getDisplayName()
36
+ {
37
+ if (array_key_exists("displayName", $this->_propDict)) {
38
+ return $this->_propDict["displayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the displayName
46
+ * Display name for the device category.
47
+ *
48
+ * @param string $val The displayName
49
+ *
50
+ * @return DeviceCategory
51
+ */
52
+ public function setDisplayName($val)
53
+ {
54
+ $this->_propDict["displayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the description
60
+ * Optional description for the device category.
61
+ *
62
+ * @return string The description
63
+ */
64
+ public function getDescription()
65
+ {
66
+ if (array_key_exists("description", $this->_propDict)) {
67
+ return $this->_propDict["description"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the description
75
+ * Optional description for the device category.
76
+ *
77
+ * @param string $val The description
78
+ *
79
+ * @return DeviceCategory
80
+ */
81
+ public function setDescription($val)
82
+ {
83
+ $this->_propDict["description"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionItem.php ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceActionItem File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceComplianceActionItem class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceComplianceActionItem extends Entity
28
+ {
29
+ /**
30
+ * Gets the gracePeriodHours
31
+ * Number of hours to wait till the action will be enforced. Valid values 0 to 8760
32
+ *
33
+ * @return int The gracePeriodHours
34
+ */
35
+ public function getGracePeriodHours()
36
+ {
37
+ if (array_key_exists("gracePeriodHours", $this->_propDict)) {
38
+ return $this->_propDict["gracePeriodHours"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the gracePeriodHours
46
+ * Number of hours to wait till the action will be enforced. Valid values 0 to 8760
47
+ *
48
+ * @param int $val The gracePeriodHours
49
+ *
50
+ * @return DeviceComplianceActionItem
51
+ */
52
+ public function setGracePeriodHours($val)
53
+ {
54
+ $this->_propDict["gracePeriodHours"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the actionType
60
+ * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification.
61
+ *
62
+ * @return DeviceComplianceActionType The actionType
63
+ */
64
+ public function getActionType()
65
+ {
66
+ if (array_key_exists("actionType", $this->_propDict)) {
67
+ if (is_a($this->_propDict["actionType"], "Microsoft\Graph\Model\DeviceComplianceActionType")) {
68
+ return $this->_propDict["actionType"];
69
+ } else {
70
+ $this->_propDict["actionType"] = new DeviceComplianceActionType($this->_propDict["actionType"]);
71
+ return $this->_propDict["actionType"];
72
+ }
73
+ }
74
+ return null;
75
+ }
76
+
77
+ /**
78
+ * Sets the actionType
79
+ * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification.
80
+ *
81
+ * @param DeviceComplianceActionType $val The actionType
82
+ *
83
+ * @return DeviceComplianceActionItem
84
+ */
85
+ public function setActionType($val)
86
+ {
87
+ $this->_propDict["actionType"] = $val;
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the notificationTemplateId
93
+ * What notification Message template to use
94
+ *
95
+ * @return string The notificationTemplateId
96
+ */
97
+ public function getNotificationTemplateId()
98
+ {
99
+ if (array_key_exists("notificationTemplateId", $this->_propDict)) {
100
+ return $this->_propDict["notificationTemplateId"];
101
+ } else {
102
+ return null;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Sets the notificationTemplateId
108
+ * What notification Message template to use
109
+ *
110
+ * @param string $val The notificationTemplateId
111
+ *
112
+ * @return DeviceComplianceActionItem
113
+ */
114
+ public function setNotificationTemplateId($val)
115
+ {
116
+ $this->_propDict["notificationTemplateId"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the notificationMessageCCList
122
+ * A list of group IDs to speicify who to CC this notification message to.
123
+ *
124
+ * @return string The notificationMessageCCList
125
+ */
126
+ public function getNotificationMessageCCList()
127
+ {
128
+ if (array_key_exists("notificationMessageCCList", $this->_propDict)) {
129
+ return $this->_propDict["notificationMessageCCList"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the notificationMessageCCList
137
+ * A list of group IDs to speicify who to CC this notification message to.
138
+ *
139
+ * @param string $val The notificationMessageCCList
140
+ *
141
+ * @return DeviceComplianceActionItem
142
+ */
143
+ public function setNotificationMessageCCList($val)
144
+ {
145
+ $this->_propDict["notificationMessageCCList"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionType.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceActionType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DeviceComplianceActionType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DeviceComplianceActionType extends Enum
30
+ {
31
+ /**
32
+ * The Enum DeviceComplianceActionType
33
+ */
34
+ const NO_ACTION = "noAction";
35
+ const NOTIFICATION = "notification";
36
+ const BLOCK = "block";
37
+ const RETIRE = "retire";
38
+ const WIPE = "wipe";
39
+ const REMOVE_RESOURCE_ACCESS_PROFILES = "removeResourceAccessProfiles";
40
+ const PUSH_NOTIFICATION = "pushNotification";
41
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceOverview.php ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceDeviceOverview File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceComplianceDeviceOverview class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceComplianceDeviceOverview extends Entity
28
+ {
29
+ /**
30
+ * Gets the pendingCount
31
+ * Number of pending devices
32
+ *
33
+ * @return int The pendingCount
34
+ */
35
+ public function getPendingCount()
36
+ {
37
+ if (array_key_exists("pendingCount", $this->_propDict)) {
38
+ return $this->_propDict["pendingCount"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the pendingCount
46
+ * Number of pending devices
47
+ *
48
+ * @param int $val The pendingCount
49
+ *
50
+ * @return DeviceComplianceDeviceOverview
51
+ */
52
+ public function setPendingCount($val)
53
+ {
54
+ $this->_propDict["pendingCount"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the notApplicableCount
60
+ * Number of not applicable devices
61
+ *
62
+ * @return int The notApplicableCount
63
+ */
64
+ public function getNotApplicableCount()
65
+ {
66
+ if (array_key_exists("notApplicableCount", $this->_propDict)) {
67
+ return $this->_propDict["notApplicableCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the notApplicableCount
75
+ * Number of not applicable devices
76
+ *
77
+ * @param int $val The notApplicableCount
78
+ *
79
+ * @return DeviceComplianceDeviceOverview
80
+ */
81
+ public function setNotApplicableCount($val)
82
+ {
83
+ $this->_propDict["notApplicableCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the successCount
89
+ * Number of succeeded devices
90
+ *
91
+ * @return int The successCount
92
+ */
93
+ public function getSuccessCount()
94
+ {
95
+ if (array_key_exists("successCount", $this->_propDict)) {
96
+ return $this->_propDict["successCount"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the successCount
104
+ * Number of succeeded devices
105
+ *
106
+ * @param int $val The successCount
107
+ *
108
+ * @return DeviceComplianceDeviceOverview
109
+ */
110
+ public function setSuccessCount($val)
111
+ {
112
+ $this->_propDict["successCount"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the errorCount
118
+ * Number of error devices
119
+ *
120
+ * @return int The errorCount
121
+ */
122
+ public function getErrorCount()
123
+ {
124
+ if (array_key_exists("errorCount", $this->_propDict)) {
125
+ return $this->_propDict["errorCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the errorCount
133
+ * Number of error devices
134
+ *
135
+ * @param int $val The errorCount
136
+ *
137
+ * @return DeviceComplianceDeviceOverview
138
+ */
139
+ public function setErrorCount($val)
140
+ {
141
+ $this->_propDict["errorCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the failedCount
147
+ * Number of failed devices
148
+ *
149
+ * @return int The failedCount
150
+ */
151
+ public function getFailedCount()
152
+ {
153
+ if (array_key_exists("failedCount", $this->_propDict)) {
154
+ return $this->_propDict["failedCount"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the failedCount
162
+ * Number of failed devices
163
+ *
164
+ * @param int $val The failedCount
165
+ *
166
+ * @return DeviceComplianceDeviceOverview
167
+ */
168
+ public function setFailedCount($val)
169
+ {
170
+ $this->_propDict["failedCount"] = intval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the lastUpdateDateTime
176
+ * Last update time
177
+ *
178
+ * @return \DateTime The lastUpdateDateTime
179
+ */
180
+ public function getLastUpdateDateTime()
181
+ {
182
+ if (array_key_exists("lastUpdateDateTime", $this->_propDict)) {
183
+ if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) {
184
+ return $this->_propDict["lastUpdateDateTime"];
185
+ } else {
186
+ $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]);
187
+ return $this->_propDict["lastUpdateDateTime"];
188
+ }
189
+ }
190
+ return null;
191
+ }
192
+
193
+ /**
194
+ * Sets the lastUpdateDateTime
195
+ * Last update time
196
+ *
197
+ * @param \DateTime $val The lastUpdateDateTime
198
+ *
199
+ * @return DeviceComplianceDeviceOverview
200
+ */
201
+ public function setLastUpdateDateTime($val)
202
+ {
203
+ $this->_propDict["lastUpdateDateTime"] = $val;
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the configurationVersion
209
+ * Version of the policy for that overview
210
+ *
211
+ * @return int The configurationVersion
212
+ */
213
+ public function getConfigurationVersion()
214
+ {
215
+ if (array_key_exists("configurationVersion", $this->_propDict)) {
216
+ return $this->_propDict["configurationVersion"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the configurationVersion
224
+ * Version of the policy for that overview
225
+ *
226
+ * @param int $val The configurationVersion
227
+ *
228
+ * @return DeviceComplianceDeviceOverview
229
+ */
230
+ public function setConfigurationVersion($val)
231
+ {
232
+ $this->_propDict["configurationVersion"] = intval($val);
233
+ return $this;
234
+ }
235
+
236
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceStatus.php ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceDeviceStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceComplianceDeviceStatus class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceComplianceDeviceStatus extends Entity
28
+ {
29
+ /**
30
+ * Gets the deviceDisplayName
31
+ * Device name of the DevicePolicyStatus.
32
+ *
33
+ * @return string The deviceDisplayName
34
+ */
35
+ public function getDeviceDisplayName()
36
+ {
37
+ if (array_key_exists("deviceDisplayName", $this->_propDict)) {
38
+ return $this->_propDict["deviceDisplayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the deviceDisplayName
46
+ * Device name of the DevicePolicyStatus.
47
+ *
48
+ * @param string $val The deviceDisplayName
49
+ *
50
+ * @return DeviceComplianceDeviceStatus
51
+ */
52
+ public function setDeviceDisplayName($val)
53
+ {
54
+ $this->_propDict["deviceDisplayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the userName
60
+ * The User Name that is being reported
61
+ *
62
+ * @return string The userName
63
+ */
64
+ public function getUserName()
65
+ {
66
+ if (array_key_exists("userName", $this->_propDict)) {
67
+ return $this->_propDict["userName"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the userName
75
+ * The User Name that is being reported
76
+ *
77
+ * @param string $val The userName
78
+ *
79
+ * @return DeviceComplianceDeviceStatus
80
+ */
81
+ public function setUserName($val)
82
+ {
83
+ $this->_propDict["userName"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the deviceModel
89
+ * The device model that is being reported
90
+ *
91
+ * @return string The deviceModel
92
+ */
93
+ public function getDeviceModel()
94
+ {
95
+ if (array_key_exists("deviceModel", $this->_propDict)) {
96
+ return $this->_propDict["deviceModel"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the deviceModel
104
+ * The device model that is being reported
105
+ *
106
+ * @param string $val The deviceModel
107
+ *
108
+ * @return DeviceComplianceDeviceStatus
109
+ */
110
+ public function setDeviceModel($val)
111
+ {
112
+ $this->_propDict["deviceModel"] = $val;
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the complianceGracePeriodExpirationDateTime
118
+ * The DateTime when device compliance grace period expires
119
+ *
120
+ * @return \DateTime The complianceGracePeriodExpirationDateTime
121
+ */
122
+ public function getComplianceGracePeriodExpirationDateTime()
123
+ {
124
+ if (array_key_exists("complianceGracePeriodExpirationDateTime", $this->_propDict)) {
125
+ if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) {
126
+ return $this->_propDict["complianceGracePeriodExpirationDateTime"];
127
+ } else {
128
+ $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]);
129
+ return $this->_propDict["complianceGracePeriodExpirationDateTime"];
130
+ }
131
+ }
132
+ return null;
133
+ }
134
+
135
+ /**
136
+ * Sets the complianceGracePeriodExpirationDateTime
137
+ * The DateTime when device compliance grace period expires
138
+ *
139
+ * @param \DateTime $val The complianceGracePeriodExpirationDateTime
140
+ *
141
+ * @return DeviceComplianceDeviceStatus
142
+ */
143
+ public function setComplianceGracePeriodExpirationDateTime($val)
144
+ {
145
+ $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the status
151
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
152
+ *
153
+ * @return ComplianceStatus The status
154
+ */
155
+ public function getStatus()
156
+ {
157
+ if (array_key_exists("status", $this->_propDict)) {
158
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\ComplianceStatus")) {
159
+ return $this->_propDict["status"];
160
+ } else {
161
+ $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]);
162
+ return $this->_propDict["status"];
163
+ }
164
+ }
165
+ return null;
166
+ }
167
+
168
+ /**
169
+ * Sets the status
170
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
171
+ *
172
+ * @param ComplianceStatus $val The status
173
+ *
174
+ * @return DeviceComplianceDeviceStatus
175
+ */
176
+ public function setStatus($val)
177
+ {
178
+ $this->_propDict["status"] = $val;
179
+ return $this;
180
+ }
181
+
182
+ /**
183
+ * Gets the lastReportedDateTime
184
+ * Last modified date time of the policy report.
185
+ *
186
+ * @return \DateTime The lastReportedDateTime
187
+ */
188
+ public function getLastReportedDateTime()
189
+ {
190
+ if (array_key_exists("lastReportedDateTime", $this->_propDict)) {
191
+ if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) {
192
+ return $this->_propDict["lastReportedDateTime"];
193
+ } else {
194
+ $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]);
195
+ return $this->_propDict["lastReportedDateTime"];
196
+ }
197
+ }
198
+ return null;
199
+ }
200
+
201
+ /**
202
+ * Sets the lastReportedDateTime
203
+ * Last modified date time of the policy report.
204
+ *
205
+ * @param \DateTime $val The lastReportedDateTime
206
+ *
207
+ * @return DeviceComplianceDeviceStatus
208
+ */
209
+ public function setLastReportedDateTime($val)
210
+ {
211
+ $this->_propDict["lastReportedDateTime"] = $val;
212
+ return $this;
213
+ }
214
+
215
+ /**
216
+ * Gets the userPrincipalName
217
+ * UserPrincipalName.
218
+ *
219
+ * @return string The userPrincipalName
220
+ */
221
+ public function getUserPrincipalName()
222
+ {
223
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
224
+ return $this->_propDict["userPrincipalName"];
225
+ } else {
226
+ return null;
227
+ }
228
+ }
229
+
230
+ /**
231
+ * Sets the userPrincipalName
232
+ * UserPrincipalName.
233
+ *
234
+ * @param string $val The userPrincipalName
235
+ *
236
+ * @return DeviceComplianceDeviceStatus
237
+ */
238
+ public function setUserPrincipalName($val)
239
+ {
240
+ $this->_propDict["userPrincipalName"] = $val;
241
+ return $this;
242
+ }
243
+
244
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicy.php ADDED
@@ -0,0 +1,398 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceCompliancePolicy File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceCompliancePolicy class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceCompliancePolicy extends Entity
28
+ {
29
+ /**
30
+ * Gets the createdDateTime
31
+ * DateTime the object was created.
32
+ *
33
+ * @return \DateTime The createdDateTime
34
+ */
35
+ public function getCreatedDateTime()
36
+ {
37
+ if (array_key_exists("createdDateTime", $this->_propDict)) {
38
+ if (is_a($this->_propDict["createdDateTime"], "\DateTime")) {
39
+ return $this->_propDict["createdDateTime"];
40
+ } else {
41
+ $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
42
+ return $this->_propDict["createdDateTime"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the createdDateTime
50
+ * DateTime the object was created.
51
+ *
52
+ * @param \DateTime $val The createdDateTime
53
+ *
54
+ * @return DeviceCompliancePolicy
55
+ */
56
+ public function setCreatedDateTime($val)
57
+ {
58
+ $this->_propDict["createdDateTime"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the description
64
+ * Admin provided description of the Device Configuration.
65
+ *
66
+ * @return string The description
67
+ */
68
+ public function getDescription()
69
+ {
70
+ if (array_key_exists("description", $this->_propDict)) {
71
+ return $this->_propDict["description"];
72
+ } else {
73
+ return null;
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Sets the description
79
+ * Admin provided description of the Device Configuration.
80
+ *
81
+ * @param string $val The description
82
+ *
83
+ * @return DeviceCompliancePolicy
84
+ */
85
+ public function setDescription($val)
86
+ {
87
+ $this->_propDict["description"] = $val;
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Gets the lastModifiedDateTime
93
+ * DateTime the object was last modified.
94
+ *
95
+ * @return \DateTime The lastModifiedDateTime
96
+ */
97
+ public function getLastModifiedDateTime()
98
+ {
99
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
100
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
101
+ return $this->_propDict["lastModifiedDateTime"];
102
+ } else {
103
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
104
+ return $this->_propDict["lastModifiedDateTime"];
105
+ }
106
+ }
107
+ return null;
108
+ }
109
+
110
+ /**
111
+ * Sets the lastModifiedDateTime
112
+ * DateTime the object was last modified.
113
+ *
114
+ * @param \DateTime $val The lastModifiedDateTime
115
+ *
116
+ * @return DeviceCompliancePolicy
117
+ */
118
+ public function setLastModifiedDateTime($val)
119
+ {
120
+ $this->_propDict["lastModifiedDateTime"] = $val;
121
+ return $this;
122
+ }
123
+
124
+ /**
125
+ * Gets the displayName
126
+ * Admin provided name of the device configuration.
127
+ *
128
+ * @return string The displayName
129
+ */
130
+ public function getDisplayName()
131
+ {
132
+ if (array_key_exists("displayName", $this->_propDict)) {
133
+ return $this->_propDict["displayName"];
134
+ } else {
135
+ return null;
136
+ }
137
+ }
138
+
139
+ /**
140
+ * Sets the displayName
141
+ * Admin provided name of the device configuration.
142
+ *
143
+ * @param string $val The displayName
144
+ *
145
+ * @return DeviceCompliancePolicy
146
+ */
147
+ public function setDisplayName($val)
148
+ {
149
+ $this->_propDict["displayName"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the version
155
+ * Version of the device configuration.
156
+ *
157
+ * @return int The version
158
+ */
159
+ public function getVersion()
160
+ {
161
+ if (array_key_exists("version", $this->_propDict)) {
162
+ return $this->_propDict["version"];
163
+ } else {
164
+ return null;
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Sets the version
170
+ * Version of the device configuration.
171
+ *
172
+ * @param int $val The version
173
+ *
174
+ * @return DeviceCompliancePolicy
175
+ */
176
+ public function setVersion($val)
177
+ {
178
+ $this->_propDict["version"] = intval($val);
179
+ return $this;
180
+ }
181
+
182
+
183
+ /**
184
+ * Gets the scheduledActionsForRule
185
+ * The list of scheduled action for this rule
186
+ *
187
+ * @return array The scheduledActionsForRule
188
+ */
189
+ public function getScheduledActionsForRule()
190
+ {
191
+ if (array_key_exists("scheduledActionsForRule", $this->_propDict)) {
192
+ return $this->_propDict["scheduledActionsForRule"];
193
+ } else {
194
+ return null;
195
+ }
196
+ }
197
+
198
+ /**
199
+ * Sets the scheduledActionsForRule
200
+ * The list of scheduled action for this rule
201
+ *
202
+ * @param DeviceComplianceScheduledActionForRule $val The scheduledActionsForRule
203
+ *
204
+ * @return DeviceCompliancePolicy
205
+ */
206
+ public function setScheduledActionsForRule($val)
207
+ {
208
+ $this->_propDict["scheduledActionsForRule"] = $val;
209
+ return $this;
210
+ }
211
+
212
+
213
+ /**
214
+ * Gets the deviceStatuses
215
+ * List of DeviceComplianceDeviceStatus.
216
+ *
217
+ * @return array The deviceStatuses
218
+ */
219
+ public function getDeviceStatuses()
220
+ {
221
+ if (array_key_exists("deviceStatuses", $this->_propDict)) {
222
+ return $this->_propDict["deviceStatuses"];
223
+ } else {
224
+ return null;
225
+ }
226
+ }
227
+
228
+ /**
229
+ * Sets the deviceStatuses
230
+ * List of DeviceComplianceDeviceStatus.
231
+ *
232
+ * @param DeviceComplianceDeviceStatus $val The deviceStatuses
233
+ *
234
+ * @return DeviceCompliancePolicy
235
+ */
236
+ public function setDeviceStatuses($val)
237
+ {
238
+ $this->_propDict["deviceStatuses"] = $val;
239
+ return $this;
240
+ }
241
+
242
+
243
+ /**
244
+ * Gets the userStatuses
245
+ * List of DeviceComplianceUserStatus.
246
+ *
247
+ * @return array The userStatuses
248
+ */
249
+ public function getUserStatuses()
250
+ {
251
+ if (array_key_exists("userStatuses", $this->_propDict)) {
252
+ return $this->_propDict["userStatuses"];
253
+ } else {
254
+ return null;
255
+ }
256
+ }
257
+
258
+ /**
259
+ * Sets the userStatuses
260
+ * List of DeviceComplianceUserStatus.
261
+ *
262
+ * @param DeviceComplianceUserStatus $val The userStatuses
263
+ *
264
+ * @return DeviceCompliancePolicy
265
+ */
266
+ public function setUserStatuses($val)
267
+ {
268
+ $this->_propDict["userStatuses"] = $val;
269
+ return $this;
270
+ }
271
+
272
+ /**
273
+ * Gets the deviceStatusOverview
274
+ * Device compliance devices status overview
275
+ *
276
+ * @return DeviceComplianceDeviceOverview The deviceStatusOverview
277
+ */
278
+ public function getDeviceStatusOverview()
279
+ {
280
+ if (array_key_exists("deviceStatusOverview", $this->_propDict)) {
281
+ if (is_a($this->_propDict["deviceStatusOverview"], "Microsoft\Graph\Model\DeviceComplianceDeviceOverview")) {
282
+ return $this->_propDict["deviceStatusOverview"];
283
+ } else {
284
+ $this->_propDict["deviceStatusOverview"] = new DeviceComplianceDeviceOverview($this->_propDict["deviceStatusOverview"]);
285
+ return $this->_propDict["deviceStatusOverview"];
286
+ }
287
+ }
288
+ return null;
289
+ }
290
+
291
+ /**
292
+ * Sets the deviceStatusOverview
293
+ * Device compliance devices status overview
294
+ *
295
+ * @param DeviceComplianceDeviceOverview $val The deviceStatusOverview
296
+ *
297
+ * @return DeviceCompliancePolicy
298
+ */
299
+ public function setDeviceStatusOverview($val)
300
+ {
301
+ $this->_propDict["deviceStatusOverview"] = $val;
302
+ return $this;
303
+ }
304
+
305
+ /**
306
+ * Gets the userStatusOverview
307
+ * Device compliance users status overview
308
+ *
309
+ * @return DeviceComplianceUserOverview The userStatusOverview
310
+ */
311
+ public function getUserStatusOverview()
312
+ {
313
+ if (array_key_exists("userStatusOverview", $this->_propDict)) {
314
+ if (is_a($this->_propDict["userStatusOverview"], "Microsoft\Graph\Model\DeviceComplianceUserOverview")) {
315
+ return $this->_propDict["userStatusOverview"];
316
+ } else {
317
+ $this->_propDict["userStatusOverview"] = new DeviceComplianceUserOverview($this->_propDict["userStatusOverview"]);
318
+ return $this->_propDict["userStatusOverview"];
319
+ }
320
+ }
321
+ return null;
322
+ }
323
+
324
+ /**
325
+ * Sets the userStatusOverview
326
+ * Device compliance users status overview
327
+ *
328
+ * @param DeviceComplianceUserOverview $val The userStatusOverview
329
+ *
330
+ * @return DeviceCompliancePolicy
331
+ */
332
+ public function setUserStatusOverview($val)
333
+ {
334
+ $this->_propDict["userStatusOverview"] = $val;
335
+ return $this;
336
+ }
337
+
338
+
339
+ /**
340
+ * Gets the deviceSettingStateSummaries
341
+ * Compliance Setting State Device Summary
342
+ *
343
+ * @return array The deviceSettingStateSummaries
344
+ */
345
+ public function getDeviceSettingStateSummaries()
346
+ {
347
+ if (array_key_exists("deviceSettingStateSummaries", $this->_propDict)) {
348
+ return $this->_propDict["deviceSettingStateSummaries"];
349
+ } else {
350
+ return null;
351
+ }
352
+ }
353
+
354
+ /**
355
+ * Sets the deviceSettingStateSummaries
356
+ * Compliance Setting State Device Summary
357
+ *
358
+ * @param SettingStateDeviceSummary $val The deviceSettingStateSummaries
359
+ *
360
+ * @return DeviceCompliancePolicy
361
+ */
362
+ public function setDeviceSettingStateSummaries($val)
363
+ {
364
+ $this->_propDict["deviceSettingStateSummaries"] = $val;
365
+ return $this;
366
+ }
367
+
368
+
369
+ /**
370
+ * Gets the assignments
371
+ * The collection of assignments for this compliance policy.
372
+ *
373
+ * @return array The assignments
374
+ */
375
+ public function getAssignments()
376
+ {
377
+ if (array_key_exists("assignments", $this->_propDict)) {
378
+ return $this->_propDict["assignments"];
379
+ } else {
380
+ return null;
381
+ }
382
+ }
383
+
384
+ /**
385
+ * Sets the assignments
386
+ * The collection of assignments for this compliance policy.
387
+ *
388
+ * @param DeviceCompliancePolicyAssignment $val The assignments
389
+ *
390
+ * @return DeviceCompliancePolicy
391
+ */
392
+ public function setAssignments($val)
393
+ {
394
+ $this->_propDict["assignments"] = $val;
395
+ return $this;
396
+ }
397
+
398
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyAssignment.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceCompliancePolicyAssignment File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceCompliancePolicyAssignment class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceCompliancePolicyAssignment extends Entity
28
+ {
29
+ /**
30
+ * Gets the target
31
+ * Target for the compliance policy assignment.
32
+ *
33
+ * @return DeviceAndAppManagementAssignmentTarget The target
34
+ */
35
+ public function getTarget()
36
+ {
37
+ if (array_key_exists("target", $this->_propDict)) {
38
+ if (is_a($this->_propDict["target"], "Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) {
39
+ return $this->_propDict["target"];
40
+ } else {
41
+ $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]);
42
+ return $this->_propDict["target"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the target
50
+ * Target for the compliance policy assignment.
51
+ *
52
+ * @param DeviceAndAppManagementAssignmentTarget $val The target
53
+ *
54
+ * @return DeviceCompliancePolicyAssignment
55
+ */
56
+ public function setTarget($val)
57
+ {
58
+ $this->_propDict["target"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyDeviceStateSummary.php ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceCompliancePolicyDeviceStateSummary File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceCompliancePolicyDeviceStateSummary class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceCompliancePolicyDeviceStateSummary extends Entity
28
+ {
29
+ /**
30
+ * Gets the inGracePeriodCount
31
+ * Number of devices that are in grace period
32
+ *
33
+ * @return int The inGracePeriodCount
34
+ */
35
+ public function getInGracePeriodCount()
36
+ {
37
+ if (array_key_exists("inGracePeriodCount", $this->_propDict)) {
38
+ return $this->_propDict["inGracePeriodCount"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the inGracePeriodCount
46
+ * Number of devices that are in grace period
47
+ *
48
+ * @param int $val The inGracePeriodCount
49
+ *
50
+ * @return DeviceCompliancePolicyDeviceStateSummary
51
+ */
52
+ public function setInGracePeriodCount($val)
53
+ {
54
+ $this->_propDict["inGracePeriodCount"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the configManagerCount
60
+ * Number of devices that have compliance managed by System Center Configuration Manager
61
+ *
62
+ * @return int The configManagerCount
63
+ */
64
+ public function getConfigManagerCount()
65
+ {
66
+ if (array_key_exists("configManagerCount", $this->_propDict)) {
67
+ return $this->_propDict["configManagerCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the configManagerCount
75
+ * Number of devices that have compliance managed by System Center Configuration Manager
76
+ *
77
+ * @param int $val The configManagerCount
78
+ *
79
+ * @return DeviceCompliancePolicyDeviceStateSummary
80
+ */
81
+ public function setConfigManagerCount($val)
82
+ {
83
+ $this->_propDict["configManagerCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the unknownDeviceCount
89
+ * Number of unknown devices
90
+ *
91
+ * @return int The unknownDeviceCount
92
+ */
93
+ public function getUnknownDeviceCount()
94
+ {
95
+ if (array_key_exists("unknownDeviceCount", $this->_propDict)) {
96
+ return $this->_propDict["unknownDeviceCount"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the unknownDeviceCount
104
+ * Number of unknown devices
105
+ *
106
+ * @param int $val The unknownDeviceCount
107
+ *
108
+ * @return DeviceCompliancePolicyDeviceStateSummary
109
+ */
110
+ public function setUnknownDeviceCount($val)
111
+ {
112
+ $this->_propDict["unknownDeviceCount"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the notApplicableDeviceCount
118
+ * Number of not applicable devices
119
+ *
120
+ * @return int The notApplicableDeviceCount
121
+ */
122
+ public function getNotApplicableDeviceCount()
123
+ {
124
+ if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) {
125
+ return $this->_propDict["notApplicableDeviceCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the notApplicableDeviceCount
133
+ * Number of not applicable devices
134
+ *
135
+ * @param int $val The notApplicableDeviceCount
136
+ *
137
+ * @return DeviceCompliancePolicyDeviceStateSummary
138
+ */
139
+ public function setNotApplicableDeviceCount($val)
140
+ {
141
+ $this->_propDict["notApplicableDeviceCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the compliantDeviceCount
147
+ * Number of compliant devices
148
+ *
149
+ * @return int The compliantDeviceCount
150
+ */
151
+ public function getCompliantDeviceCount()
152
+ {
153
+ if (array_key_exists("compliantDeviceCount", $this->_propDict)) {
154
+ return $this->_propDict["compliantDeviceCount"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the compliantDeviceCount
162
+ * Number of compliant devices
163
+ *
164
+ * @param int $val The compliantDeviceCount
165
+ *
166
+ * @return DeviceCompliancePolicyDeviceStateSummary
167
+ */
168
+ public function setCompliantDeviceCount($val)
169
+ {
170
+ $this->_propDict["compliantDeviceCount"] = intval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the remediatedDeviceCount
176
+ * Number of remediated devices
177
+ *
178
+ * @return int The remediatedDeviceCount
179
+ */
180
+ public function getRemediatedDeviceCount()
181
+ {
182
+ if (array_key_exists("remediatedDeviceCount", $this->_propDict)) {
183
+ return $this->_propDict["remediatedDeviceCount"];
184
+ } else {
185
+ return null;
186
+ }
187
+ }
188
+
189
+ /**
190
+ * Sets the remediatedDeviceCount
191
+ * Number of remediated devices
192
+ *
193
+ * @param int $val The remediatedDeviceCount
194
+ *
195
+ * @return DeviceCompliancePolicyDeviceStateSummary
196
+ */
197
+ public function setRemediatedDeviceCount($val)
198
+ {
199
+ $this->_propDict["remediatedDeviceCount"] = intval($val);
200
+ return $this;
201
+ }
202
+
203
+ /**
204
+ * Gets the nonCompliantDeviceCount
205
+ * Number of NonCompliant devices
206
+ *
207
+ * @return int The nonCompliantDeviceCount
208
+ */
209
+ public function getNonCompliantDeviceCount()
210
+ {
211
+ if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) {
212
+ return $this->_propDict["nonCompliantDeviceCount"];
213
+ } else {
214
+ return null;
215
+ }
216
+ }
217
+
218
+ /**
219
+ * Sets the nonCompliantDeviceCount
220
+ * Number of NonCompliant devices
221
+ *
222
+ * @param int $val The nonCompliantDeviceCount
223
+ *
224
+ * @return DeviceCompliancePolicyDeviceStateSummary
225
+ */
226
+ public function setNonCompliantDeviceCount($val)
227
+ {
228
+ $this->_propDict["nonCompliantDeviceCount"] = intval($val);
229
+ return $this;
230
+ }
231
+
232
+ /**
233
+ * Gets the errorDeviceCount
234
+ * Number of error devices
235
+ *
236
+ * @return int The errorDeviceCount
237
+ */
238
+ public function getErrorDeviceCount()
239
+ {
240
+ if (array_key_exists("errorDeviceCount", $this->_propDict)) {
241
+ return $this->_propDict["errorDeviceCount"];
242
+ } else {
243
+ return null;
244
+ }
245
+ }
246
+
247
+ /**
248
+ * Sets the errorDeviceCount
249
+ * Number of error devices
250
+ *
251
+ * @param int $val The errorDeviceCount
252
+ *
253
+ * @return DeviceCompliancePolicyDeviceStateSummary
254
+ */
255
+ public function setErrorDeviceCount($val)
256
+ {
257
+ $this->_propDict["errorDeviceCount"] = intval($val);
258
+ return $this;
259
+ }
260
+
261
+ /**
262
+ * Gets the conflictDeviceCount
263
+ * Number of conflict devices
264
+ *
265
+ * @return int The conflictDeviceCount
266
+ */
267
+ public function getConflictDeviceCount()
268
+ {
269
+ if (array_key_exists("conflictDeviceCount", $this->_propDict)) {
270
+ return $this->_propDict["conflictDeviceCount"];
271
+ } else {
272
+ return null;
273
+ }
274
+ }
275
+
276
+ /**
277
+ * Sets the conflictDeviceCount
278
+ * Number of conflict devices
279
+ *
280
+ * @param int $val The conflictDeviceCount
281
+ *
282
+ * @return DeviceCompliancePolicyDeviceStateSummary
283
+ */
284
+ public function setConflictDeviceCount($val)
285
+ {
286
+ $this->_propDict["conflictDeviceCount"] = intval($val);
287
+ return $this;
288
+ }
289
+
290
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingState.php ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceCompliancePolicySettingState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceCompliancePolicySettingState class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceCompliancePolicySettingState extends Entity
27
+ {
28
+ /**
29
+ * Gets the setting
30
+ * The setting that is being reported
31
+ *
32
+ * @return string The setting
33
+ */
34
+ public function getSetting()
35
+ {
36
+ if (array_key_exists("setting", $this->_propDict)) {
37
+ return $this->_propDict["setting"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the setting
45
+ * The setting that is being reported
46
+ *
47
+ * @param string $val The value of the setting
48
+ *
49
+ * @return DeviceCompliancePolicySettingState
50
+ */
51
+ public function setSetting($val)
52
+ {
53
+ $this->_propDict["setting"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the settingName
58
+ * Localized/user friendly setting name that is being reported
59
+ *
60
+ * @return string The settingName
61
+ */
62
+ public function getSettingName()
63
+ {
64
+ if (array_key_exists("settingName", $this->_propDict)) {
65
+ return $this->_propDict["settingName"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the settingName
73
+ * Localized/user friendly setting name that is being reported
74
+ *
75
+ * @param string $val The value of the settingName
76
+ *
77
+ * @return DeviceCompliancePolicySettingState
78
+ */
79
+ public function setSettingName($val)
80
+ {
81
+ $this->_propDict["settingName"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the instanceDisplayName
86
+ * Name of setting instance that is being reported.
87
+ *
88
+ * @return string The instanceDisplayName
89
+ */
90
+ public function getInstanceDisplayName()
91
+ {
92
+ if (array_key_exists("instanceDisplayName", $this->_propDict)) {
93
+ return $this->_propDict["instanceDisplayName"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the instanceDisplayName
101
+ * Name of setting instance that is being reported.
102
+ *
103
+ * @param string $val The value of the instanceDisplayName
104
+ *
105
+ * @return DeviceCompliancePolicySettingState
106
+ */
107
+ public function setInstanceDisplayName($val)
108
+ {
109
+ $this->_propDict["instanceDisplayName"] = $val;
110
+ return $this;
111
+ }
112
+
113
+ /**
114
+ * Gets the state
115
+ * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
116
+ *
117
+ * @return ComplianceStatus The state
118
+ */
119
+ public function getState()
120
+ {
121
+ if (array_key_exists("state", $this->_propDict)) {
122
+ if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\ComplianceStatus")) {
123
+ return $this->_propDict["state"];
124
+ } else {
125
+ $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]);
126
+ return $this->_propDict["state"];
127
+ }
128
+ }
129
+ return null;
130
+ }
131
+
132
+ /**
133
+ * Sets the state
134
+ * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
135
+ *
136
+ * @param ComplianceStatus $val The value to assign to the state
137
+ *
138
+ * @return DeviceCompliancePolicySettingState The DeviceCompliancePolicySettingState
139
+ */
140
+ public function setState($val)
141
+ {
142
+ $this->_propDict["state"] = $val;
143
+ return $this;
144
+ }
145
+ /**
146
+ * Gets the errorCode
147
+ * Error code for the setting
148
+ *
149
+ * @return int The errorCode
150
+ */
151
+ public function getErrorCode()
152
+ {
153
+ if (array_key_exists("errorCode", $this->_propDict)) {
154
+ return $this->_propDict["errorCode"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the errorCode
162
+ * Error code for the setting
163
+ *
164
+ * @param int $val The value of the errorCode
165
+ *
166
+ * @return DeviceCompliancePolicySettingState
167
+ */
168
+ public function setErrorCode($val)
169
+ {
170
+ $this->_propDict["errorCode"] = $val;
171
+ return $this;
172
+ }
173
+ /**
174
+ * Gets the errorDescription
175
+ * Error description
176
+ *
177
+ * @return string The errorDescription
178
+ */
179
+ public function getErrorDescription()
180
+ {
181
+ if (array_key_exists("errorDescription", $this->_propDict)) {
182
+ return $this->_propDict["errorDescription"];
183
+ } else {
184
+ return null;
185
+ }
186
+ }
187
+
188
+ /**
189
+ * Sets the errorDescription
190
+ * Error description
191
+ *
192
+ * @param string $val The value of the errorDescription
193
+ *
194
+ * @return DeviceCompliancePolicySettingState
195
+ */
196
+ public function setErrorDescription($val)
197
+ {
198
+ $this->_propDict["errorDescription"] = $val;
199
+ return $this;
200
+ }
201
+ /**
202
+ * Gets the userId
203
+ * UserId
204
+ *
205
+ * @return string The userId
206
+ */
207
+ public function getUserId()
208
+ {
209
+ if (array_key_exists("userId", $this->_propDict)) {
210
+ return $this->_propDict["userId"];
211
+ } else {
212
+ return null;
213
+ }
214
+ }
215
+
216
+ /**
217
+ * Sets the userId
218
+ * UserId
219
+ *
220
+ * @param string $val The value of the userId
221
+ *
222
+ * @return DeviceCompliancePolicySettingState
223
+ */
224
+ public function setUserId($val)
225
+ {
226
+ $this->_propDict["userId"] = $val;
227
+ return $this;
228
+ }
229
+ /**
230
+ * Gets the userName
231
+ * UserName
232
+ *
233
+ * @return string The userName
234
+ */
235
+ public function getUserName()
236
+ {
237
+ if (array_key_exists("userName", $this->_propDict)) {
238
+ return $this->_propDict["userName"];
239
+ } else {
240
+ return null;
241
+ }
242
+ }
243
+
244
+ /**
245
+ * Sets the userName
246
+ * UserName
247
+ *
248
+ * @param string $val The value of the userName
249
+ *
250
+ * @return DeviceCompliancePolicySettingState
251
+ */
252
+ public function setUserName($val)
253
+ {
254
+ $this->_propDict["userName"] = $val;
255
+ return $this;
256
+ }
257
+ /**
258
+ * Gets the userEmail
259
+ * UserEmail
260
+ *
261
+ * @return string The userEmail
262
+ */
263
+ public function getUserEmail()
264
+ {
265
+ if (array_key_exists("userEmail", $this->_propDict)) {
266
+ return $this->_propDict["userEmail"];
267
+ } else {
268
+ return null;
269
+ }
270
+ }
271
+
272
+ /**
273
+ * Sets the userEmail
274
+ * UserEmail
275
+ *
276
+ * @param string $val The value of the userEmail
277
+ *
278
+ * @return DeviceCompliancePolicySettingState
279
+ */
280
+ public function setUserEmail($val)
281
+ {
282
+ $this->_propDict["userEmail"] = $val;
283
+ return $this;
284
+ }
285
+ /**
286
+ * Gets the userPrincipalName
287
+ * UserPrincipalName.
288
+ *
289
+ * @return string The userPrincipalName
290
+ */
291
+ public function getUserPrincipalName()
292
+ {
293
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
294
+ return $this->_propDict["userPrincipalName"];
295
+ } else {
296
+ return null;
297
+ }
298
+ }
299
+
300
+ /**
301
+ * Sets the userPrincipalName
302
+ * UserPrincipalName.
303
+ *
304
+ * @param string $val The value of the userPrincipalName
305
+ *
306
+ * @return DeviceCompliancePolicySettingState
307
+ */
308
+ public function setUserPrincipalName($val)
309
+ {
310
+ $this->_propDict["userPrincipalName"] = $val;
311
+ return $this;
312
+ }
313
+
314
+ /**
315
+ * Gets the sources
316
+ * Contributing policies
317
+ *
318
+ * @return SettingSource The sources
319
+ */
320
+ public function getSources()
321
+ {
322
+ if (array_key_exists("sources", $this->_propDict)) {
323
+ if (is_a($this->_propDict["sources"], "Microsoft\Graph\Model\SettingSource")) {
324
+ return $this->_propDict["sources"];
325
+ } else {
326
+ $this->_propDict["sources"] = new SettingSource($this->_propDict["sources"]);
327
+ return $this->_propDict["sources"];
328
+ }
329
+ }
330
+ return null;
331
+ }
332
+
333
+ /**
334
+ * Sets the sources
335
+ * Contributing policies
336
+ *
337
+ * @param SettingSource $val The value to assign to the sources
338
+ *
339
+ * @return DeviceCompliancePolicySettingState The DeviceCompliancePolicySettingState
340
+ */
341
+ public function setSources($val)
342
+ {
343
+ $this->_propDict["sources"] = $val;
344
+ return $this;
345
+ }
346
+ /**
347
+ * Gets the currentValue
348
+ * Current value of setting on device
349
+ *
350
+ * @return string The currentValue
351
+ */
352
+ public function getCurrentValue()
353
+ {
354
+ if (array_key_exists("currentValue", $this->_propDict)) {
355
+ return $this->_propDict["currentValue"];
356
+ } else {
357
+ return null;
358
+ }
359
+ }
360
+
361
+ /**
362
+ * Sets the currentValue
363
+ * Current value of setting on device
364
+ *
365
+ * @param string $val The value of the currentValue
366
+ *
367
+ * @return DeviceCompliancePolicySettingState
368
+ */
369
+ public function setCurrentValue($val)
370
+ {
371
+ $this->_propDict["currentValue"] = $val;
372
+ return $this;
373
+ }
374
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingStateSummary.php ADDED
@@ -0,0 +1,353 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceCompliancePolicySettingStateSummary File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceCompliancePolicySettingStateSummary class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceCompliancePolicySettingStateSummary extends Entity
28
+ {
29
+ /**
30
+ * Gets the setting
31
+ * The setting class name and property name.
32
+ *
33
+ * @return string The setting
34
+ */
35
+ public function getSetting()
36
+ {
37
+ if (array_key_exists("setting", $this->_propDict)) {
38
+ return $this->_propDict["setting"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the setting
46
+ * The setting class name and property name.
47
+ *
48
+ * @param string $val The setting
49
+ *
50
+ * @return DeviceCompliancePolicySettingStateSummary
51
+ */
52
+ public function setSetting($val)
53
+ {
54
+ $this->_propDict["setting"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the settingName
60
+ * Name of the setting.
61
+ *
62
+ * @return string The settingName
63
+ */
64
+ public function getSettingName()
65
+ {
66
+ if (array_key_exists("settingName", $this->_propDict)) {
67
+ return $this->_propDict["settingName"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the settingName
75
+ * Name of the setting.
76
+ *
77
+ * @param string $val The settingName
78
+ *
79
+ * @return DeviceCompliancePolicySettingStateSummary
80
+ */
81
+ public function setSettingName($val)
82
+ {
83
+ $this->_propDict["settingName"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the platformType
89
+ * Setting platform. Possible values are: android, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, all.
90
+ *
91
+ * @return PolicyPlatformType The platformType
92
+ */
93
+ public function getPlatformType()
94
+ {
95
+ if (array_key_exists("platformType", $this->_propDict)) {
96
+ if (is_a($this->_propDict["platformType"], "Microsoft\Graph\Model\PolicyPlatformType")) {
97
+ return $this->_propDict["platformType"];
98
+ } else {
99
+ $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]);
100
+ return $this->_propDict["platformType"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the platformType
108
+ * Setting platform. Possible values are: android, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, all.
109
+ *
110
+ * @param PolicyPlatformType $val The platformType
111
+ *
112
+ * @return DeviceCompliancePolicySettingStateSummary
113
+ */
114
+ public function setPlatformType($val)
115
+ {
116
+ $this->_propDict["platformType"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the unknownDeviceCount
122
+ * Number of unknown devices
123
+ *
124
+ * @return int The unknownDeviceCount
125
+ */
126
+ public function getUnknownDeviceCount()
127
+ {
128
+ if (array_key_exists("unknownDeviceCount", $this->_propDict)) {
129
+ return $this->_propDict["unknownDeviceCount"];
130
+ } else {
131
+ return null;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Sets the unknownDeviceCount
137
+ * Number of unknown devices
138
+ *
139
+ * @param int $val The unknownDeviceCount
140
+ *
141
+ * @return DeviceCompliancePolicySettingStateSummary
142
+ */
143
+ public function setUnknownDeviceCount($val)
144
+ {
145
+ $this->_propDict["unknownDeviceCount"] = intval($val);
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the notApplicableDeviceCount
151
+ * Number of not applicable devices
152
+ *
153
+ * @return int The notApplicableDeviceCount
154
+ */
155
+ public function getNotApplicableDeviceCount()
156
+ {
157
+ if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) {
158
+ return $this->_propDict["notApplicableDeviceCount"];
159
+ } else {
160
+ return null;
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Sets the notApplicableDeviceCount
166
+ * Number of not applicable devices
167
+ *
168
+ * @param int $val The notApplicableDeviceCount
169
+ *
170
+ * @return DeviceCompliancePolicySettingStateSummary
171
+ */
172
+ public function setNotApplicableDeviceCount($val)
173
+ {
174
+ $this->_propDict["notApplicableDeviceCount"] = intval($val);
175
+ return $this;
176
+ }
177
+
178
+ /**
179
+ * Gets the compliantDeviceCount
180
+ * Number of compliant devices
181
+ *
182
+ * @return int The compliantDeviceCount
183
+ */
184
+ public function getCompliantDeviceCount()
185
+ {
186
+ if (array_key_exists("compliantDeviceCount", $this->_propDict)) {
187
+ return $this->_propDict["compliantDeviceCount"];
188
+ } else {
189
+ return null;
190
+ }
191
+ }
192
+
193
+ /**
194
+ * Sets the compliantDeviceCount
195
+ * Number of compliant devices
196
+ *
197
+ * @param int $val The compliantDeviceCount
198
+ *
199
+ * @return DeviceCompliancePolicySettingStateSummary
200
+ */
201
+ public function setCompliantDeviceCount($val)
202
+ {
203
+ $this->_propDict["compliantDeviceCount"] = intval($val);
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the remediatedDeviceCount
209
+ * Number of remediated devices
210
+ *
211
+ * @return int The remediatedDeviceCount
212
+ */
213
+ public function getRemediatedDeviceCount()
214
+ {
215
+ if (array_key_exists("remediatedDeviceCount", $this->_propDict)) {
216
+ return $this->_propDict["remediatedDeviceCount"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the remediatedDeviceCount
224
+ * Number of remediated devices
225
+ *
226
+ * @param int $val The remediatedDeviceCount
227
+ *
228
+ * @return DeviceCompliancePolicySettingStateSummary
229
+ */
230
+ public function setRemediatedDeviceCount($val)
231
+ {
232
+ $this->_propDict["remediatedDeviceCount"] = intval($val);
233
+ return $this;
234
+ }
235
+
236
+ /**
237
+ * Gets the nonCompliantDeviceCount
238
+ * Number of NonCompliant devices
239
+ *
240
+ * @return int The nonCompliantDeviceCount
241
+ */
242
+ public function getNonCompliantDeviceCount()
243
+ {
244
+ if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) {
245
+ return $this->_propDict["nonCompliantDeviceCount"];
246
+ } else {
247
+ return null;
248
+ }
249
+ }
250
+
251
+ /**
252
+ * Sets the nonCompliantDeviceCount
253
+ * Number of NonCompliant devices
254
+ *
255
+ * @param int $val The nonCompliantDeviceCount
256
+ *
257
+ * @return DeviceCompliancePolicySettingStateSummary
258
+ */
259
+ public function setNonCompliantDeviceCount($val)
260
+ {
261
+ $this->_propDict["nonCompliantDeviceCount"] = intval($val);
262
+ return $this;
263
+ }
264
+
265
+ /**
266
+ * Gets the errorDeviceCount
267
+ * Number of error devices
268
+ *
269
+ * @return int The errorDeviceCount
270
+ */
271
+ public function getErrorDeviceCount()
272
+ {
273
+ if (array_key_exists("errorDeviceCount", $this->_propDict)) {
274
+ return $this->_propDict["errorDeviceCount"];
275
+ } else {
276
+ return null;
277
+ }
278
+ }
279
+
280
+ /**
281
+ * Sets the errorDeviceCount
282
+ * Number of error devices
283
+ *
284
+ * @param int $val The errorDeviceCount
285
+ *
286
+ * @return DeviceCompliancePolicySettingStateSummary
287
+ */
288
+ public function setErrorDeviceCount($val)
289
+ {
290
+ $this->_propDict["errorDeviceCount"] = intval($val);
291
+ return $this;
292
+ }
293
+
294
+ /**
295
+ * Gets the conflictDeviceCount
296
+ * Number of conflict devices
297
+ *
298
+ * @return int The conflictDeviceCount
299
+ */
300
+ public function getConflictDeviceCount()
301
+ {
302
+ if (array_key_exists("conflictDeviceCount", $this->_propDict)) {
303
+ return $this->_propDict["conflictDeviceCount"];
304
+ } else {
305
+ return null;
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Sets the conflictDeviceCount
311
+ * Number of conflict devices
312
+ *
313
+ * @param int $val The conflictDeviceCount
314
+ *
315
+ * @return DeviceCompliancePolicySettingStateSummary
316
+ */
317
+ public function setConflictDeviceCount($val)
318
+ {
319
+ $this->_propDict["conflictDeviceCount"] = intval($val);
320
+ return $this;
321
+ }
322
+
323
+
324
+ /**
325
+ * Gets the deviceComplianceSettingStates
326
+ * Not yet documented
327
+ *
328
+ * @return array The deviceComplianceSettingStates
329
+ */
330
+ public function getDeviceComplianceSettingStates()
331
+ {
332
+ if (array_key_exists("deviceComplianceSettingStates", $this->_propDict)) {
333
+ return $this->_propDict["deviceComplianceSettingStates"];
334
+ } else {
335
+ return null;
336
+ }
337
+ }
338
+
339
+ /**
340
+ * Sets the deviceComplianceSettingStates
341
+ * Not yet documented
342
+ *
343
+ * @param DeviceComplianceSettingState $val The deviceComplianceSettingStates
344
+ *
345
+ * @return DeviceCompliancePolicySettingStateSummary
346
+ */
347
+ public function setDeviceComplianceSettingStates($val)
348
+ {
349
+ $this->_propDict["deviceComplianceSettingStates"] = $val;
350
+ return $this;
351
+ }
352
+
353
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyState.php ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceCompliancePolicyState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceCompliancePolicyState class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceCompliancePolicyState extends Entity
28
+ {
29
+
30
+ /**
31
+ * Gets the settingStates
32
+ *
33
+ * @return array The settingStates
34
+ */
35
+ public function getSettingStates()
36
+ {
37
+ if (array_key_exists("settingStates", $this->_propDict)) {
38
+ return $this->_propDict["settingStates"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the settingStates
46
+ *
47
+ * @param DeviceCompliancePolicySettingState $val The settingStates
48
+ *
49
+ * @return DeviceCompliancePolicyState
50
+ */
51
+ public function setSettingStates($val)
52
+ {
53
+ $this->_propDict["settingStates"] = $val;
54
+ return $this;
55
+ }
56
+
57
+ /**
58
+ * Gets the displayName
59
+ * The name of the policy for this policyBase
60
+ *
61
+ * @return string The displayName
62
+ */
63
+ public function getDisplayName()
64
+ {
65
+ if (array_key_exists("displayName", $this->_propDict)) {
66
+ return $this->_propDict["displayName"];
67
+ } else {
68
+ return null;
69
+ }
70
+ }
71
+
72
+ /**
73
+ * Sets the displayName
74
+ * The name of the policy for this policyBase
75
+ *
76
+ * @param string $val The displayName
77
+ *
78
+ * @return DeviceCompliancePolicyState
79
+ */
80
+ public function setDisplayName($val)
81
+ {
82
+ $this->_propDict["displayName"] = $val;
83
+ return $this;
84
+ }
85
+
86
+ /**
87
+ * Gets the version
88
+ * The version of the policy
89
+ *
90
+ * @return int The version
91
+ */
92
+ public function getVersion()
93
+ {
94
+ if (array_key_exists("version", $this->_propDict)) {
95
+ return $this->_propDict["version"];
96
+ } else {
97
+ return null;
98
+ }
99
+ }
100
+
101
+ /**
102
+ * Sets the version
103
+ * The version of the policy
104
+ *
105
+ * @param int $val The version
106
+ *
107
+ * @return DeviceCompliancePolicyState
108
+ */
109
+ public function setVersion($val)
110
+ {
111
+ $this->_propDict["version"] = intval($val);
112
+ return $this;
113
+ }
114
+
115
+ /**
116
+ * Gets the platformType
117
+ * Platform type that the policy applies to
118
+ *
119
+ * @return PolicyPlatformType The platformType
120
+ */
121
+ public function getPlatformType()
122
+ {
123
+ if (array_key_exists("platformType", $this->_propDict)) {
124
+ if (is_a($this->_propDict["platformType"], "Microsoft\Graph\Model\PolicyPlatformType")) {
125
+ return $this->_propDict["platformType"];
126
+ } else {
127
+ $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]);
128
+ return $this->_propDict["platformType"];
129
+ }
130
+ }
131
+ return null;
132
+ }
133
+
134
+ /**
135
+ * Sets the platformType
136
+ * Platform type that the policy applies to
137
+ *
138
+ * @param PolicyPlatformType $val The platformType
139
+ *
140
+ * @return DeviceCompliancePolicyState
141
+ */
142
+ public function setPlatformType($val)
143
+ {
144
+ $this->_propDict["platformType"] = $val;
145
+ return $this;
146
+ }
147
+
148
+ /**
149
+ * Gets the state
150
+ * The compliance state of the policy
151
+ *
152
+ * @return ComplianceStatus The state
153
+ */
154
+ public function getState()
155
+ {
156
+ if (array_key_exists("state", $this->_propDict)) {
157
+ if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\ComplianceStatus")) {
158
+ return $this->_propDict["state"];
159
+ } else {
160
+ $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]);
161
+ return $this->_propDict["state"];
162
+ }
163
+ }
164
+ return null;
165
+ }
166
+
167
+ /**
168
+ * Sets the state
169
+ * The compliance state of the policy
170
+ *
171
+ * @param ComplianceStatus $val The state
172
+ *
173
+ * @return DeviceCompliancePolicyState
174
+ */
175
+ public function setState($val)
176
+ {
177
+ $this->_propDict["state"] = $val;
178
+ return $this;
179
+ }
180
+
181
+ /**
182
+ * Gets the settingCount
183
+ * Count of how many setting a policy holds
184
+ *
185
+ * @return int The settingCount
186
+ */
187
+ public function getSettingCount()
188
+ {
189
+ if (array_key_exists("settingCount", $this->_propDict)) {
190
+ return $this->_propDict["settingCount"];
191
+ } else {
192
+ return null;
193
+ }
194
+ }
195
+
196
+ /**
197
+ * Sets the settingCount
198
+ * Count of how many setting a policy holds
199
+ *
200
+ * @param int $val The settingCount
201
+ *
202
+ * @return DeviceCompliancePolicyState
203
+ */
204
+ public function setSettingCount($val)
205
+ {
206
+ $this->_propDict["settingCount"] = intval($val);
207
+ return $this;
208
+ }
209
+
210
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceScheduledActionForRule.php ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceScheduledActionForRule File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceComplianceScheduledActionForRule class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceComplianceScheduledActionForRule extends Entity
28
+ {
29
+ /**
30
+ * Gets the ruleName
31
+ * Name of the rule which this scheduled action applies to.
32
+ *
33
+ * @return string The ruleName
34
+ */
35
+ public function getRuleName()
36
+ {
37
+ if (array_key_exists("ruleName", $this->_propDict)) {
38
+ return $this->_propDict["ruleName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the ruleName
46
+ * Name of the rule which this scheduled action applies to.
47
+ *
48
+ * @param string $val The ruleName
49
+ *
50
+ * @return DeviceComplianceScheduledActionForRule
51
+ */
52
+ public function setRuleName($val)
53
+ {
54
+ $this->_propDict["ruleName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+
59
+ /**
60
+ * Gets the scheduledActionConfigurations
61
+ * The list of scheduled action configurations for this compliance policy.
62
+ *
63
+ * @return array The scheduledActionConfigurations
64
+ */
65
+ public function getScheduledActionConfigurations()
66
+ {
67
+ if (array_key_exists("scheduledActionConfigurations", $this->_propDict)) {
68
+ return $this->_propDict["scheduledActionConfigurations"];
69
+ } else {
70
+ return null;
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Sets the scheduledActionConfigurations
76
+ * The list of scheduled action configurations for this compliance policy.
77
+ *
78
+ * @param DeviceComplianceActionItem $val The scheduledActionConfigurations
79
+ *
80
+ * @return DeviceComplianceScheduledActionForRule
81
+ */
82
+ public function setScheduledActionConfigurations($val)
83
+ {
84
+ $this->_propDict["scheduledActionConfigurations"] = $val;
85
+ return $this;
86
+ }
87
+
88
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceSettingState.php ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceSettingState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceComplianceSettingState class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceComplianceSettingState extends Entity
28
+ {
29
+ /**
30
+ * Gets the setting
31
+ * The setting class name and property name.
32
+ *
33
+ * @return string The setting
34
+ */
35
+ public function getSetting()
36
+ {
37
+ if (array_key_exists("setting", $this->_propDict)) {
38
+ return $this->_propDict["setting"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the setting
46
+ * The setting class name and property name.
47
+ *
48
+ * @param string $val The setting
49
+ *
50
+ * @return DeviceComplianceSettingState
51
+ */
52
+ public function setSetting($val)
53
+ {
54
+ $this->_propDict["setting"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the settingName
60
+ * The Setting Name that is being reported
61
+ *
62
+ * @return string The settingName
63
+ */
64
+ public function getSettingName()
65
+ {
66
+ if (array_key_exists("settingName", $this->_propDict)) {
67
+ return $this->_propDict["settingName"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the settingName
75
+ * The Setting Name that is being reported
76
+ *
77
+ * @param string $val The settingName
78
+ *
79
+ * @return DeviceComplianceSettingState
80
+ */
81
+ public function setSettingName($val)
82
+ {
83
+ $this->_propDict["settingName"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the deviceId
89
+ * The Device Id that is being reported
90
+ *
91
+ * @return string The deviceId
92
+ */
93
+ public function getDeviceId()
94
+ {
95
+ if (array_key_exists("deviceId", $this->_propDict)) {
96
+ return $this->_propDict["deviceId"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the deviceId
104
+ * The Device Id that is being reported
105
+ *
106
+ * @param string $val The deviceId
107
+ *
108
+ * @return DeviceComplianceSettingState
109
+ */
110
+ public function setDeviceId($val)
111
+ {
112
+ $this->_propDict["deviceId"] = $val;
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the deviceName
118
+ * The Device Name that is being reported
119
+ *
120
+ * @return string The deviceName
121
+ */
122
+ public function getDeviceName()
123
+ {
124
+ if (array_key_exists("deviceName", $this->_propDict)) {
125
+ return $this->_propDict["deviceName"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the deviceName
133
+ * The Device Name that is being reported
134
+ *
135
+ * @param string $val The deviceName
136
+ *
137
+ * @return DeviceComplianceSettingState
138
+ */
139
+ public function setDeviceName($val)
140
+ {
141
+ $this->_propDict["deviceName"] = $val;
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the userId
147
+ * The user Id that is being reported
148
+ *
149
+ * @return string The userId
150
+ */
151
+ public function getUserId()
152
+ {
153
+ if (array_key_exists("userId", $this->_propDict)) {
154
+ return $this->_propDict["userId"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the userId
162
+ * The user Id that is being reported
163
+ *
164
+ * @param string $val The userId
165
+ *
166
+ * @return DeviceComplianceSettingState
167
+ */
168
+ public function setUserId($val)
169
+ {
170
+ $this->_propDict["userId"] = $val;
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the userEmail
176
+ * The User email address that is being reported
177
+ *
178
+ * @return string The userEmail
179
+ */
180
+ public function getUserEmail()
181
+ {
182
+ if (array_key_exists("userEmail", $this->_propDict)) {
183
+ return $this->_propDict["userEmail"];
184
+ } else {
185
+ return null;
186
+ }
187
+ }
188
+
189
+ /**
190
+ * Sets the userEmail
191
+ * The User email address that is being reported
192
+ *
193
+ * @param string $val The userEmail
194
+ *
195
+ * @return DeviceComplianceSettingState
196
+ */
197
+ public function setUserEmail($val)
198
+ {
199
+ $this->_propDict["userEmail"] = $val;
200
+ return $this;
201
+ }
202
+
203
+ /**
204
+ * Gets the userName
205
+ * The User Name that is being reported
206
+ *
207
+ * @return string The userName
208
+ */
209
+ public function getUserName()
210
+ {
211
+ if (array_key_exists("userName", $this->_propDict)) {
212
+ return $this->_propDict["userName"];
213
+ } else {
214
+ return null;
215
+ }
216
+ }
217
+
218
+ /**
219
+ * Sets the userName
220
+ * The User Name that is being reported
221
+ *
222
+ * @param string $val The userName
223
+ *
224
+ * @return DeviceComplianceSettingState
225
+ */
226
+ public function setUserName($val)
227
+ {
228
+ $this->_propDict["userName"] = $val;
229
+ return $this;
230
+ }
231
+
232
+ /**
233
+ * Gets the userPrincipalName
234
+ * The User PrincipalName that is being reported
235
+ *
236
+ * @return string The userPrincipalName
237
+ */
238
+ public function getUserPrincipalName()
239
+ {
240
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
241
+ return $this->_propDict["userPrincipalName"];
242
+ } else {
243
+ return null;
244
+ }
245
+ }
246
+
247
+ /**
248
+ * Sets the userPrincipalName
249
+ * The User PrincipalName that is being reported
250
+ *
251
+ * @param string $val The userPrincipalName
252
+ *
253
+ * @return DeviceComplianceSettingState
254
+ */
255
+ public function setUserPrincipalName($val)
256
+ {
257
+ $this->_propDict["userPrincipalName"] = $val;
258
+ return $this;
259
+ }
260
+
261
+ /**
262
+ * Gets the deviceModel
263
+ * The device model that is being reported
264
+ *
265
+ * @return string The deviceModel
266
+ */
267
+ public function getDeviceModel()
268
+ {
269
+ if (array_key_exists("deviceModel", $this->_propDict)) {
270
+ return $this->_propDict["deviceModel"];
271
+ } else {
272
+ return null;
273
+ }
274
+ }
275
+
276
+ /**
277
+ * Sets the deviceModel
278
+ * The device model that is being reported
279
+ *
280
+ * @param string $val The deviceModel
281
+ *
282
+ * @return DeviceComplianceSettingState
283
+ */
284
+ public function setDeviceModel($val)
285
+ {
286
+ $this->_propDict["deviceModel"] = $val;
287
+ return $this;
288
+ }
289
+
290
+ /**
291
+ * Gets the state
292
+ * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
293
+ *
294
+ * @return ComplianceStatus The state
295
+ */
296
+ public function getState()
297
+ {
298
+ if (array_key_exists("state", $this->_propDict)) {
299
+ if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\ComplianceStatus")) {
300
+ return $this->_propDict["state"];
301
+ } else {
302
+ $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]);
303
+ return $this->_propDict["state"];
304
+ }
305
+ }
306
+ return null;
307
+ }
308
+
309
+ /**
310
+ * Sets the state
311
+ * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
312
+ *
313
+ * @param ComplianceStatus $val The state
314
+ *
315
+ * @return DeviceComplianceSettingState
316
+ */
317
+ public function setState($val)
318
+ {
319
+ $this->_propDict["state"] = $val;
320
+ return $this;
321
+ }
322
+
323
+ /**
324
+ * Gets the complianceGracePeriodExpirationDateTime
325
+ * The DateTime when device compliance grace period expires
326
+ *
327
+ * @return \DateTime The complianceGracePeriodExpirationDateTime
328
+ */
329
+ public function getComplianceGracePeriodExpirationDateTime()
330
+ {
331
+ if (array_key_exists("complianceGracePeriodExpirationDateTime", $this->_propDict)) {
332
+ if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) {
333
+ return $this->_propDict["complianceGracePeriodExpirationDateTime"];
334
+ } else {
335
+ $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]);
336
+ return $this->_propDict["complianceGracePeriodExpirationDateTime"];
337
+ }
338
+ }
339
+ return null;
340
+ }
341
+
342
+ /**
343
+ * Sets the complianceGracePeriodExpirationDateTime
344
+ * The DateTime when device compliance grace period expires
345
+ *
346
+ * @param \DateTime $val The complianceGracePeriodExpirationDateTime
347
+ *
348
+ * @return DeviceComplianceSettingState
349
+ */
350
+ public function setComplianceGracePeriodExpirationDateTime($val)
351
+ {
352
+ $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val;
353
+ return $this;
354
+ }
355
+
356
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserOverview.php ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceUserOverview File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceComplianceUserOverview class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceComplianceUserOverview extends Entity
28
+ {
29
+ /**
30
+ * Gets the pendingCount
31
+ * Number of pending Users
32
+ *
33
+ * @return int The pendingCount
34
+ */
35
+ public function getPendingCount()
36
+ {
37
+ if (array_key_exists("pendingCount", $this->_propDict)) {
38
+ return $this->_propDict["pendingCount"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the pendingCount
46
+ * Number of pending Users
47
+ *
48
+ * @param int $val The pendingCount
49
+ *
50
+ * @return DeviceComplianceUserOverview
51
+ */
52
+ public function setPendingCount($val)
53
+ {
54
+ $this->_propDict["pendingCount"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the notApplicableCount
60
+ * Number of not applicable users
61
+ *
62
+ * @return int The notApplicableCount
63
+ */
64
+ public function getNotApplicableCount()
65
+ {
66
+ if (array_key_exists("notApplicableCount", $this->_propDict)) {
67
+ return $this->_propDict["notApplicableCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the notApplicableCount
75
+ * Number of not applicable users
76
+ *
77
+ * @param int $val The notApplicableCount
78
+ *
79
+ * @return DeviceComplianceUserOverview
80
+ */
81
+ public function setNotApplicableCount($val)
82
+ {
83
+ $this->_propDict["notApplicableCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the successCount
89
+ * Number of succeeded Users
90
+ *
91
+ * @return int The successCount
92
+ */
93
+ public function getSuccessCount()
94
+ {
95
+ if (array_key_exists("successCount", $this->_propDict)) {
96
+ return $this->_propDict["successCount"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the successCount
104
+ * Number of succeeded Users
105
+ *
106
+ * @param int $val The successCount
107
+ *
108
+ * @return DeviceComplianceUserOverview
109
+ */
110
+ public function setSuccessCount($val)
111
+ {
112
+ $this->_propDict["successCount"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the errorCount
118
+ * Number of error Users
119
+ *
120
+ * @return int The errorCount
121
+ */
122
+ public function getErrorCount()
123
+ {
124
+ if (array_key_exists("errorCount", $this->_propDict)) {
125
+ return $this->_propDict["errorCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the errorCount
133
+ * Number of error Users
134
+ *
135
+ * @param int $val The errorCount
136
+ *
137
+ * @return DeviceComplianceUserOverview
138
+ */
139
+ public function setErrorCount($val)
140
+ {
141
+ $this->_propDict["errorCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the failedCount
147
+ * Number of failed Users
148
+ *
149
+ * @return int The failedCount
150
+ */
151
+ public function getFailedCount()
152
+ {
153
+ if (array_key_exists("failedCount", $this->_propDict)) {
154
+ return $this->_propDict["failedCount"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the failedCount
162
+ * Number of failed Users
163
+ *
164
+ * @param int $val The failedCount
165
+ *
166
+ * @return DeviceComplianceUserOverview
167
+ */
168
+ public function setFailedCount($val)
169
+ {
170
+ $this->_propDict["failedCount"] = intval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the lastUpdateDateTime
176
+ * Last update time
177
+ *
178
+ * @return \DateTime The lastUpdateDateTime
179
+ */
180
+ public function getLastUpdateDateTime()
181
+ {
182
+ if (array_key_exists("lastUpdateDateTime", $this->_propDict)) {
183
+ if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) {
184
+ return $this->_propDict["lastUpdateDateTime"];
185
+ } else {
186
+ $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]);
187
+ return $this->_propDict["lastUpdateDateTime"];
188
+ }
189
+ }
190
+ return null;
191
+ }
192
+
193
+ /**
194
+ * Sets the lastUpdateDateTime
195
+ * Last update time
196
+ *
197
+ * @param \DateTime $val The lastUpdateDateTime
198
+ *
199
+ * @return DeviceComplianceUserOverview
200
+ */
201
+ public function setLastUpdateDateTime($val)
202
+ {
203
+ $this->_propDict["lastUpdateDateTime"] = $val;
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the configurationVersion
209
+ * Version of the policy for that overview
210
+ *
211
+ * @return int The configurationVersion
212
+ */
213
+ public function getConfigurationVersion()
214
+ {
215
+ if (array_key_exists("configurationVersion", $this->_propDict)) {
216
+ return $this->_propDict["configurationVersion"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the configurationVersion
224
+ * Version of the policy for that overview
225
+ *
226
+ * @param int $val The configurationVersion
227
+ *
228
+ * @return DeviceComplianceUserOverview
229
+ */
230
+ public function setConfigurationVersion($val)
231
+ {
232
+ $this->_propDict["configurationVersion"] = intval($val);
233
+ return $this;
234
+ }
235
+
236
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserStatus.php ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceComplianceUserStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceComplianceUserStatus class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceComplianceUserStatus extends Entity
28
+ {
29
+ /**
30
+ * Gets the userDisplayName
31
+ * User name of the DevicePolicyStatus.
32
+ *
33
+ * @return string The userDisplayName
34
+ */
35
+ public function getUserDisplayName()
36
+ {
37
+ if (array_key_exists("userDisplayName", $this->_propDict)) {
38
+ return $this->_propDict["userDisplayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the userDisplayName
46
+ * User name of the DevicePolicyStatus.
47
+ *
48
+ * @param string $val The userDisplayName
49
+ *
50
+ * @return DeviceComplianceUserStatus
51
+ */
52
+ public function setUserDisplayName($val)
53
+ {
54
+ $this->_propDict["userDisplayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the devicesCount
60
+ * Devices count for that user.
61
+ *
62
+ * @return int The devicesCount
63
+ */
64
+ public function getDevicesCount()
65
+ {
66
+ if (array_key_exists("devicesCount", $this->_propDict)) {
67
+ return $this->_propDict["devicesCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the devicesCount
75
+ * Devices count for that user.
76
+ *
77
+ * @param int $val The devicesCount
78
+ *
79
+ * @return DeviceComplianceUserStatus
80
+ */
81
+ public function setDevicesCount($val)
82
+ {
83
+ $this->_propDict["devicesCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the status
89
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
90
+ *
91
+ * @return ComplianceStatus The status
92
+ */
93
+ public function getStatus()
94
+ {
95
+ if (array_key_exists("status", $this->_propDict)) {
96
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\ComplianceStatus")) {
97
+ return $this->_propDict["status"];
98
+ } else {
99
+ $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]);
100
+ return $this->_propDict["status"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the status
108
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
109
+ *
110
+ * @param ComplianceStatus $val The status
111
+ *
112
+ * @return DeviceComplianceUserStatus
113
+ */
114
+ public function setStatus($val)
115
+ {
116
+ $this->_propDict["status"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the lastReportedDateTime
122
+ * Last modified date time of the policy report.
123
+ *
124
+ * @return \DateTime The lastReportedDateTime
125
+ */
126
+ public function getLastReportedDateTime()
127
+ {
128
+ if (array_key_exists("lastReportedDateTime", $this->_propDict)) {
129
+ if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) {
130
+ return $this->_propDict["lastReportedDateTime"];
131
+ } else {
132
+ $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]);
133
+ return $this->_propDict["lastReportedDateTime"];
134
+ }
135
+ }
136
+ return null;
137
+ }
138
+
139
+ /**
140
+ * Sets the lastReportedDateTime
141
+ * Last modified date time of the policy report.
142
+ *
143
+ * @param \DateTime $val The lastReportedDateTime
144
+ *
145
+ * @return DeviceComplianceUserStatus
146
+ */
147
+ public function setLastReportedDateTime($val)
148
+ {
149
+ $this->_propDict["lastReportedDateTime"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the userPrincipalName
155
+ * UserPrincipalName.
156
+ *
157
+ * @return string The userPrincipalName
158
+ */
159
+ public function getUserPrincipalName()
160
+ {
161
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
162
+ return $this->_propDict["userPrincipalName"];
163
+ } else {
164
+ return null;
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Sets the userPrincipalName
170
+ * UserPrincipalName.
171
+ *
172
+ * @param string $val The userPrincipalName
173
+ *
174
+ * @return DeviceComplianceUserStatus
175
+ */
176
+ public function setUserPrincipalName($val)
177
+ {
178
+ $this->_propDict["userPrincipalName"] = $val;
179
+ return $this;
180
+ }
181
+
182
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfiguration.php ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfiguration extends Entity
28
+ {
29
+ /**
30
+ * Gets the lastModifiedDateTime
31
+ * DateTime the object was last modified.
32
+ *
33
+ * @return \DateTime The lastModifiedDateTime
34
+ */
35
+ public function getLastModifiedDateTime()
36
+ {
37
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
38
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
39
+ return $this->_propDict["lastModifiedDateTime"];
40
+ } else {
41
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
42
+ return $this->_propDict["lastModifiedDateTime"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the lastModifiedDateTime
50
+ * DateTime the object was last modified.
51
+ *
52
+ * @param \DateTime $val The lastModifiedDateTime
53
+ *
54
+ * @return DeviceConfiguration
55
+ */
56
+ public function setLastModifiedDateTime($val)
57
+ {
58
+ $this->_propDict["lastModifiedDateTime"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the createdDateTime
64
+ * DateTime the object was created.
65
+ *
66
+ * @return \DateTime The createdDateTime
67
+ */
68
+ public function getCreatedDateTime()
69
+ {
70
+ if (array_key_exists("createdDateTime", $this->_propDict)) {
71
+ if (is_a($this->_propDict["createdDateTime"], "\DateTime")) {
72
+ return $this->_propDict["createdDateTime"];
73
+ } else {
74
+ $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
75
+ return $this->_propDict["createdDateTime"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the createdDateTime
83
+ * DateTime the object was created.
84
+ *
85
+ * @param \DateTime $val The createdDateTime
86
+ *
87
+ * @return DeviceConfiguration
88
+ */
89
+ public function setCreatedDateTime($val)
90
+ {
91
+ $this->_propDict["createdDateTime"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the description
97
+ * Admin provided description of the Device Configuration.
98
+ *
99
+ * @return string The description
100
+ */
101
+ public function getDescription()
102
+ {
103
+ if (array_key_exists("description", $this->_propDict)) {
104
+ return $this->_propDict["description"];
105
+ } else {
106
+ return null;
107
+ }
108
+ }
109
+
110
+ /**
111
+ * Sets the description
112
+ * Admin provided description of the Device Configuration.
113
+ *
114
+ * @param string $val The description
115
+ *
116
+ * @return DeviceConfiguration
117
+ */
118
+ public function setDescription($val)
119
+ {
120
+ $this->_propDict["description"] = $val;
121
+ return $this;
122
+ }
123
+
124
+ /**
125
+ * Gets the displayName
126
+ * Admin provided name of the device configuration.
127
+ *
128
+ * @return string The displayName
129
+ */
130
+ public function getDisplayName()
131
+ {
132
+ if (array_key_exists("displayName", $this->_propDict)) {
133
+ return $this->_propDict["displayName"];
134
+ } else {
135
+ return null;
136
+ }
137
+ }
138
+
139
+ /**
140
+ * Sets the displayName
141
+ * Admin provided name of the device configuration.
142
+ *
143
+ * @param string $val The displayName
144
+ *
145
+ * @return DeviceConfiguration
146
+ */
147
+ public function setDisplayName($val)
148
+ {
149
+ $this->_propDict["displayName"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the version
155
+ * Version of the device configuration.
156
+ *
157
+ * @return int The version
158
+ */
159
+ public function getVersion()
160
+ {
161
+ if (array_key_exists("version", $this->_propDict)) {
162
+ return $this->_propDict["version"];
163
+ } else {
164
+ return null;
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Sets the version
170
+ * Version of the device configuration.
171
+ *
172
+ * @param int $val The version
173
+ *
174
+ * @return DeviceConfiguration
175
+ */
176
+ public function setVersion($val)
177
+ {
178
+ $this->_propDict["version"] = intval($val);
179
+ return $this;
180
+ }
181
+
182
+
183
+ /**
184
+ * Gets the assignments
185
+ * The list of assignments for the device configuration profile.
186
+ *
187
+ * @return array The assignments
188
+ */
189
+ public function getAssignments()
190
+ {
191
+ if (array_key_exists("assignments", $this->_propDict)) {
192
+ return $this->_propDict["assignments"];
193
+ } else {
194
+ return null;
195
+ }
196
+ }
197
+
198
+ /**
199
+ * Sets the assignments
200
+ * The list of assignments for the device configuration profile.
201
+ *
202
+ * @param DeviceConfigurationAssignment $val The assignments
203
+ *
204
+ * @return DeviceConfiguration
205
+ */
206
+ public function setAssignments($val)
207
+ {
208
+ $this->_propDict["assignments"] = $val;
209
+ return $this;
210
+ }
211
+
212
+
213
+ /**
214
+ * Gets the deviceStatuses
215
+ * Device configuration installation status by device.
216
+ *
217
+ * @return array The deviceStatuses
218
+ */
219
+ public function getDeviceStatuses()
220
+ {
221
+ if (array_key_exists("deviceStatuses", $this->_propDict)) {
222
+ return $this->_propDict["deviceStatuses"];
223
+ } else {
224
+ return null;
225
+ }
226
+ }
227
+
228
+ /**
229
+ * Sets the deviceStatuses
230
+ * Device configuration installation status by device.
231
+ *
232
+ * @param DeviceConfigurationDeviceStatus $val The deviceStatuses
233
+ *
234
+ * @return DeviceConfiguration
235
+ */
236
+ public function setDeviceStatuses($val)
237
+ {
238
+ $this->_propDict["deviceStatuses"] = $val;
239
+ return $this;
240
+ }
241
+
242
+
243
+ /**
244
+ * Gets the userStatuses
245
+ * Device configuration installation status by user.
246
+ *
247
+ * @return array The userStatuses
248
+ */
249
+ public function getUserStatuses()
250
+ {
251
+ if (array_key_exists("userStatuses", $this->_propDict)) {
252
+ return $this->_propDict["userStatuses"];
253
+ } else {
254
+ return null;
255
+ }
256
+ }
257
+
258
+ /**
259
+ * Sets the userStatuses
260
+ * Device configuration installation status by user.
261
+ *
262
+ * @param DeviceConfigurationUserStatus $val The userStatuses
263
+ *
264
+ * @return DeviceConfiguration
265
+ */
266
+ public function setUserStatuses($val)
267
+ {
268
+ $this->_propDict["userStatuses"] = $val;
269
+ return $this;
270
+ }
271
+
272
+ /**
273
+ * Gets the deviceStatusOverview
274
+ * Device Configuration devices status overview
275
+ *
276
+ * @return DeviceConfigurationDeviceOverview The deviceStatusOverview
277
+ */
278
+ public function getDeviceStatusOverview()
279
+ {
280
+ if (array_key_exists("deviceStatusOverview", $this->_propDict)) {
281
+ if (is_a($this->_propDict["deviceStatusOverview"], "Microsoft\Graph\Model\DeviceConfigurationDeviceOverview")) {
282
+ return $this->_propDict["deviceStatusOverview"];
283
+ } else {
284
+ $this->_propDict["deviceStatusOverview"] = new DeviceConfigurationDeviceOverview($this->_propDict["deviceStatusOverview"]);
285
+ return $this->_propDict["deviceStatusOverview"];
286
+ }
287
+ }
288
+ return null;
289
+ }
290
+
291
+ /**
292
+ * Sets the deviceStatusOverview
293
+ * Device Configuration devices status overview
294
+ *
295
+ * @param DeviceConfigurationDeviceOverview $val The deviceStatusOverview
296
+ *
297
+ * @return DeviceConfiguration
298
+ */
299
+ public function setDeviceStatusOverview($val)
300
+ {
301
+ $this->_propDict["deviceStatusOverview"] = $val;
302
+ return $this;
303
+ }
304
+
305
+ /**
306
+ * Gets the userStatusOverview
307
+ * Device Configuration users status overview
308
+ *
309
+ * @return DeviceConfigurationUserOverview The userStatusOverview
310
+ */
311
+ public function getUserStatusOverview()
312
+ {
313
+ if (array_key_exists("userStatusOverview", $this->_propDict)) {
314
+ if (is_a($this->_propDict["userStatusOverview"], "Microsoft\Graph\Model\DeviceConfigurationUserOverview")) {
315
+ return $this->_propDict["userStatusOverview"];
316
+ } else {
317
+ $this->_propDict["userStatusOverview"] = new DeviceConfigurationUserOverview($this->_propDict["userStatusOverview"]);
318
+ return $this->_propDict["userStatusOverview"];
319
+ }
320
+ }
321
+ return null;
322
+ }
323
+
324
+ /**
325
+ * Sets the userStatusOverview
326
+ * Device Configuration users status overview
327
+ *
328
+ * @param DeviceConfigurationUserOverview $val The userStatusOverview
329
+ *
330
+ * @return DeviceConfiguration
331
+ */
332
+ public function setUserStatusOverview($val)
333
+ {
334
+ $this->_propDict["userStatusOverview"] = $val;
335
+ return $this;
336
+ }
337
+
338
+
339
+ /**
340
+ * Gets the deviceSettingStateSummaries
341
+ * Device Configuration Setting State Device Summary
342
+ *
343
+ * @return array The deviceSettingStateSummaries
344
+ */
345
+ public function getDeviceSettingStateSummaries()
346
+ {
347
+ if (array_key_exists("deviceSettingStateSummaries", $this->_propDict)) {
348
+ return $this->_propDict["deviceSettingStateSummaries"];
349
+ } else {
350
+ return null;
351
+ }
352
+ }
353
+
354
+ /**
355
+ * Sets the deviceSettingStateSummaries
356
+ * Device Configuration Setting State Device Summary
357
+ *
358
+ * @param SettingStateDeviceSummary $val The deviceSettingStateSummaries
359
+ *
360
+ * @return DeviceConfiguration
361
+ */
362
+ public function setDeviceSettingStateSummaries($val)
363
+ {
364
+ $this->_propDict["deviceSettingStateSummaries"] = $val;
365
+ return $this;
366
+ }
367
+
368
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationAssignment.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationAssignment File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfigurationAssignment class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfigurationAssignment extends Entity
28
+ {
29
+ /**
30
+ * Gets the target
31
+ * The assignment target for the device configuration.
32
+ *
33
+ * @return DeviceAndAppManagementAssignmentTarget The target
34
+ */
35
+ public function getTarget()
36
+ {
37
+ if (array_key_exists("target", $this->_propDict)) {
38
+ if (is_a($this->_propDict["target"], "Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) {
39
+ return $this->_propDict["target"];
40
+ } else {
41
+ $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]);
42
+ return $this->_propDict["target"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the target
50
+ * The assignment target for the device configuration.
51
+ *
52
+ * @param DeviceAndAppManagementAssignmentTarget $val The target
53
+ *
54
+ * @return DeviceConfigurationAssignment
55
+ */
56
+ public function setTarget($val)
57
+ {
58
+ $this->_propDict["target"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceOverview.php ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationDeviceOverview File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfigurationDeviceOverview class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfigurationDeviceOverview extends Entity
28
+ {
29
+ /**
30
+ * Gets the pendingCount
31
+ * Number of pending devices
32
+ *
33
+ * @return int The pendingCount
34
+ */
35
+ public function getPendingCount()
36
+ {
37
+ if (array_key_exists("pendingCount", $this->_propDict)) {
38
+ return $this->_propDict["pendingCount"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the pendingCount
46
+ * Number of pending devices
47
+ *
48
+ * @param int $val The pendingCount
49
+ *
50
+ * @return DeviceConfigurationDeviceOverview
51
+ */
52
+ public function setPendingCount($val)
53
+ {
54
+ $this->_propDict["pendingCount"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the notApplicableCount
60
+ * Number of not applicable devices
61
+ *
62
+ * @return int The notApplicableCount
63
+ */
64
+ public function getNotApplicableCount()
65
+ {
66
+ if (array_key_exists("notApplicableCount", $this->_propDict)) {
67
+ return $this->_propDict["notApplicableCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the notApplicableCount
75
+ * Number of not applicable devices
76
+ *
77
+ * @param int $val The notApplicableCount
78
+ *
79
+ * @return DeviceConfigurationDeviceOverview
80
+ */
81
+ public function setNotApplicableCount($val)
82
+ {
83
+ $this->_propDict["notApplicableCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the successCount
89
+ * Number of succeeded devices
90
+ *
91
+ * @return int The successCount
92
+ */
93
+ public function getSuccessCount()
94
+ {
95
+ if (array_key_exists("successCount", $this->_propDict)) {
96
+ return $this->_propDict["successCount"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the successCount
104
+ * Number of succeeded devices
105
+ *
106
+ * @param int $val The successCount
107
+ *
108
+ * @return DeviceConfigurationDeviceOverview
109
+ */
110
+ public function setSuccessCount($val)
111
+ {
112
+ $this->_propDict["successCount"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the errorCount
118
+ * Number of error devices
119
+ *
120
+ * @return int The errorCount
121
+ */
122
+ public function getErrorCount()
123
+ {
124
+ if (array_key_exists("errorCount", $this->_propDict)) {
125
+ return $this->_propDict["errorCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the errorCount
133
+ * Number of error devices
134
+ *
135
+ * @param int $val The errorCount
136
+ *
137
+ * @return DeviceConfigurationDeviceOverview
138
+ */
139
+ public function setErrorCount($val)
140
+ {
141
+ $this->_propDict["errorCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the failedCount
147
+ * Number of failed devices
148
+ *
149
+ * @return int The failedCount
150
+ */
151
+ public function getFailedCount()
152
+ {
153
+ if (array_key_exists("failedCount", $this->_propDict)) {
154
+ return $this->_propDict["failedCount"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the failedCount
162
+ * Number of failed devices
163
+ *
164
+ * @param int $val The failedCount
165
+ *
166
+ * @return DeviceConfigurationDeviceOverview
167
+ */
168
+ public function setFailedCount($val)
169
+ {
170
+ $this->_propDict["failedCount"] = intval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the lastUpdateDateTime
176
+ * Last update time
177
+ *
178
+ * @return \DateTime The lastUpdateDateTime
179
+ */
180
+ public function getLastUpdateDateTime()
181
+ {
182
+ if (array_key_exists("lastUpdateDateTime", $this->_propDict)) {
183
+ if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) {
184
+ return $this->_propDict["lastUpdateDateTime"];
185
+ } else {
186
+ $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]);
187
+ return $this->_propDict["lastUpdateDateTime"];
188
+ }
189
+ }
190
+ return null;
191
+ }
192
+
193
+ /**
194
+ * Sets the lastUpdateDateTime
195
+ * Last update time
196
+ *
197
+ * @param \DateTime $val The lastUpdateDateTime
198
+ *
199
+ * @return DeviceConfigurationDeviceOverview
200
+ */
201
+ public function setLastUpdateDateTime($val)
202
+ {
203
+ $this->_propDict["lastUpdateDateTime"] = $val;
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the configurationVersion
209
+ * Version of the policy for that overview
210
+ *
211
+ * @return int The configurationVersion
212
+ */
213
+ public function getConfigurationVersion()
214
+ {
215
+ if (array_key_exists("configurationVersion", $this->_propDict)) {
216
+ return $this->_propDict["configurationVersion"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the configurationVersion
224
+ * Version of the policy for that overview
225
+ *
226
+ * @param int $val The configurationVersion
227
+ *
228
+ * @return DeviceConfigurationDeviceOverview
229
+ */
230
+ public function setConfigurationVersion($val)
231
+ {
232
+ $this->_propDict["configurationVersion"] = intval($val);
233
+ return $this;
234
+ }
235
+
236
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStateSummary.php ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationDeviceStateSummary File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfigurationDeviceStateSummary class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfigurationDeviceStateSummary extends Entity
28
+ {
29
+ /**
30
+ * Gets the unknownDeviceCount
31
+ * Number of unknown devices
32
+ *
33
+ * @return int The unknownDeviceCount
34
+ */
35
+ public function getUnknownDeviceCount()
36
+ {
37
+ if (array_key_exists("unknownDeviceCount", $this->_propDict)) {
38
+ return $this->_propDict["unknownDeviceCount"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the unknownDeviceCount
46
+ * Number of unknown devices
47
+ *
48
+ * @param int $val The unknownDeviceCount
49
+ *
50
+ * @return DeviceConfigurationDeviceStateSummary
51
+ */
52
+ public function setUnknownDeviceCount($val)
53
+ {
54
+ $this->_propDict["unknownDeviceCount"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the notApplicableDeviceCount
60
+ * Number of not applicable devices
61
+ *
62
+ * @return int The notApplicableDeviceCount
63
+ */
64
+ public function getNotApplicableDeviceCount()
65
+ {
66
+ if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) {
67
+ return $this->_propDict["notApplicableDeviceCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the notApplicableDeviceCount
75
+ * Number of not applicable devices
76
+ *
77
+ * @param int $val The notApplicableDeviceCount
78
+ *
79
+ * @return DeviceConfigurationDeviceStateSummary
80
+ */
81
+ public function setNotApplicableDeviceCount($val)
82
+ {
83
+ $this->_propDict["notApplicableDeviceCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the compliantDeviceCount
89
+ * Number of compliant devices
90
+ *
91
+ * @return int The compliantDeviceCount
92
+ */
93
+ public function getCompliantDeviceCount()
94
+ {
95
+ if (array_key_exists("compliantDeviceCount", $this->_propDict)) {
96
+ return $this->_propDict["compliantDeviceCount"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the compliantDeviceCount
104
+ * Number of compliant devices
105
+ *
106
+ * @param int $val The compliantDeviceCount
107
+ *
108
+ * @return DeviceConfigurationDeviceStateSummary
109
+ */
110
+ public function setCompliantDeviceCount($val)
111
+ {
112
+ $this->_propDict["compliantDeviceCount"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the remediatedDeviceCount
118
+ * Number of remediated devices
119
+ *
120
+ * @return int The remediatedDeviceCount
121
+ */
122
+ public function getRemediatedDeviceCount()
123
+ {
124
+ if (array_key_exists("remediatedDeviceCount", $this->_propDict)) {
125
+ return $this->_propDict["remediatedDeviceCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the remediatedDeviceCount
133
+ * Number of remediated devices
134
+ *
135
+ * @param int $val The remediatedDeviceCount
136
+ *
137
+ * @return DeviceConfigurationDeviceStateSummary
138
+ */
139
+ public function setRemediatedDeviceCount($val)
140
+ {
141
+ $this->_propDict["remediatedDeviceCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the nonCompliantDeviceCount
147
+ * Number of NonCompliant devices
148
+ *
149
+ * @return int The nonCompliantDeviceCount
150
+ */
151
+ public function getNonCompliantDeviceCount()
152
+ {
153
+ if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) {
154
+ return $this->_propDict["nonCompliantDeviceCount"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the nonCompliantDeviceCount
162
+ * Number of NonCompliant devices
163
+ *
164
+ * @param int $val The nonCompliantDeviceCount
165
+ *
166
+ * @return DeviceConfigurationDeviceStateSummary
167
+ */
168
+ public function setNonCompliantDeviceCount($val)
169
+ {
170
+ $this->_propDict["nonCompliantDeviceCount"] = intval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the errorDeviceCount
176
+ * Number of error devices
177
+ *
178
+ * @return int The errorDeviceCount
179
+ */
180
+ public function getErrorDeviceCount()
181
+ {
182
+ if (array_key_exists("errorDeviceCount", $this->_propDict)) {
183
+ return $this->_propDict["errorDeviceCount"];
184
+ } else {
185
+ return null;
186
+ }
187
+ }
188
+
189
+ /**
190
+ * Sets the errorDeviceCount
191
+ * Number of error devices
192
+ *
193
+ * @param int $val The errorDeviceCount
194
+ *
195
+ * @return DeviceConfigurationDeviceStateSummary
196
+ */
197
+ public function setErrorDeviceCount($val)
198
+ {
199
+ $this->_propDict["errorDeviceCount"] = intval($val);
200
+ return $this;
201
+ }
202
+
203
+ /**
204
+ * Gets the conflictDeviceCount
205
+ * Number of conflict devices
206
+ *
207
+ * @return int The conflictDeviceCount
208
+ */
209
+ public function getConflictDeviceCount()
210
+ {
211
+ if (array_key_exists("conflictDeviceCount", $this->_propDict)) {
212
+ return $this->_propDict["conflictDeviceCount"];
213
+ } else {
214
+ return null;
215
+ }
216
+ }
217
+
218
+ /**
219
+ * Sets the conflictDeviceCount
220
+ * Number of conflict devices
221
+ *
222
+ * @param int $val The conflictDeviceCount
223
+ *
224
+ * @return DeviceConfigurationDeviceStateSummary
225
+ */
226
+ public function setConflictDeviceCount($val)
227
+ {
228
+ $this->_propDict["conflictDeviceCount"] = intval($val);
229
+ return $this;
230
+ }
231
+
232
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStatus.php ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationDeviceStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfigurationDeviceStatus class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfigurationDeviceStatus extends Entity
28
+ {
29
+ /**
30
+ * Gets the deviceDisplayName
31
+ * Device name of the DevicePolicyStatus.
32
+ *
33
+ * @return string The deviceDisplayName
34
+ */
35
+ public function getDeviceDisplayName()
36
+ {
37
+ if (array_key_exists("deviceDisplayName", $this->_propDict)) {
38
+ return $this->_propDict["deviceDisplayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the deviceDisplayName
46
+ * Device name of the DevicePolicyStatus.
47
+ *
48
+ * @param string $val The deviceDisplayName
49
+ *
50
+ * @return DeviceConfigurationDeviceStatus
51
+ */
52
+ public function setDeviceDisplayName($val)
53
+ {
54
+ $this->_propDict["deviceDisplayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the userName
60
+ * The User Name that is being reported
61
+ *
62
+ * @return string The userName
63
+ */
64
+ public function getUserName()
65
+ {
66
+ if (array_key_exists("userName", $this->_propDict)) {
67
+ return $this->_propDict["userName"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the userName
75
+ * The User Name that is being reported
76
+ *
77
+ * @param string $val The userName
78
+ *
79
+ * @return DeviceConfigurationDeviceStatus
80
+ */
81
+ public function setUserName($val)
82
+ {
83
+ $this->_propDict["userName"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the deviceModel
89
+ * The device model that is being reported
90
+ *
91
+ * @return string The deviceModel
92
+ */
93
+ public function getDeviceModel()
94
+ {
95
+ if (array_key_exists("deviceModel", $this->_propDict)) {
96
+ return $this->_propDict["deviceModel"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the deviceModel
104
+ * The device model that is being reported
105
+ *
106
+ * @param string $val The deviceModel
107
+ *
108
+ * @return DeviceConfigurationDeviceStatus
109
+ */
110
+ public function setDeviceModel($val)
111
+ {
112
+ $this->_propDict["deviceModel"] = $val;
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the complianceGracePeriodExpirationDateTime
118
+ * The DateTime when device compliance grace period expires
119
+ *
120
+ * @return \DateTime The complianceGracePeriodExpirationDateTime
121
+ */
122
+ public function getComplianceGracePeriodExpirationDateTime()
123
+ {
124
+ if (array_key_exists("complianceGracePeriodExpirationDateTime", $this->_propDict)) {
125
+ if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) {
126
+ return $this->_propDict["complianceGracePeriodExpirationDateTime"];
127
+ } else {
128
+ $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]);
129
+ return $this->_propDict["complianceGracePeriodExpirationDateTime"];
130
+ }
131
+ }
132
+ return null;
133
+ }
134
+
135
+ /**
136
+ * Sets the complianceGracePeriodExpirationDateTime
137
+ * The DateTime when device compliance grace period expires
138
+ *
139
+ * @param \DateTime $val The complianceGracePeriodExpirationDateTime
140
+ *
141
+ * @return DeviceConfigurationDeviceStatus
142
+ */
143
+ public function setComplianceGracePeriodExpirationDateTime($val)
144
+ {
145
+ $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the status
151
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
152
+ *
153
+ * @return ComplianceStatus The status
154
+ */
155
+ public function getStatus()
156
+ {
157
+ if (array_key_exists("status", $this->_propDict)) {
158
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\ComplianceStatus")) {
159
+ return $this->_propDict["status"];
160
+ } else {
161
+ $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]);
162
+ return $this->_propDict["status"];
163
+ }
164
+ }
165
+ return null;
166
+ }
167
+
168
+ /**
169
+ * Sets the status
170
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
171
+ *
172
+ * @param ComplianceStatus $val The status
173
+ *
174
+ * @return DeviceConfigurationDeviceStatus
175
+ */
176
+ public function setStatus($val)
177
+ {
178
+ $this->_propDict["status"] = $val;
179
+ return $this;
180
+ }
181
+
182
+ /**
183
+ * Gets the lastReportedDateTime
184
+ * Last modified date time of the policy report.
185
+ *
186
+ * @return \DateTime The lastReportedDateTime
187
+ */
188
+ public function getLastReportedDateTime()
189
+ {
190
+ if (array_key_exists("lastReportedDateTime", $this->_propDict)) {
191
+ if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) {
192
+ return $this->_propDict["lastReportedDateTime"];
193
+ } else {
194
+ $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]);
195
+ return $this->_propDict["lastReportedDateTime"];
196
+ }
197
+ }
198
+ return null;
199
+ }
200
+
201
+ /**
202
+ * Sets the lastReportedDateTime
203
+ * Last modified date time of the policy report.
204
+ *
205
+ * @param \DateTime $val The lastReportedDateTime
206
+ *
207
+ * @return DeviceConfigurationDeviceStatus
208
+ */
209
+ public function setLastReportedDateTime($val)
210
+ {
211
+ $this->_propDict["lastReportedDateTime"] = $val;
212
+ return $this;
213
+ }
214
+
215
+ /**
216
+ * Gets the userPrincipalName
217
+ * UserPrincipalName.
218
+ *
219
+ * @return string The userPrincipalName
220
+ */
221
+ public function getUserPrincipalName()
222
+ {
223
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
224
+ return $this->_propDict["userPrincipalName"];
225
+ } else {
226
+ return null;
227
+ }
228
+ }
229
+
230
+ /**
231
+ * Sets the userPrincipalName
232
+ * UserPrincipalName.
233
+ *
234
+ * @param string $val The userPrincipalName
235
+ *
236
+ * @return DeviceConfigurationDeviceStatus
237
+ */
238
+ public function setUserPrincipalName($val)
239
+ {
240
+ $this->_propDict["userPrincipalName"] = $val;
241
+ return $this;
242
+ }
243
+
244
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationSettingState.php ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationSettingState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceConfigurationSettingState class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceConfigurationSettingState extends Entity
27
+ {
28
+ /**
29
+ * Gets the setting
30
+ * The setting that is being reported
31
+ *
32
+ * @return string The setting
33
+ */
34
+ public function getSetting()
35
+ {
36
+ if (array_key_exists("setting", $this->_propDict)) {
37
+ return $this->_propDict["setting"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the setting
45
+ * The setting that is being reported
46
+ *
47
+ * @param string $val The value of the setting
48
+ *
49
+ * @return DeviceConfigurationSettingState
50
+ */
51
+ public function setSetting($val)
52
+ {
53
+ $this->_propDict["setting"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the settingName
58
+ * Localized/user friendly setting name that is being reported
59
+ *
60
+ * @return string The settingName
61
+ */
62
+ public function getSettingName()
63
+ {
64
+ if (array_key_exists("settingName", $this->_propDict)) {
65
+ return $this->_propDict["settingName"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the settingName
73
+ * Localized/user friendly setting name that is being reported
74
+ *
75
+ * @param string $val The value of the settingName
76
+ *
77
+ * @return DeviceConfigurationSettingState
78
+ */
79
+ public function setSettingName($val)
80
+ {
81
+ $this->_propDict["settingName"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the instanceDisplayName
86
+ * Name of setting instance that is being reported.
87
+ *
88
+ * @return string The instanceDisplayName
89
+ */
90
+ public function getInstanceDisplayName()
91
+ {
92
+ if (array_key_exists("instanceDisplayName", $this->_propDict)) {
93
+ return $this->_propDict["instanceDisplayName"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the instanceDisplayName
101
+ * Name of setting instance that is being reported.
102
+ *
103
+ * @param string $val The value of the instanceDisplayName
104
+ *
105
+ * @return DeviceConfigurationSettingState
106
+ */
107
+ public function setInstanceDisplayName($val)
108
+ {
109
+ $this->_propDict["instanceDisplayName"] = $val;
110
+ return $this;
111
+ }
112
+
113
+ /**
114
+ * Gets the state
115
+ * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
116
+ *
117
+ * @return ComplianceStatus The state
118
+ */
119
+ public function getState()
120
+ {
121
+ if (array_key_exists("state", $this->_propDict)) {
122
+ if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\ComplianceStatus")) {
123
+ return $this->_propDict["state"];
124
+ } else {
125
+ $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]);
126
+ return $this->_propDict["state"];
127
+ }
128
+ }
129
+ return null;
130
+ }
131
+
132
+ /**
133
+ * Sets the state
134
+ * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
135
+ *
136
+ * @param ComplianceStatus $val The value to assign to the state
137
+ *
138
+ * @return DeviceConfigurationSettingState The DeviceConfigurationSettingState
139
+ */
140
+ public function setState($val)
141
+ {
142
+ $this->_propDict["state"] = $val;
143
+ return $this;
144
+ }
145
+ /**
146
+ * Gets the errorCode
147
+ * Error code for the setting
148
+ *
149
+ * @return int The errorCode
150
+ */
151
+ public function getErrorCode()
152
+ {
153
+ if (array_key_exists("errorCode", $this->_propDict)) {
154
+ return $this->_propDict["errorCode"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the errorCode
162
+ * Error code for the setting
163
+ *
164
+ * @param int $val The value of the errorCode
165
+ *
166
+ * @return DeviceConfigurationSettingState
167
+ */
168
+ public function setErrorCode($val)
169
+ {
170
+ $this->_propDict["errorCode"] = $val;
171
+ return $this;
172
+ }
173
+ /**
174
+ * Gets the errorDescription
175
+ * Error description
176
+ *
177
+ * @return string The errorDescription
178
+ */
179
+ public function getErrorDescription()
180
+ {
181
+ if (array_key_exists("errorDescription", $this->_propDict)) {
182
+ return $this->_propDict["errorDescription"];
183
+ } else {
184
+ return null;
185
+ }
186
+ }
187
+
188
+ /**
189
+ * Sets the errorDescription
190
+ * Error description
191
+ *
192
+ * @param string $val The value of the errorDescription
193
+ *
194
+ * @return DeviceConfigurationSettingState
195
+ */
196
+ public function setErrorDescription($val)
197
+ {
198
+ $this->_propDict["errorDescription"] = $val;
199
+ return $this;
200
+ }
201
+ /**
202
+ * Gets the userId
203
+ * UserId
204
+ *
205
+ * @return string The userId
206
+ */
207
+ public function getUserId()
208
+ {
209
+ if (array_key_exists("userId", $this->_propDict)) {
210
+ return $this->_propDict["userId"];
211
+ } else {
212
+ return null;
213
+ }
214
+ }
215
+
216
+ /**
217
+ * Sets the userId
218
+ * UserId
219
+ *
220
+ * @param string $val The value of the userId
221
+ *
222
+ * @return DeviceConfigurationSettingState
223
+ */
224
+ public function setUserId($val)
225
+ {
226
+ $this->_propDict["userId"] = $val;
227
+ return $this;
228
+ }
229
+ /**
230
+ * Gets the userName
231
+ * UserName
232
+ *
233
+ * @return string The userName
234
+ */
235
+ public function getUserName()
236
+ {
237
+ if (array_key_exists("userName", $this->_propDict)) {
238
+ return $this->_propDict["userName"];
239
+ } else {
240
+ return null;
241
+ }
242
+ }
243
+
244
+ /**
245
+ * Sets the userName
246
+ * UserName
247
+ *
248
+ * @param string $val The value of the userName
249
+ *
250
+ * @return DeviceConfigurationSettingState
251
+ */
252
+ public function setUserName($val)
253
+ {
254
+ $this->_propDict["userName"] = $val;
255
+ return $this;
256
+ }
257
+ /**
258
+ * Gets the userEmail
259
+ * UserEmail
260
+ *
261
+ * @return string The userEmail
262
+ */
263
+ public function getUserEmail()
264
+ {
265
+ if (array_key_exists("userEmail", $this->_propDict)) {
266
+ return $this->_propDict["userEmail"];
267
+ } else {
268
+ return null;
269
+ }
270
+ }
271
+
272
+ /**
273
+ * Sets the userEmail
274
+ * UserEmail
275
+ *
276
+ * @param string $val The value of the userEmail
277
+ *
278
+ * @return DeviceConfigurationSettingState
279
+ */
280
+ public function setUserEmail($val)
281
+ {
282
+ $this->_propDict["userEmail"] = $val;
283
+ return $this;
284
+ }
285
+ /**
286
+ * Gets the userPrincipalName
287
+ * UserPrincipalName.
288
+ *
289
+ * @return string The userPrincipalName
290
+ */
291
+ public function getUserPrincipalName()
292
+ {
293
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
294
+ return $this->_propDict["userPrincipalName"];
295
+ } else {
296
+ return null;
297
+ }
298
+ }
299
+
300
+ /**
301
+ * Sets the userPrincipalName
302
+ * UserPrincipalName.
303
+ *
304
+ * @param string $val The value of the userPrincipalName
305
+ *
306
+ * @return DeviceConfigurationSettingState
307
+ */
308
+ public function setUserPrincipalName($val)
309
+ {
310
+ $this->_propDict["userPrincipalName"] = $val;
311
+ return $this;
312
+ }
313
+
314
+ /**
315
+ * Gets the sources
316
+ * Contributing policies
317
+ *
318
+ * @return SettingSource The sources
319
+ */
320
+ public function getSources()
321
+ {
322
+ if (array_key_exists("sources", $this->_propDict)) {
323
+ if (is_a($this->_propDict["sources"], "Microsoft\Graph\Model\SettingSource")) {
324
+ return $this->_propDict["sources"];
325
+ } else {
326
+ $this->_propDict["sources"] = new SettingSource($this->_propDict["sources"]);
327
+ return $this->_propDict["sources"];
328
+ }
329
+ }
330
+ return null;
331
+ }
332
+
333
+ /**
334
+ * Sets the sources
335
+ * Contributing policies
336
+ *
337
+ * @param SettingSource $val The value to assign to the sources
338
+ *
339
+ * @return DeviceConfigurationSettingState The DeviceConfigurationSettingState
340
+ */
341
+ public function setSources($val)
342
+ {
343
+ $this->_propDict["sources"] = $val;
344
+ return $this;
345
+ }
346
+ /**
347
+ * Gets the currentValue
348
+ * Current value of setting on device
349
+ *
350
+ * @return string The currentValue
351
+ */
352
+ public function getCurrentValue()
353
+ {
354
+ if (array_key_exists("currentValue", $this->_propDict)) {
355
+ return $this->_propDict["currentValue"];
356
+ } else {
357
+ return null;
358
+ }
359
+ }
360
+
361
+ /**
362
+ * Sets the currentValue
363
+ * Current value of setting on device
364
+ *
365
+ * @param string $val The value of the currentValue
366
+ *
367
+ * @return DeviceConfigurationSettingState
368
+ */
369
+ public function setCurrentValue($val)
370
+ {
371
+ $this->_propDict["currentValue"] = $val;
372
+ return $this;
373
+ }
374
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationState.php ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfigurationState class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfigurationState extends Entity
28
+ {
29
+
30
+ /**
31
+ * Gets the settingStates
32
+ *
33
+ * @return array The settingStates
34
+ */
35
+ public function getSettingStates()
36
+ {
37
+ if (array_key_exists("settingStates", $this->_propDict)) {
38
+ return $this->_propDict["settingStates"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the settingStates
46
+ *
47
+ * @param DeviceConfigurationSettingState $val The settingStates
48
+ *
49
+ * @return DeviceConfigurationState
50
+ */
51
+ public function setSettingStates($val)
52
+ {
53
+ $this->_propDict["settingStates"] = $val;
54
+ return $this;
55
+ }
56
+
57
+ /**
58
+ * Gets the displayName
59
+ * The name of the policy for this policyBase
60
+ *
61
+ * @return string The displayName
62
+ */
63
+ public function getDisplayName()
64
+ {
65
+ if (array_key_exists("displayName", $this->_propDict)) {
66
+ return $this->_propDict["displayName"];
67
+ } else {
68
+ return null;
69
+ }
70
+ }
71
+
72
+ /**
73
+ * Sets the displayName
74
+ * The name of the policy for this policyBase
75
+ *
76
+ * @param string $val The displayName
77
+ *
78
+ * @return DeviceConfigurationState
79
+ */
80
+ public function setDisplayName($val)
81
+ {
82
+ $this->_propDict["displayName"] = $val;
83
+ return $this;
84
+ }
85
+
86
+ /**
87
+ * Gets the version
88
+ * The version of the policy
89
+ *
90
+ * @return int The version
91
+ */
92
+ public function getVersion()
93
+ {
94
+ if (array_key_exists("version", $this->_propDict)) {
95
+ return $this->_propDict["version"];
96
+ } else {
97
+ return null;
98
+ }
99
+ }
100
+
101
+ /**
102
+ * Sets the version
103
+ * The version of the policy
104
+ *
105
+ * @param int $val The version
106
+ *
107
+ * @return DeviceConfigurationState
108
+ */
109
+ public function setVersion($val)
110
+ {
111
+ $this->_propDict["version"] = intval($val);
112
+ return $this;
113
+ }
114
+
115
+ /**
116
+ * Gets the platformType
117
+ * Platform type that the policy applies to
118
+ *
119
+ * @return PolicyPlatformType The platformType
120
+ */
121
+ public function getPlatformType()
122
+ {
123
+ if (array_key_exists("platformType", $this->_propDict)) {
124
+ if (is_a($this->_propDict["platformType"], "Microsoft\Graph\Model\PolicyPlatformType")) {
125
+ return $this->_propDict["platformType"];
126
+ } else {
127
+ $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]);
128
+ return $this->_propDict["platformType"];
129
+ }
130
+ }
131
+ return null;
132
+ }
133
+
134
+ /**
135
+ * Sets the platformType
136
+ * Platform type that the policy applies to
137
+ *
138
+ * @param PolicyPlatformType $val The platformType
139
+ *
140
+ * @return DeviceConfigurationState
141
+ */
142
+ public function setPlatformType($val)
143
+ {
144
+ $this->_propDict["platformType"] = $val;
145
+ return $this;
146
+ }
147
+
148
+ /**
149
+ * Gets the state
150
+ * The compliance state of the policy
151
+ *
152
+ * @return ComplianceStatus The state
153
+ */
154
+ public function getState()
155
+ {
156
+ if (array_key_exists("state", $this->_propDict)) {
157
+ if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\ComplianceStatus")) {
158
+ return $this->_propDict["state"];
159
+ } else {
160
+ $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]);
161
+ return $this->_propDict["state"];
162
+ }
163
+ }
164
+ return null;
165
+ }
166
+
167
+ /**
168
+ * Sets the state
169
+ * The compliance state of the policy
170
+ *
171
+ * @param ComplianceStatus $val The state
172
+ *
173
+ * @return DeviceConfigurationState
174
+ */
175
+ public function setState($val)
176
+ {
177
+ $this->_propDict["state"] = $val;
178
+ return $this;
179
+ }
180
+
181
+ /**
182
+ * Gets the settingCount
183
+ * Count of how many setting a policy holds
184
+ *
185
+ * @return int The settingCount
186
+ */
187
+ public function getSettingCount()
188
+ {
189
+ if (array_key_exists("settingCount", $this->_propDict)) {
190
+ return $this->_propDict["settingCount"];
191
+ } else {
192
+ return null;
193
+ }
194
+ }
195
+
196
+ /**
197
+ * Sets the settingCount
198
+ * Count of how many setting a policy holds
199
+ *
200
+ * @param int $val The settingCount
201
+ *
202
+ * @return DeviceConfigurationState
203
+ */
204
+ public function setSettingCount($val)
205
+ {
206
+ $this->_propDict["settingCount"] = intval($val);
207
+ return $this;
208
+ }
209
+
210
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserOverview.php ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationUserOverview File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfigurationUserOverview class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfigurationUserOverview extends Entity
28
+ {
29
+ /**
30
+ * Gets the pendingCount
31
+ * Number of pending Users
32
+ *
33
+ * @return int The pendingCount
34
+ */
35
+ public function getPendingCount()
36
+ {
37
+ if (array_key_exists("pendingCount", $this->_propDict)) {
38
+ return $this->_propDict["pendingCount"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the pendingCount
46
+ * Number of pending Users
47
+ *
48
+ * @param int $val The pendingCount
49
+ *
50
+ * @return DeviceConfigurationUserOverview
51
+ */
52
+ public function setPendingCount($val)
53
+ {
54
+ $this->_propDict["pendingCount"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the notApplicableCount
60
+ * Number of not applicable users
61
+ *
62
+ * @return int The notApplicableCount
63
+ */
64
+ public function getNotApplicableCount()
65
+ {
66
+ if (array_key_exists("notApplicableCount", $this->_propDict)) {
67
+ return $this->_propDict["notApplicableCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the notApplicableCount
75
+ * Number of not applicable users
76
+ *
77
+ * @param int $val The notApplicableCount
78
+ *
79
+ * @return DeviceConfigurationUserOverview
80
+ */
81
+ public function setNotApplicableCount($val)
82
+ {
83
+ $this->_propDict["notApplicableCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the successCount
89
+ * Number of succeeded Users
90
+ *
91
+ * @return int The successCount
92
+ */
93
+ public function getSuccessCount()
94
+ {
95
+ if (array_key_exists("successCount", $this->_propDict)) {
96
+ return $this->_propDict["successCount"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the successCount
104
+ * Number of succeeded Users
105
+ *
106
+ * @param int $val The successCount
107
+ *
108
+ * @return DeviceConfigurationUserOverview
109
+ */
110
+ public function setSuccessCount($val)
111
+ {
112
+ $this->_propDict["successCount"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the errorCount
118
+ * Number of error Users
119
+ *
120
+ * @return int The errorCount
121
+ */
122
+ public function getErrorCount()
123
+ {
124
+ if (array_key_exists("errorCount", $this->_propDict)) {
125
+ return $this->_propDict["errorCount"];
126
+ } else {
127
+ return null;
128
+ }
129
+ }
130
+
131
+ /**
132
+ * Sets the errorCount
133
+ * Number of error Users
134
+ *
135
+ * @param int $val The errorCount
136
+ *
137
+ * @return DeviceConfigurationUserOverview
138
+ */
139
+ public function setErrorCount($val)
140
+ {
141
+ $this->_propDict["errorCount"] = intval($val);
142
+ return $this;
143
+ }
144
+
145
+ /**
146
+ * Gets the failedCount
147
+ * Number of failed Users
148
+ *
149
+ * @return int The failedCount
150
+ */
151
+ public function getFailedCount()
152
+ {
153
+ if (array_key_exists("failedCount", $this->_propDict)) {
154
+ return $this->_propDict["failedCount"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the failedCount
162
+ * Number of failed Users
163
+ *
164
+ * @param int $val The failedCount
165
+ *
166
+ * @return DeviceConfigurationUserOverview
167
+ */
168
+ public function setFailedCount($val)
169
+ {
170
+ $this->_propDict["failedCount"] = intval($val);
171
+ return $this;
172
+ }
173
+
174
+ /**
175
+ * Gets the lastUpdateDateTime
176
+ * Last update time
177
+ *
178
+ * @return \DateTime The lastUpdateDateTime
179
+ */
180
+ public function getLastUpdateDateTime()
181
+ {
182
+ if (array_key_exists("lastUpdateDateTime", $this->_propDict)) {
183
+ if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) {
184
+ return $this->_propDict["lastUpdateDateTime"];
185
+ } else {
186
+ $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]);
187
+ return $this->_propDict["lastUpdateDateTime"];
188
+ }
189
+ }
190
+ return null;
191
+ }
192
+
193
+ /**
194
+ * Sets the lastUpdateDateTime
195
+ * Last update time
196
+ *
197
+ * @param \DateTime $val The lastUpdateDateTime
198
+ *
199
+ * @return DeviceConfigurationUserOverview
200
+ */
201
+ public function setLastUpdateDateTime($val)
202
+ {
203
+ $this->_propDict["lastUpdateDateTime"] = $val;
204
+ return $this;
205
+ }
206
+
207
+ /**
208
+ * Gets the configurationVersion
209
+ * Version of the policy for that overview
210
+ *
211
+ * @return int The configurationVersion
212
+ */
213
+ public function getConfigurationVersion()
214
+ {
215
+ if (array_key_exists("configurationVersion", $this->_propDict)) {
216
+ return $this->_propDict["configurationVersion"];
217
+ } else {
218
+ return null;
219
+ }
220
+ }
221
+
222
+ /**
223
+ * Sets the configurationVersion
224
+ * Version of the policy for that overview
225
+ *
226
+ * @param int $val The configurationVersion
227
+ *
228
+ * @return DeviceConfigurationUserOverview
229
+ */
230
+ public function setConfigurationVersion($val)
231
+ {
232
+ $this->_propDict["configurationVersion"] = intval($val);
233
+ return $this;
234
+ }
235
+
236
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserStatus.php ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceConfigurationUserStatus File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceConfigurationUserStatus class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceConfigurationUserStatus extends Entity
28
+ {
29
+ /**
30
+ * Gets the userDisplayName
31
+ * User name of the DevicePolicyStatus.
32
+ *
33
+ * @return string The userDisplayName
34
+ */
35
+ public function getUserDisplayName()
36
+ {
37
+ if (array_key_exists("userDisplayName", $this->_propDict)) {
38
+ return $this->_propDict["userDisplayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the userDisplayName
46
+ * User name of the DevicePolicyStatus.
47
+ *
48
+ * @param string $val The userDisplayName
49
+ *
50
+ * @return DeviceConfigurationUserStatus
51
+ */
52
+ public function setUserDisplayName($val)
53
+ {
54
+ $this->_propDict["userDisplayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the devicesCount
60
+ * Devices count for that user.
61
+ *
62
+ * @return int The devicesCount
63
+ */
64
+ public function getDevicesCount()
65
+ {
66
+ if (array_key_exists("devicesCount", $this->_propDict)) {
67
+ return $this->_propDict["devicesCount"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the devicesCount
75
+ * Devices count for that user.
76
+ *
77
+ * @param int $val The devicesCount
78
+ *
79
+ * @return DeviceConfigurationUserStatus
80
+ */
81
+ public function setDevicesCount($val)
82
+ {
83
+ $this->_propDict["devicesCount"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the status
89
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
90
+ *
91
+ * @return ComplianceStatus The status
92
+ */
93
+ public function getStatus()
94
+ {
95
+ if (array_key_exists("status", $this->_propDict)) {
96
+ if (is_a($this->_propDict["status"], "Microsoft\Graph\Model\ComplianceStatus")) {
97
+ return $this->_propDict["status"];
98
+ } else {
99
+ $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]);
100
+ return $this->_propDict["status"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the status
108
+ * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
109
+ *
110
+ * @param ComplianceStatus $val The status
111
+ *
112
+ * @return DeviceConfigurationUserStatus
113
+ */
114
+ public function setStatus($val)
115
+ {
116
+ $this->_propDict["status"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the lastReportedDateTime
122
+ * Last modified date time of the policy report.
123
+ *
124
+ * @return \DateTime The lastReportedDateTime
125
+ */
126
+ public function getLastReportedDateTime()
127
+ {
128
+ if (array_key_exists("lastReportedDateTime", $this->_propDict)) {
129
+ if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) {
130
+ return $this->_propDict["lastReportedDateTime"];
131
+ } else {
132
+ $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]);
133
+ return $this->_propDict["lastReportedDateTime"];
134
+ }
135
+ }
136
+ return null;
137
+ }
138
+
139
+ /**
140
+ * Sets the lastReportedDateTime
141
+ * Last modified date time of the policy report.
142
+ *
143
+ * @param \DateTime $val The lastReportedDateTime
144
+ *
145
+ * @return DeviceConfigurationUserStatus
146
+ */
147
+ public function setLastReportedDateTime($val)
148
+ {
149
+ $this->_propDict["lastReportedDateTime"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the userPrincipalName
155
+ * UserPrincipalName.
156
+ *
157
+ * @return string The userPrincipalName
158
+ */
159
+ public function getUserPrincipalName()
160
+ {
161
+ if (array_key_exists("userPrincipalName", $this->_propDict)) {
162
+ return $this->_propDict["userPrincipalName"];
163
+ } else {
164
+ return null;
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Sets the userPrincipalName
170
+ * UserPrincipalName.
171
+ *
172
+ * @param string $val The userPrincipalName
173
+ *
174
+ * @return DeviceConfigurationUserStatus
175
+ */
176
+ public function setUserPrincipalName($val)
177
+ {
178
+ $this->_propDict["userPrincipalName"] = $val;
179
+ return $this;
180
+ }
181
+
182
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceDetail.php ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceDetail File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceDetail class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceDetail extends Entity
27
+ {
28
+ /**
29
+ * Gets the deviceId
30
+ * Refers to the UniqueID of the device used for signing in.
31
+ *
32
+ * @return string The deviceId
33
+ */
34
+ public function getDeviceId()
35
+ {
36
+ if (array_key_exists("deviceId", $this->_propDict)) {
37
+ return $this->_propDict["deviceId"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the deviceId
45
+ * Refers to the UniqueID of the device used for signing in.
46
+ *
47
+ * @param string $val The value of the deviceId
48
+ *
49
+ * @return DeviceDetail
50
+ */
51
+ public function setDeviceId($val)
52
+ {
53
+ $this->_propDict["deviceId"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the displayName
58
+ * Refers to the name of the device used for signing in.
59
+ *
60
+ * @return string The displayName
61
+ */
62
+ public function getDisplayName()
63
+ {
64
+ if (array_key_exists("displayName", $this->_propDict)) {
65
+ return $this->_propDict["displayName"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the displayName
73
+ * Refers to the name of the device used for signing in.
74
+ *
75
+ * @param string $val The value of the displayName
76
+ *
77
+ * @return DeviceDetail
78
+ */
79
+ public function setDisplayName($val)
80
+ {
81
+ $this->_propDict["displayName"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the operatingSystem
86
+ * Indicates the operating system name and version used for signing in.
87
+ *
88
+ * @return string The operatingSystem
89
+ */
90
+ public function getOperatingSystem()
91
+ {
92
+ if (array_key_exists("operatingSystem", $this->_propDict)) {
93
+ return $this->_propDict["operatingSystem"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the operatingSystem
101
+ * Indicates the operating system name and version used for signing in.
102
+ *
103
+ * @param string $val The value of the operatingSystem
104
+ *
105
+ * @return DeviceDetail
106
+ */
107
+ public function setOperatingSystem($val)
108
+ {
109
+ $this->_propDict["operatingSystem"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the browser
114
+ * Indicates the browser information of the used for signing in.
115
+ *
116
+ * @return string The browser
117
+ */
118
+ public function getBrowser()
119
+ {
120
+ if (array_key_exists("browser", $this->_propDict)) {
121
+ return $this->_propDict["browser"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the browser
129
+ * Indicates the browser information of the used for signing in.
130
+ *
131
+ * @param string $val The value of the browser
132
+ *
133
+ * @return DeviceDetail
134
+ */
135
+ public function setBrowser($val)
136
+ {
137
+ $this->_propDict["browser"] = $val;
138
+ return $this;
139
+ }
140
+ /**
141
+ * Gets the isCompliant
142
+ * Indicates whether the device is compliant.
143
+ *
144
+ * @return bool The isCompliant
145
+ */
146
+ public function getIsCompliant()
147
+ {
148
+ if (array_key_exists("isCompliant", $this->_propDict)) {
149
+ return $this->_propDict["isCompliant"];
150
+ } else {
151
+ return null;
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Sets the isCompliant
157
+ * Indicates whether the device is compliant.
158
+ *
159
+ * @param bool $val The value of the isCompliant
160
+ *
161
+ * @return DeviceDetail
162
+ */
163
+ public function setIsCompliant($val)
164
+ {
165
+ $this->_propDict["isCompliant"] = $val;
166
+ return $this;
167
+ }
168
+ /**
169
+ * Gets the isManaged
170
+ * Indicates whether the device is managed.
171
+ *
172
+ * @return bool The isManaged
173
+ */
174
+ public function getIsManaged()
175
+ {
176
+ if (array_key_exists("isManaged", $this->_propDict)) {
177
+ return $this->_propDict["isManaged"];
178
+ } else {
179
+ return null;
180
+ }
181
+ }
182
+
183
+ /**
184
+ * Sets the isManaged
185
+ * Indicates whether the device is managed.
186
+ *
187
+ * @param bool $val The value of the isManaged
188
+ *
189
+ * @return DeviceDetail
190
+ */
191
+ public function setIsManaged($val)
192
+ {
193
+ $this->_propDict["isManaged"] = $val;
194
+ return $this;
195
+ }
196
+ /**
197
+ * Gets the trustType
198
+ * Provides information about whether the signed-in device is Workplace Joined, AzureAD Joined, Domain Joined.
199
+ *
200
+ * @return string The trustType
201
+ */
202
+ public function getTrustType()
203
+ {
204
+ if (array_key_exists("trustType", $this->_propDict)) {
205
+ return $this->_propDict["trustType"];
206
+ } else {
207
+ return null;
208
+ }
209
+ }
210
+
211
+ /**
212
+ * Sets the trustType
213
+ * Provides information about whether the signed-in device is Workplace Joined, AzureAD Joined, Domain Joined.
214
+ *
215
+ * @param string $val The value of the trustType
216
+ *
217
+ * @return DeviceDetail
218
+ */
219
+ public function setTrustType($val)
220
+ {
221
+ $this->_propDict["trustType"] = $val;
222
+ return $this;
223
+ }
224
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentConfiguration.php ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceEnrollmentConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceEnrollmentConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceEnrollmentConfiguration extends Entity
28
+ {
29
+ /**
30
+ * Gets the displayName
31
+ * Not yet documented
32
+ *
33
+ * @return string The displayName
34
+ */
35
+ public function getDisplayName()
36
+ {
37
+ if (array_key_exists("displayName", $this->_propDict)) {
38
+ return $this->_propDict["displayName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the displayName
46
+ * Not yet documented
47
+ *
48
+ * @param string $val The displayName
49
+ *
50
+ * @return DeviceEnrollmentConfiguration
51
+ */
52
+ public function setDisplayName($val)
53
+ {
54
+ $this->_propDict["displayName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the description
60
+ * Not yet documented
61
+ *
62
+ * @return string The description
63
+ */
64
+ public function getDescription()
65
+ {
66
+ if (array_key_exists("description", $this->_propDict)) {
67
+ return $this->_propDict["description"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the description
75
+ * Not yet documented
76
+ *
77
+ * @param string $val The description
78
+ *
79
+ * @return DeviceEnrollmentConfiguration
80
+ */
81
+ public function setDescription($val)
82
+ {
83
+ $this->_propDict["description"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the priority
89
+ * Not yet documented
90
+ *
91
+ * @return int The priority
92
+ */
93
+ public function getPriority()
94
+ {
95
+ if (array_key_exists("priority", $this->_propDict)) {
96
+ return $this->_propDict["priority"];
97
+ } else {
98
+ return null;
99
+ }
100
+ }
101
+
102
+ /**
103
+ * Sets the priority
104
+ * Not yet documented
105
+ *
106
+ * @param int $val The priority
107
+ *
108
+ * @return DeviceEnrollmentConfiguration
109
+ */
110
+ public function setPriority($val)
111
+ {
112
+ $this->_propDict["priority"] = intval($val);
113
+ return $this;
114
+ }
115
+
116
+ /**
117
+ * Gets the createdDateTime
118
+ * Not yet documented
119
+ *
120
+ * @return \DateTime The createdDateTime
121
+ */
122
+ public function getCreatedDateTime()
123
+ {
124
+ if (array_key_exists("createdDateTime", $this->_propDict)) {
125
+ if (is_a($this->_propDict["createdDateTime"], "\DateTime")) {
126
+ return $this->_propDict["createdDateTime"];
127
+ } else {
128
+ $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
129
+ return $this->_propDict["createdDateTime"];
130
+ }
131
+ }
132
+ return null;
133
+ }
134
+
135
+ /**
136
+ * Sets the createdDateTime
137
+ * Not yet documented
138
+ *
139
+ * @param \DateTime $val The createdDateTime
140
+ *
141
+ * @return DeviceEnrollmentConfiguration
142
+ */
143
+ public function setCreatedDateTime($val)
144
+ {
145
+ $this->_propDict["createdDateTime"] = $val;
146
+ return $this;
147
+ }
148
+
149
+ /**
150
+ * Gets the lastModifiedDateTime
151
+ * Not yet documented
152
+ *
153
+ * @return \DateTime The lastModifiedDateTime
154
+ */
155
+ public function getLastModifiedDateTime()
156
+ {
157
+ if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
158
+ if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) {
159
+ return $this->_propDict["lastModifiedDateTime"];
160
+ } else {
161
+ $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
162
+ return $this->_propDict["lastModifiedDateTime"];
163
+ }
164
+ }
165
+ return null;
166
+ }
167
+
168
+ /**
169
+ * Sets the lastModifiedDateTime
170
+ * Not yet documented
171
+ *
172
+ * @param \DateTime $val The lastModifiedDateTime
173
+ *
174
+ * @return DeviceEnrollmentConfiguration
175
+ */
176
+ public function setLastModifiedDateTime($val)
177
+ {
178
+ $this->_propDict["lastModifiedDateTime"] = $val;
179
+ return $this;
180
+ }
181
+
182
+ /**
183
+ * Gets the version
184
+ * Not yet documented
185
+ *
186
+ * @return int The version
187
+ */
188
+ public function getVersion()
189
+ {
190
+ if (array_key_exists("version", $this->_propDict)) {
191
+ return $this->_propDict["version"];
192
+ } else {
193
+ return null;
194
+ }
195
+ }
196
+
197
+ /**
198
+ * Sets the version
199
+ * Not yet documented
200
+ *
201
+ * @param int $val The version
202
+ *
203
+ * @return DeviceEnrollmentConfiguration
204
+ */
205
+ public function setVersion($val)
206
+ {
207
+ $this->_propDict["version"] = intval($val);
208
+ return $this;
209
+ }
210
+
211
+
212
+ /**
213
+ * Gets the assignments
214
+ * The list of group assignments for the device configuration profile.
215
+ *
216
+ * @return array The assignments
217
+ */
218
+ public function getAssignments()
219
+ {
220
+ if (array_key_exists("assignments", $this->_propDict)) {
221
+ return $this->_propDict["assignments"];
222
+ } else {
223
+ return null;
224
+ }
225
+ }
226
+
227
+ /**
228
+ * Sets the assignments
229
+ * The list of group assignments for the device configuration profile.
230
+ *
231
+ * @param EnrollmentConfigurationAssignment $val The assignments
232
+ *
233
+ * @return DeviceEnrollmentConfiguration
234
+ */
235
+ public function setAssignments($val)
236
+ {
237
+ $this->_propDict["assignments"] = $val;
238
+ return $this;
239
+ }
240
+
241
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentFailureReason.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceEnrollmentFailureReason File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DeviceEnrollmentFailureReason class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DeviceEnrollmentFailureReason extends Enum
30
+ {
31
+ /**
32
+ * The Enum DeviceEnrollmentFailureReason
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const AUTHENTICATION = "authentication";
36
+ const AUTHORIZATION = "authorization";
37
+ const ACCOUNT_VALIDATION = "accountValidation";
38
+ const USER_VALIDATION = "userValidation";
39
+ const DEVICE_NOT_SUPPORTED = "deviceNotSupported";
40
+ const IN_MAINTENANCE = "inMaintenance";
41
+ const BAD_REQUEST = "badRequest";
42
+ const FEATURE_NOT_SUPPORTED = "featureNotSupported";
43
+ const ENROLLMENT_RESTRICTIONS_ENFORCED = "enrollmentRestrictionsEnforced";
44
+ const CLIENT_DISCONNECTED = "clientDisconnected";
45
+ const USER_ABANDONMENT = "userAbandonment";
46
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentLimitConfiguration.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceEnrollmentLimitConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceEnrollmentLimitConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceEnrollmentLimitConfiguration extends DeviceEnrollmentConfiguration
28
+ {
29
+ /**
30
+ * Gets the limit
31
+ * Not yet documented
32
+ *
33
+ * @return int The limit
34
+ */
35
+ public function getLimit()
36
+ {
37
+ if (array_key_exists("limit", $this->_propDict)) {
38
+ return $this->_propDict["limit"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the limit
46
+ * Not yet documented
47
+ *
48
+ * @param int $val The limit
49
+ *
50
+ * @return DeviceEnrollmentLimitConfiguration
51
+ */
52
+ public function setLimit($val)
53
+ {
54
+ $this->_propDict["limit"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestriction.php ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceEnrollmentPlatformRestriction File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceEnrollmentPlatformRestriction class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceEnrollmentPlatformRestriction extends Entity
27
+ {
28
+ /**
29
+ * Gets the platformBlocked
30
+ * Block the platform from enrolling
31
+ *
32
+ * @return bool The platformBlocked
33
+ */
34
+ public function getPlatformBlocked()
35
+ {
36
+ if (array_key_exists("platformBlocked", $this->_propDict)) {
37
+ return $this->_propDict["platformBlocked"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the platformBlocked
45
+ * Block the platform from enrolling
46
+ *
47
+ * @param bool $val The value of the platformBlocked
48
+ *
49
+ * @return DeviceEnrollmentPlatformRestriction
50
+ */
51
+ public function setPlatformBlocked($val)
52
+ {
53
+ $this->_propDict["platformBlocked"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the personalDeviceEnrollmentBlocked
58
+ * Block personally owned devices from enrolling
59
+ *
60
+ * @return bool The personalDeviceEnrollmentBlocked
61
+ */
62
+ public function getPersonalDeviceEnrollmentBlocked()
63
+ {
64
+ if (array_key_exists("personalDeviceEnrollmentBlocked", $this->_propDict)) {
65
+ return $this->_propDict["personalDeviceEnrollmentBlocked"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the personalDeviceEnrollmentBlocked
73
+ * Block personally owned devices from enrolling
74
+ *
75
+ * @param bool $val The value of the personalDeviceEnrollmentBlocked
76
+ *
77
+ * @return DeviceEnrollmentPlatformRestriction
78
+ */
79
+ public function setPersonalDeviceEnrollmentBlocked($val)
80
+ {
81
+ $this->_propDict["personalDeviceEnrollmentBlocked"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the osMinimumVersion
86
+ * Min OS version supported
87
+ *
88
+ * @return string The osMinimumVersion
89
+ */
90
+ public function getOsMinimumVersion()
91
+ {
92
+ if (array_key_exists("osMinimumVersion", $this->_propDict)) {
93
+ return $this->_propDict["osMinimumVersion"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the osMinimumVersion
101
+ * Min OS version supported
102
+ *
103
+ * @param string $val The value of the osMinimumVersion
104
+ *
105
+ * @return DeviceEnrollmentPlatformRestriction
106
+ */
107
+ public function setOsMinimumVersion($val)
108
+ {
109
+ $this->_propDict["osMinimumVersion"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the osMaximumVersion
114
+ * Max OS version supported
115
+ *
116
+ * @return string The osMaximumVersion
117
+ */
118
+ public function getOsMaximumVersion()
119
+ {
120
+ if (array_key_exists("osMaximumVersion", $this->_propDict)) {
121
+ return $this->_propDict["osMaximumVersion"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the osMaximumVersion
129
+ * Max OS version supported
130
+ *
131
+ * @param string $val The value of the osMaximumVersion
132
+ *
133
+ * @return DeviceEnrollmentPlatformRestriction
134
+ */
135
+ public function setOsMaximumVersion($val)
136
+ {
137
+ $this->_propDict["osMaximumVersion"] = $val;
138
+ return $this;
139
+ }
140
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceEnrollmentPlatformRestrictionsConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceEnrollmentPlatformRestrictionsConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceEnrollmentPlatformRestrictionsConfiguration extends DeviceEnrollmentConfiguration
28
+ {
29
+ /**
30
+ * Gets the iosRestriction
31
+ * Not yet documented
32
+ *
33
+ * @return DeviceEnrollmentPlatformRestriction The iosRestriction
34
+ */
35
+ public function getIosRestriction()
36
+ {
37
+ if (array_key_exists("iosRestriction", $this->_propDict)) {
38
+ if (is_a($this->_propDict["iosRestriction"], "Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) {
39
+ return $this->_propDict["iosRestriction"];
40
+ } else {
41
+ $this->_propDict["iosRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["iosRestriction"]);
42
+ return $this->_propDict["iosRestriction"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the iosRestriction
50
+ * Not yet documented
51
+ *
52
+ * @param DeviceEnrollmentPlatformRestriction $val The iosRestriction
53
+ *
54
+ * @return DeviceEnrollmentPlatformRestrictionsConfiguration
55
+ */
56
+ public function setIosRestriction($val)
57
+ {
58
+ $this->_propDict["iosRestriction"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the windowsRestriction
64
+ * Not yet documented
65
+ *
66
+ * @return DeviceEnrollmentPlatformRestriction The windowsRestriction
67
+ */
68
+ public function getWindowsRestriction()
69
+ {
70
+ if (array_key_exists("windowsRestriction", $this->_propDict)) {
71
+ if (is_a($this->_propDict["windowsRestriction"], "Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) {
72
+ return $this->_propDict["windowsRestriction"];
73
+ } else {
74
+ $this->_propDict["windowsRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["windowsRestriction"]);
75
+ return $this->_propDict["windowsRestriction"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the windowsRestriction
83
+ * Not yet documented
84
+ *
85
+ * @param DeviceEnrollmentPlatformRestriction $val The windowsRestriction
86
+ *
87
+ * @return DeviceEnrollmentPlatformRestrictionsConfiguration
88
+ */
89
+ public function setWindowsRestriction($val)
90
+ {
91
+ $this->_propDict["windowsRestriction"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the windowsMobileRestriction
97
+ * Not yet documented
98
+ *
99
+ * @return DeviceEnrollmentPlatformRestriction The windowsMobileRestriction
100
+ */
101
+ public function getWindowsMobileRestriction()
102
+ {
103
+ if (array_key_exists("windowsMobileRestriction", $this->_propDict)) {
104
+ if (is_a($this->_propDict["windowsMobileRestriction"], "Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) {
105
+ return $this->_propDict["windowsMobileRestriction"];
106
+ } else {
107
+ $this->_propDict["windowsMobileRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["windowsMobileRestriction"]);
108
+ return $this->_propDict["windowsMobileRestriction"];
109
+ }
110
+ }
111
+ return null;
112
+ }
113
+
114
+ /**
115
+ * Sets the windowsMobileRestriction
116
+ * Not yet documented
117
+ *
118
+ * @param DeviceEnrollmentPlatformRestriction $val The windowsMobileRestriction
119
+ *
120
+ * @return DeviceEnrollmentPlatformRestrictionsConfiguration
121
+ */
122
+ public function setWindowsMobileRestriction($val)
123
+ {
124
+ $this->_propDict["windowsMobileRestriction"] = $val;
125
+ return $this;
126
+ }
127
+
128
+ /**
129
+ * Gets the androidRestriction
130
+ * Not yet documented
131
+ *
132
+ * @return DeviceEnrollmentPlatformRestriction The androidRestriction
133
+ */
134
+ public function getAndroidRestriction()
135
+ {
136
+ if (array_key_exists("androidRestriction", $this->_propDict)) {
137
+ if (is_a($this->_propDict["androidRestriction"], "Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) {
138
+ return $this->_propDict["androidRestriction"];
139
+ } else {
140
+ $this->_propDict["androidRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["androidRestriction"]);
141
+ return $this->_propDict["androidRestriction"];
142
+ }
143
+ }
144
+ return null;
145
+ }
146
+
147
+ /**
148
+ * Sets the androidRestriction
149
+ * Not yet documented
150
+ *
151
+ * @param DeviceEnrollmentPlatformRestriction $val The androidRestriction
152
+ *
153
+ * @return DeviceEnrollmentPlatformRestrictionsConfiguration
154
+ */
155
+ public function setAndroidRestriction($val)
156
+ {
157
+ $this->_propDict["androidRestriction"] = $val;
158
+ return $this;
159
+ }
160
+
161
+ /**
162
+ * Gets the macOSRestriction
163
+ * Not yet documented
164
+ *
165
+ * @return DeviceEnrollmentPlatformRestriction The macOSRestriction
166
+ */
167
+ public function getMacOSRestriction()
168
+ {
169
+ if (array_key_exists("macOSRestriction", $this->_propDict)) {
170
+ if (is_a($this->_propDict["macOSRestriction"], "Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) {
171
+ return $this->_propDict["macOSRestriction"];
172
+ } else {
173
+ $this->_propDict["macOSRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["macOSRestriction"]);
174
+ return $this->_propDict["macOSRestriction"];
175
+ }
176
+ }
177
+ return null;
178
+ }
179
+
180
+ /**
181
+ * Sets the macOSRestriction
182
+ * Not yet documented
183
+ *
184
+ * @param DeviceEnrollmentPlatformRestriction $val The macOSRestriction
185
+ *
186
+ * @return DeviceEnrollmentPlatformRestrictionsConfiguration
187
+ */
188
+ public function setMacOSRestriction($val)
189
+ {
190
+ $this->_propDict["macOSRestriction"] = $val;
191
+ return $this;
192
+ }
193
+
194
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentType.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceEnrollmentType File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ use Microsoft\Graph\Core\Enum;
18
+
19
+ /**
20
+ * DeviceEnrollmentType class
21
+ *
22
+ * @category Model
23
+ * @package Microsoft.Graph
24
+ * @copyright © Microsoft Corporation. All rights reserved.
25
+ * @license https://opensource.org/licenses/MIT MIT License
26
+ * @version Release: 1.4.0
27
+ * @link https://graph.microsoft.io/
28
+ */
29
+ class DeviceEnrollmentType extends Enum
30
+ {
31
+ /**
32
+ * The Enum DeviceEnrollmentType
33
+ */
34
+ const UNKNOWN = "unknown";
35
+ const USER_ENROLLMENT = "userEnrollment";
36
+ const DEVICE_ENROLLMENT_MANAGER = "deviceEnrollmentManager";
37
+ const APPLE_BULK_WITH_USER = "appleBulkWithUser";
38
+ const APPLE_BULK_WITHOUT_USER = "appleBulkWithoutUser";
39
+ const WINDOWS_AZURE_AD_JOIN = "windowsAzureADJoin";
40
+ const WINDOWS_BULK_USERLESS = "windowsBulkUserless";
41
+ const WINDOWS_AUTO_ENROLLMENT = "windowsAutoEnrollment";
42
+ const WINDOWS_BULK_AZURE_DOMAIN_JOIN = "windowsBulkAzureDomainJoin";
43
+ const WINDOWS_CO_MANAGEMENT = "windowsCoManagement";
44
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentWindowsHelloForBusinessConfiguration.php ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceEnrollmentWindowsHelloForBusinessConfiguration File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceEnrollmentWindowsHelloForBusinessConfiguration class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceEnrollmentWindowsHelloForBusinessConfiguration extends DeviceEnrollmentConfiguration
28
+ {
29
+ /**
30
+ * Gets the pinMinimumLength
31
+ * Not yet documented
32
+ *
33
+ * @return int The pinMinimumLength
34
+ */
35
+ public function getPinMinimumLength()
36
+ {
37
+ if (array_key_exists("pinMinimumLength", $this->_propDict)) {
38
+ return $this->_propDict["pinMinimumLength"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the pinMinimumLength
46
+ * Not yet documented
47
+ *
48
+ * @param int $val The pinMinimumLength
49
+ *
50
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
51
+ */
52
+ public function setPinMinimumLength($val)
53
+ {
54
+ $this->_propDict["pinMinimumLength"] = intval($val);
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the pinMaximumLength
60
+ * Not yet documented
61
+ *
62
+ * @return int The pinMaximumLength
63
+ */
64
+ public function getPinMaximumLength()
65
+ {
66
+ if (array_key_exists("pinMaximumLength", $this->_propDict)) {
67
+ return $this->_propDict["pinMaximumLength"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the pinMaximumLength
75
+ * Not yet documented
76
+ *
77
+ * @param int $val The pinMaximumLength
78
+ *
79
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
80
+ */
81
+ public function setPinMaximumLength($val)
82
+ {
83
+ $this->_propDict["pinMaximumLength"] = intval($val);
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the pinUppercaseCharactersUsage
89
+ * Not yet documented. Possible values are: allowed, required, disallowed.
90
+ *
91
+ * @return WindowsHelloForBusinessPinUsage The pinUppercaseCharactersUsage
92
+ */
93
+ public function getPinUppercaseCharactersUsage()
94
+ {
95
+ if (array_key_exists("pinUppercaseCharactersUsage", $this->_propDict)) {
96
+ if (is_a($this->_propDict["pinUppercaseCharactersUsage"], "Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) {
97
+ return $this->_propDict["pinUppercaseCharactersUsage"];
98
+ } else {
99
+ $this->_propDict["pinUppercaseCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinUppercaseCharactersUsage"]);
100
+ return $this->_propDict["pinUppercaseCharactersUsage"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the pinUppercaseCharactersUsage
108
+ * Not yet documented. Possible values are: allowed, required, disallowed.
109
+ *
110
+ * @param WindowsHelloForBusinessPinUsage $val The pinUppercaseCharactersUsage
111
+ *
112
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
113
+ */
114
+ public function setPinUppercaseCharactersUsage($val)
115
+ {
116
+ $this->_propDict["pinUppercaseCharactersUsage"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the pinLowercaseCharactersUsage
122
+ * Not yet documented. Possible values are: allowed, required, disallowed.
123
+ *
124
+ * @return WindowsHelloForBusinessPinUsage The pinLowercaseCharactersUsage
125
+ */
126
+ public function getPinLowercaseCharactersUsage()
127
+ {
128
+ if (array_key_exists("pinLowercaseCharactersUsage", $this->_propDict)) {
129
+ if (is_a($this->_propDict["pinLowercaseCharactersUsage"], "Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) {
130
+ return $this->_propDict["pinLowercaseCharactersUsage"];
131
+ } else {
132
+ $this->_propDict["pinLowercaseCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinLowercaseCharactersUsage"]);
133
+ return $this->_propDict["pinLowercaseCharactersUsage"];
134
+ }
135
+ }
136
+ return null;
137
+ }
138
+
139
+ /**
140
+ * Sets the pinLowercaseCharactersUsage
141
+ * Not yet documented. Possible values are: allowed, required, disallowed.
142
+ *
143
+ * @param WindowsHelloForBusinessPinUsage $val The pinLowercaseCharactersUsage
144
+ *
145
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
146
+ */
147
+ public function setPinLowercaseCharactersUsage($val)
148
+ {
149
+ $this->_propDict["pinLowercaseCharactersUsage"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the pinSpecialCharactersUsage
155
+ * Not yet documented. Possible values are: allowed, required, disallowed.
156
+ *
157
+ * @return WindowsHelloForBusinessPinUsage The pinSpecialCharactersUsage
158
+ */
159
+ public function getPinSpecialCharactersUsage()
160
+ {
161
+ if (array_key_exists("pinSpecialCharactersUsage", $this->_propDict)) {
162
+ if (is_a($this->_propDict["pinSpecialCharactersUsage"], "Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) {
163
+ return $this->_propDict["pinSpecialCharactersUsage"];
164
+ } else {
165
+ $this->_propDict["pinSpecialCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinSpecialCharactersUsage"]);
166
+ return $this->_propDict["pinSpecialCharactersUsage"];
167
+ }
168
+ }
169
+ return null;
170
+ }
171
+
172
+ /**
173
+ * Sets the pinSpecialCharactersUsage
174
+ * Not yet documented. Possible values are: allowed, required, disallowed.
175
+ *
176
+ * @param WindowsHelloForBusinessPinUsage $val The pinSpecialCharactersUsage
177
+ *
178
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
179
+ */
180
+ public function setPinSpecialCharactersUsage($val)
181
+ {
182
+ $this->_propDict["pinSpecialCharactersUsage"] = $val;
183
+ return $this;
184
+ }
185
+
186
+ /**
187
+ * Gets the state
188
+ * Not yet documented. Possible values are: notConfigured, enabled, disabled.
189
+ *
190
+ * @return Enablement The state
191
+ */
192
+ public function getState()
193
+ {
194
+ if (array_key_exists("state", $this->_propDict)) {
195
+ if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\Enablement")) {
196
+ return $this->_propDict["state"];
197
+ } else {
198
+ $this->_propDict["state"] = new Enablement($this->_propDict["state"]);
199
+ return $this->_propDict["state"];
200
+ }
201
+ }
202
+ return null;
203
+ }
204
+
205
+ /**
206
+ * Sets the state
207
+ * Not yet documented. Possible values are: notConfigured, enabled, disabled.
208
+ *
209
+ * @param Enablement $val The state
210
+ *
211
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
212
+ */
213
+ public function setState($val)
214
+ {
215
+ $this->_propDict["state"] = $val;
216
+ return $this;
217
+ }
218
+
219
+ /**
220
+ * Gets the securityDeviceRequired
221
+ * Not yet documented
222
+ *
223
+ * @return bool The securityDeviceRequired
224
+ */
225
+ public function getSecurityDeviceRequired()
226
+ {
227
+ if (array_key_exists("securityDeviceRequired", $this->_propDict)) {
228
+ return $this->_propDict["securityDeviceRequired"];
229
+ } else {
230
+ return null;
231
+ }
232
+ }
233
+
234
+ /**
235
+ * Sets the securityDeviceRequired
236
+ * Not yet documented
237
+ *
238
+ * @param bool $val The securityDeviceRequired
239
+ *
240
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
241
+ */
242
+ public function setSecurityDeviceRequired($val)
243
+ {
244
+ $this->_propDict["securityDeviceRequired"] = boolval($val);
245
+ return $this;
246
+ }
247
+
248
+ /**
249
+ * Gets the unlockWithBiometricsEnabled
250
+ * Not yet documented
251
+ *
252
+ * @return bool The unlockWithBiometricsEnabled
253
+ */
254
+ public function getUnlockWithBiometricsEnabled()
255
+ {
256
+ if (array_key_exists("unlockWithBiometricsEnabled", $this->_propDict)) {
257
+ return $this->_propDict["unlockWithBiometricsEnabled"];
258
+ } else {
259
+ return null;
260
+ }
261
+ }
262
+
263
+ /**
264
+ * Sets the unlockWithBiometricsEnabled
265
+ * Not yet documented
266
+ *
267
+ * @param bool $val The unlockWithBiometricsEnabled
268
+ *
269
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
270
+ */
271
+ public function setUnlockWithBiometricsEnabled($val)
272
+ {
273
+ $this->_propDict["unlockWithBiometricsEnabled"] = boolval($val);
274
+ return $this;
275
+ }
276
+
277
+ /**
278
+ * Gets the remotePassportEnabled
279
+ * Not yet documented
280
+ *
281
+ * @return bool The remotePassportEnabled
282
+ */
283
+ public function getRemotePassportEnabled()
284
+ {
285
+ if (array_key_exists("remotePassportEnabled", $this->_propDict)) {
286
+ return $this->_propDict["remotePassportEnabled"];
287
+ } else {
288
+ return null;
289
+ }
290
+ }
291
+
292
+ /**
293
+ * Sets the remotePassportEnabled
294
+ * Not yet documented
295
+ *
296
+ * @param bool $val The remotePassportEnabled
297
+ *
298
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
299
+ */
300
+ public function setRemotePassportEnabled($val)
301
+ {
302
+ $this->_propDict["remotePassportEnabled"] = boolval($val);
303
+ return $this;
304
+ }
305
+
306
+ /**
307
+ * Gets the pinPreviousBlockCount
308
+ * Not yet documented
309
+ *
310
+ * @return int The pinPreviousBlockCount
311
+ */
312
+ public function getPinPreviousBlockCount()
313
+ {
314
+ if (array_key_exists("pinPreviousBlockCount", $this->_propDict)) {
315
+ return $this->_propDict["pinPreviousBlockCount"];
316
+ } else {
317
+ return null;
318
+ }
319
+ }
320
+
321
+ /**
322
+ * Sets the pinPreviousBlockCount
323
+ * Not yet documented
324
+ *
325
+ * @param int $val The pinPreviousBlockCount
326
+ *
327
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
328
+ */
329
+ public function setPinPreviousBlockCount($val)
330
+ {
331
+ $this->_propDict["pinPreviousBlockCount"] = intval($val);
332
+ return $this;
333
+ }
334
+
335
+ /**
336
+ * Gets the pinExpirationInDays
337
+ * Not yet documented
338
+ *
339
+ * @return int The pinExpirationInDays
340
+ */
341
+ public function getPinExpirationInDays()
342
+ {
343
+ if (array_key_exists("pinExpirationInDays", $this->_propDict)) {
344
+ return $this->_propDict["pinExpirationInDays"];
345
+ } else {
346
+ return null;
347
+ }
348
+ }
349
+
350
+ /**
351
+ * Sets the pinExpirationInDays
352
+ * Not yet documented
353
+ *
354
+ * @param int $val The pinExpirationInDays
355
+ *
356
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
357
+ */
358
+ public function setPinExpirationInDays($val)
359
+ {
360
+ $this->_propDict["pinExpirationInDays"] = intval($val);
361
+ return $this;
362
+ }
363
+
364
+ /**
365
+ * Gets the enhancedBiometricsState
366
+ * Not yet documented. Possible values are: notConfigured, enabled, disabled.
367
+ *
368
+ * @return Enablement The enhancedBiometricsState
369
+ */
370
+ public function getEnhancedBiometricsState()
371
+ {
372
+ if (array_key_exists("enhancedBiometricsState", $this->_propDict)) {
373
+ if (is_a($this->_propDict["enhancedBiometricsState"], "Microsoft\Graph\Model\Enablement")) {
374
+ return $this->_propDict["enhancedBiometricsState"];
375
+ } else {
376
+ $this->_propDict["enhancedBiometricsState"] = new Enablement($this->_propDict["enhancedBiometricsState"]);
377
+ return $this->_propDict["enhancedBiometricsState"];
378
+ }
379
+ }
380
+ return null;
381
+ }
382
+
383
+ /**
384
+ * Sets the enhancedBiometricsState
385
+ * Not yet documented. Possible values are: notConfigured, enabled, disabled.
386
+ *
387
+ * @param Enablement $val The enhancedBiometricsState
388
+ *
389
+ * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration
390
+ */
391
+ public function setEnhancedBiometricsState($val)
392
+ {
393
+ $this->_propDict["enhancedBiometricsState"] = $val;
394
+ return $this;
395
+ }
396
+
397
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceExchangeAccessStateSummary.php ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceExchangeAccessStateSummary File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceExchangeAccessStateSummary class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceExchangeAccessStateSummary extends Entity
27
+ {
28
+ /**
29
+ * Gets the allowedDeviceCount
30
+ * Total count of devices with Exchange Access State: Allowed.
31
+ *
32
+ * @return int The allowedDeviceCount
33
+ */
34
+ public function getAllowedDeviceCount()
35
+ {
36
+ if (array_key_exists("allowedDeviceCount", $this->_propDict)) {
37
+ return $this->_propDict["allowedDeviceCount"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the allowedDeviceCount
45
+ * Total count of devices with Exchange Access State: Allowed.
46
+ *
47
+ * @param int $val The value of the allowedDeviceCount
48
+ *
49
+ * @return DeviceExchangeAccessStateSummary
50
+ */
51
+ public function setAllowedDeviceCount($val)
52
+ {
53
+ $this->_propDict["allowedDeviceCount"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the blockedDeviceCount
58
+ * Total count of devices with Exchange Access State: Blocked.
59
+ *
60
+ * @return int The blockedDeviceCount
61
+ */
62
+ public function getBlockedDeviceCount()
63
+ {
64
+ if (array_key_exists("blockedDeviceCount", $this->_propDict)) {
65
+ return $this->_propDict["blockedDeviceCount"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the blockedDeviceCount
73
+ * Total count of devices with Exchange Access State: Blocked.
74
+ *
75
+ * @param int $val The value of the blockedDeviceCount
76
+ *
77
+ * @return DeviceExchangeAccessStateSummary
78
+ */
79
+ public function setBlockedDeviceCount($val)
80
+ {
81
+ $this->_propDict["blockedDeviceCount"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the quarantinedDeviceCount
86
+ * Total count of devices with Exchange Access State: Quarantined.
87
+ *
88
+ * @return int The quarantinedDeviceCount
89
+ */
90
+ public function getQuarantinedDeviceCount()
91
+ {
92
+ if (array_key_exists("quarantinedDeviceCount", $this->_propDict)) {
93
+ return $this->_propDict["quarantinedDeviceCount"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the quarantinedDeviceCount
101
+ * Total count of devices with Exchange Access State: Quarantined.
102
+ *
103
+ * @param int $val The value of the quarantinedDeviceCount
104
+ *
105
+ * @return DeviceExchangeAccessStateSummary
106
+ */
107
+ public function setQuarantinedDeviceCount($val)
108
+ {
109
+ $this->_propDict["quarantinedDeviceCount"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the unknownDeviceCount
114
+ * Total count of devices with Exchange Access State: Unknown.
115
+ *
116
+ * @return int The unknownDeviceCount
117
+ */
118
+ public function getUnknownDeviceCount()
119
+ {
120
+ if (array_key_exists("unknownDeviceCount", $this->_propDict)) {
121
+ return $this->_propDict["unknownDeviceCount"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the unknownDeviceCount
129
+ * Total count of devices with Exchange Access State: Unknown.
130
+ *
131
+ * @param int $val The value of the unknownDeviceCount
132
+ *
133
+ * @return DeviceExchangeAccessStateSummary
134
+ */
135
+ public function setUnknownDeviceCount($val)
136
+ {
137
+ $this->_propDict["unknownDeviceCount"] = $val;
138
+ return $this;
139
+ }
140
+ /**
141
+ * Gets the unavailableDeviceCount
142
+ * Total count of devices for which no Exchange Access State could be found.
143
+ *
144
+ * @return int The unavailableDeviceCount
145
+ */
146
+ public function getUnavailableDeviceCount()
147
+ {
148
+ if (array_key_exists("unavailableDeviceCount", $this->_propDict)) {
149
+ return $this->_propDict["unavailableDeviceCount"];
150
+ } else {
151
+ return null;
152
+ }
153
+ }
154
+
155
+ /**
156
+ * Sets the unavailableDeviceCount
157
+ * Total count of devices for which no Exchange Access State could be found.
158
+ *
159
+ * @param int $val The value of the unavailableDeviceCount
160
+ *
161
+ * @return DeviceExchangeAccessStateSummary
162
+ */
163
+ public function setUnavailableDeviceCount($val)
164
+ {
165
+ $this->_propDict["unavailableDeviceCount"] = $val;
166
+ return $this;
167
+ }
168
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceGeoLocation.php ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceGeoLocation File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceGeoLocation class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceGeoLocation extends Entity
27
+ {
28
+
29
+ /**
30
+ * Gets the lastCollectedDateTime
31
+ * Time at which location was recorded, relative to UTC
32
+ *
33
+ * @return \DateTime The lastCollectedDateTime
34
+ */
35
+ public function getLastCollectedDateTime()
36
+ {
37
+ if (array_key_exists("lastCollectedDateTime", $this->_propDict)) {
38
+ if (is_a($this->_propDict["lastCollectedDateTime"], "Microsoft\Graph\Model\\DateTime")) {
39
+ return $this->_propDict["lastCollectedDateTime"];
40
+ } else {
41
+ $this->_propDict["lastCollectedDateTime"] = new \DateTime($this->_propDict["lastCollectedDateTime"]);
42
+ return $this->_propDict["lastCollectedDateTime"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the lastCollectedDateTime
50
+ * Time at which location was recorded, relative to UTC
51
+ *
52
+ * @param \DateTime $val The value to assign to the lastCollectedDateTime
53
+ *
54
+ * @return DeviceGeoLocation The DeviceGeoLocation
55
+ */
56
+ public function setLastCollectedDateTime($val)
57
+ {
58
+ $this->_propDict["lastCollectedDateTime"] = $val;
59
+ return $this;
60
+ }
61
+ /**
62
+ * Gets the longitude
63
+ * Longitude coordinate of the device's location
64
+ *
65
+ * @return float The longitude
66
+ */
67
+ public function getLongitude()
68
+ {
69
+ if (array_key_exists("longitude", $this->_propDict)) {
70
+ return $this->_propDict["longitude"];
71
+ } else {
72
+ return null;
73
+ }
74
+ }
75
+
76
+ /**
77
+ * Sets the longitude
78
+ * Longitude coordinate of the device's location
79
+ *
80
+ * @param float $val The value of the longitude
81
+ *
82
+ * @return DeviceGeoLocation
83
+ */
84
+ public function setLongitude($val)
85
+ {
86
+ $this->_propDict["longitude"] = $val;
87
+ return $this;
88
+ }
89
+ /**
90
+ * Gets the latitude
91
+ * Latitude coordinate of the device's location
92
+ *
93
+ * @return float The latitude
94
+ */
95
+ public function getLatitude()
96
+ {
97
+ if (array_key_exists("latitude", $this->_propDict)) {
98
+ return $this->_propDict["latitude"];
99
+ } else {
100
+ return null;
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Sets the latitude
106
+ * Latitude coordinate of the device's location
107
+ *
108
+ * @param float $val The value of the latitude
109
+ *
110
+ * @return DeviceGeoLocation
111
+ */
112
+ public function setLatitude($val)
113
+ {
114
+ $this->_propDict["latitude"] = $val;
115
+ return $this;
116
+ }
117
+ /**
118
+ * Gets the altitude
119
+ * Altitude, given in meters above sea level
120
+ *
121
+ * @return float The altitude
122
+ */
123
+ public function getAltitude()
124
+ {
125
+ if (array_key_exists("altitude", $this->_propDict)) {
126
+ return $this->_propDict["altitude"];
127
+ } else {
128
+ return null;
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Sets the altitude
134
+ * Altitude, given in meters above sea level
135
+ *
136
+ * @param float $val The value of the altitude
137
+ *
138
+ * @return DeviceGeoLocation
139
+ */
140
+ public function setAltitude($val)
141
+ {
142
+ $this->_propDict["altitude"] = $val;
143
+ return $this;
144
+ }
145
+ /**
146
+ * Gets the horizontalAccuracy
147
+ * Accuracy of longitude and latitude in meters
148
+ *
149
+ * @return float The horizontalAccuracy
150
+ */
151
+ public function getHorizontalAccuracy()
152
+ {
153
+ if (array_key_exists("horizontalAccuracy", $this->_propDict)) {
154
+ return $this->_propDict["horizontalAccuracy"];
155
+ } else {
156
+ return null;
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Sets the horizontalAccuracy
162
+ * Accuracy of longitude and latitude in meters
163
+ *
164
+ * @param float $val The value of the horizontalAccuracy
165
+ *
166
+ * @return DeviceGeoLocation
167
+ */
168
+ public function setHorizontalAccuracy($val)
169
+ {
170
+ $this->_propDict["horizontalAccuracy"] = $val;
171
+ return $this;
172
+ }
173
+ /**
174
+ * Gets the verticalAccuracy
175
+ * Accuracy of altitude in meters
176
+ *
177
+ * @return float The verticalAccuracy
178
+ */
179
+ public function getVerticalAccuracy()
180
+ {
181
+ if (array_key_exists("verticalAccuracy", $this->_propDict)) {
182
+ return $this->_propDict["verticalAccuracy"];
183
+ } else {
184
+ return null;
185
+ }
186
+ }
187
+
188
+ /**
189
+ * Sets the verticalAccuracy
190
+ * Accuracy of altitude in meters
191
+ *
192
+ * @param float $val The value of the verticalAccuracy
193
+ *
194
+ * @return DeviceGeoLocation
195
+ */
196
+ public function setVerticalAccuracy($val)
197
+ {
198
+ $this->_propDict["verticalAccuracy"] = $val;
199
+ return $this;
200
+ }
201
+ /**
202
+ * Gets the heading
203
+ * Heading in degrees from true north
204
+ *
205
+ * @return float The heading
206
+ */
207
+ public function getHeading()
208
+ {
209
+ if (array_key_exists("heading", $this->_propDict)) {
210
+ return $this->_propDict["heading"];
211
+ } else {
212
+ return null;
213
+ }
214
+ }
215
+
216
+ /**
217
+ * Sets the heading
218
+ * Heading in degrees from true north
219
+ *
220
+ * @param float $val The value of the heading
221
+ *
222
+ * @return DeviceGeoLocation
223
+ */
224
+ public function setHeading($val)
225
+ {
226
+ $this->_propDict["heading"] = $val;
227
+ return $this;
228
+ }
229
+ /**
230
+ * Gets the speed
231
+ * Speed the device is traveling in meters per second
232
+ *
233
+ * @return float The speed
234
+ */
235
+ public function getSpeed()
236
+ {
237
+ if (array_key_exists("speed", $this->_propDict)) {
238
+ return $this->_propDict["speed"];
239
+ } else {
240
+ return null;
241
+ }
242
+ }
243
+
244
+ /**
245
+ * Sets the speed
246
+ * Speed the device is traveling in meters per second
247
+ *
248
+ * @param float $val The value of the speed
249
+ *
250
+ * @return DeviceGeoLocation
251
+ */
252
+ public function setSpeed($val)
253
+ {
254
+ $this->_propDict["speed"] = $val;
255
+ return $this;
256
+ }
257
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceHealthAttestationState.php ADDED
@@ -0,0 +1,929 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceHealthAttestationState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+ /**
17
+ * DeviceHealthAttestationState class
18
+ *
19
+ * @category Model
20
+ * @package Microsoft.Graph
21
+ * @copyright © Microsoft Corporation. All rights reserved.
22
+ * @license https://opensource.org/licenses/MIT MIT License
23
+ * @version Release: 1.4.0
24
+ * @link https://graph.microsoft.io/
25
+ */
26
+ class DeviceHealthAttestationState extends Entity
27
+ {
28
+ /**
29
+ * Gets the lastUpdateDateTime
30
+ * The Timestamp of the last update.
31
+ *
32
+ * @return string The lastUpdateDateTime
33
+ */
34
+ public function getLastUpdateDateTime()
35
+ {
36
+ if (array_key_exists("lastUpdateDateTime", $this->_propDict)) {
37
+ return $this->_propDict["lastUpdateDateTime"];
38
+ } else {
39
+ return null;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Sets the lastUpdateDateTime
45
+ * The Timestamp of the last update.
46
+ *
47
+ * @param string $val The value of the lastUpdateDateTime
48
+ *
49
+ * @return DeviceHealthAttestationState
50
+ */
51
+ public function setLastUpdateDateTime($val)
52
+ {
53
+ $this->_propDict["lastUpdateDateTime"] = $val;
54
+ return $this;
55
+ }
56
+ /**
57
+ * Gets the contentNamespaceUrl
58
+ * The DHA report version. (Namespace version)
59
+ *
60
+ * @return string The contentNamespaceUrl
61
+ */
62
+ public function getContentNamespaceUrl()
63
+ {
64
+ if (array_key_exists("contentNamespaceUrl", $this->_propDict)) {
65
+ return $this->_propDict["contentNamespaceUrl"];
66
+ } else {
67
+ return null;
68
+ }
69
+ }
70
+
71
+ /**
72
+ * Sets the contentNamespaceUrl
73
+ * The DHA report version. (Namespace version)
74
+ *
75
+ * @param string $val The value of the contentNamespaceUrl
76
+ *
77
+ * @return DeviceHealthAttestationState
78
+ */
79
+ public function setContentNamespaceUrl($val)
80
+ {
81
+ $this->_propDict["contentNamespaceUrl"] = $val;
82
+ return $this;
83
+ }
84
+ /**
85
+ * Gets the deviceHealthAttestationStatus
86
+ * The DHA report version. (Namespace version)
87
+ *
88
+ * @return string The deviceHealthAttestationStatus
89
+ */
90
+ public function getDeviceHealthAttestationStatus()
91
+ {
92
+ if (array_key_exists("deviceHealthAttestationStatus", $this->_propDict)) {
93
+ return $this->_propDict["deviceHealthAttestationStatus"];
94
+ } else {
95
+ return null;
96
+ }
97
+ }
98
+
99
+ /**
100
+ * Sets the deviceHealthAttestationStatus
101
+ * The DHA report version. (Namespace version)
102
+ *
103
+ * @param string $val The value of the deviceHealthAttestationStatus
104
+ *
105
+ * @return DeviceHealthAttestationState
106
+ */
107
+ public function setDeviceHealthAttestationStatus($val)
108
+ {
109
+ $this->_propDict["deviceHealthAttestationStatus"] = $val;
110
+ return $this;
111
+ }
112
+ /**
113
+ * Gets the contentVersion
114
+ * The HealthAttestation state schema version
115
+ *
116
+ * @return string The contentVersion
117
+ */
118
+ public function getContentVersion()
119
+ {
120
+ if (array_key_exists("contentVersion", $this->_propDict)) {
121
+ return $this->_propDict["contentVersion"];
122
+ } else {
123
+ return null;
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Sets the contentVersion
129
+ * The HealthAttestation state schema version
130
+ *
131
+ * @param string $val The value of the contentVersion
132
+ *
133
+ * @return DeviceHealthAttestationState
134
+ */
135
+ public function setContentVersion($val)
136
+ {
137
+ $this->_propDict["contentVersion"] = $val;
138
+ return $this;
139
+ }
140
+
141
+ /**
142
+ * Gets the issuedDateTime
143
+ * The DateTime when device was evaluated or issued to MDM
144
+ *
145
+ * @return \DateTime The issuedDateTime
146
+ */
147
+ public function getIssuedDateTime()
148
+ {
149
+ if (array_key_exists("issuedDateTime", $this->_propDict)) {
150
+ if (is_a($this->_propDict["issuedDateTime"], "Microsoft\Graph\Model\\DateTime")) {
151
+ return $this->_propDict["issuedDateTime"];
152
+ } else {
153
+ $this->_propDict["issuedDateTime"] = new \DateTime($this->_propDict["issuedDateTime"]);
154
+ return $this->_propDict["issuedDateTime"];
155
+ }
156
+ }
157
+ return null;
158
+ }
159
+
160
+ /**
161
+ * Sets the issuedDateTime
162
+ * The DateTime when device was evaluated or issued to MDM
163
+ *
164
+ * @param \DateTime $val The value to assign to the issuedDateTime
165
+ *
166
+ * @return DeviceHealthAttestationState The DeviceHealthAttestationState
167
+ */
168
+ public function setIssuedDateTime($val)
169
+ {
170
+ $this->_propDict["issuedDateTime"] = $val;
171
+ return $this;
172
+ }
173
+ /**
174
+ * Gets the attestationIdentityKey
175
+ * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate.
176
+ *
177
+ * @return string The attestationIdentityKey
178
+ */
179
+ public function getAttestationIdentityKey()
180
+ {
181
+ if (array_key_exists("attestationIdentityKey", $this->_propDict)) {
182
+ return $this->_propDict["attestationIdentityKey"];
183
+ } else {
184
+ return null;
185
+ }
186
+ }
187
+
188
+ /**
189
+ * Sets the attestationIdentityKey
190
+ * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate.
191
+ *
192
+ * @param string $val The value of the attestationIdentityKey
193
+ *
194
+ * @return DeviceHealthAttestationState
195
+ */
196
+ public function setAttestationIdentityKey($val)
197
+ {
198
+ $this->_propDict["attestationIdentityKey"] = $val;
199
+ return $this;
200
+ }
201
+ /**
202
+ * Gets the resetCount
203
+ * The number of times a PC device has hibernated or resumed
204
+ *
205
+ * @return int The resetCount
206
+ */
207
+ public function getResetCount()
208
+ {
209
+ if (array_key_exists("resetCount", $this->_propDict)) {
210
+ return $this->_propDict["resetCount"];
211
+ } else {
212
+ return null;
213
+ }
214
+ }
215
+
216
+ /**
217
+ * Sets the resetCount
218
+ * The number of times a PC device has hibernated or resumed
219
+ *
220
+ * @param int $val The value of the resetCount
221
+ *
222
+ * @return DeviceHealthAttestationState
223
+ */
224
+ public function setResetCount($val)
225
+ {
226
+ $this->_propDict["resetCount"] = $val;
227
+ return $this;
228
+ }
229
+ /**
230
+ * Gets the restartCount
231
+ * The number of times a PC device has rebooted
232
+ *
233
+ * @return int The restartCount
234
+ */
235
+ public function getRestartCount()
236
+ {
237
+ if (array_key_exists("restartCount", $this->_propDict)) {
238
+ return $this->_propDict["restartCount"];
239
+ } else {
240
+ return null;
241
+ }
242
+ }
243
+
244
+ /**
245
+ * Sets the restartCount
246
+ * The number of times a PC device has rebooted
247
+ *
248
+ * @param int $val The value of the restartCount
249
+ *
250
+ * @return DeviceHealthAttestationState
251
+ */
252
+ public function setRestartCount($val)
253
+ {
254
+ $this->_propDict["restartCount"] = $val;
255
+ return $this;
256
+ }
257
+ /**
258
+ * Gets the dataExcutionPolicy
259
+ * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory
260
+ *
261
+ * @return string The dataExcutionPolicy
262
+ */
263
+ public function getDataExcutionPolicy()
264
+ {
265
+ if (array_key_exists("dataExcutionPolicy", $this->_propDict)) {
266
+ return $this->_propDict["dataExcutionPolicy"];
267
+ } else {
268
+ return null;
269
+ }
270
+ }
271
+
272
+ /**
273
+ * Sets the dataExcutionPolicy
274
+ * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory
275
+ *
276
+ * @param string $val The value of the dataExcutionPolicy
277
+ *
278
+ * @return DeviceHealthAttestationState
279
+ */
280
+ public function setDataExcutionPolicy($val)
281
+ {
282
+ $this->_propDict["dataExcutionPolicy"] = $val;
283
+ return $this;
284
+ }
285
+ /**
286
+ * Gets the bitLockerStatus
287
+ * On or Off of BitLocker Drive Encryption
288
+ *
289
+ * @return string The bitLockerStatus
290
+ */
291
+ public function getBitLockerStatus()
292
+ {
293
+ if (array_key_exists("bitLockerStatus", $this->_propDict)) {
294
+ return $this->_propDict["bitLockerStatus"];
295
+ } else {
296
+ return null;
297
+ }
298
+ }
299
+
300
+ /**
301
+ * Sets the bitLockerStatus
302
+ * On or Off of BitLocker Drive Encryption
303
+ *
304
+ * @param string $val The value of the bitLockerStatus
305
+ *
306
+ * @return DeviceHealthAttestationState
307
+ */
308
+ public function setBitLockerStatus($val)
309
+ {
310
+ $this->_propDict["bitLockerStatus"] = $val;
311
+ return $this;
312
+ }
313
+ /**
314
+ * Gets the bootManagerVersion
315
+ * The version of the Boot Manager
316
+ *
317
+ * @return string The bootManagerVersion
318
+ */
319
+ public function getBootManagerVersion()
320
+ {
321
+ if (array_key_exists("bootManagerVersion", $this->_propDict)) {
322
+ return $this->_propDict["bootManagerVersion"];
323
+ } else {
324
+ return null;
325
+ }
326
+ }
327
+
328
+ /**
329
+ * Sets the bootManagerVersion
330
+ * The version of the Boot Manager
331
+ *
332
+ * @param string $val The value of the bootManagerVersion
333
+ *
334
+ * @return DeviceHealthAttestationState
335
+ */
336
+ public function setBootManagerVersion($val)
337
+ {
338
+ $this->_propDict["bootManagerVersion"] = $val;
339
+ return $this;
340
+ }
341
+ /**
342
+ * Gets the codeIntegrityCheckVersion
343
+ * The version of the Boot Manager
344
+ *
345
+ * @return string The codeIntegrityCheckVersion
346
+ */
347
+ public function getCodeIntegrityCheckVersion()
348
+ {
349
+ if (array_key_exists("codeIntegrityCheckVersion", $this->_propDict)) {
350
+ return $this->_propDict["codeIntegrityCheckVersion"];
351
+ } else {
352
+ return null;
353
+ }
354
+ }
355
+
356
+ /**
357
+ * Sets the codeIntegrityCheckVersion
358
+ * The version of the Boot Manager
359
+ *
360
+ * @param string $val The value of the codeIntegrityCheckVersion
361
+ *
362
+ * @return DeviceHealthAttestationState
363
+ */
364
+ public function setCodeIntegrityCheckVersion($val)
365
+ {
366
+ $this->_propDict["codeIntegrityCheckVersion"] = $val;
367
+ return $this;
368
+ }
369
+ /**
370
+ * Gets the secureBoot
371
+ * When Secure Boot is enabled, the core components must have the correct cryptographic signatures
372
+ *
373
+ * @return string The secureBoot
374
+ */
375
+ public function getSecureBoot()
376
+ {
377
+ if (array_key_exists("secureBoot", $this->_propDict)) {
378
+ return $this->_propDict["secureBoot"];
379
+ } else {
380
+ return null;
381
+ }
382
+ }
383
+
384
+ /**
385
+ * Sets the secureBoot
386
+ * When Secure Boot is enabled, the core components must have the correct cryptographic signatures
387
+ *
388
+ * @param string $val The value of the secureBoot
389
+ *
390
+ * @return DeviceHealthAttestationState
391
+ */
392
+ public function setSecureBoot($val)
393
+ {
394
+ $this->_propDict["secureBoot"] = $val;
395
+ return $this;
396
+ }
397
+ /**
398
+ * Gets the bootDebugging
399
+ * When bootDebugging is enabled, the device is used in development and testing
400
+ *
401
+ * @return string The bootDebugging
402
+ */
403
+ public function getBootDebugging()
404
+ {
405
+ if (array_key_exists("bootDebugging", $this->_propDict)) {
406
+ return $this->_propDict["bootDebugging"];
407
+ } else {
408
+ return null;
409
+ }
410
+ }
411
+
412
+ /**
413
+ * Sets the bootDebugging
414
+ * When bootDebugging is enabled, the device is used in development and testing
415
+ *
416
+ * @param string $val The value of the bootDebugging
417
+ *
418
+ * @return DeviceHealthAttestationState
419
+ */
420
+ public function setBootDebugging($val)
421
+ {
422
+ $this->_propDict["bootDebugging"] = $val;
423
+ return $this;
424
+ }
425
+ /**
426
+ * Gets the operatingSystemKernelDebugging
427
+ * When operatingSystemKernelDebugging is enabled, the device is used in development and testing
428
+ *
429
+ * @return string The operatingSystemKernelDebugging
430
+ */
431
+ public function getOperatingSystemKernelDebugging()
432
+ {
433
+ if (array_key_exists("operatingSystemKernelDebugging", $this->_propDict)) {
434
+ return $this->_propDict["operatingSystemKernelDebugging"];
435
+ } else {
436
+ return null;
437
+ }
438
+ }
439
+
440
+ /**
441
+ * Sets the operatingSystemKernelDebugging
442
+ * When operatingSystemKernelDebugging is enabled, the device is used in development and testing
443
+ *
444
+ * @param string $val The value of the operatingSystemKernelDebugging
445
+ *
446
+ * @return DeviceHealthAttestationState
447
+ */
448
+ public function setOperatingSystemKernelDebugging($val)
449
+ {
450
+ $this->_propDict["operatingSystemKernelDebugging"] = $val;
451
+ return $this;
452
+ }
453
+ /**
454
+ * Gets the codeIntegrity
455
+ * When code integrity is enabled, code execution is restricted to integrity verified code
456
+ *
457
+ * @return string The codeIntegrity
458
+ */
459
+ public function getCodeIntegrity()
460
+ {
461
+ if (array_key_exists("codeIntegrity", $this->_propDict)) {
462
+ return $this->_propDict["codeIntegrity"];
463
+ } else {
464
+ return null;
465
+ }
466
+ }
467
+
468
+ /**
469
+ * Sets the codeIntegrity
470
+ * When code integrity is enabled, code execution is restricted to integrity verified code
471
+ *
472
+ * @param string $val The value of the codeIntegrity
473
+ *
474
+ * @return DeviceHealthAttestationState
475
+ */
476
+ public function setCodeIntegrity($val)
477
+ {
478
+ $this->_propDict["codeIntegrity"] = $val;
479
+ return $this;
480
+ }
481
+ /**
482
+ * Gets the testSigning
483
+ * When test signing is allowed, the device does not enforce signature validation during boot
484
+ *
485
+ * @return string The testSigning
486
+ */
487
+ public function getTestSigning()
488
+ {
489
+ if (array_key_exists("testSigning", $this->_propDict)) {
490
+ return $this->_propDict["testSigning"];
491
+ } else {
492
+ return null;
493
+ }
494
+ }
495
+
496
+ /**
497
+ * Sets the testSigning
498
+ * When test signing is allowed, the device does not enforce signature validation during boot
499
+ *
500
+ * @param string $val The value of the testSigning
501
+ *
502
+ * @return DeviceHealthAttestationState
503
+ */
504
+ public function setTestSigning($val)
505
+ {
506
+ $this->_propDict["testSigning"] = $val;
507
+ return $this;
508
+ }
509
+ /**
510
+ * Gets the safeMode
511
+ * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state
512
+ *
513
+ * @return string The safeMode
514
+ */
515
+ public function getSafeMode()
516
+ {
517
+ if (array_key_exists("safeMode", $this->_propDict)) {
518
+ return $this->_propDict["safeMode"];
519
+ } else {
520
+ return null;
521
+ }
522
+ }
523
+
524
+ /**
525
+ * Sets the safeMode
526
+ * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state
527
+ *
528
+ * @param string $val The value of the safeMode
529
+ *
530
+ * @return DeviceHealthAttestationState
531
+ */
532
+ public function setSafeMode($val)
533
+ {
534
+ $this->_propDict["safeMode"] = $val;
535
+ return $this;
536
+ }
537
+ /**
538
+ * Gets the windowsPE
539
+ * Operating system running with limited services that is used to prepare a computer for Windows
540
+ *
541
+ * @return string The windowsPE
542
+ */
543
+ public function getWindowsPE()
544
+ {
545
+ if (array_key_exists("windowsPE", $this->_propDict)) {
546
+ return $this->_propDict["windowsPE"];
547
+ } else {
548
+ return null;
549
+ }
550
+ }
551
+
552
+ /**
553
+ * Sets the windowsPE
554
+ * Operating system running with limited services that is used to prepare a computer for Windows
555
+ *
556
+ * @param string $val The value of the windowsPE
557
+ *
558
+ * @return DeviceHealthAttestationState
559
+ */
560
+ public function setWindowsPE($val)
561
+ {
562
+ $this->_propDict["windowsPE"] = $val;
563
+ return $this;
564
+ }
565
+ /**
566
+ * Gets the earlyLaunchAntiMalwareDriverProtection
567
+ * ELAM provides protection for the computers in your network when they start up
568
+ *
569
+ * @return string The earlyLaunchAntiMalwareDriverProtection
570
+ */
571
+ public function getEarlyLaunchAntiMalwareDriverProtection()
572
+ {
573
+ if (array_key_exists("earlyLaunchAntiMalwareDriverProtection", $this->_propDict)) {
574
+ return $this->_propDict["earlyLaunchAntiMalwareDriverProtection"];
575
+ } else {
576
+ return null;
577
+ }
578
+ }
579
+
580
+ /**
581
+ * Sets the earlyLaunchAntiMalwareDriverProtection
582
+ * ELAM provides protection for the computers in your network when they start up
583
+ *
584
+ * @param string $val The value of the earlyLaunchAntiMalwareDriverProtection
585
+ *
586
+ * @return DeviceHealthAttestationState
587
+ */
588
+ public function setEarlyLaunchAntiMalwareDriverProtection($val)
589
+ {
590
+ $this->_propDict["earlyLaunchAntiMalwareDriverProtection"] = $val;
591
+ return $this;
592
+ }
593
+ /**
594
+ * Gets the virtualSecureMode
595
+ * VSM is a container that protects high value assets from a compromised kernel
596
+ *
597
+ * @return string The virtualSecureMode
598
+ */
599
+ public function getVirtualSecureMode()
600
+ {
601
+ if (array_key_exists("virtualSecureMode", $this->_propDict)) {
602
+ return $this->_propDict["virtualSecureMode"];
603
+ } else {
604
+ return null;
605
+ }
606
+ }
607
+
608
+ /**
609
+ * Sets the virtualSecureMode
610
+ * VSM is a container that protects high value assets from a compromised kernel
611
+ *
612
+ * @param string $val The value of the virtualSecureMode
613
+ *
614
+ * @return DeviceHealthAttestationState
615
+ */
616
+ public function setVirtualSecureMode($val)
617
+ {
618
+ $this->_propDict["virtualSecureMode"] = $val;
619
+ return $this;
620
+ }
621
+ /**
622
+ * Gets the pcrHashAlgorithm
623
+ * Informational attribute that identifies the HASH algorithm that was used by TPM
624
+ *
625
+ * @return string The pcrHashAlgorithm
626
+ */
627
+ public function getPcrHashAlgorithm()
628
+ {
629
+ if (array_key_exists("pcrHashAlgorithm", $this->_propDict)) {
630
+ return $this->_propDict["pcrHashAlgorithm"];
631
+ } else {
632
+ return null;
633
+ }
634
+ }
635
+
636
+ /**
637
+ * Sets the pcrHashAlgorithm
638
+ * Informational attribute that identifies the HASH algorithm that was used by TPM
639
+ *
640
+ * @param string $val The value of the pcrHashAlgorithm
641
+ *
642
+ * @return DeviceHealthAttestationState
643
+ */
644
+ public function setPcrHashAlgorithm($val)
645
+ {
646
+ $this->_propDict["pcrHashAlgorithm"] = $val;
647
+ return $this;
648
+ }
649
+ /**
650
+ * Gets the bootAppSecurityVersion
651
+ * The security version number of the Boot Application
652
+ *
653
+ * @return string The bootAppSecurityVersion
654
+ */
655
+ public function getBootAppSecurityVersion()
656
+ {
657
+ if (array_key_exists("bootAppSecurityVersion", $this->_propDict)) {
658
+ return $this->_propDict["bootAppSecurityVersion"];
659
+ } else {
660
+ return null;
661
+ }
662
+ }
663
+
664
+ /**
665
+ * Sets the bootAppSecurityVersion
666
+ * The security version number of the Boot Application
667
+ *
668
+ * @param string $val The value of the bootAppSecurityVersion
669
+ *
670
+ * @return DeviceHealthAttestationState
671
+ */
672
+ public function setBootAppSecurityVersion($val)
673
+ {
674
+ $this->_propDict["bootAppSecurityVersion"] = $val;
675
+ return $this;
676
+ }
677
+ /**
678
+ * Gets the bootManagerSecurityVersion
679
+ * The security version number of the Boot Application
680
+ *
681
+ * @return string The bootManagerSecurityVersion
682
+ */
683
+ public function getBootManagerSecurityVersion()
684
+ {
685
+ if (array_key_exists("bootManagerSecurityVersion", $this->_propDict)) {
686
+ return $this->_propDict["bootManagerSecurityVersion"];
687
+ } else {
688
+ return null;
689
+ }
690
+ }
691
+
692
+ /**
693
+ * Sets the bootManagerSecurityVersion
694
+ * The security version number of the Boot Application
695
+ *
696
+ * @param string $val The value of the bootManagerSecurityVersion
697
+ *
698
+ * @return DeviceHealthAttestationState
699
+ */
700
+ public function setBootManagerSecurityVersion($val)
701
+ {
702
+ $this->_propDict["bootManagerSecurityVersion"] = $val;
703
+ return $this;
704
+ }
705
+ /**
706
+ * Gets the tpmVersion
707
+ * The security version number of the Boot Application
708
+ *
709
+ * @return string The tpmVersion
710
+ */
711
+ public function getTpmVersion()
712
+ {
713
+ if (array_key_exists("tpmVersion", $this->_propDict)) {
714
+ return $this->_propDict["tpmVersion"];
715
+ } else {
716
+ return null;
717
+ }
718
+ }
719
+
720
+ /**
721
+ * Sets the tpmVersion
722
+ * The security version number of the Boot Application
723
+ *
724
+ * @param string $val The value of the tpmVersion
725
+ *
726
+ * @return DeviceHealthAttestationState
727
+ */
728
+ public function setTpmVersion($val)
729
+ {
730
+ $this->_propDict["tpmVersion"] = $val;
731
+ return $this;
732
+ }
733
+ /**
734
+ * Gets the pcr0
735
+ * The measurement that is captured in PCR[0]
736
+ *
737
+ * @return string The pcr0
738
+ */
739
+ public function getPcr0()
740
+ {
741
+ if (array_key_exists("pcr0", $this->_propDict)) {
742
+ return $this->_propDict["pcr0"];
743
+ } else {
744
+ return null;
745
+ }
746
+ }
747
+
748
+ /**
749
+ * Sets the pcr0
750
+ * The measurement that is captured in PCR[0]
751
+ *
752
+ * @param string $val The value of the pcr0
753
+ *
754
+ * @return DeviceHealthAttestationState
755
+ */
756
+ public function setPcr0($val)
757
+ {
758
+ $this->_propDict["pcr0"] = $val;
759
+ return $this;
760
+ }
761
+ /**
762
+ * Gets the secureBootConfigurationPolicyFingerPrint
763
+ * Fingerprint of the Custom Secure Boot Configuration Policy
764
+ *
765
+ * @return string The secureBootConfigurationPolicyFingerPrint
766
+ */
767
+ public function getSecureBootConfigurationPolicyFingerPrint()
768
+ {
769
+ if (array_key_exists("secureBootConfigurationPolicyFingerPrint", $this->_propDict)) {
770
+ return $this->_propDict["secureBootConfigurationPolicyFingerPrint"];
771
+ } else {
772
+ return null;
773
+ }
774
+ }
775
+
776
+ /**
777
+ * Sets the secureBootConfigurationPolicyFingerPrint
778
+ * Fingerprint of the Custom Secure Boot Configuration Policy
779
+ *
780
+ * @param string $val The value of the secureBootConfigurationPolicyFingerPrint
781
+ *
782
+ * @return DeviceHealthAttestationState
783
+ */
784
+ public function setSecureBootConfigurationPolicyFingerPrint($val)
785
+ {
786
+ $this->_propDict["secureBootConfigurationPolicyFingerPrint"] = $val;
787
+ return $this;
788
+ }
789
+ /**
790
+ * Gets the codeIntegrityPolicy
791
+ * The Code Integrity policy that is controlling the security of the boot environment
792
+ *
793
+ * @return string The codeIntegrityPolicy
794
+ */
795
+ public function getCodeIntegrityPolicy()
796
+ {
797
+ if (array_key_exists("codeIntegrityPolicy", $this->_propDict)) {
798
+ return $this->_propDict["codeIntegrityPolicy"];
799
+ } else {
800
+ return null;
801
+ }
802
+ }
803
+
804
+ /**
805
+ * Sets the codeIntegrityPolicy
806
+ * The Code Integrity policy that is controlling the security of the boot environment
807
+ *
808
+ * @param string $val The value of the codeIntegrityPolicy
809
+ *
810
+ * @return DeviceHealthAttestationState
811
+ */
812
+ public function setCodeIntegrityPolicy($val)
813
+ {
814
+ $this->_propDict["codeIntegrityPolicy"] = $val;
815
+ return $this;
816
+ }
817
+ /**
818
+ * Gets the bootRevisionListInfo
819
+ * The Boot Revision List that was loaded during initial boot on the attested device
820
+ *
821
+ * @return string The bootRevisionListInfo
822
+ */
823
+ public function getBootRevisionListInfo()
824
+ {
825
+ if (array_key_exists("bootRevisionListInfo", $this->_propDict)) {
826
+ return $this->_propDict["bootRevisionListInfo"];
827
+ } else {
828
+ return null;
829
+ }
830
+ }
831
+
832
+ /**
833
+ * Sets the bootRevisionListInfo
834
+ * The Boot Revision List that was loaded during initial boot on the attested device
835
+ *
836
+ * @param string $val The value of the bootRevisionListInfo
837
+ *
838
+ * @return DeviceHealthAttestationState
839
+ */
840
+ public function setBootRevisionListInfo($val)
841
+ {
842
+ $this->_propDict["bootRevisionListInfo"] = $val;
843
+ return $this;
844
+ }
845
+ /**
846
+ * Gets the operatingSystemRevListInfo
847
+ * The Operating System Revision List that was loaded during initial boot on the attested device
848
+ *
849
+ * @return string The operatingSystemRevListInfo
850
+ */
851
+ public function getOperatingSystemRevListInfo()
852
+ {
853
+ if (array_key_exists("operatingSystemRevListInfo", $this->_propDict)) {
854
+ return $this->_propDict["operatingSystemRevListInfo"];
855
+ } else {
856
+ return null;
857
+ }
858
+ }
859
+
860
+ /**
861
+ * Sets the operatingSystemRevListInfo
862
+ * The Operating System Revision List that was loaded during initial boot on the attested device
863
+ *
864
+ * @param string $val The value of the operatingSystemRevListInfo
865
+ *
866
+ * @return DeviceHealthAttestationState
867
+ */
868
+ public function setOperatingSystemRevListInfo($val)
869
+ {
870
+ $this->_propDict["operatingSystemRevListInfo"] = $val;
871
+ return $this;
872
+ }
873
+ /**
874
+ * Gets the healthStatusMismatchInfo
875
+ * This attribute appears if DHA-Service detects an integrity issue
876
+ *
877
+ * @return string The healthStatusMismatchInfo
878
+ */
879
+ public function getHealthStatusMismatchInfo()
880
+ {
881
+ if (array_key_exists("healthStatusMismatchInfo", $this->_propDict)) {
882
+ return $this->_propDict["healthStatusMismatchInfo"];
883
+ } else {
884
+ return null;
885
+ }
886
+ }
887
+
888
+ /**
889
+ * Sets the healthStatusMismatchInfo
890
+ * This attribute appears if DHA-Service detects an integrity issue
891
+ *
892
+ * @param string $val The value of the healthStatusMismatchInfo
893
+ *
894
+ * @return DeviceHealthAttestationState
895
+ */
896
+ public function setHealthStatusMismatchInfo($val)
897
+ {
898
+ $this->_propDict["healthStatusMismatchInfo"] = $val;
899
+ return $this;
900
+ }
901
+ /**
902
+ * Gets the healthAttestationSupportedStatus
903
+ * This attribute indicates if DHA is supported for the device
904
+ *
905
+ * @return string The healthAttestationSupportedStatus
906
+ */
907
+ public function getHealthAttestationSupportedStatus()
908
+ {
909
+ if (array_key_exists("healthAttestationSupportedStatus", $this->_propDict)) {
910
+ return $this->_propDict["healthAttestationSupportedStatus"];
911
+ } else {
912
+ return null;
913
+ }
914
+ }
915
+
916
+ /**
917
+ * Sets the healthAttestationSupportedStatus
918
+ * This attribute indicates if DHA is supported for the device
919
+ *
920
+ * @param string $val The value of the healthAttestationSupportedStatus
921
+ *
922
+ * @return DeviceHealthAttestationState
923
+ */
924
+ public function setHealthAttestationSupportedStatus($val)
925
+ {
926
+ $this->_propDict["healthAttestationSupportedStatus"] = $val;
927
+ return $this;
928
+ }
929
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceInstallState.php ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceInstallState File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceInstallState class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceInstallState extends Entity
28
+ {
29
+ /**
30
+ * Gets the deviceName
31
+ * Device name.
32
+ *
33
+ * @return string The deviceName
34
+ */
35
+ public function getDeviceName()
36
+ {
37
+ if (array_key_exists("deviceName", $this->_propDict)) {
38
+ return $this->_propDict["deviceName"];
39
+ } else {
40
+ return null;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Sets the deviceName
46
+ * Device name.
47
+ *
48
+ * @param string $val The deviceName
49
+ *
50
+ * @return DeviceInstallState
51
+ */
52
+ public function setDeviceName($val)
53
+ {
54
+ $this->_propDict["deviceName"] = $val;
55
+ return $this;
56
+ }
57
+
58
+ /**
59
+ * Gets the deviceId
60
+ * Device Id.
61
+ *
62
+ * @return string The deviceId
63
+ */
64
+ public function getDeviceId()
65
+ {
66
+ if (array_key_exists("deviceId", $this->_propDict)) {
67
+ return $this->_propDict["deviceId"];
68
+ } else {
69
+ return null;
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Sets the deviceId
75
+ * Device Id.
76
+ *
77
+ * @param string $val The deviceId
78
+ *
79
+ * @return DeviceInstallState
80
+ */
81
+ public function setDeviceId($val)
82
+ {
83
+ $this->_propDict["deviceId"] = $val;
84
+ return $this;
85
+ }
86
+
87
+ /**
88
+ * Gets the lastSyncDateTime
89
+ * Last sync date and time.
90
+ *
91
+ * @return \DateTime The lastSyncDateTime
92
+ */
93
+ public function getLastSyncDateTime()
94
+ {
95
+ if (array_key_exists("lastSyncDateTime", $this->_propDict)) {
96
+ if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) {
97
+ return $this->_propDict["lastSyncDateTime"];
98
+ } else {
99
+ $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]);
100
+ return $this->_propDict["lastSyncDateTime"];
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
106
+ /**
107
+ * Sets the lastSyncDateTime
108
+ * Last sync date and time.
109
+ *
110
+ * @param \DateTime $val The lastSyncDateTime
111
+ *
112
+ * @return DeviceInstallState
113
+ */
114
+ public function setLastSyncDateTime($val)
115
+ {
116
+ $this->_propDict["lastSyncDateTime"] = $val;
117
+ return $this;
118
+ }
119
+
120
+ /**
121
+ * Gets the installState
122
+ * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown.
123
+ *
124
+ * @return InstallState The installState
125
+ */
126
+ public function getInstallState()
127
+ {
128
+ if (array_key_exists("installState", $this->_propDict)) {
129
+ if (is_a($this->_propDict["installState"], "Microsoft\Graph\Model\InstallState")) {
130
+ return $this->_propDict["installState"];
131
+ } else {
132
+ $this->_propDict["installState"] = new InstallState($this->_propDict["installState"]);
133
+ return $this->_propDict["installState"];
134
+ }
135
+ }
136
+ return null;
137
+ }
138
+
139
+ /**
140
+ * Sets the installState
141
+ * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown.
142
+ *
143
+ * @param InstallState $val The installState
144
+ *
145
+ * @return DeviceInstallState
146
+ */
147
+ public function setInstallState($val)
148
+ {
149
+ $this->_propDict["installState"] = $val;
150
+ return $this;
151
+ }
152
+
153
+ /**
154
+ * Gets the errorCode
155
+ * The error code for install failures.
156
+ *
157
+ * @return string The errorCode
158
+ */
159
+ public function getErrorCode()
160
+ {
161
+ if (array_key_exists("errorCode", $this->_propDict)) {
162
+ return $this->_propDict["errorCode"];
163
+ } else {
164
+ return null;
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Sets the errorCode
170
+ * The error code for install failures.
171
+ *
172
+ * @param string $val The errorCode
173
+ *
174
+ * @return DeviceInstallState
175
+ */
176
+ public function setErrorCode($val)
177
+ {
178
+ $this->_propDict["errorCode"] = $val;
179
+ return $this;
180
+ }
181
+
182
+ /**
183
+ * Gets the osVersion
184
+ * OS Version.
185
+ *
186
+ * @return string The osVersion
187
+ */
188
+ public function getOsVersion()
189
+ {
190
+ if (array_key_exists("osVersion", $this->_propDict)) {
191
+ return $this->_propDict["osVersion"];
192
+ } else {
193
+ return null;
194
+ }
195
+ }
196
+
197
+ /**
198
+ * Sets the osVersion
199
+ * OS Version.
200
+ *
201
+ * @param string $val The osVersion
202
+ *
203
+ * @return DeviceInstallState
204
+ */
205
+ public function setOsVersion($val)
206
+ {
207
+ $this->_propDict["osVersion"] = $val;
208
+ return $this;
209
+ }
210
+
211
+ /**
212
+ * Gets the osDescription
213
+ * OS Description.
214
+ *
215
+ * @return string The osDescription
216
+ */
217
+ public function getOsDescription()
218
+ {
219
+ if (array_key_exists("osDescription", $this->_propDict)) {
220
+ return $this->_propDict["osDescription"];
221
+ } else {
222
+ return null;
223
+ }
224
+ }
225
+
226
+ /**
227
+ * Sets the osDescription
228
+ * OS Description.
229
+ *
230
+ * @param string $val The osDescription
231
+ *
232
+ * @return DeviceInstallState
233
+ */
234
+ public function setOsDescription($val)
235
+ {
236
+ $this->_propDict["osDescription"] = $val;
237
+ return $this;
238
+ }
239
+
240
+ /**
241
+ * Gets the userName
242
+ * Device User Name.
243
+ *
244
+ * @return string The userName
245
+ */
246
+ public function getUserName()
247
+ {
248
+ if (array_key_exists("userName", $this->_propDict)) {
249
+ return $this->_propDict["userName"];
250
+ } else {
251
+ return null;
252
+ }
253
+ }
254
+
255
+ /**
256
+ * Sets the userName
257
+ * Device User Name.
258
+ *
259
+ * @param string $val The userName
260
+ *
261
+ * @return DeviceInstallState
262
+ */
263
+ public function setUserName($val)
264
+ {
265
+ $this->_propDict["userName"] = $val;
266
+ return $this;
267
+ }
268
+
269
+ }
vendor/microsoft/microsoft-graph/src/Model/DeviceManagement.php ADDED
@@ -0,0 +1,956 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4
+ *
5
+ * DeviceManagement File
6
+ * PHP version 7
7
+ *
8
+ * @category Library
9
+ * @package Microsoft.Graph
10
+ * @copyright © Microsoft Corporation. All rights reserved.
11
+ * @license https://opensource.org/licenses/MIT MIT License
12
+ * @version GIT: 1.4.0
13
+ * @link https://graph.microsoft.io/
14
+ */
15
+ namespace Microsoft\Graph\Model;
16
+
17
+ /**
18
+ * DeviceManagement class
19
+ *
20
+ * @category Model
21
+ * @package Microsoft.Graph
22
+ * @copyright © Microsoft Corporation. All rights reserved.
23
+ * @license https://opensource.org/licenses/MIT MIT License
24
+ * @version Release: 1.4.0
25
+ * @link https://graph.microsoft.io/
26
+ */
27
+ class DeviceManagement extends Entity
28
+ {
29
+ /**
30
+ * Gets the settings
31
+ * Account level settings.
32
+ *
33
+ * @return DeviceManagementSettings The settings
34
+ */
35
+ public function getSettings()
36
+ {
37
+ if (array_key_exists("settings", $this->_propDict)) {
38
+ if (is_a($this->_propDict["settings"], "Microsoft\Graph\Model\DeviceManagementSettings")) {
39
+ return $this->_propDict["settings"];
40
+ } else {
41
+ $this->_propDict["settings"] = new DeviceManagementSettings($this->_propDict["settings"]);
42
+ return $this->_propDict["settings"];
43
+ }
44
+ }
45
+ return null;
46
+ }
47
+
48
+ /**
49
+ * Sets the settings
50
+ * Account level settings.
51
+ *
52
+ * @param DeviceManagementSettings $val The settings
53
+ *
54
+ * @return DeviceManagement
55
+ */
56
+ public function setSettings($val)
57
+ {
58
+ $this->_propDict["settings"] = $val;
59
+ return $this;
60
+ }
61
+
62
+ /**
63
+ * Gets the intuneBrand
64
+ * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal.
65
+ *
66
+ * @return IntuneBrand The intuneBrand
67
+ */
68
+ public function getIntuneBrand()
69
+ {
70
+ if (array_key_exists("intuneBrand", $this->_propDict)) {
71
+ if (is_a($this->_propDict["intuneBrand"], "Microsoft\Graph\Model\IntuneBrand")) {
72
+ return $this->_propDict["intuneBrand"];
73
+ } else {
74
+ $this->_propDict["intuneBrand"] = new IntuneBrand($this->_propDict["intuneBrand"]);
75
+ return $this->_propDict["intuneBrand"];
76
+ }
77
+ }
78
+ return null;
79
+ }
80
+
81
+ /**
82
+ * Sets the intuneBrand
83
+ * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal.
84
+ *
85
+ * @param IntuneBrand $val The intuneBrand
86
+ *
87
+ * @return DeviceManagement
88
+ */
89
+ public function setIntuneBrand($val)
90
+ {
91
+ $this->_propDict["intuneBrand"] = $val;
92
+ return $this;
93
+ }
94
+
95
+ /**
96
+ * Gets the subscriptionState
97
+ * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut.
98
+ *
99
+ * @return DeviceManagementSubscriptionState The subscriptionState
100
+ */
101
+ public function getSubscriptionState()
102
+ {
103
+ if (array_key_exists("subscriptionState", $this->_propDict)) {
104
+ if (is_a($this->_propDict["subscriptionState"], "Microsoft\Graph\Model\DeviceManagementSubscriptionState")) {
105
+ return $this->_propDict["subscriptionState"];
106
+ } else {
107
+ $this->_propDict["subscriptionState"] = new DeviceManagementSubscriptionState($this->_propDict["subscriptionState"]);
108
+ return $this->_propDict["subscriptionState"];
109
+ }
110
+ }
111
+ return null;
112
+ }
113
+
114
+ /**
115
+ * Sets the subscriptionState
116
+ * Tenant mobile device management subscription state. The possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut.
117
+ *
118
+ * @param DeviceManagementSubscriptionState $val The subscriptionState
119
+ *
120
+ * @return DeviceManagement
121
+ */
122
+ public function setSubscriptionState($val)
123
+ {
124
+ $this->_propDict["subscriptionState"] = $val;
125
+ return $this;
126
+ }
127
+
128
+
129
+ /**
130
+ * Gets the termsAndConditions
131
+ * The terms and conditions associated with device management of the company.
132
+ *
133
+ * @return array The termsAndConditions
134
+ */
135
+ public function getTermsAndConditions()
136
+ {
137
+ if (array_key_exists("termsAndConditions", $this->_propDict)) {
138
+ return $this->_propDict["termsAndConditions"];
139
+ } else {
140
+ return null;
141
+ }
142
+ }
143
+
144
+ /**
145
+ * Sets the termsAndConditions
146
+ * The terms and conditions associated with device management of the company.
147
+ *
148
+ * @param TermsAndConditions $val The termsAndConditions
149
+ *
150
+ * @return DeviceManagement
151
+ */
152
+ public function setTermsAndConditions($val)
153
+ {
154
+ $this->_propDict["termsAndConditions"] = $val;
155
+ return $this;
156
+ }
157
+
158
+
159
+ /**
160
+ * Gets the deviceConfigurations
161
+ * The device configurations.
162
+ *
163
+ * @return array The deviceConfigurations
164
+ */
165
+ public function getDeviceConfigurations()
166
+ {
167
+ if (array_key_exists("deviceConfigurations", $this->_propDict)) {
168
+ return $this->_propDict["deviceConfigurations"];
169
+ } else {
170
+ return null;
171
+ }
172
+ }
173
+
174
+ /**
175
+ * Sets the deviceConfigurations
176
+ * The device configurations.
177
+ *
178
+ * @param DeviceConfiguration $val The deviceConfigurations
179
+ *
180
+ * @return DeviceManagement
181
+ */
182
+ public function setDeviceConfigurations($val)
183
+ {
184
+ $this->_propDict["deviceConfigurations"] = $val;
185
+ return $this;
186
+ }
187
+
188
+
189
+ /**
190
+ * Gets the deviceCompliancePolicies
191
+ * The device compliance policies.
192
+ *
193
+ * @return array The deviceCompliancePolicies
194
+ */
195
+ public function getDeviceCompliancePolicies()
196
+ {
197
+ if (array_key_exists("deviceCompliancePolicies", $this->_propDict)) {
198
+ return $this->_propDict["deviceCompliancePolicies"];
199
+ } else {
200
+ return null;
201
+ }
202
+ }
203
+
204
+ /**
205
+ * Sets the deviceCompliancePolicies
206
+ * The device compliance policies.
207
+ *
208
+ * @param DeviceCompliancePolicy $val The deviceCompliancePolicies
209
+ *
210
+ * @return DeviceManagement
211
+ */
212
+ public function setDeviceCompliancePolicies($val)
213
+ {
214
+ $this->_propDict["deviceCompliancePolicies"] = $val;
215
+ return $this;
216
+ }
217
+
218
+ /**
219
+ * Gets the softwareUpdateStatusSummary
220
+ * The software update status summary.
221
+ *
222
+ * @return SoftwareUpdateStatusSummary The softwareUpdateStatusSummary
223
+ */
224
+ public function getSoftwareUpdateStatusSummary()
225
+ {
226
+ if (array_key_exists("softwareUpdateStatusSummary", $this->_propDict)) {
227
+ if (is_a($this->_propDict["softwareUpdateStatusSummary"], "Microsoft\Graph\Model\SoftwareUpdateStatusSummary")) {
228
+ return $this->_propDict["softwareUpdateStatusSummary"];
229
+ } else {
230
+ $this->_propDict["softwareUpdateStatusSummary"] = new SoftwareUpdateStatusSummary($t