diff --git a/.github/policies/msgraph-sdk-php-branch-protection.yml b/.github/policies/msgraph-sdk-php-branch-protection.yml index d89fd42e75e..1ae9b4bc0ef 100644 --- a/.github/policies/msgraph-sdk-php-branch-protection.yml +++ b/.github/policies/msgraph-sdk-php-branch-protection.yml @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. +# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # File initially created using https://github.com/MIchaelMainer/policyservicetoolkit/blob/main/branch_protection_export.ps1. @@ -10,7 +10,7 @@ configuration: branchProtectionRules: - branchNamePattern: dev - # This branch pattern applies to the following branches as of 06/12/2023 10:31:17: + # This branch pattern applies to the following branches as of 08/30/2023: # dev # Specifies whether this branch can be deleted. boolean @@ -33,6 +33,9 @@ configuration: requiresConversationResolution: true # Are merge commits prohibited from being pushed to this branch. boolean requiresLinearHistory: false + # Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status + requiredStatusChecks: + #- validate-pull-request #TODO: add this back once we are using Kiota # Require branches to be up to date before merging. Requires requiredStatusChecks. boolean requiresStrictStatusChecks: true # Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush. @@ -41,7 +44,7 @@ configuration: restrictsReviewDismissals: false - branchNamePattern: main - # This branch pattern applies to the following branches as of 06/12/2023 10:31:17: + # This branch pattern applies to the following branches as of 08/30/2023: # main # Specifies whether this branch can be deleted. boolean @@ -57,13 +60,16 @@ configuration: # Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required requiredApprovingReviewsCount: 1 # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean - requireCodeOwnersReview: false + requireCodeOwnersReview: true # Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines. requiresCommitSignatures: false # Are conversations required to be resolved before merging? boolean requiresConversationResolution: true # Are merge commits prohibited from being pushed to this branch. boolean requiresLinearHistory: false + # Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status + requiredStatusChecks: + #- validate-pull-request #TODO: add this back once we are using Kiota # Require branches to be up to date before merging. Requires requiredStatusChecks. boolean requiresStrictStatusChecks: true # Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush. diff --git a/.github/workflows/bump-sdk-version.yml b/.github/workflows/bump-sdk-version.yml index 0b4368a4484..395cf915ee4 100644 --- a/.github/workflows/bump-sdk-version.yml +++ b/.github/workflows/bump-sdk-version.yml @@ -22,7 +22,7 @@ jobs: bump-sdk-version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Git config user run: | diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 700496e2d47..74e4ca05659 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -15,7 +15,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create Release uses: ncipollo/release-action@v1 with: diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index c706c286457..29c5aa64dbf 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -17,7 +17,7 @@ jobs: validate-pull-request: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Validate composer file run: | composer validate diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 1861a3fbb40..9dd6572b329 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -18,7 +18,7 @@ jobs: create-tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get SDK version and set environment variable run: | diff --git a/README.md b/README.md index 266db52807f..3d6f530c4a3 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof ``` { "require": { - "microsoft/microsoft-graph": "^1.105.0" + "microsoft/microsoft-graph": "^1.106.0" } } ``` diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php b/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php index 7f26199eb29..0e245a2b9a9 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php @@ -53,6 +53,37 @@ public function setAltSecId($val) return $this; } + /** + * Gets the cleanupScheduledDateTime + * + * @return \DateTime|null The cleanupScheduledDateTime + */ + public function getCleanupScheduledDateTime() + { + if (array_key_exists("cleanupScheduledDateTime", $this->_propDict)) { + if (is_a($this->_propDict["cleanupScheduledDateTime"], "\DateTime") || is_null($this->_propDict["cleanupScheduledDateTime"])) { + return $this->_propDict["cleanupScheduledDateTime"]; + } else { + $this->_propDict["cleanupScheduledDateTime"] = new \DateTime($this->_propDict["cleanupScheduledDateTime"]); + return $this->_propDict["cleanupScheduledDateTime"]; + } + } + return null; + } + + /** + * Sets the cleanupScheduledDateTime + * + * @param \DateTime $val The cleanupScheduledDateTime + * + * @return AccessPackageSubject + */ + public function setCleanupScheduledDateTime($val) + { + $this->_propDict["cleanupScheduledDateTime"] = $val; + return $this; + } + /** * Gets the connectedOrganizationId * The identifier of the connected organization of the subject. diff --git a/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php b/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php index 1264911a13e..71f75adb123 100644 --- a/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php @@ -59,7 +59,7 @@ public function setAuthenticationStrength($val) /** * Gets the conditionsNotSatisfied - * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @return ConditionalAccessConditions|null The conditionsNotSatisfied */ @@ -78,7 +78,7 @@ public function getConditionsNotSatisfied() /** * Sets the conditionsNotSatisfied - * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @param ConditionalAccessConditions $val The value to assign to the conditionsNotSatisfied * @@ -92,7 +92,7 @@ public function setConditionsNotSatisfied($val) /** * Gets the conditionsSatisfied - * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @return ConditionalAccessConditions|null The conditionsSatisfied */ @@ -111,7 +111,7 @@ public function getConditionsSatisfied() /** * Sets the conditionsSatisfied - * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @param ConditionalAccessConditions $val The value to assign to the conditionsSatisfied * @@ -209,7 +209,7 @@ public function setEnforcedSessionControls($val) /** * Gets the excludeRulesSatisfied - * List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn’t apply, because the DevicePlatform condition was a match. + * List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn't apply, because the DevicePlatform condition was a match. * * @return ConditionalAccessRuleSatisfied|null The excludeRulesSatisfied */ @@ -228,7 +228,7 @@ public function getExcludeRulesSatisfied() /** * Sets the excludeRulesSatisfied - * List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn’t apply, because the DevicePlatform condition was a match. + * List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn't apply, because the DevicePlatform condition was a match. * * @param ConditionalAccessRuleSatisfied $val The value to assign to the excludeRulesSatisfied * diff --git a/src/Beta/Microsoft/Graph/Model/AttachmentContentProperties.php b/src/Beta/Microsoft/Graph/Model/AttachmentContentProperties.php index 80b7f8f7674..64040363bf1 100644 --- a/src/Beta/Microsoft/Graph/Model/AttachmentContentProperties.php +++ b/src/Beta/Microsoft/Graph/Model/AttachmentContentProperties.php @@ -54,4 +54,35 @@ public function setCurrentLabel($val) $this->_propDict["currentLabel"] = $val; return $this; } + + /** + * Gets the discoveredSensitiveTypes + * + * @return DiscoveredSensitiveType|null The discoveredSensitiveTypes + */ + public function getDiscoveredSensitiveTypes() + { + if (array_key_exists("discoveredSensitiveTypes", $this->_propDict)) { + if (is_a($this->_propDict["discoveredSensitiveTypes"], "\Beta\Microsoft\Graph\Model\DiscoveredSensitiveType") || is_null($this->_propDict["discoveredSensitiveTypes"])) { + return $this->_propDict["discoveredSensitiveTypes"]; + } else { + $this->_propDict["discoveredSensitiveTypes"] = new DiscoveredSensitiveType($this->_propDict["discoveredSensitiveTypes"]); + return $this->_propDict["discoveredSensitiveTypes"]; + } + } + return null; + } + + /** + * Sets the discoveredSensitiveTypes + * + * @param DiscoveredSensitiveType $val The value to assign to the discoveredSensitiveTypes + * + * @return AttachmentContentProperties The AttachmentContentProperties + */ + public function setDiscoveredSensitiveTypes($val) + { + $this->_propDict["discoveredSensitiveTypes"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/Model/AzureAttestationSettingStatus.php b/src/Beta/Microsoft/Graph/Model/AzureAttestationSettingStatus.php new file mode 100644 index 00000000000..e2fe91fae8f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureAttestationSettingStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["waitForDeviceConfiguredConfirmation"]; + } else { + return null; + } + } + + /** + * Sets the waitForDeviceConfiguredConfirmation + * Indicates if the device will need to wait for configured confirmation + * + * @param bool $val The waitForDeviceConfiguredConfirmation + * + * @return DepEnrollmentBaseProfile + */ + public function setWaitForDeviceConfiguredConfirmation($val) + { + $this->_propDict["waitForDeviceConfiguredConfirmation"] = boolval($val); + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php b/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php index cf2132bda33..6c99efad74a 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php @@ -443,6 +443,39 @@ public function setEarlyLaunchAntiMalwareDriverProtection($val) $this->_propDict["earlyLaunchAntiMalwareDriverProtection"] = $val; return $this; } + + /** + * Gets the firmwareProtection + * Indicates whether the device has Firmware protection enabled. Firmware protection is a set of features that helps to ensure attackers can't get your device to start with untrusted or malicious firmware. Possible values are "systemGuardSecureLaunch", "firmwareAttackSurfaceReduction", "disabled" and "notApplicable". "systemGuardSecureLaunch" indicates System Guard Secure Launch is enabled for Firmware protection. "firmwareAttackSurfaceReduction" indicates Firmware Attack Surface Reduction is enabled for Firmware protection. "disabled" indicates Firmware protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return FirmwareProtectionType|null The firmwareProtection + */ + public function getFirmwareProtection() + { + if (array_key_exists("firmwareProtection", $this->_propDict)) { + if (is_a($this->_propDict["firmwareProtection"], "\Beta\Microsoft\Graph\Model\FirmwareProtectionType") || is_null($this->_propDict["firmwareProtection"])) { + return $this->_propDict["firmwareProtection"]; + } else { + $this->_propDict["firmwareProtection"] = new FirmwareProtectionType($this->_propDict["firmwareProtection"]); + return $this->_propDict["firmwareProtection"]; + } + } + return null; + } + + /** + * Sets the firmwareProtection + * Indicates whether the device has Firmware protection enabled. Firmware protection is a set of features that helps to ensure attackers can't get your device to start with untrusted or malicious firmware. Possible values are "systemGuardSecureLaunch", "firmwareAttackSurfaceReduction", "disabled" and "notApplicable". "systemGuardSecureLaunch" indicates System Guard Secure Launch is enabled for Firmware protection. "firmwareAttackSurfaceReduction" indicates Firmware Attack Surface Reduction is enabled for Firmware protection. "disabled" indicates Firmware protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param FirmwareProtectionType $val The value to assign to the firmwareProtection + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setFirmwareProtection($val) + { + $this->_propDict["firmwareProtection"] = $val; + return $this; + } /** * Gets the healthAttestationSupportedStatus * This attribute indicates if DHA is supported for the device @@ -560,6 +593,72 @@ public function setLastUpdateDateTime($val) $this->_propDict["lastUpdateDateTime"] = $val; return $this; } + + /** + * Gets the memoryAccessProtection + * Indicates whether the device has Memory access protection enabled. A Windows security feature that protects against external peripherals from gaining unauthorized access to memory. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory access protection is enabled. "disabled" indicates Memory access protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The memoryAccessProtection + */ + public function getMemoryAccessProtection() + { + if (array_key_exists("memoryAccessProtection", $this->_propDict)) { + if (is_a($this->_propDict["memoryAccessProtection"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["memoryAccessProtection"])) { + return $this->_propDict["memoryAccessProtection"]; + } else { + $this->_propDict["memoryAccessProtection"] = new AzureAttestationSettingStatus($this->_propDict["memoryAccessProtection"]); + return $this->_propDict["memoryAccessProtection"]; + } + } + return null; + } + + /** + * Sets the memoryAccessProtection + * Indicates whether the device has Memory access protection enabled. A Windows security feature that protects against external peripherals from gaining unauthorized access to memory. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory access protection is enabled. "disabled" indicates Memory access protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the memoryAccessProtection + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setMemoryAccessProtection($val) + { + $this->_propDict["memoryAccessProtection"] = $val; + return $this; + } + + /** + * Gets the memoryIntegrityProtection + * Indicates whether the device has Memory Integrity protection enabled. Memory Integrity is a feature of Virtualization-based security, also known as Hypervisor-protected code integrity (HVCI). It improves the threat mode of Windows and provides stronger protections against malware trying to exploit the Windows kernel. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory Integrity protection is enabled. "disabled" indicates Memory Integrity protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The memoryIntegrityProtection + */ + public function getMemoryIntegrityProtection() + { + if (array_key_exists("memoryIntegrityProtection", $this->_propDict)) { + if (is_a($this->_propDict["memoryIntegrityProtection"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["memoryIntegrityProtection"])) { + return $this->_propDict["memoryIntegrityProtection"]; + } else { + $this->_propDict["memoryIntegrityProtection"] = new AzureAttestationSettingStatus($this->_propDict["memoryIntegrityProtection"]); + return $this->_propDict["memoryIntegrityProtection"]; + } + } + return null; + } + + /** + * Sets the memoryIntegrityProtection + * Indicates whether the device has Memory Integrity protection enabled. Memory Integrity is a feature of Virtualization-based security, also known as Hypervisor-protected code integrity (HVCI). It improves the threat mode of Windows and provides stronger protections against malware trying to exploit the Windows kernel. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Memory Integrity protection is enabled. "disabled" indicates Memory Integrity protection is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the memoryIntegrityProtection + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setMemoryIntegrityProtection($val) + { + $this->_propDict["memoryIntegrityProtection"] = $val; + return $this; + } /** * Gets the operatingSystemKernelDebugging * When operatingSystemKernelDebugging is enabled, the device is used in development and testing @@ -812,6 +911,72 @@ public function setSecureBootConfigurationPolicyFingerPrint($val) $this->_propDict["secureBootConfigurationPolicyFingerPrint"] = $val; return $this; } + + /** + * Gets the securedCorePC + * Indicates whether the device has Secured-core PC enabled. Secured-core PCs provide protections that are useful against sophisticated attacks and provide increased assurance when handling mission-critical data. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Secured-core PC is enabled. "disabled" indicates Secured-core PC is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The securedCorePC + */ + public function getSecuredCorePC() + { + if (array_key_exists("securedCorePC", $this->_propDict)) { + if (is_a($this->_propDict["securedCorePC"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["securedCorePC"])) { + return $this->_propDict["securedCorePC"]; + } else { + $this->_propDict["securedCorePC"] = new AzureAttestationSettingStatus($this->_propDict["securedCorePC"]); + return $this->_propDict["securedCorePC"]; + } + } + return null; + } + + /** + * Sets the securedCorePC + * Indicates whether the device has Secured-core PC enabled. Secured-core PCs provide protections that are useful against sophisticated attacks and provide increased assurance when handling mission-critical data. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Secured-core PC is enabled. "disabled" indicates Secured-core PC is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the securedCorePC + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setSecuredCorePC($val) + { + $this->_propDict["securedCorePC"] = $val; + return $this; + } + + /** + * Gets the systemManagementMode + * Indicates the device meets enhanced hardware security. Possible values are "level1", "level2", "level3" and "notApplicable". "level1" indicates that deny System Management Mode (SMM) read/write access to OS and Virtualization-based security (VBS) memory. "level2" indicates that in addition to the System Management Mode (SMM) Level 1 protections, this level prevents System Management Mode (SMM) from tampering with Input-Output Memory Management Unit (IOMMU) config. "level3" indicates that in addition to the System Management Mode (SMM) Level 2 protections, this level reduces System Management Mode (SMM) save state capabilities. "notApplicable" indicates that the device does not have Firmware protection (System Management Mode) enabled. Default value is "notApplicable". + * + * @return SystemManagementModeLevel|null The systemManagementMode + */ + public function getSystemManagementMode() + { + if (array_key_exists("systemManagementMode", $this->_propDict)) { + if (is_a($this->_propDict["systemManagementMode"], "\Beta\Microsoft\Graph\Model\SystemManagementModeLevel") || is_null($this->_propDict["systemManagementMode"])) { + return $this->_propDict["systemManagementMode"]; + } else { + $this->_propDict["systemManagementMode"] = new SystemManagementModeLevel($this->_propDict["systemManagementMode"]); + return $this->_propDict["systemManagementMode"]; + } + } + return null; + } + + /** + * Sets the systemManagementMode + * Indicates the device meets enhanced hardware security. Possible values are "level1", "level2", "level3" and "notApplicable". "level1" indicates that deny System Management Mode (SMM) read/write access to OS and Virtualization-based security (VBS) memory. "level2" indicates that in addition to the System Management Mode (SMM) Level 1 protections, this level prevents System Management Mode (SMM) from tampering with Input-Output Memory Management Unit (IOMMU) config. "level3" indicates that in addition to the System Management Mode (SMM) Level 2 protections, this level reduces System Management Mode (SMM) save state capabilities. "notApplicable" indicates that the device does not have Firmware protection (System Management Mode) enabled. Default value is "notApplicable". + * + * @param SystemManagementModeLevel $val The value to assign to the systemManagementMode + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setSystemManagementMode($val) + { + $this->_propDict["systemManagementMode"] = $val; + return $this; + } /** * Gets the testSigning * When test signing is allowed, the device does not enforce signature validation during boot @@ -868,6 +1033,39 @@ public function setTpmVersion($val) $this->_propDict["tpmVersion"] = $val; return $this; } + + /** + * Gets the virtualizationBasedSecurity + * Indicates whether the device has Virtualization-based security (VBS) enabled. Virtualization-based security (VBS) uses hardware virtualization and the Windows hypervisor to create an isolated virtual environment that becomes the root of trust of the OS that assumes the kernel can be compromised. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Virtualization-based security (VBS) is enabled. "disabled" indicates Virtualization-based security (VBS) is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @return AzureAttestationSettingStatus|null The virtualizationBasedSecurity + */ + public function getVirtualizationBasedSecurity() + { + if (array_key_exists("virtualizationBasedSecurity", $this->_propDict)) { + if (is_a($this->_propDict["virtualizationBasedSecurity"], "\Beta\Microsoft\Graph\Model\AzureAttestationSettingStatus") || is_null($this->_propDict["virtualizationBasedSecurity"])) { + return $this->_propDict["virtualizationBasedSecurity"]; + } else { + $this->_propDict["virtualizationBasedSecurity"] = new AzureAttestationSettingStatus($this->_propDict["virtualizationBasedSecurity"]); + return $this->_propDict["virtualizationBasedSecurity"]; + } + } + return null; + } + + /** + * Sets the virtualizationBasedSecurity + * Indicates whether the device has Virtualization-based security (VBS) enabled. Virtualization-based security (VBS) uses hardware virtualization and the Windows hypervisor to create an isolated virtual environment that becomes the root of trust of the OS that assumes the kernel can be compromised. Possible values are "enabled", "disabled" and "notApplicable". "enabled" indicates Virtualization-based security (VBS) is enabled. "disabled" indicates Virtualization-based security (VBS) is disabled. "notApplicable" indicates the device is not a Windows 11 device. Default value is "notApplicable". + * + * @param AzureAttestationSettingStatus $val The value to assign to the virtualizationBasedSecurity + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setVirtualizationBasedSecurity($val) + { + $this->_propDict["virtualizationBasedSecurity"] = $val; + return $this; + } /** * Gets the virtualSecureMode * VSM is a container that protects high value assets from a compromised kernel diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index 772f407516e..1dd8ea6b20b 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php index 62f8fe8d53d..7818161a161 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php @@ -25,7 +25,7 @@ class DeviceManagementConfigurationReferredSettingInformation extends Entity { /** * Gets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @return string|null The settingDefinitionId */ @@ -40,7 +40,7 @@ public function getSettingDefinitionId() /** * Sets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @param string $val The value of the settingDefinitionId * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php index cef962d064b..45dc217d3c7 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php @@ -87,7 +87,7 @@ public function setDeviceMode($val) /** * Gets the platform - * Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. * * @return DeviceManagementConfigurationPlatforms|null The platform */ @@ -106,7 +106,7 @@ public function getPlatform() /** * Sets the platform - * Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. * * @param DeviceManagementConfigurationPlatforms $val The value to assign to the platform * @@ -120,7 +120,7 @@ public function setPlatform($val) /** * Gets the technologies - * Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @return DeviceManagementConfigurationTechnologies|null The technologies */ @@ -139,7 +139,7 @@ public function getTechnologies() /** * Sets the technologies - * Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php index a8b2772c491..f86396f11eb 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php @@ -59,7 +59,7 @@ public function setAccessTypes($val) /** * Gets the applicability - * Details which device setting is applicable on. Supports: $filters. + * Details which device setting is applicable on * * @return DeviceManagementConfigurationSettingApplicability|null The applicability */ @@ -78,7 +78,7 @@ public function getApplicability() /** * Sets the applicability - * Details which device setting is applicable on. Supports: $filters. + * Details which device setting is applicable on * * @param DeviceManagementConfigurationSettingApplicability $val The applicability * @@ -121,7 +121,7 @@ public function setBaseUri($val) /** * Gets the categoryId - * Specify category in which the setting is under. Support $filters. + * Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) * * @return string|null The categoryId */ @@ -136,7 +136,7 @@ public function getCategoryId() /** * Sets the categoryId - * Specify category in which the setting is under. Support $filters. + * Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) * * @param string $val The categoryId * @@ -150,7 +150,7 @@ public function setCategoryId($val) /** * Gets the description - * Description of the setting. + * Description of the item * * @return string|null The description */ @@ -165,7 +165,7 @@ public function getDescription() /** * Sets the description - * Description of the setting. + * Description of the item * * @param string $val The description * @@ -179,7 +179,7 @@ public function setDescription($val) /** * Gets the displayName - * Name of the setting. For example: Allow Toast. + * Display name of the item * * @return string|null The displayName */ @@ -194,7 +194,7 @@ public function getDisplayName() /** * Sets the displayName - * Name of the setting. For example: Allow Toast. + * Display name of the item * * @param string $val The displayName * @@ -208,7 +208,7 @@ public function setDisplayName($val) /** * Gets the helpText - * Help text of the setting. Give more details of the setting. + * Help text of the item * * @return string|null The helpText */ @@ -223,7 +223,7 @@ public function getHelpText() /** * Sets the helpText - * Help text of the setting. Give more details of the setting. + * Help text of the item * * @param string $val The helpText * @@ -237,7 +237,7 @@ public function setHelpText($val) /** * Gets the infoUrls - * List of links more info for the setting can be found at. + * List of links more info for the setting can be found at * * @return array|null The infoUrls */ @@ -252,7 +252,7 @@ public function getInfoUrls() /** * Sets the infoUrls - * List of links more info for the setting can be found at. + * List of links more info for the setting can be found at * * @param string[] $val The infoUrls * @@ -416,7 +416,7 @@ public function setReferredSettingInformationList($val) /** * Gets the rootDefinitionId - * Root setting definition id if the setting is a child setting. + * Root setting definition if the setting is a child setting. * * @return string|null The rootDefinitionId */ @@ -431,7 +431,7 @@ public function getRootDefinitionId() /** * Sets the rootDefinitionId - * Root setting definition id if the setting is a child setting. + * Root setting definition if the setting is a child setting. * * @param string $val The rootDefinitionId * @@ -445,7 +445,7 @@ public function setRootDefinitionId($val) /** * Gets the settingUsage - * Indicate setting type for the setting. Possible values are: configuration, compliance, reusableSetting. Each setting usage has separate API end-point to call. Possible values are: none, configuration, compliance, unknownFutureValue. + * Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance. * * @return DeviceManagementConfigurationSettingUsage|null The settingUsage */ @@ -464,7 +464,7 @@ public function getSettingUsage() /** * Sets the settingUsage - * Indicate setting type for the setting. Possible values are: configuration, compliance, reusableSetting. Each setting usage has separate API end-point to call. Possible values are: none, configuration, compliance, unknownFutureValue. + * Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance. * * @param DeviceManagementConfigurationSettingUsage $val The settingUsage * @@ -478,7 +478,7 @@ public function setSettingUsage($val) /** * Gets the uxBehavior - * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane, unknownFutureValue. + * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. * * @return DeviceManagementConfigurationControlType|null The uxBehavior */ @@ -497,7 +497,7 @@ public function getUxBehavior() /** * Sets the uxBehavior - * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane, unknownFutureValue. + * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. * * @param DeviceManagementConfigurationControlType $val The uxBehavior * @@ -540,7 +540,7 @@ public function setVersion($val) /** * Gets the visibility - * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. Possible values are: none, settingsCatalog, template, unknownFutureValue. + * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. * * @return DeviceManagementConfigurationSettingVisibility|null The visibility */ @@ -559,7 +559,7 @@ public function getVisibility() /** * Sets the visibility - * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. Possible values are: none, settingsCatalog, template, unknownFutureValue. + * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. * * @param DeviceManagementConfigurationSettingVisibility $val The visibility * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php index 84d921c2cdd..10e62e20a65 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi { /** * Gets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php index 60995c914c7..68ed03d5cbc 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of simple settings in the collection. Valid values 1 to 100 + * Maximum number of simple settings in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of simple settings in the collection. Valid values 1 to 100 + * Maximum number of simple settings in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of simple settings in the collection. Valid values 1 to 100 + * Minimum number of simple settings in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of simple settings in the collection. Valid values 1 to 100 + * Minimum number of simple settings in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/FirmwareProtectionType.php b/src/Beta/Microsoft/Graph/Model/FirmwareProtectionType.php new file mode 100644 index 00000000000..102c571f7d3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/FirmwareProtectionType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of groups that are enabled to use the authentication method. Expanded by default. + * + * @param AuthenticationMethodTarget[] $val The includeTargets + * + * @return HardwareOathAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/IdentitySet.php b/src/Beta/Microsoft/Graph/Model/IdentitySet.php index 2046ffd53d1..655759bfd9f 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentitySet.php +++ b/src/Beta/Microsoft/Graph/Model/IdentitySet.php @@ -26,7 +26,7 @@ class IdentitySet extends Entity /** * Gets the application - * The Identity of the Application. This property is read-only. + * Optional. The application associated with this action. * * @return Identity|null The application */ @@ -45,7 +45,7 @@ public function getApplication() /** * Sets the application - * The Identity of the Application. This property is read-only. + * Optional. The application associated with this action. * * @param Identity $val The value to assign to the application * @@ -59,7 +59,7 @@ public function setApplication($val) /** * Gets the device - * The Identity of the Device. This property is read-only. + * Optional. The device associated with this action. * * @return Identity|null The device */ @@ -78,7 +78,7 @@ public function getDevice() /** * Sets the device - * The Identity of the Device. This property is read-only. + * Optional. The device associated with this action. * * @param Identity $val The value to assign to the device * @@ -92,7 +92,7 @@ public function setDevice($val) /** * Gets the user - * The Identity of the User. This property is read-only. + * Optional. The user associated with this action. * * @return Identity|null The user */ @@ -111,7 +111,7 @@ public function getUser() /** * Sets the user - * The Identity of the User. This property is read-only. + * Optional. The user associated with this action. * * @param Identity $val The value to assign to the user * diff --git a/src/Beta/Microsoft/Graph/Model/KeyValue.php b/src/Beta/Microsoft/Graph/Model/KeyValue.php index 2dfdabba03a..9e797ef81ae 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValue.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValue.php @@ -25,7 +25,7 @@ class KeyValue extends Entity { /** * Gets the key - * Key. + * Contains the name of the field that a value is associated with. * * @return string|null The key */ @@ -40,7 +40,7 @@ public function getKey() /** * Sets the key - * Key. + * Contains the name of the field that a value is associated with. * * @param string $val The value of the key * @@ -53,7 +53,7 @@ public function setKey($val) } /** * Gets the value - * Value. + * Contains the corresponding value for the specified key. * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Value. + * Contains the corresponding value for the specified key. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/KeyValuePair.php b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php index 7ba63886b10..e82157217f0 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValuePair.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php @@ -25,7 +25,7 @@ class KeyValuePair extends Entity { /** * Gets the name - * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. + * Name for this key-value pair * * @return string|null The name */ @@ -40,7 +40,7 @@ public function getName() /** * Sets the name - * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. + * Name for this key-value pair * * @param string $val The value of the name * @@ -53,7 +53,7 @@ public function setName($val) } /** * Gets the value - * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. + * Value for this key-value pair * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. + * Value for this key-value pair * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php b/src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php index 3752a1090a7..45144ab6683 100644 --- a/src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php +++ b/src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php @@ -26,7 +26,7 @@ class LearningSelfInitiatedCourse extends LearningCourseActivity { /** * Gets the startedDateTime - * The date time value on which the self-initiated course was started by the learner. Optional. + * The date and time on which the self-initiated course was started by the learner. Optional. * * @return \DateTime|null The startedDateTime */ @@ -45,7 +45,7 @@ public function getStartedDateTime() /** * Sets the startedDateTime - * The date time value on which the self-initiated course was started by the learner. Optional. + * The date and time on which the self-initiated course was started by the learner. Optional. * * @param \DateTime $val The startedDateTime * diff --git a/src/Beta/Microsoft/Graph/Model/MetadataEntry.php b/src/Beta/Microsoft/Graph/Model/MetadataEntry.php new file mode 100644 index 00000000000..15dbe0fac85 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MetadataEntry.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * + * @param string $val The value of the key + * + * @return MetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return MetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php index 604638cbee4..6da3db37e85 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php @@ -26,6 +26,7 @@ class MultiTenantOrganization extends Entity { /** * Gets the createdDateTime + * Date when multi-tenant organization was created. Read-only. * * @return \DateTime|null The createdDateTime */ @@ -44,6 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date when multi-tenant organization was created. Read-only. * * @param \DateTime $val The createdDateTime * @@ -57,6 +59,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * Description of the multi-tenant organization. * * @return string|null The description */ @@ -71,6 +74,7 @@ public function getDescription() /** * Sets the description + * Description of the multi-tenant organization. * * @param string $val The description * @@ -84,6 +88,7 @@ public function setDescription($val) /** * Gets the displayName + * Display name of the multi-tenant organization. * * @return string|null The displayName */ @@ -98,6 +103,7 @@ public function getDisplayName() /** * Sets the displayName + * Display name of the multi-tenant organization. * * @param string $val The displayName * @@ -111,6 +117,7 @@ public function setDisplayName($val) /** * Gets the state + * State of the multi-tenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multi-tenant organization is created. inactive indicates the multi-tenant organization is not created. Read-only. * * @return MultiTenantOrganizationState|null The state */ @@ -129,6 +136,7 @@ public function getState() /** * Sets the state + * State of the multi-tenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multi-tenant organization is created. inactive indicates the multi-tenant organization is not created. Read-only. * * @param MultiTenantOrganizationState $val The state * @@ -142,6 +150,7 @@ public function setState($val) /** * Gets the joinRequest + * Defines the status of a tenant joining a multi-tenant organization. * * @return MultiTenantOrganizationJoinRequestRecord|null The joinRequest */ @@ -160,6 +169,7 @@ public function getJoinRequest() /** * Sets the joinRequest + * Defines the status of a tenant joining a multi-tenant organization. * * @param MultiTenantOrganizationJoinRequestRecord $val The joinRequest * @@ -174,6 +184,7 @@ public function setJoinRequest($val) /** * Gets the tenants + * Defines tenants added to a multi-tenant organization. * * @return array|null The tenants */ @@ -188,6 +199,7 @@ public function getTenants() /** * Sets the tenants + * Defines tenants added to a multi-tenant organization. * * @param MultiTenantOrganizationMember[] $val The tenants * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php index 17ba65fabb7..a32ba03ffc4 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php @@ -26,6 +26,7 @@ class MultiTenantOrganizationIdentitySyncPolicyTemplate extends Entity { /** * Gets the templateApplicationLevel + * Specifies whether the template will be applied to user synchronization settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific user synchronization settings in place. * * @return TemplateApplicationLevel|null The templateApplicationLevel */ @@ -44,6 +45,7 @@ public function getTemplateApplicationLevel() /** * Sets the templateApplicationLevel + * Specifies whether the template will be applied to user synchronization settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific user synchronization settings in place. * * @param TemplateApplicationLevel $val The templateApplicationLevel * @@ -57,6 +59,7 @@ public function setTemplateApplicationLevel($val) /** * Gets the userSyncInbound + * Defines whether users can be synchronized from the partner tenant. * * @return CrossTenantUserSyncInbound|null The userSyncInbound */ @@ -75,6 +78,7 @@ public function getUserSyncInbound() /** * Sets the userSyncInbound + * Defines whether users can be synchronized from the partner tenant. * * @param CrossTenantUserSyncInbound $val The userSyncInbound * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php index 398d8bbfa89..a77ebcbf070 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php @@ -26,6 +26,7 @@ class MultiTenantOrganizationJoinRequestRecord extends Entity { /** * Gets the addedByTenantId + * Tenant ID of the Azure Active Directory tenant that added a tenant to the multi-tenant organization. To reset a failed join request, set addedByTenantId to 00000000-0000-0000-0000-000000000000. Required. * * @return string|null The addedByTenantId */ @@ -40,6 +41,7 @@ public function getAddedByTenantId() /** * Sets the addedByTenantId + * Tenant ID of the Azure Active Directory tenant that added a tenant to the multi-tenant organization. To reset a failed join request, set addedByTenantId to 00000000-0000-0000-0000-000000000000. Required. * * @param string $val The addedByTenantId * @@ -53,6 +55,7 @@ public function setAddedByTenantId($val) /** * Gets the memberState + * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. * * @return MultiTenantOrganizationMemberState|null The memberState */ @@ -71,6 +74,7 @@ public function getMemberState() /** * Sets the memberState + * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. * * @param MultiTenantOrganizationMemberState $val The memberState * @@ -84,6 +88,7 @@ public function setMemberState($val) /** * Gets the role + * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. Tenants with the member role can participate in a multi-tenant organization. * * @return MultiTenantOrganizationMemberRole|null The role */ @@ -102,6 +107,7 @@ public function getRole() /** * Sets the role + * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. Tenants with the member role can participate in a multi-tenant organization. * * @param MultiTenantOrganizationMemberRole $val The role * @@ -115,6 +121,7 @@ public function setRole($val) /** * Gets the transitionDetails + * Details of the processing status for a tenant joining a multi-tenant organization. Read-only. * * @return MultiTenantOrganizationJoinRequestTransitionDetails|null The transitionDetails */ @@ -133,6 +140,7 @@ public function getTransitionDetails() /** * Sets the transitionDetails + * Details of the processing status for a tenant joining a multi-tenant organization. Read-only. * * @param MultiTenantOrganizationJoinRequestTransitionDetails $val The transitionDetails * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php index 368e9d89357..6d6cee6bdf2 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php @@ -26,6 +26,7 @@ class MultiTenantOrganizationJoinRequestTransitionDetails extends Entity /** * Gets the desiredMemberState + * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @return MultiTenantOrganizationMemberState|null The desiredMemberState */ @@ -44,6 +45,7 @@ public function getDesiredMemberState() /** * Sets the desiredMemberState + * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredMemberState * @@ -56,6 +58,7 @@ public function setDesiredMemberState($val) } /** * Gets the details + * Details that explain the processing status if any. Read-only. * * @return string|null The details */ @@ -70,6 +73,7 @@ public function getDetails() /** * Sets the details + * Details that explain the processing status if any. Read-only. * * @param string $val The value of the details * @@ -83,6 +87,7 @@ public function setDetails($val) /** * Gets the status + * Processing state of the asynchronous job. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. * * @return MultiTenantOrganizationMemberProcessingStatus|null The status */ @@ -101,6 +106,7 @@ public function getStatus() /** * Sets the status + * Processing state of the asynchronous job. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. * * @param MultiTenantOrganizationMemberProcessingStatus $val The value to assign to the status * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php index 1052dd7aa0b..1fcd9ecc80d 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php @@ -26,6 +26,7 @@ class MultiTenantOrganizationMember extends DirectoryObject { /** * Gets the addedByTenantId + * Tenant ID of the tenant that added the tenant to the multi-tenant organization. Read-only. * * @return string|null The addedByTenantId */ @@ -40,6 +41,7 @@ public function getAddedByTenantId() /** * Sets the addedByTenantId + * Tenant ID of the tenant that added the tenant to the multi-tenant organization. Read-only. * * @param string $val The addedByTenantId * @@ -53,6 +55,7 @@ public function setAddedByTenantId($val) /** * Gets the addedDateTime + * Date and time when the tenant was added to the multi-tenant organization. Read-only. * * @return \DateTime|null The addedDateTime */ @@ -71,6 +74,7 @@ public function getAddedDateTime() /** * Sets the addedDateTime + * Date and time when the tenant was added to the multi-tenant organization. Read-only. * * @param \DateTime $val The addedDateTime * @@ -84,6 +88,7 @@ public function setAddedDateTime($val) /** * Gets the displayName + * Display name of the tenant added to the multi-tenant organization. * * @return string|null The displayName */ @@ -98,6 +103,7 @@ public function getDisplayName() /** * Sets the displayName + * Display name of the tenant added to the multi-tenant organization. * * @param string $val The displayName * @@ -111,6 +117,7 @@ public function setDisplayName($val) /** * Gets the joinedDateTime + * Date and time when the tenant joined the multi-tenant organization. Read-only. * * @return \DateTime|null The joinedDateTime */ @@ -129,6 +136,7 @@ public function getJoinedDateTime() /** * Sets the joinedDateTime + * Date and time when the tenant joined the multi-tenant organization. Read-only. * * @param \DateTime $val The joinedDateTime * @@ -142,6 +150,7 @@ public function setJoinedDateTime($val) /** * Gets the role + * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization but tenants with the member role can only participate in a multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. * * @return MultiTenantOrganizationMemberRole|null The role */ @@ -160,6 +169,7 @@ public function getRole() /** * Sets the role + * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization but tenants with the member role can only participate in a multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. * * @param MultiTenantOrganizationMemberRole $val The role * @@ -173,6 +183,7 @@ public function setRole($val) /** * Gets the state + * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. * * @return MultiTenantOrganizationMemberState|null The state */ @@ -191,6 +202,7 @@ public function getState() /** * Sets the state + * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. * * @param MultiTenantOrganizationMemberState $val The state * @@ -204,6 +216,7 @@ public function setState($val) /** * Gets the tenantId + * Tenant ID of the Azure Active Directory tenant added to the multi-tenant organization. Set at the time tenant is added.Supports $filter. Key. * * @return string|null The tenantId */ @@ -218,6 +231,7 @@ public function getTenantId() /** * Sets the tenantId + * Tenant ID of the Azure Active Directory tenant added to the multi-tenant organization. Set at the time tenant is added.Supports $filter. Key. * * @param string $val The tenantId * @@ -231,6 +245,7 @@ public function setTenantId($val) /** * Gets the transitionDetails + * Details of the processing status for a tenant in a multi-tenant organization. Read-only. Nullable. * * @return MultiTenantOrganizationMemberTransitionDetails|null The transitionDetails */ @@ -249,6 +264,7 @@ public function getTransitionDetails() /** * Sets the transitionDetails + * Details of the processing status for a tenant in a multi-tenant organization. Read-only. Nullable. * * @param MultiTenantOrganizationMemberTransitionDetails $val The transitionDetails * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php index ca53562a681..8f61371fd32 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php @@ -26,6 +26,7 @@ class MultiTenantOrganizationMemberTransitionDetails extends Entity /** * Gets the desiredRole + * Role of the tenant in the multi-tenant organization. The possible values are: owner, member, unknownFutureValue. * * @return MultiTenantOrganizationMemberRole|null The desiredRole */ @@ -44,6 +45,7 @@ public function getDesiredRole() /** * Sets the desiredRole + * Role of the tenant in the multi-tenant organization. The possible values are: owner, member, unknownFutureValue. * * @param MultiTenantOrganizationMemberRole $val The value to assign to the desiredRole * @@ -57,6 +59,7 @@ public function setDesiredRole($val) /** * Gets the desiredState + * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @return MultiTenantOrganizationMemberState|null The desiredState */ @@ -75,6 +78,7 @@ public function getDesiredState() /** * Sets the desiredState + * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredState * @@ -87,6 +91,7 @@ public function setDesiredState($val) } /** * Gets the details + * Details that explain the processing status if any. Read-only. * * @return string|null The details */ @@ -101,6 +106,7 @@ public function getDetails() /** * Sets the details + * Details that explain the processing status if any. Read-only. * * @param string $val The value of the details * @@ -114,6 +120,7 @@ public function setDetails($val) /** * Gets the status + * Processing state of the asynchronous job. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. * * @return MultiTenantOrganizationMemberProcessingStatus|null The status */ @@ -132,6 +139,7 @@ public function getStatus() /** * Sets the status + * Processing state of the asynchronous job. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. * * @param MultiTenantOrganizationMemberProcessingStatus $val The value to assign to the status * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php index 7f0b5979aec..4d7f8a0ce20 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php @@ -26,6 +26,7 @@ class MultiTenantOrganizationPartnerConfigurationTemplate extends Entity { /** * Gets the automaticUserConsentSettings + * Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * * @return InboundOutboundPolicyConfiguration|null The automaticUserConsentSettings */ @@ -44,6 +45,7 @@ public function getAutomaticUserConsentSettings() /** * Sets the automaticUserConsentSettings + * Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * * @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings * @@ -57,6 +59,7 @@ public function setAutomaticUserConsentSettings($val) /** * Gets the b2bCollaborationInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. * * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationInbound */ @@ -75,6 +78,7 @@ public function getB2bCollaborationInbound() /** * Sets the b2bCollaborationInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. * * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationInbound * @@ -88,6 +92,7 @@ public function setB2bCollaborationInbound($val) /** * Gets the b2bCollaborationOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration. * * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationOutbound */ @@ -106,6 +111,7 @@ public function getB2bCollaborationOutbound() /** * Sets the b2bCollaborationOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration. * * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationOutbound * @@ -119,6 +125,7 @@ public function setB2bCollaborationOutbound($val) /** * Gets the b2bDirectConnectInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect. * * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectInbound */ @@ -137,6 +144,7 @@ public function getB2bDirectConnectInbound() /** * Sets the b2bDirectConnectInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect. * * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectInbound * @@ -150,6 +158,7 @@ public function setB2bDirectConnectInbound($val) /** * Gets the b2bDirectConnectOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect. * * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectOutbound */ @@ -168,6 +177,7 @@ public function getB2bDirectConnectOutbound() /** * Sets the b2bDirectConnectOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect. * * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectOutbound * @@ -181,6 +191,7 @@ public function setB2bDirectConnectOutbound($val) /** * Gets the inboundTrust + * Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations. * * @return CrossTenantAccessPolicyInboundTrust|null The inboundTrust */ @@ -199,6 +210,7 @@ public function getInboundTrust() /** * Sets the inboundTrust + * Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations. * * @param CrossTenantAccessPolicyInboundTrust $val The inboundTrust * @@ -212,6 +224,7 @@ public function setInboundTrust($val) /** * Gets the templateApplicationLevel + * Specifies whether the template will be applied to partner configuration settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific partner configurations in place. * * @return TemplateApplicationLevel|null The templateApplicationLevel */ @@ -230,6 +243,7 @@ public function getTemplateApplicationLevel() /** * Sets the templateApplicationLevel + * Specifies whether the template will be applied to partner configuration settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific partner configurations in place. * * @param TemplateApplicationLevel $val The templateApplicationLevel * diff --git a/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php b/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php index f0befe7812a..e6a3a707e0d 100644 --- a/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php +++ b/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php @@ -26,6 +26,7 @@ class PolicyTemplate extends Entity { /** * Gets the multiTenantOrganizationIdentitySynchronization + * Defines an optional cross-tenant access policy template with user synchronization settings for a multi-tenant organization. * * @return MultiTenantOrganizationIdentitySyncPolicyTemplate|null The multiTenantOrganizationIdentitySynchronization */ @@ -44,6 +45,7 @@ public function getMultiTenantOrganizationIdentitySynchronization() /** * Sets the multiTenantOrganizationIdentitySynchronization + * Defines an optional cross-tenant access policy template with user synchronization settings for a multi-tenant organization. * * @param MultiTenantOrganizationIdentitySyncPolicyTemplate $val The multiTenantOrganizationIdentitySynchronization * @@ -57,6 +59,7 @@ public function setMultiTenantOrganizationIdentitySynchronization($val) /** * Gets the multiTenantOrganizationPartnerConfiguration + * Defines an optional cross-tenant access policy template with inbound and outbound partner configuration settings for a multi-tenant organization. * * @return MultiTenantOrganizationPartnerConfigurationTemplate|null The multiTenantOrganizationPartnerConfiguration */ @@ -75,6 +78,7 @@ public function getMultiTenantOrganizationPartnerConfiguration() /** * Sets the multiTenantOrganizationPartnerConfiguration + * Defines an optional cross-tenant access policy template with inbound and outbound partner configuration settings for a multi-tenant organization. * * @param MultiTenantOrganizationPartnerConfigurationTemplate $val The multiTenantOrganizationPartnerConfiguration * diff --git a/src/Beta/Microsoft/Graph/Model/PublicationFacet.php b/src/Beta/Microsoft/Graph/Model/PublicationFacet.php index adce813f76c..8ae94fad002 100644 --- a/src/Beta/Microsoft/Graph/Model/PublicationFacet.php +++ b/src/Beta/Microsoft/Graph/Model/PublicationFacet.php @@ -26,6 +26,7 @@ class PublicationFacet extends Entity /** * Gets the checkedOutBy + * User who has checked out the file. * * @return IdentitySet|null The checkedOutBy */ @@ -44,6 +45,7 @@ public function getCheckedOutBy() /** * Sets the checkedOutBy + * User who has checked out the file. * * @param IdentitySet $val The value to assign to the checkedOutBy * diff --git a/src/Beta/Microsoft/Graph/Model/SignIn.php b/src/Beta/Microsoft/Graph/Model/SignIn.php index 38a69c97d19..a96b377c201 100644 --- a/src/Beta/Microsoft/Graph/Model/SignIn.php +++ b/src/Beta/Microsoft/Graph/Model/SignIn.php @@ -1151,6 +1151,7 @@ public function setOriginalRequestId($val) /** * Gets the originalTransferMethod + * Transfer method used to initiate a session throughout all subsequent request. The possible values are: none, deviceCodeFlow, authenticationTransfer, unknownFutureValue. * * @return OriginalTransferMethods|null The originalTransferMethod */ @@ -1169,6 +1170,7 @@ public function getOriginalTransferMethod() /** * Sets the originalTransferMethod + * Transfer method used to initiate a session throughout all subsequent request. The possible values are: none, deviceCodeFlow, authenticationTransfer, unknownFutureValue. * * @param OriginalTransferMethods $val The originalTransferMethod * @@ -1758,6 +1760,7 @@ public function setSignInIdentifierType($val) /** * Gets the signInTokenProtectionStatus + * Token protection creates a cryptographically secure tie between the token and the device it's issued to. This field indicates whether the signin token was bound to the device or not. The possible values are: none, bound, unbound, unknownFutureValue. * * @return TokenProtectionStatus|null The signInTokenProtectionStatus */ @@ -1776,6 +1779,7 @@ public function getSignInTokenProtectionStatus() /** * Sets the signInTokenProtectionStatus + * Token protection creates a cryptographically secure tie between the token and the device it's issued to. This field indicates whether the signin token was bound to the device or not. The possible values are: none, bound, unbound, unknownFutureValue. * * @param TokenProtectionStatus $val The signInTokenProtectionStatus * diff --git a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php index b1026dfec1a..49bda8fac91 100644 --- a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php +++ b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php @@ -62,4 +62,30 @@ public function setUpns($val) $this->_propDict["upns"] = $val; return $this; } + /** + * Gets the userPrincipalNames + * + * @return string|null The userPrincipalNames + */ + public function getUserPrincipalNames() + { + if (array_key_exists("userPrincipalNames", $this->_propDict)) { + return $this->_propDict["userPrincipalNames"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalNames + * + * @param string $val The value of the userPrincipalNames + * + * @return SubjectRightsRequestEnumeratedMailboxLocation + */ + public function setUserPrincipalNames($val) + { + $this->_propDict["userPrincipalNames"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SystemManagementModeLevel.php b/src/Beta/Microsoft/Graph/Model/SystemManagementModeLevel.php new file mode 100644 index 00000000000..c6aedf55585 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/SystemManagementModeLevel.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["firmwareProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the firmwareProtectionEnabled + * When TRUE, indicates that Firmware protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Firmware protection is not required to be reported as healthy. Devices that support either Dynamic Root of Trust for Measurement (DRTM) or Firmware Attack Surface Reduction (FASR) will report compliant for this setting. Default value is FALSE. + * + * @param bool $val The firmwareProtectionEnabled + * + * @return Windows10CompliancePolicy + */ + public function setFirmwareProtectionEnabled($val) + { + $this->_propDict["firmwareProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kernelDmaProtectionEnabled + * When TRUE, indicates that Kernel Direct Memory Access (DMA) protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Kernel DMA Protection is not required to be reported as healthy. Default value is FALSE. + * + * @return bool|null The kernelDmaProtectionEnabled + */ + public function getKernelDmaProtectionEnabled() + { + if (array_key_exists("kernelDmaProtectionEnabled", $this->_propDict)) { + return $this->_propDict["kernelDmaProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kernelDmaProtectionEnabled + * When TRUE, indicates that Kernel Direct Memory Access (DMA) protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Kernel DMA Protection is not required to be reported as healthy. Default value is FALSE. + * + * @param bool $val The kernelDmaProtectionEnabled + * + * @return Windows10CompliancePolicy + */ + public function setKernelDmaProtectionEnabled($val) + { + $this->_propDict["kernelDmaProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the memoryIntegrityEnabled + * When TRUE, indicates that Memory Integrity as known as Hypervisor-protected Code Integrity (HVCI) or Hypervisor Enforced Code Integrity protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Memory Integrity Protection is not required to be reported as healthy. Default value is FALSE. + * + * @return bool|null The memoryIntegrityEnabled + */ + public function getMemoryIntegrityEnabled() + { + if (array_key_exists("memoryIntegrityEnabled", $this->_propDict)) { + return $this->_propDict["memoryIntegrityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the memoryIntegrityEnabled + * When TRUE, indicates that Memory Integrity as known as Hypervisor-protected Code Integrity (HVCI) or Hypervisor Enforced Code Integrity protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Memory Integrity Protection is not required to be reported as healthy. Default value is FALSE. + * + * @param bool $val The memoryIntegrityEnabled + * + * @return Windows10CompliancePolicy + */ + public function setMemoryIntegrityEnabled($val) + { + $this->_propDict["memoryIntegrityEnabled"] = boolval($val); + return $this; + } + /** * Gets the mobileOsMaximumVersion * Maximum Windows Phone version. @@ -965,4 +1052,33 @@ public function setValidOperatingSystemBuildRanges($val) return $this; } + /** + * Gets the virtualizationBasedSecurityEnabled + * When TRUE, indicates that Virtualization-based Security is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Virtualization-based Security is not required to be reported as healthy. Default value is FALSE. + * + * @return bool|null The virtualizationBasedSecurityEnabled + */ + public function getVirtualizationBasedSecurityEnabled() + { + if (array_key_exists("virtualizationBasedSecurityEnabled", $this->_propDict)) { + return $this->_propDict["virtualizationBasedSecurityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the virtualizationBasedSecurityEnabled + * When TRUE, indicates that Virtualization-based Security is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Virtualization-based Security is not required to be reported as healthy. Default value is FALSE. + * + * @param bool $val The virtualizationBasedSecurityEnabled + * + * @return Windows10CompliancePolicy + */ + public function setVirtualizationBasedSecurityEnabled($val) + { + $this->_propDict["virtualizationBasedSecurityEnabled"] = boolval($val); + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php index 9376f537f2f..a7bc25586ed 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceIdentity.php @@ -748,6 +748,39 @@ public function setSystemFamily($val) return $this; } + /** + * Gets the userlessEnrollmentStatus + * Enrollment status for userless enrollments. + * + * @return WindowsAutopilotUserlessEnrollmentStatus|null The userlessEnrollmentStatus + */ + public function getUserlessEnrollmentStatus() + { + if (array_key_exists("userlessEnrollmentStatus", $this->_propDict)) { + if (is_a($this->_propDict["userlessEnrollmentStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotUserlessEnrollmentStatus") || is_null($this->_propDict["userlessEnrollmentStatus"])) { + return $this->_propDict["userlessEnrollmentStatus"]; + } else { + $this->_propDict["userlessEnrollmentStatus"] = new WindowsAutopilotUserlessEnrollmentStatus($this->_propDict["userlessEnrollmentStatus"]); + return $this->_propDict["userlessEnrollmentStatus"]; + } + } + return null; + } + + /** + * Sets the userlessEnrollmentStatus + * Enrollment status for userless enrollments. + * + * @param WindowsAutopilotUserlessEnrollmentStatus $val The userlessEnrollmentStatus + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setUserlessEnrollmentStatus($val) + { + $this->_propDict["userlessEnrollmentStatus"] = $val; + return $this; + } + /** * Gets the userPrincipalName * User Principal Name. diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAutopilotUserlessEnrollmentStatus.php b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotUserlessEnrollmentStatus.php new file mode 100644 index 00000000000..470690e72f6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WindowsAutopilotUserlessEnrollmentStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["installLatestWindows10OnWindows11IneligibleDevice"]; + } else { + return null; + } + } + + /** + * Sets the installLatestWindows10OnWindows11IneligibleDevice + * If true, the latest Microsoft Windows 10 update will be installed on devices ineligible for Microsoft Windows 11 + * + * @param bool $val The installLatestWindows10OnWindows11IneligibleDevice + * + * @return WindowsFeatureUpdateProfile + */ + public function setInstallLatestWindows10OnWindows11IneligibleDevice($val) + { + $this->_propDict["installLatestWindows10OnWindows11IneligibleDevice"] = boolval($val); + return $this; + } + /** * Gets the lastModifiedDateTime * The date time that the profile was last modified. diff --git a/src/Beta/Microsoft/Graph/Model/WindowsManagedAppRegistration.php b/src/Beta/Microsoft/Graph/Model/WindowsManagedAppRegistration.php new file mode 100644 index 00000000000..900b6616320 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WindowsManagedAppRegistration.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["servicePrincipalLockConfiguration"], "\Microsoft\Graph\Model\ServicePrincipalLockConfiguration") || is_null($this->_propDict["servicePrincipalLockConfiguration"])) { + return $this->_propDict["servicePrincipalLockConfiguration"]; + } else { + $this->_propDict["servicePrincipalLockConfiguration"] = new ServicePrincipalLockConfiguration($this->_propDict["servicePrincipalLockConfiguration"]); + return $this->_propDict["servicePrincipalLockConfiguration"]; + } + } + return null; + } + + /** + * Sets the servicePrincipalLockConfiguration + * Specifies whether sensitive properties of a multi-tenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default. + * + * @param ServicePrincipalLockConfiguration $val The servicePrincipalLockConfiguration + * + * @return Application + */ + public function setServicePrincipalLockConfiguration($val) + { + $this->_propDict["servicePrincipalLockConfiguration"] = $val; + return $this; + } + /** * Gets the signInAudience * Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. The value for this property has implications on other app object properties. As a result, if you change this property, you may need to change other properties first. For more information, see Validation differences for signInAudience.Supports $filter (eq, ne, not). diff --git a/src/Model/BaseItem.php b/src/Model/BaseItem.php index 43f12581e8b..2c2df96d0b6 100644 --- a/src/Model/BaseItem.php +++ b/src/Model/BaseItem.php @@ -26,7 +26,7 @@ class BaseItem extends Entity { /** * Gets the createdBy - * Identity of the user, device, or application which created the item. Read-only. + * Identity of the user, device, or application that created the item. Read-only. * * @return IdentitySet|null The createdBy */ @@ -45,7 +45,7 @@ public function getCreatedBy() /** * Sets the createdBy - * Identity of the user, device, or application which created the item. Read-only. + * Identity of the user, device, or application that created the item. Read-only. * * @param IdentitySet $val The createdBy * @@ -150,7 +150,7 @@ public function setETag($val) /** * Gets the lastModifiedBy - * Identity of the user, device, and application which last modified the item. Read-only. + * Identity of the user, device, and application that last modified the item. Read-only. * * @return IdentitySet|null The lastModifiedBy */ @@ -169,7 +169,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy - * Identity of the user, device, and application which last modified the item. Read-only. + * Identity of the user, device, and application that last modified the item. Read-only. * * @param IdentitySet $val The lastModifiedBy * @@ -278,7 +278,7 @@ public function setParentReference($val) /** * Gets the webUrl - * URL that displays the resource in the browser. Read-only. + * URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only. * * @return string|null The webUrl */ @@ -293,7 +293,7 @@ public function getWebUrl() /** * Sets the webUrl - * URL that displays the resource in the browser. Read-only. + * URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only. * * @param string $val The webUrl * diff --git a/src/Model/Chat.php b/src/Model/Chat.php index 2a265c94a4f..5144550669c 100644 --- a/src/Model/Chat.php +++ b/src/Model/Chat.php @@ -402,6 +402,7 @@ public function setMessages($val) /** * Gets the permissionGrants + * A collection of permissions granted to apps for the chat. * * @return array|null The permissionGrants */ @@ -416,6 +417,7 @@ public function getPermissionGrants() /** * Sets the permissionGrants + * A collection of permissions granted to apps for the chat. * * @param ResourceSpecificPermissionGrant[] $val The permissionGrants * diff --git a/src/Model/CommentAction.php b/src/Model/CommentAction.php new file mode 100644 index 00000000000..ded8373d1e4 --- /dev/null +++ b/src/Model/CommentAction.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["isReply"]; + } else { + return null; + } + } + + /** + * Sets the isReply + * If true, this activity was a reply to an existing comment thread. + * + * @param bool $val The value of the isReply + * + * @return CommentAction + */ + public function setIsReply($val) + { + $this->_propDict["isReply"] = $val; + return $this; + } + + /** + * Gets the parentAuthor + * The identity of the user who started the comment thread. + * + * @return IdentitySet|null The parentAuthor + */ + public function getParentAuthor() + { + if (array_key_exists("parentAuthor", $this->_propDict)) { + if (is_a($this->_propDict["parentAuthor"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["parentAuthor"])) { + return $this->_propDict["parentAuthor"]; + } else { + $this->_propDict["parentAuthor"] = new IdentitySet($this->_propDict["parentAuthor"]); + return $this->_propDict["parentAuthor"]; + } + } + return null; + } + + /** + * Sets the parentAuthor + * The identity of the user who started the comment thread. + * + * @param IdentitySet $val The value to assign to the parentAuthor + * + * @return CommentAction The CommentAction + */ + public function setParentAuthor($val) + { + $this->_propDict["parentAuthor"] = $val; + return $this; + } + + /** + * Gets the participants + * The identities of the users participating in this comment thread. + * + * @return IdentitySet|null The participants + */ + public function getParticipants() + { + if (array_key_exists("participants", $this->_propDict)) { + if (is_a($this->_propDict["participants"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["participants"])) { + return $this->_propDict["participants"]; + } else { + $this->_propDict["participants"] = new IdentitySet($this->_propDict["participants"]); + return $this->_propDict["participants"]; + } + } + return null; + } + + /** + * Sets the participants + * The identities of the users participating in this comment thread. + * + * @param IdentitySet $val The value to assign to the participants + * + * @return CommentAction The CommentAction + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } +} diff --git a/src/Model/CreateAction.php b/src/Model/CreateAction.php new file mode 100644 index 00000000000..6f429be11cf --- /dev/null +++ b/src/Model/CreateAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item that was deleted. + * + * @param string $val The value of the name + * + * @return DeleteAction + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the objectType + * File or Folder, depending on the type of the deleted item. + * + * @return string|null The objectType + */ + public function getObjectType() + { + if (array_key_exists("objectType", $this->_propDict)) { + return $this->_propDict["objectType"]; + } else { + return null; + } + } + + /** + * Sets the objectType + * File or Folder, depending on the type of the deleted item. + * + * @param string $val The value of the objectType + * + * @return DeleteAction + */ + public function setObjectType($val) + { + $this->_propDict["objectType"] = $val; + return $this; + } +} diff --git a/src/Model/EditAction.php b/src/Model/EditAction.php new file mode 100644 index 00000000000..8cca4af203e --- /dev/null +++ b/src/Model/EditAction.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["mentionees"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["mentionees"])) { + return $this->_propDict["mentionees"]; + } else { + $this->_propDict["mentionees"] = new IdentitySet($this->_propDict["mentionees"]); + return $this->_propDict["mentionees"]; + } + } + return null; + } + + /** + * Sets the mentionees + * The identities of the users mentioned in this action. + * + * @param IdentitySet $val The value to assign to the mentionees + * + * @return MentionAction The MentionAction + */ + public function setMentionees($val) + { + $this->_propDict["mentionees"] = $val; + return $this; + } +} diff --git a/src/Model/MoveAction.php b/src/Model/MoveAction.php new file mode 100644 index 00000000000..d398e79564d --- /dev/null +++ b/src/Model/MoveAction.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["from"]; + } else { + return null; + } + } + + /** + * Sets the from + * The name of the location the item was moved from. + * + * @param string $val The value of the from + * + * @return MoveAction + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + /** + * Gets the to + * The name of the location the item was moved to. + * + * @return string|null The to + */ + public function getTo() + { + if (array_key_exists("to", $this->_propDict)) { + return $this->_propDict["to"]; + } else { + return null; + } + } + + /** + * Sets the to + * The name of the location the item was moved to. + * + * @param string $val The value of the to + * + * @return MoveAction + */ + public function setTo($val) + { + $this->_propDict["to"] = $val; + return $this; + } +} diff --git a/src/Model/Presence.php b/src/Model/Presence.php index c0ca4d1c023..08ecdbd1dff 100644 --- a/src/Model/Presence.php +++ b/src/Model/Presence.php @@ -82,4 +82,35 @@ public function setAvailability($val) return $this; } + /** + * Gets the statusMessage + * + * @return PresenceStatusMessage|null The statusMessage + */ + public function getStatusMessage() + { + if (array_key_exists("statusMessage", $this->_propDict)) { + if (is_a($this->_propDict["statusMessage"], "\Microsoft\Graph\Model\PresenceStatusMessage") || is_null($this->_propDict["statusMessage"])) { + return $this->_propDict["statusMessage"]; + } else { + $this->_propDict["statusMessage"] = new PresenceStatusMessage($this->_propDict["statusMessage"]); + return $this->_propDict["statusMessage"]; + } + } + return null; + } + + /** + * Sets the statusMessage + * + * @param PresenceStatusMessage $val The statusMessage + * + * @return Presence + */ + public function setStatusMessage($val) + { + $this->_propDict["statusMessage"] = $val; + return $this; + } + } diff --git a/src/Model/PresenceStatusMessage.php b/src/Model/PresenceStatusMessage.php new file mode 100644 index 00000000000..28ee8f927b3 --- /dev/null +++ b/src/Model/PresenceStatusMessage.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["expiryDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["expiryDateTime"])) { + return $this->_propDict["expiryDateTime"]; + } else { + $this->_propDict["expiryDateTime"] = new DateTimeTimeZone($this->_propDict["expiryDateTime"]); + return $this->_propDict["expiryDateTime"]; + } + } + return null; + } + + /** + * Sets the expiryDateTime + * + * @param DateTimeTimeZone $val The value to assign to the expiryDateTime + * + * @return PresenceStatusMessage The PresenceStatusMessage + */ + public function setExpiryDateTime($val) + { + $this->_propDict["expiryDateTime"] = $val; + return $this; + } + + /** + * Gets the message + * + * @return ItemBody|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + if (is_a($this->_propDict["message"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["message"])) { + return $this->_propDict["message"]; + } else { + $this->_propDict["message"] = new ItemBody($this->_propDict["message"]); + return $this->_propDict["message"]; + } + } + return null; + } + + /** + * Sets the message + * + * @param ItemBody $val The value to assign to the message + * + * @return PresenceStatusMessage The PresenceStatusMessage + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the publishedDateTime + * + * @return \DateTime|null The publishedDateTime + */ + public function getPublishedDateTime() + { + if (array_key_exists("publishedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) { + return $this->_propDict["publishedDateTime"]; + } else { + $this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]); + return $this->_propDict["publishedDateTime"]; + } + } + return null; + } + + /** + * Sets the publishedDateTime + * + * @param \DateTime $val The value to assign to the publishedDateTime + * + * @return PresenceStatusMessage The PresenceStatusMessage + */ + public function setPublishedDateTime($val) + { + $this->_propDict["publishedDateTime"] = $val; + return $this; + } +} diff --git a/src/Model/PublicationFacet.php b/src/Model/PublicationFacet.php index 287cd24f1b2..a1515930dae 100644 --- a/src/Model/PublicationFacet.php +++ b/src/Model/PublicationFacet.php @@ -26,6 +26,7 @@ class PublicationFacet extends Entity /** * Gets the checkedOutBy + * User who has checked out the file. * * @return IdentitySet|null The checkedOutBy */ @@ -44,6 +45,7 @@ public function getCheckedOutBy() /** * Sets the checkedOutBy + * User who has checked out the file. * * @param IdentitySet $val The value to assign to the checkedOutBy * diff --git a/src/Model/RenameAction.php b/src/Model/RenameAction.php new file mode 100644 index 00000000000..7b50cec6579 --- /dev/null +++ b/src/Model/RenameAction.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["newName"]; + } else { + return null; + } + } + + /** + * Sets the newName + * The new name of the item. + * + * @param string $val The value of the newName + * + * @return RenameAction + */ + public function setNewName($val) + { + $this->_propDict["newName"] = $val; + return $this; + } + /** + * Gets the oldName + * The previous name of the item. + * + * @return string|null The oldName + */ + public function getOldName() + { + if (array_key_exists("oldName", $this->_propDict)) { + return $this->_propDict["oldName"]; + } else { + return null; + } + } + + /** + * Sets the oldName + * The previous name of the item. + * + * @param string $val The value of the oldName + * + * @return RenameAction + */ + public function setOldName($val) + { + $this->_propDict["oldName"] = $val; + return $this; + } +} diff --git a/src/Model/RestoreAction.php b/src/Model/RestoreAction.php new file mode 100644 index 00000000000..61c344a17c7 --- /dev/null +++ b/src/Model/RestoreAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["subjectRightsRequests"]; + } else { + return null; + } + } + + /** + * Sets the subjectRightsRequests + * + * @param SubjectRightsRequest[] $val The subjectRightsRequests + * + * @return Security + */ + public function setSubjectRightsRequests($val) + { + $this->_propDict["subjectRightsRequests"] = $val; + return $this; + } + /** * Gets the cases * diff --git a/src/Model/ServicePrincipalLockConfiguration.php b/src/Model/ServicePrincipalLockConfiguration.php new file mode 100644 index 00000000000..e8676d57c88 --- /dev/null +++ b/src/Model/ServicePrincipalLockConfiguration.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["allProperties"]; + } else { + return null; + } + } + + /** + * Sets the allProperties + * Enables locking all sensitive properties. The sensitive properties are keyCredentials, passwordCredentials, and tokenEncryptionKeyId. + * + * @param bool $val The value of the allProperties + * + * @return ServicePrincipalLockConfiguration + */ + public function setAllProperties($val) + { + $this->_propDict["allProperties"] = $val; + return $this; + } + /** + * Gets the credentialsWithUsageSign + * Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Sign. + * + * @return bool|null The credentialsWithUsageSign + */ + public function getCredentialsWithUsageSign() + { + if (array_key_exists("credentialsWithUsageSign", $this->_propDict)) { + return $this->_propDict["credentialsWithUsageSign"]; + } else { + return null; + } + } + + /** + * Sets the credentialsWithUsageSign + * Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Sign. + * + * @param bool $val The value of the credentialsWithUsageSign + * + * @return ServicePrincipalLockConfiguration + */ + public function setCredentialsWithUsageSign($val) + { + $this->_propDict["credentialsWithUsageSign"] = $val; + return $this; + } + /** + * Gets the credentialsWithUsageVerify + * Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Verify. This locks OAuth service principals. + * + * @return bool|null The credentialsWithUsageVerify + */ + public function getCredentialsWithUsageVerify() + { + if (array_key_exists("credentialsWithUsageVerify", $this->_propDict)) { + return $this->_propDict["credentialsWithUsageVerify"]; + } else { + return null; + } + } + + /** + * Sets the credentialsWithUsageVerify + * Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Verify. This locks OAuth service principals. + * + * @param bool $val The value of the credentialsWithUsageVerify + * + * @return ServicePrincipalLockConfiguration + */ + public function setCredentialsWithUsageVerify($val) + { + $this->_propDict["credentialsWithUsageVerify"] = $val; + return $this; + } + /** + * Gets the isEnabled + * Enables or disables service principal lock configuration. To allow the sensitive properties to be updated, update this property to false to disable the lock on the service principal. + * + * @return bool|null The isEnabled + */ + public function getIsEnabled() + { + if (array_key_exists("isEnabled", $this->_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Enables or disables service principal lock configuration. To allow the sensitive properties to be updated, update this property to false to disable the lock on the service principal. + * + * @param bool $val The value of the isEnabled + * + * @return ServicePrincipalLockConfiguration + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the tokenEncryptionKeyId + * Locks the tokenEncryptionKeyId property for modification on the service principal. + * + * @return bool|null The tokenEncryptionKeyId + */ + public function getTokenEncryptionKeyId() + { + if (array_key_exists("tokenEncryptionKeyId", $this->_propDict)) { + return $this->_propDict["tokenEncryptionKeyId"]; + } else { + return null; + } + } + + /** + * Sets the tokenEncryptionKeyId + * Locks the tokenEncryptionKeyId property for modification on the service principal. + * + * @param bool $val The value of the tokenEncryptionKeyId + * + * @return ServicePrincipalLockConfiguration + */ + public function setTokenEncryptionKeyId($val) + { + $this->_propDict["tokenEncryptionKeyId"] = $val; + return $this; + } +} diff --git a/src/Model/ShareAction.php b/src/Model/ShareAction.php new file mode 100644 index 00000000000..a21bbc34b7d --- /dev/null +++ b/src/Model/ShareAction.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["recipients"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["recipients"])) { + return $this->_propDict["recipients"]; + } else { + $this->_propDict["recipients"] = new IdentitySet($this->_propDict["recipients"]); + return $this->_propDict["recipients"]; + } + } + return null; + } + + /** + * Sets the recipients + * The identities the item was shared with in this action. + * + * @param IdentitySet $val The value to assign to the recipients + * + * @return ShareAction The ShareAction + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } +} diff --git a/src/Model/SubjectRightsRequest.php b/src/Model/SubjectRightsRequest.php index 06d39f01968..fd69675fd9e 100644 --- a/src/Model/SubjectRightsRequest.php +++ b/src/Model/SubjectRightsRequest.php @@ -90,6 +90,33 @@ public function setClosedDateTime($val) return $this; } + /** + * Gets the contentQuery + * + * @return string|null The contentQuery + */ + public function getContentQuery() + { + if (array_key_exists("contentQuery", $this->_propDict)) { + return $this->_propDict["contentQuery"]; + } else { + return null; + } + } + + /** + * Sets the contentQuery + * + * @param string $val The contentQuery + * + * @return SubjectRightsRequest + */ + public function setContentQuery($val) + { + $this->_propDict["contentQuery"] = $val; + return $this; + } + /** * Gets the createdBy * Identity information for the entity that created the request. @@ -280,6 +307,33 @@ public function setDisplayName($val) return $this; } + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return SubjectRightsRequest + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + /** * Gets the history @@ -310,6 +364,60 @@ public function setHistory($val) return $this; } + /** + * Gets the includeAllVersions + * + * @return bool|null The includeAllVersions + */ + public function getIncludeAllVersions() + { + if (array_key_exists("includeAllVersions", $this->_propDict)) { + return $this->_propDict["includeAllVersions"]; + } else { + return null; + } + } + + /** + * Sets the includeAllVersions + * + * @param bool $val The includeAllVersions + * + * @return SubjectRightsRequest + */ + public function setIncludeAllVersions($val) + { + $this->_propDict["includeAllVersions"] = boolval($val); + return $this; + } + + /** + * Gets the includeAuthoredContent + * + * @return bool|null The includeAuthoredContent + */ + public function getIncludeAuthoredContent() + { + if (array_key_exists("includeAuthoredContent", $this->_propDict)) { + return $this->_propDict["includeAuthoredContent"]; + } else { + return null; + } + } + + /** + * Sets the includeAuthoredContent + * + * @param bool $val The includeAuthoredContent + * + * @return SubjectRightsRequest + */ + public function setIncludeAuthoredContent($val) + { + $this->_propDict["includeAuthoredContent"] = boolval($val); + return $this; + } + /** * Gets the insight * Insight about the request. @@ -442,6 +550,64 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the mailboxlocations + * + * @return SubjectRightsRequestMailboxLocation|null The mailboxlocations + */ + public function getMailboxlocations() + { + if (array_key_exists("mailboxlocations", $this->_propDict)) { + if (is_a($this->_propDict["mailboxlocations"], "\Microsoft\Graph\Model\SubjectRightsRequestMailboxLocation") || is_null($this->_propDict["mailboxlocations"])) { + return $this->_propDict["mailboxlocations"]; + } else { + $this->_propDict["mailboxlocations"] = new SubjectRightsRequestMailboxLocation($this->_propDict["mailboxlocations"]); + return $this->_propDict["mailboxlocations"]; + } + } + return null; + } + + /** + * Sets the mailboxlocations + * + * @param SubjectRightsRequestMailboxLocation $val The mailboxlocations + * + * @return SubjectRightsRequest + */ + public function setMailboxlocations($val) + { + $this->_propDict["mailboxlocations"] = $val; + return $this; + } + + /** + * Gets the pauseAfterEstimate + * + * @return bool|null The pauseAfterEstimate + */ + public function getPauseAfterEstimate() + { + if (array_key_exists("pauseAfterEstimate", $this->_propDict)) { + return $this->_propDict["pauseAfterEstimate"]; + } else { + return null; + } + } + + /** + * Sets the pauseAfterEstimate + * + * @param bool $val The pauseAfterEstimate + * + * @return SubjectRightsRequest + */ + public function setPauseAfterEstimate($val) + { + $this->_propDict["pauseAfterEstimate"] = boolval($val); + return $this; + } + /** * Gets the regulations * List of regulations that this request will fulfill. @@ -471,6 +637,37 @@ public function setRegulations($val) return $this; } + /** + * Gets the sitelocations + * + * @return SubjectRightsRequestSiteLocation|null The sitelocations + */ + public function getSitelocations() + { + if (array_key_exists("sitelocations", $this->_propDict)) { + if (is_a($this->_propDict["sitelocations"], "\Microsoft\Graph\Model\SubjectRightsRequestSiteLocation") || is_null($this->_propDict["sitelocations"])) { + return $this->_propDict["sitelocations"]; + } else { + $this->_propDict["sitelocations"] = new SubjectRightsRequestSiteLocation($this->_propDict["sitelocations"]); + return $this->_propDict["sitelocations"]; + } + } + return null; + } + + /** + * Sets the sitelocations + * + * @param SubjectRightsRequestSiteLocation $val The sitelocations + * + * @return SubjectRightsRequest + */ + public function setSitelocations($val) + { + $this->_propDict["sitelocations"] = $val; + return $this; + } + /** * Gets the stages @@ -568,6 +765,62 @@ public function setType($val) } + /** + * Gets the approvers + * + * @return array|null The approvers + */ + public function getApprovers() + { + if (array_key_exists("approvers", $this->_propDict)) { + return $this->_propDict["approvers"]; + } else { + return null; + } + } + + /** + * Sets the approvers + * + * @param User[] $val The approvers + * + * @return SubjectRightsRequest + */ + public function setApprovers($val) + { + $this->_propDict["approvers"] = $val; + return $this; + } + + + /** + * Gets the collaborators + * + * @return array|null The collaborators + */ + public function getCollaborators() + { + if (array_key_exists("collaborators", $this->_propDict)) { + return $this->_propDict["collaborators"]; + } else { + return null; + } + } + + /** + * Sets the collaborators + * + * @param User[] $val The collaborators + * + * @return SubjectRightsRequest + */ + public function setCollaborators($val) + { + $this->_propDict["collaborators"] = $val; + return $this; + } + + /** * Gets the notes * List of notes associcated with the request. diff --git a/src/Model/SubjectRightsRequestAllMailboxLocation.php b/src/Model/SubjectRightsRequestAllMailboxLocation.php new file mode 100644 index 00000000000..50c927eb2da --- /dev/null +++ b/src/Model/SubjectRightsRequestAllMailboxLocation.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.subjectRightsRequestAllMailboxLocation"); + } + +} diff --git a/src/Model/SubjectRightsRequestAllSiteLocation.php b/src/Model/SubjectRightsRequestAllSiteLocation.php new file mode 100644 index 00000000000..2e09c1c7a6e --- /dev/null +++ b/src/Model/SubjectRightsRequestAllSiteLocation.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.subjectRightsRequestAllSiteLocation"); + } + +} diff --git a/src/Model/SubjectRightsRequestEnumeratedMailboxLocation.php b/src/Model/SubjectRightsRequestEnumeratedMailboxLocation.php new file mode 100644 index 00000000000..d02dc8bd5e9 --- /dev/null +++ b/src/Model/SubjectRightsRequestEnumeratedMailboxLocation.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.subjectRightsRequestEnumeratedMailboxLocation"); + } + + /** + * Gets the userPrincipalNames + * + * @return string|null The userPrincipalNames + */ + public function getUserPrincipalNames() + { + if (array_key_exists("userPrincipalNames", $this->_propDict)) { + return $this->_propDict["userPrincipalNames"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalNames + * + * @param string $val The value of the userPrincipalNames + * + * @return SubjectRightsRequestEnumeratedMailboxLocation + */ + public function setUserPrincipalNames($val) + { + $this->_propDict["userPrincipalNames"] = $val; + return $this; + } +} diff --git a/src/Model/SubjectRightsRequestEnumeratedSiteLocation.php b/src/Model/SubjectRightsRequestEnumeratedSiteLocation.php new file mode 100644 index 00000000000..afeaf4b3438 --- /dev/null +++ b/src/Model/SubjectRightsRequestEnumeratedSiteLocation.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.subjectRightsRequestEnumeratedSiteLocation"); + } + + /** + * Gets the urls + * + * @return string|null The urls + */ + public function getUrls() + { + if (array_key_exists("urls", $this->_propDict)) { + return $this->_propDict["urls"]; + } else { + return null; + } + } + + /** + * Sets the urls + * + * @param string $val The value of the urls + * + * @return SubjectRightsRequestEnumeratedSiteLocation + */ + public function setUrls($val) + { + $this->_propDict["urls"] = $val; + return $this; + } +} diff --git a/src/Model/SubjectRightsRequestMailboxLocation.php b/src/Model/SubjectRightsRequestMailboxLocation.php new file mode 100644 index 00000000000..2ac4dd08aef --- /dev/null +++ b/src/Model/SubjectRightsRequestMailboxLocation.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["newVersion"]; + } else { + return null; + } + } + + /** + * Sets the newVersion + * The name of the new version that was created by this action. + * + * @param string $val The value of the newVersion + * + * @return VersionAction + */ + public function setNewVersion($val) + { + $this->_propDict["newVersion"] = $val; + return $this; + } +}