From 8e1ca23123cd908122ecd84001c3cee681df06b8 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 12 Sep 2023 10:09:59 +0000 Subject: [PATCH 1/2] Update generated files with build 124844 --- src/CallRecords/Model/MediaStream.php | 8 +- src/CallRecords/Model/NetworkInfo.php | 4 +- src/ExternalConnectors/Model/Property.php | 4 +- .../Model/Workflow.php | 4 +- src/Model/AccessPackageResourceRequest.php | 4 +- src/Model/AccessReviewScheduleDefinition.php | 4 +- src/Model/AdministrativeUnit.php | 4 +- src/Model/Application.php | 8 +- src/Model/DelegatedAdminCustomer.php | 4 +- src/Model/DelegatedAdminRelationship.php | 4 +- .../DelegatedAdminRelationshipOperation.php | 4 +- src/Model/Device.php | 12 +- src/Model/DeviceManagement.php | 30 +++ src/Model/Group.php | 4 +- src/Model/MacOSDmgApp.php | 177 +++++++++++++++ src/Model/MacOSIncludedApp.php | 82 +++++++ src/Model/OrgContact.php | 4 +- .../RotateBitLockerKeysDeviceActionResult.php | 54 +++++ src/Model/ServicePrincipal.php | 4 +- src/Model/Site.php | 27 +++ src/Model/User.php | 76 +++---- ...alyticsDeviceStartupProcessPerformance.php | 201 ++++++++++++++++++ src/Model/UserRegistrationDetails.php | 8 +- src/Model/WindowsDeviceType.php | 1 + 24 files changed, 652 insertions(+), 80 deletions(-) create mode 100644 src/Model/MacOSDmgApp.php create mode 100644 src/Model/MacOSIncludedApp.php create mode 100644 src/Model/RotateBitLockerKeysDeviceActionResult.php create mode 100644 src/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php diff --git a/src/CallRecords/Model/MediaStream.php b/src/CallRecords/Model/MediaStream.php index 497d9ad8d01..09cc5959e74 100644 --- a/src/CallRecords/Model/MediaStream.php +++ b/src/CallRecords/Model/MediaStream.php @@ -415,7 +415,7 @@ public function setAverageVideoPacketLossRate($val) /** * Gets the endDateTime - * UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. * * @return \DateTime|null The endDateTime */ @@ -434,7 +434,7 @@ public function getEndDateTime() /** * Sets the endDateTime - * UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. * * @param \DateTime $val The value to assign to the endDateTime * @@ -776,7 +776,7 @@ public function setRmsFreezeDuration($val) /** * Gets the startDateTime - * UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. * * @return \DateTime|null The startDateTime */ @@ -795,7 +795,7 @@ public function getStartDateTime() /** * Sets the startDateTime - * UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. * * @param \DateTime $val The value to assign to the startDateTime * diff --git a/src/CallRecords/Model/NetworkInfo.php b/src/CallRecords/Model/NetworkInfo.php index 320de4434f2..149cb5cf11f 100644 --- a/src/CallRecords/Model/NetworkInfo.php +++ b/src/CallRecords/Model/NetworkInfo.php @@ -226,7 +226,7 @@ public function setLinkSpeed($val) } /** * Gets the macAddress - * The media access control (MAC) address of the media endpoint's network device. + * The media access control (MAC) address of the media endpoint's network device. This value may be missing or shown as 02:00:00:00:00:00 due to operating system privacy policies. * * @return string|null The macAddress */ @@ -241,7 +241,7 @@ public function getMacAddress() /** * Sets the macAddress - * The media access control (MAC) address of the media endpoint's network device. + * The media access control (MAC) address of the media endpoint's network device. This value may be missing or shown as 02:00:00:00:00:00 due to operating system privacy policies. * * @param string $val The value of the macAddress * diff --git a/src/ExternalConnectors/Model/Property.php b/src/ExternalConnectors/Model/Property.php index 0379f1c1ecd..29509956746 100644 --- a/src/ExternalConnectors/Model/Property.php +++ b/src/ExternalConnectors/Model/Property.php @@ -166,7 +166,7 @@ public function setIsSearchable($val) /** * Gets the labels - * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue. Optional. + * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional. * * @return Label|null The labels */ @@ -185,7 +185,7 @@ public function getLabels() /** * Sets the labels - * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue. Optional. + * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional. * * @param Label $val The value to assign to the labels * diff --git a/src/IdentityGovernanceNamespace/Model/Workflow.php b/src/IdentityGovernanceNamespace/Model/Workflow.php index 72360257193..f2592310010 100644 --- a/src/IdentityGovernanceNamespace/Model/Workflow.php +++ b/src/IdentityGovernanceNamespace/Model/Workflow.php @@ -88,7 +88,7 @@ public function setId($val) /** * Gets the nextScheduleRunDateTime - * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy. + * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby. * * @return \DateTime|null The nextScheduleRunDateTime */ @@ -107,7 +107,7 @@ public function getNextScheduleRunDateTime() /** * Sets the nextScheduleRunDateTime - * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy. + * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby. * * @param \DateTime $val The nextScheduleRunDateTime * diff --git a/src/Model/AccessPackageResourceRequest.php b/src/Model/AccessPackageResourceRequest.php index bf6f00b198c..ea8ea896e18 100644 --- a/src/Model/AccessPackageResourceRequest.php +++ b/src/Model/AccessPackageResourceRequest.php @@ -92,7 +92,7 @@ public function setRequestType($val) /** * Gets the state - * The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only. + * The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it could not be added or removed. Read-only. * * @return AccessPackageRequestState|null The state */ @@ -111,7 +111,7 @@ public function getState() /** * Sets the state - * The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only. + * The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it could not be added or removed. Read-only. * * @param AccessPackageRequestState $val The state * diff --git a/src/Model/AccessReviewScheduleDefinition.php b/src/Model/AccessReviewScheduleDefinition.php index d4971a6237d..3031f4e6151 100644 --- a/src/Model/AccessReviewScheduleDefinition.php +++ b/src/Model/AccessReviewScheduleDefinition.php @@ -180,7 +180,7 @@ public function setDescriptionForReviewers($val) /** * Gets the displayName - * Name of the access review series. Supports $select and $orderBy. Required on create. + * Name of the access review series. Supports $select and $orderby. Required on create. * * @return string|null The displayName */ @@ -195,7 +195,7 @@ public function getDisplayName() /** * Sets the displayName - * Name of the access review series. Supports $select and $orderBy. Required on create. + * Name of the access review series. Supports $select and $orderby. Required on create. * * @param string $val The displayName * diff --git a/src/Model/AdministrativeUnit.php b/src/Model/AdministrativeUnit.php index fd4766c902b..34266b7eef4 100644 --- a/src/Model/AdministrativeUnit.php +++ b/src/Model/AdministrativeUnit.php @@ -55,7 +55,7 @@ public function setDescription($val) /** * Gets the displayName - * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @return string|null The displayName */ @@ -70,7 +70,7 @@ public function getDisplayName() /** * Sets the displayName - * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @param string $val The displayName * diff --git a/src/Model/Application.php b/src/Model/Application.php index fe9af263f1a..4c60e6993b5 100644 --- a/src/Model/Application.php +++ b/src/Model/Application.php @@ -210,7 +210,7 @@ public function setCertification($val) /** * Gets the createdDateTime - * The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. + * The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby. * * @return \DateTime|null The createdDateTime */ @@ -229,7 +229,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. + * The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby. * * @param \DateTime $val The createdDateTime * @@ -328,7 +328,7 @@ public function setDisabledByMicrosoftStatus($val) /** * Gets the displayName - * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @return string|null The displayName */ @@ -343,7 +343,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @param string $val The displayName * diff --git a/src/Model/DelegatedAdminCustomer.php b/src/Model/DelegatedAdminCustomer.php index f5bf710ffc0..27fb48ab71a 100644 --- a/src/Model/DelegatedAdminCustomer.php +++ b/src/Model/DelegatedAdminCustomer.php @@ -26,7 +26,7 @@ class DelegatedAdminCustomer extends Entity { /** * Gets the displayName - * The Azure AD display name of the customer tenant. Read-only. Supports $orderBy. + * The Azure AD display name of the customer tenant. Read-only. Supports $orderby. * * @return string|null The displayName */ @@ -41,7 +41,7 @@ public function getDisplayName() /** * Sets the displayName - * The Azure AD display name of the customer tenant. Read-only. Supports $orderBy. + * The Azure AD display name of the customer tenant. Read-only. Supports $orderby. * * @param string $val The displayName * diff --git a/src/Model/DelegatedAdminRelationship.php b/src/Model/DelegatedAdminRelationship.php index 892bfd165b4..33aa4633d39 100644 --- a/src/Model/DelegatedAdminRelationship.php +++ b/src/Model/DelegatedAdminRelationship.php @@ -286,7 +286,7 @@ public function setLastModifiedDateTime($val) /** * Gets the status - * The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy. + * The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. * * @return DelegatedAdminRelationshipStatus|null The status */ @@ -305,7 +305,7 @@ public function getStatus() /** * Sets the status - * The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy. + * The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. * * @param DelegatedAdminRelationshipStatus $val The status * diff --git a/src/Model/DelegatedAdminRelationshipOperation.php b/src/Model/DelegatedAdminRelationshipOperation.php index ed6357c37f2..70bc0e80fbf 100644 --- a/src/Model/DelegatedAdminRelationshipOperation.php +++ b/src/Model/DelegatedAdminRelationshipOperation.php @@ -154,7 +154,7 @@ public function setOperationType($val) /** * Gets the status - * The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderBy. + * The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderby. * * @return LongRunningOperationStatus|null The status */ @@ -173,7 +173,7 @@ public function getStatus() /** * Sets the status - * The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderBy. + * The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderby. * * @param LongRunningOperationStatus $val The status * diff --git a/src/Model/Device.php b/src/Model/Device.php index 05fa05f0689..735f89d7c77 100644 --- a/src/Model/Device.php +++ b/src/Model/Device.php @@ -85,7 +85,7 @@ public function setAlternativeSecurityIds($val) /** * Gets the approximateLastSignInDateTime - * The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. + * The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderby. * * @return \DateTime|null The approximateLastSignInDateTime */ @@ -104,7 +104,7 @@ public function getApproximateLastSignInDateTime() /** * Sets the approximateLastSignInDateTime - * The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. + * The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderby. * * @param \DateTime $val The approximateLastSignInDateTime * @@ -296,7 +296,7 @@ public function setDeviceVersion($val) /** * Gets the displayName - * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @return string|null The displayName */ @@ -311,7 +311,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @param string $val The displayName * @@ -681,7 +681,7 @@ public function setSystemLabels($val) /** * Gets the trustType - * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory. * * @return string|null The trustType */ @@ -696,7 +696,7 @@ public function getTrustType() /** * Sets the trustType - * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory. * * @param string $val The trustType * diff --git a/src/Model/DeviceManagement.php b/src/Model/DeviceManagement.php index bd374677563..8ecb0e145ff 100644 --- a/src/Model/DeviceManagement.php +++ b/src/Model/DeviceManagement.php @@ -1353,6 +1353,36 @@ public function setUserExperienceAnalyticsDeviceStartupProcesses($val) } + /** + * Gets the userExperienceAnalyticsDeviceStartupProcessPerformance + * User experience analytics device Startup Process Performance + * + * @return array|null The userExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function getUserExperienceAnalyticsDeviceStartupProcessPerformance() + { + if (array_key_exists("userExperienceAnalyticsDeviceStartupProcessPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDeviceStartupProcessPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDeviceStartupProcessPerformance + * User experience analytics device Startup Process Performance + * + * @param UserExperienceAnalyticsDeviceStartupProcessPerformance[] $val The userExperienceAnalyticsDeviceStartupProcessPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceStartupProcessPerformance($val) + { + $this->_propDict["userExperienceAnalyticsDeviceStartupProcessPerformance"] = $val; + return $this; + } + + /** * Gets the userExperienceAnalyticsMetricHistory * User experience analytics metric history diff --git a/src/Model/Group.php b/src/Model/Group.php index 415c616bc88..c92040e8965 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -177,7 +177,7 @@ public function setDescription($val) /** * Gets the displayName - * The display name for the group. This property is required when a group is created and cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the group. This property is required when a group is created and cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @return string|null The displayName */ @@ -192,7 +192,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name for the group. This property is required when a group is created and cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the group. This property is required when a group is created and cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @param string $val The displayName * diff --git a/src/Model/MacOSDmgApp.php b/src/Model/MacOSDmgApp.php new file mode 100644 index 00000000000..e620d6a4694 --- /dev/null +++ b/src/Model/MacOSDmgApp.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["ignoreVersionDetection"]; + } else { + return null; + } + } + + /** + * Sets the ignoreVersionDetection + * When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. + * + * @param bool $val The ignoreVersionDetection + * + * @return MacOSDmgApp + */ + public function setIgnoreVersionDetection($val) + { + $this->_propDict["ignoreVersionDetection"] = boolval($val); + return $this; + } + + + /** + * Gets the includedApps + * The list of .apps expected to be installed by the DMG (Apple Disk Image) + * + * @return array|null The includedApps + */ + public function getIncludedApps() + { + if (array_key_exists("includedApps", $this->_propDict)) { + return $this->_propDict["includedApps"]; + } else { + return null; + } + } + + /** + * Sets the includedApps + * The list of .apps expected to be installed by the DMG (Apple Disk Image) + * + * @param MacOSIncludedApp[] $val The includedApps + * + * @return MacOSDmgApp + */ + public function setIncludedApps($val) + { + $this->_propDict["includedApps"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. + * + * @return MacOSMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\MacOSMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new MacOSMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. + * + * @param MacOSMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return MacOSDmgApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the primaryBundleId + * The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration. + * + * @return string|null The primaryBundleId + */ + public function getPrimaryBundleId() + { + if (array_key_exists("primaryBundleId", $this->_propDict)) { + return $this->_propDict["primaryBundleId"]; + } else { + return null; + } + } + + /** + * Sets the primaryBundleId + * The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration. + * + * @param string $val The primaryBundleId + * + * @return MacOSDmgApp + */ + public function setPrimaryBundleId($val) + { + $this->_propDict["primaryBundleId"] = $val; + return $this; + } + + /** + * Gets the primaryBundleVersion + * The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration. + * + * @return string|null The primaryBundleVersion + */ + public function getPrimaryBundleVersion() + { + if (array_key_exists("primaryBundleVersion", $this->_propDict)) { + return $this->_propDict["primaryBundleVersion"]; + } else { + return null; + } + } + + /** + * Sets the primaryBundleVersion + * The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration. + * + * @param string $val The primaryBundleVersion + * + * @return MacOSDmgApp + */ + public function setPrimaryBundleVersion($val) + { + $this->_propDict["primaryBundleVersion"] = $val; + return $this; + } + +} diff --git a/src/Model/MacOSIncludedApp.php b/src/Model/MacOSIncludedApp.php new file mode 100644 index 00000000000..76b7204d54c --- /dev/null +++ b/src/Model/MacOSIncludedApp.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration. + * + * @param string $val The value of the bundleId + * + * @return MacOSIncludedApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + /** + * Gets the bundleVersion + * The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration. + * + * @return string|null The bundleVersion + */ + public function getBundleVersion() + { + if (array_key_exists("bundleVersion", $this->_propDict)) { + return $this->_propDict["bundleVersion"]; + } else { + return null; + } + } + + /** + * Sets the bundleVersion + * The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration. + * + * @param string $val The value of the bundleVersion + * + * @return MacOSIncludedApp + */ + public function setBundleVersion($val) + { + $this->_propDict["bundleVersion"] = $val; + return $this; + } +} diff --git a/src/Model/OrgContact.php b/src/Model/OrgContact.php index e0928768ccd..674c0bfa7b5 100644 --- a/src/Model/OrgContact.php +++ b/src/Model/OrgContact.php @@ -114,7 +114,7 @@ public function setDepartment($val) /** * Gets the displayName - * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderBy. + * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. * * @return string|null The displayName */ @@ -129,7 +129,7 @@ public function getDisplayName() /** * Sets the displayName - * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderBy. + * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. * * @param string $val The displayName * diff --git a/src/Model/RotateBitLockerKeysDeviceActionResult.php b/src/Model/RotateBitLockerKeysDeviceActionResult.php new file mode 100644 index 00000000000..c47bcce4cc9 --- /dev/null +++ b/src/Model/RotateBitLockerKeysDeviceActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * RotateBitLockerKeys action error code + * + * @param int $val The value of the errorCode + * + * @return RotateBitLockerKeysDeviceActionResult + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } +} diff --git a/src/Model/ServicePrincipal.php b/src/Model/ServicePrincipal.php index 4373f910004..ba536f891bd 100644 --- a/src/Model/ServicePrincipal.php +++ b/src/Model/ServicePrincipal.php @@ -409,7 +409,7 @@ public function setDisabledByMicrosoftStatus($val) /** * Gets the displayName - * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @return string|null The displayName */ @@ -424,7 +424,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. * * @param string $val The displayName * diff --git a/src/Model/Site.php b/src/Model/Site.php index 058e40bc2c0..8b25350a996 100644 --- a/src/Model/Site.php +++ b/src/Model/Site.php @@ -84,6 +84,33 @@ public function setError($val) return $this; } + /** + * Gets the isPersonalSite + * + * @return bool|null The isPersonalSite + */ + public function getIsPersonalSite() + { + if (array_key_exists("isPersonalSite", $this->_propDict)) { + return $this->_propDict["isPersonalSite"]; + } else { + return null; + } + } + + /** + * Sets the isPersonalSite + * + * @param bool $val The isPersonalSite + * + * @return Site + */ + public function setIsPersonalSite($val) + { + $this->_propDict["isPersonalSite"] = boolval($val); + return $this; + } + /** * Gets the root * If present, indicates that this is the root site in the site collection. Read-only. diff --git a/src/Model/User.php b/src/Model/User.php index 9236b29a396..7ae6b0d07e3 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -88,7 +88,7 @@ public function setAccountEnabled($val) /** * Gets the ageGroup - * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. Supports $filter (eq, ne, not, and in). + * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). * * @return string|null The ageGroup */ @@ -103,7 +103,7 @@ public function getAgeGroup() /** * Sets the ageGroup - * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. Supports $filter (eq, ne, not, and in). + * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). * * @param string $val The ageGroup * @@ -118,7 +118,7 @@ public function setAgeGroup($val) /** * Gets the assignedLicenses - * The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly-assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly-assigned and inherited licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, /$count eq 0, /$count ne 0). + * The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, /$count eq 0, /$count ne 0). * * @return array|null The assignedLicenses */ @@ -133,7 +133,7 @@ public function getAssignedLicenses() /** * Sets the assignedLicenses - * The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly-assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly-assigned and inherited licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, /$count eq 0, /$count ne 0). + * The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, /$count eq 0, /$count ne 0). * * @param AssignedLicense[] $val The assignedLicenses * @@ -237,7 +237,7 @@ public function setBusinessPhones($val) /** * Gets the city - * The city in which the user is located. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The city where the user is located. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @return string|null The city */ @@ -252,7 +252,7 @@ public function getCity() /** * Sets the city - * The city in which the user is located. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The city where the user is located. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @param string $val The city * @@ -266,7 +266,7 @@ public function setCity($val) /** * Gets the companyName - * The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The name of the company that the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @return string|null The companyName */ @@ -281,7 +281,7 @@ public function getCompanyName() /** * Sets the companyName - * The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The name of the company that the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @param string $val The companyName * @@ -324,7 +324,7 @@ public function setConsentProvidedForMinor($val) /** * Gets the country - * The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @return string|null The country */ @@ -339,7 +339,7 @@ public function getCountry() /** * Sets the country - * The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @param string $val The country * @@ -477,7 +477,7 @@ public function setDepartment($val) /** * Gets the displayName - * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search. * * @return string|null The displayName */ @@ -492,7 +492,7 @@ public function getDisplayName() /** * Sets the displayName - * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search. * * @param string $val The displayName * @@ -601,7 +601,7 @@ public function setEmployeeLeaveDateTime($val) /** * Gets the employeeOrgData - * Represents organization data (e.g. division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). + * Represents organization data (for example, division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). * * @return EmployeeOrgData|null The employeeOrgData */ @@ -620,7 +620,7 @@ public function getEmployeeOrgData() /** * Sets the employeeOrgData - * Represents organization data (e.g. division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). + * Represents organization data (for example, division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). * * @param EmployeeOrgData $val The employeeOrgData * @@ -963,7 +963,7 @@ public function setLegalAgeGroupClassification($val) /** * Gets the licenseAssignmentStates - * State of license assignments for this user. Also indicates licenses that are directly-assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. + * State of license assignments for this user. Also indicates licenses that are directly assigned or the user has inherited through group memberships. Read-only. Returned only on $select. * * @return array|null The licenseAssignmentStates */ @@ -978,7 +978,7 @@ public function getLicenseAssignmentStates() /** * Sets the licenseAssignmentStates - * State of license assignments for this user. Also indicates licenses that are directly-assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. + * State of license assignments for this user. Also indicates licenses that are directly assigned or the user has inherited through group memberships. Read-only. Returned only on $select. * * @param LicenseAssignmentState[] $val The licenseAssignmentStates * @@ -992,7 +992,7 @@ public function setLicenseAssignmentStates($val) /** * Gets the mail - * The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property cannot contain accent characters. NOTE: We do not recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + * The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). * * @return string|null The mail */ @@ -1007,7 +1007,7 @@ public function getMail() /** * Sets the mail - * The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property cannot contain accent characters. NOTE: We do not recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + * The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). * * @param string $val The mail * @@ -1199,7 +1199,7 @@ public function setOnPremisesExtensionAttributes($val) /** * Gets the onPremisesImmutableId - * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in).. + * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters can't be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in).. * * @return string|null The onPremisesImmutableId */ @@ -1214,7 +1214,7 @@ public function getOnPremisesImmutableId() /** * Sets the onPremisesImmutableId - * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in).. + * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters can't be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in).. * * @param string $val The onPremisesImmutableId * @@ -1407,7 +1407,7 @@ public function setOnPremisesUserPrincipalName($val) /** * Gets the otherMails - * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property cannot contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). + * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). * * @return array|null The otherMails */ @@ -1422,7 +1422,7 @@ public function getOtherMails() /** * Sets the otherMails - * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property cannot contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). + * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). * * @param string[] $val The otherMails * @@ -1436,7 +1436,7 @@ public function setOtherMails($val) /** * Gets the passwordPolicies - * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). + * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD password policies. Supports $filter (ne, not, and eq on null values). * * @return string|null The passwordPolicies */ @@ -1451,7 +1451,7 @@ public function getPasswordPolicies() /** * Sets the passwordPolicies - * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). + * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD password policies. Supports $filter (ne, not, and eq on null values). * * @param string $val The passwordPolicies * @@ -1556,7 +1556,7 @@ public function setPreferredDataLocation($val) /** * Gets the preferredLanguage - * The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * The preferred language for the user. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) * * @return string|null The preferredLanguage */ @@ -1571,7 +1571,7 @@ public function getPreferredLanguage() /** * Sets the preferredLanguage - * The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * The preferred language for the user. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) * * @param string $val The preferredLanguage * @@ -1615,7 +1615,7 @@ public function setProvisionedPlans($val) /** * Gets the proxyAddresses - * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). * * @return array|null The proxyAddresses */ @@ -1630,7 +1630,7 @@ public function getProxyAddresses() /** * Sets the proxyAddresses - * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). * * @param string[] $val The proxyAddresses * @@ -1730,7 +1730,7 @@ public function setShowInAddressList($val) /** * Gets the signInSessionsValidFromDateTime - * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select. + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select. * * @return \DateTime|null The signInSessionsValidFromDateTime */ @@ -1749,7 +1749,7 @@ public function getSignInSessionsValidFromDateTime() /** * Sets the signInSessionsValidFromDateTime - * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select. + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select. * * @param \DateTime $val The signInSessionsValidFromDateTime * @@ -1850,7 +1850,7 @@ public function setSurname($val) /** * Gets the usageLocation - * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * A two letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @return string|null The usageLocation */ @@ -1865,7 +1865,7 @@ public function getUsageLocation() /** * Sets the usageLocation - * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * A two letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * * @param string $val The usageLocation * @@ -1879,7 +1879,7 @@ public function setUsageLocation($val) /** * Gets the userPrincipalName - * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. + * The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. * * @return string|null The userPrincipalName */ @@ -1894,7 +1894,7 @@ public function getUserPrincipalName() /** * Sets the userPrincipalName - * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. + * The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. * * @param string $val The userPrincipalName * @@ -2359,7 +2359,7 @@ public function setAppRoleAssignments($val) /** * Gets the createdObjects - * Directory objects that were created by the user. Read-only. Nullable. + * Directory objects that the user created. Read-only. Nullable. * * @return array|null The createdObjects */ @@ -2374,7 +2374,7 @@ public function getCreatedObjects() /** * Sets the createdObjects - * Directory objects that were created by the user. Read-only. Nullable. + * Directory objects that the user created. Read-only. Nullable. * * @param DirectoryObject[] $val The createdObjects * @@ -2900,7 +2900,7 @@ public function setEvents($val) /** * Gets the inferenceClassification - * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + * Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. * * @return InferenceClassification|null The inferenceClassification */ @@ -2919,7 +2919,7 @@ public function getInferenceClassification() /** * Sets the inferenceClassification - * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + * Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. * * @param InferenceClassification $val The inferenceClassification * diff --git a/src/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php b/src/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php new file mode 100644 index 00000000000..de935fca1c7 --- /dev/null +++ b/src/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * The count of devices which initiated this process on startup. Supports: $filter, $select, $OrderBy. Read-only. + * + * @param int $val The deviceCount + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the medianImpactInMs + * The median impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. + * + * @return int|null The medianImpactInMs + */ + public function getMedianImpactInMs() + { + if (array_key_exists("medianImpactInMs", $this->_propDict)) { + return $this->_propDict["medianImpactInMs"]; + } else { + return null; + } + } + + /** + * Sets the medianImpactInMs + * The median impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. + * + * @param int $val The medianImpactInMs + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setMedianImpactInMs($val) + { + $this->_propDict["medianImpactInMs"] = intval($val); + return $this; + } + + /** + * Gets the processName + * The name of the startup process. Examples: outlook, excel. Supports: $select, $OrderBy. Read-only. + * + * @return string|null The processName + */ + public function getProcessName() + { + if (array_key_exists("processName", $this->_propDict)) { + return $this->_propDict["processName"]; + } else { + return null; + } + } + + /** + * Sets the processName + * The name of the startup process. Examples: outlook, excel. Supports: $select, $OrderBy. Read-only. + * + * @param string $val The processName + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setProcessName($val) + { + $this->_propDict["processName"] = $val; + return $this; + } + + /** + * Gets the productName + * The product name of the startup process. Examples: Microsoft Outlook, Microsoft Excel. Supports: $select, $OrderBy. Read-only. + * + * @return string|null The productName + */ + public function getProductName() + { + if (array_key_exists("productName", $this->_propDict)) { + return $this->_propDict["productName"]; + } else { + return null; + } + } + + /** + * Sets the productName + * The product name of the startup process. Examples: Microsoft Outlook, Microsoft Excel. Supports: $select, $OrderBy. Read-only. + * + * @param string $val The productName + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + + /** + * Gets the publisher + * The publisher of the startup process. Examples: Microsoft Corporation, Contoso Corp. Supports: $select, $OrderBy. Read-only. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The publisher of the startup process. Examples: Microsoft Corporation, Contoso Corp. Supports: $select, $OrderBy. Read-only. + * + * @param string $val The publisher + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the totalImpactInMs + * The total impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. + * + * @return int|null The totalImpactInMs + */ + public function getTotalImpactInMs() + { + if (array_key_exists("totalImpactInMs", $this->_propDict)) { + return $this->_propDict["totalImpactInMs"]; + } else { + return null; + } + } + + /** + * Sets the totalImpactInMs + * The total impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. + * + * @param int $val The totalImpactInMs + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setTotalImpactInMs($val) + { + $this->_propDict["totalImpactInMs"] = intval($val); + return $this; + } + +} diff --git a/src/Model/UserRegistrationDetails.php b/src/Model/UserRegistrationDetails.php index fdda86f6ef5..84b8746ec18 100644 --- a/src/Model/UserRegistrationDetails.php +++ b/src/Model/UserRegistrationDetails.php @@ -349,7 +349,7 @@ public function setSystemPreferredAuthenticationMethods($val) /** * Gets the userDisplayName - * The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy. + * The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby. * * @return string|null The userDisplayName */ @@ -364,7 +364,7 @@ public function getUserDisplayName() /** * Sets the userDisplayName - * The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy. + * The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby. * * @param string $val The userDisplayName * @@ -411,7 +411,7 @@ public function setUserPreferredMethodForSecondaryAuthentication($val) /** * Gets the userPrincipalName - * The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderBy. + * The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderby. * * @return string|null The userPrincipalName */ @@ -426,7 +426,7 @@ public function getUserPrincipalName() /** * Sets the userPrincipalName - * The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderBy. + * The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderby. * * @param string $val The userPrincipalName * diff --git a/src/Model/WindowsDeviceType.php b/src/Model/WindowsDeviceType.php index 5501652e96c..70ddac7c6cf 100644 --- a/src/Model/WindowsDeviceType.php +++ b/src/Model/WindowsDeviceType.php @@ -34,4 +34,5 @@ class WindowsDeviceType extends Enum const MOBILE = "mobile"; const HOLOGRAPHIC = "holographic"; const TEAM = "team"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } From 6e26de0dc95751037d80d93d850a77924c5f976f Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 12 Sep 2023 10:10:15 +0000 Subject: [PATCH 2/2] Bump SDK version --- README.md | 2 +- src/Core/GraphConstants.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d6f530c4a3..28894260c2c 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.106.0" + "microsoft/microsoft-graph": "^1.107.0" } } ``` diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index 177f81ab950..ba518fd7a23 100644 --- a/src/Core/GraphConstants.php +++ b/src/Core/GraphConstants.php @@ -23,7 +23,7 @@ final class GraphConstants const REST_ENDPOINT = "https://graph.microsoft.com/"; // Define HTTP request constants - const SDK_VERSION = "1.106.0"; + const SDK_VERSION = "1.107.0"; // Define error constants const MAX_PAGE_SIZE = 999;