diff --git a/README.md b/README.md index 656793f5970..54ea218dd9c 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.108.0" + "microsoft/microsoft-graph": "^1.109.0" } } ``` diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Property.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Property.php index 8174203df3b..4a686f3c050 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Property.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Property.php @@ -194,7 +194,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 (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. + * 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 (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl. * * @return Label|null The labels */ @@ -213,7 +213,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 (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. + * 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 (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: containerName, containerUrl, iconUrl. * * @param Label $val The value to assign to the labels * diff --git a/src/Beta/Microsoft/Graph/Model/Application.php b/src/Beta/Microsoft/Graph/Model/Application.php index cdfe176359f..1fcb4bec693 100644 --- a/src/Beta/Microsoft/Graph/Model/Application.php +++ b/src/Beta/Microsoft/Graph/Model/Application.php @@ -59,7 +59,7 @@ public function setApi($val) /** * Gets the appId - * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Supports $filter (eq). + * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Alternate key. Supports $filter (eq). * * @return string|null The appId */ @@ -74,7 +74,7 @@ public function getAppId() /** * Sets the appId - * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Supports $filter (eq). + * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Alternate key. Supports $filter (eq). * * @param string $val The appId * diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaign.php b/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaign.php index 0d1989d7a61..77b59f5be5e 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaign.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaign.php @@ -91,7 +91,7 @@ public function setIncludeTargets($val) } /** * Gets the snoozeDurationInDays - * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt. + * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is 0 – The user is prompted during every MFA attempt. * * @return int|null The snoozeDurationInDays */ @@ -106,7 +106,7 @@ public function getSnoozeDurationInDays() /** * Sets the snoozeDurationInDays - * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt. + * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is 0 – The user is prompted during every MFA attempt. * * @param int $val The value of the snoozeDurationInDays * diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcFrontLineServicePlan.php b/src/Beta/Microsoft/Graph/Model/CloudPcFrontLineServicePlan.php index 04ab39d397d..c5d3a9d8f0b 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcFrontLineServicePlan.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcFrontLineServicePlan.php @@ -26,6 +26,7 @@ class CloudPcFrontLineServicePlan extends Entity { /** * Gets the displayName + * The display name of the front-line service plan. For example, 2vCPU/8GB/128GB Front-line or 4vCPU/16GB/256GB Front-line. * * @return string|null The displayName */ @@ -40,6 +41,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name of the front-line service plan. For example, 2vCPU/8GB/128GB Front-line or 4vCPU/16GB/256GB Front-line. * * @param string $val The displayName * @@ -53,6 +55,7 @@ public function setDisplayName($val) /** * Gets the totalCount + * The total number of front-line service plans purchased by the customer. * * @return int|null The totalCount */ @@ -67,6 +70,7 @@ public function getTotalCount() /** * Sets the totalCount + * The total number of front-line service plans purchased by the customer. * * @param int $val The totalCount * @@ -80,6 +84,7 @@ public function setTotalCount($val) /** * Gets the usedCount + * The number of service plans that have been used for the account. * * @return int|null The usedCount */ @@ -94,6 +99,7 @@ public function getUsedCount() /** * Sets the usedCount + * The number of service plans that have been used for the account. * * @param int $val The usedCount * diff --git a/src/Beta/Microsoft/Graph/Model/DailyInactiveUsersByApplicationMetric.php b/src/Beta/Microsoft/Graph/Model/DailyInactiveUsersByApplicationMetric.php new file mode 100644 index 00000000000..a83b2651686 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DailyInactiveUsersByApplicationMetric.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["inactive1DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive1DayCount + * + * @param int $val The inactive1DayCount + * + * @return DailyInactiveUsersByApplicationMetric + */ + public function setInactive1DayCount($val) + { + $this->_propDict["inactive1DayCount"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/DailyInactiveUsersMetric.php b/src/Beta/Microsoft/Graph/Model/DailyInactiveUsersMetric.php new file mode 100644 index 00000000000..1ffffbcc54a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DailyInactiveUsersMetric.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["inactive1DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive1DayCount + * + * @param int $val The inactive1DayCount + * + * @return DailyInactiveUsersMetric + */ + public function setInactive1DayCount($val) + { + $this->_propDict["inactive1DayCount"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/Device.php b/src/Beta/Microsoft/Graph/Model/Device.php index 496eb3b6f5a..758a7f24238 100644 --- a/src/Beta/Microsoft/Graph/Model/Device.php +++ b/src/Beta/Microsoft/Graph/Model/Device.php @@ -445,7 +445,7 @@ public function setExtensionAttributes($val) /** * Gets the hostnames - * List of hostNames for the device. + * List of host names for the device. * * @return array|null The hostnames */ @@ -460,7 +460,7 @@ public function getHostnames() /** * Sets the hostnames - * List of hostNames for the device. + * List of host names for the device. * * @param string[] $val The hostnames * @@ -532,7 +532,7 @@ public function setIsManaged($val) /** * Gets the isManagementRestricted - * true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. + * Indicates whether the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. The default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. * * @return bool|null The isManagementRestricted */ @@ -547,7 +547,7 @@ public function getIsManagementRestricted() /** * Sets the isManagementRestricted - * true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. + * Indicates whether the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. The default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. * * @param bool $val The isManagementRestricted * @@ -681,6 +681,7 @@ public function setOnPremisesLastSyncDateTime($val) /** * Gets the onPremisesSecurityIdentifier + * The on-premises security identifier (SID) for the user who was synchronized from on-premises to the cloud. Read-only. Returned only on $select. Supports $filter (eq). * * @return string|null The onPremisesSecurityIdentifier */ @@ -695,6 +696,7 @@ public function getOnPremisesSecurityIdentifier() /** * Sets the onPremisesSecurityIdentifier + * The on-premises security identifier (SID) for the user who was synchronized from on-premises to the cloud. Read-only. Returned only on $select. Supports $filter (eq). * * @param string $val The onPremisesSecurityIdentifier * @@ -915,7 +917,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 */ @@ -930,7 +932,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 * @@ -944,7 +946,7 @@ public function setTrustType($val) /** * Gets the kind - * Form factor of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Form factor of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @return string|null The kind */ @@ -959,7 +961,7 @@ public function getKind() /** * Sets the kind - * Form factor of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Form factor of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @param string $val The kind * @@ -973,7 +975,7 @@ public function setKind($val) /** * Gets the manufacturer - * Manufacturer of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Manufacturer of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @return string|null The manufacturer */ @@ -988,7 +990,7 @@ public function getManufacturer() /** * Sets the manufacturer - * Manufacturer of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Manufacturer of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @param string $val The manufacturer * @@ -1002,7 +1004,7 @@ public function setManufacturer($val) /** * Gets the model - * Model of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Model of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @return string|null The model */ @@ -1017,7 +1019,7 @@ public function getModel() /** * Sets the model - * Model of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Model of the device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @param string $val The model * @@ -1031,7 +1033,7 @@ public function setModel($val) /** * Gets the name - * Friendly name of a device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Friendly name of the device. Only returned if user signs in with a Microsoft account as part of Project Rome. * * @return string|null The name */ @@ -1046,7 +1048,7 @@ public function getName() /** * Sets the name - * Friendly name of a device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Friendly name of the device. Only returned if user signs in with a Microsoft account as part of Project Rome. * * @param string $val The name * @@ -1060,7 +1062,7 @@ public function setName($val) /** * Gets the platform - * Platform of device. Only returned if user signs in with a Microsoft account as part of Project Rome. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Platform of device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @return string|null The platform */ @@ -1075,7 +1077,7 @@ public function getPlatform() /** * Sets the platform - * Platform of device. Only returned if user signs in with a Microsoft account as part of Project Rome. Only returned if user signs in with a Microsoft account as part of Project Rome. + * Platform of device. Only returned if the user signs in with a Microsoft account as part of Project Rome. * * @param string $val The platform * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php index 7818161a161..62f8fe8d53d 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/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/DeviceManagementConfigurationSettingGroupDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php index 0563d36dd58..9a6c46313c3 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupDefinition extends DeviceManageme { /** * Gets the childIds - * Dependent child settings to this group of settings. + * Dependent child settings to this group of settings * * @return array|null The childIds */ @@ -41,7 +41,7 @@ public function getChildIds() /** * Sets the childIds - * Dependent child settings to this group of settings. + * Dependent child settings to this group of settings * * @param string[] $val The childIds * diff --git a/src/Beta/Microsoft/Graph/Model/Identity.php b/src/Beta/Microsoft/Graph/Model/Identity.php index d7f7a83f49d..03a9de8a01b 100644 --- a/src/Beta/Microsoft/Graph/Model/Identity.php +++ b/src/Beta/Microsoft/Graph/Model/Identity.php @@ -25,7 +25,7 @@ class Identity extends Entity { /** * Gets the displayName - * The display name of the identity. This might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * The display name of the identity. This property is read-only. * * @return string|null The displayName */ @@ -40,7 +40,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the identity. This might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * The display name of the identity. This property is read-only. * * @param string $val The value of the displayName * @@ -53,7 +53,7 @@ public function setDisplayName($val) } /** * Gets the id - * Unique identifier for the identity. + * The identifier of the identity. This property is read-only. * * @return string|null The id */ @@ -68,7 +68,7 @@ public function getId() /** * Sets the id - * Unique identifier for the identity. + * The identifier of the identity. This property is read-only. * * @param string $val The value of the id * diff --git a/src/Beta/Microsoft/Graph/Model/InactiveUsersByApplicationMetricBase.php b/src/Beta/Microsoft/Graph/Model/InactiveUsersByApplicationMetricBase.php new file mode 100644 index 00000000000..28ac153ca0b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/InactiveUsersByApplicationMetricBase.php @@ -0,0 +1,139 @@ +_propDict)) { + if (is_a($this->_propDict["factDate"], "\DateTime") || is_null($this->_propDict["factDate"])) { + return $this->_propDict["factDate"]; + } else { + $this->_propDict["factDate"] = new \DateTime($this->_propDict["factDate"]); + return $this->_propDict["factDate"]; + } + } + return null; + } + + /** + * Sets the factDate + * + * @param \DateTime $val The factDate + * + * @return InactiveUsersByApplicationMetricBase + */ + public function setFactDate($val) + { + $this->_propDict["factDate"] = $val; + return $this; + } + + /** + * Gets the inactive30DayCount + * + * @return int|null The inactive30DayCount + */ + public function getInactive30DayCount() + { + if (array_key_exists("inactive30DayCount", $this->_propDict)) { + return $this->_propDict["inactive30DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive30DayCount + * + * @param int $val The inactive30DayCount + * + * @return InactiveUsersByApplicationMetricBase + */ + public function setInactive30DayCount($val) + { + $this->_propDict["inactive30DayCount"] = intval($val); + return $this; + } + + /** + * Gets the inactive60DayCount + * + * @return int|null The inactive60DayCount + */ + public function getInactive60DayCount() + { + if (array_key_exists("inactive60DayCount", $this->_propDict)) { + return $this->_propDict["inactive60DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive60DayCount + * + * @param int $val The inactive60DayCount + * + * @return InactiveUsersByApplicationMetricBase + */ + public function setInactive60DayCount($val) + { + $this->_propDict["inactive60DayCount"] = intval($val); + return $this; + } + + /** + * Gets the inactive90DayCount + * + * @return int|null The inactive90DayCount + */ + public function getInactive90DayCount() + { + if (array_key_exists("inactive90DayCount", $this->_propDict)) { + return $this->_propDict["inactive90DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive90DayCount + * + * @param int $val The inactive90DayCount + * + * @return InactiveUsersByApplicationMetricBase + */ + public function setInactive90DayCount($val) + { + $this->_propDict["inactive90DayCount"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/InactiveUsersMetricBase.php b/src/Beta/Microsoft/Graph/Model/InactiveUsersMetricBase.php new file mode 100644 index 00000000000..8d9d09eba74 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/InactiveUsersMetricBase.php @@ -0,0 +1,139 @@ +_propDict)) { + if (is_a($this->_propDict["factDate"], "\DateTime") || is_null($this->_propDict["factDate"])) { + return $this->_propDict["factDate"]; + } else { + $this->_propDict["factDate"] = new \DateTime($this->_propDict["factDate"]); + return $this->_propDict["factDate"]; + } + } + return null; + } + + /** + * Sets the factDate + * + * @param \DateTime $val The factDate + * + * @return InactiveUsersMetricBase + */ + public function setFactDate($val) + { + $this->_propDict["factDate"] = $val; + return $this; + } + + /** + * Gets the inactive30DayCount + * + * @return int|null The inactive30DayCount + */ + public function getInactive30DayCount() + { + if (array_key_exists("inactive30DayCount", $this->_propDict)) { + return $this->_propDict["inactive30DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive30DayCount + * + * @param int $val The inactive30DayCount + * + * @return InactiveUsersMetricBase + */ + public function setInactive30DayCount($val) + { + $this->_propDict["inactive30DayCount"] = intval($val); + return $this; + } + + /** + * Gets the inactive60DayCount + * + * @return int|null The inactive60DayCount + */ + public function getInactive60DayCount() + { + if (array_key_exists("inactive60DayCount", $this->_propDict)) { + return $this->_propDict["inactive60DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive60DayCount + * + * @param int $val The inactive60DayCount + * + * @return InactiveUsersMetricBase + */ + public function setInactive60DayCount($val) + { + $this->_propDict["inactive60DayCount"] = intval($val); + return $this; + } + + /** + * Gets the inactive90DayCount + * + * @return int|null The inactive90DayCount + */ + public function getInactive90DayCount() + { + if (array_key_exists("inactive90DayCount", $this->_propDict)) { + return $this->_propDict["inactive90DayCount"]; + } else { + return null; + } + } + + /** + * Sets the inactive90DayCount + * + * @param int $val The inactive90DayCount + * + * @return InactiveUsersMetricBase + */ + public function setInactive90DayCount($val) + { + $this->_propDict["inactive90DayCount"] = intval($val); + return $this; + } + +} 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/MacOsLobAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php index a8b5c6204b4..d6de277022d 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. + * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @return bool|null The uninstallOnDeviceRemoval */ @@ -51,7 +51,7 @@ public function getUninstallOnDeviceRemoval() /** * Sets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. + * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @param bool $val The value of the uninstallOnDeviceRemoval * diff --git a/src/Beta/Microsoft/Graph/Model/MonthlyInactiveUsersByApplicationMetric.php b/src/Beta/Microsoft/Graph/Model/MonthlyInactiveUsersByApplicationMetric.php new file mode 100644 index 00000000000..378a57a245d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MonthlyInactiveUsersByApplicationMetric.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["inactiveCalendarMonthCount"]; + } else { + return null; + } + } + + /** + * Sets the inactiveCalendarMonthCount + * + * @param int $val The inactiveCalendarMonthCount + * + * @return MonthlyInactiveUsersByApplicationMetric + */ + public function setInactiveCalendarMonthCount($val) + { + $this->_propDict["inactiveCalendarMonthCount"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MonthlyInactiveUsersMetric.php b/src/Beta/Microsoft/Graph/Model/MonthlyInactiveUsersMetric.php new file mode 100644 index 00000000000..0cd87a75d66 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MonthlyInactiveUsersMetric.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["inactiveCalendarMonthCount"]; + } else { + return null; + } + } + + /** + * Sets the inactiveCalendarMonthCount + * + * @param int $val The inactiveCalendarMonthCount + * + * @return MonthlyInactiveUsersMetric + */ + public function setInactiveCalendarMonthCount($val) + { + $this->_propDict["inactiveCalendarMonthCount"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentSchedule.php b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentSchedule.php index 9af862cd2c7..174d739fab6 100644 --- a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentSchedule.php +++ b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentSchedule.php @@ -26,7 +26,7 @@ class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSchedule { /** * Gets the accessId - * The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. + * The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupRelationships|null The accessId */ @@ -45,7 +45,7 @@ public function getAccessId() /** * Sets the accessId - * The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. + * The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupRelationships $val The accessId * @@ -59,7 +59,7 @@ public function setAccessId($val) /** * Gets the assignmentType - * Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. + * Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupAssignmentType|null The assignmentType */ @@ -78,7 +78,7 @@ public function getAssignmentType() /** * Sets the assignmentType - * Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. + * Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupAssignmentType $val The assignmentType * @@ -92,7 +92,7 @@ public function setAssignmentType($val) /** * Gets the groupId - * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. + * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. Supports $filter (eq). * * @return string|null The groupId */ @@ -107,7 +107,7 @@ public function getGroupId() /** * Sets the groupId - * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. + * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. Supports $filter (eq). * * @param string $val The groupId * @@ -121,7 +121,7 @@ public function setGroupId($val) /** * Gets the memberType - * Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupMemberType|null The memberType */ @@ -140,7 +140,7 @@ public function getMemberType() /** * Sets the memberType - * Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupMemberType $val The memberType * @@ -154,7 +154,7 @@ public function setMemberType($val) /** * Gets the principalId - * The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. + * The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. Supports $filter (eq). * * @return string|null The principalId */ @@ -169,7 +169,7 @@ public function getPrincipalId() /** * Sets the principalId - * The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. + * The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. Supports $filter (eq). * * @param string $val The principalId * diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentScheduleInstance.php b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentScheduleInstance.php index a991fbd02fc..c8dff81cc7a 100644 --- a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentScheduleInstance.php +++ b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupAssignmentScheduleInstance.php @@ -26,7 +26,7 @@ class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedAccessSc { /** * Gets the accessId - * The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. + * The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupRelationships|null The accessId */ @@ -45,7 +45,7 @@ public function getAccessId() /** * Sets the accessId - * The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. + * The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupRelationships $val The accessId * @@ -59,7 +59,7 @@ public function setAccessId($val) /** * Gets the assignmentScheduleId - * The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. + * The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. Supports $filter (eq, ne). * * @return string|null The assignmentScheduleId */ @@ -74,7 +74,7 @@ public function getAssignmentScheduleId() /** * Sets the assignmentScheduleId - * The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. + * The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. Supports $filter (eq, ne). * * @param string $val The assignmentScheduleId * @@ -88,7 +88,7 @@ public function setAssignmentScheduleId($val) /** * Gets the assignmentType - * Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. + * Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupAssignmentType|null The assignmentType */ @@ -107,7 +107,7 @@ public function getAssignmentType() /** * Sets the assignmentType - * Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. + * Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupAssignmentType $val The assignmentType * @@ -121,7 +121,7 @@ public function setAssignmentType($val) /** * Gets the groupId - * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. + * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. Supports $filter (eq). * * @return string|null The groupId */ @@ -136,7 +136,7 @@ public function getGroupId() /** * Sets the groupId - * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. + * The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. Supports $filter (eq). * * @param string $val The groupId * @@ -150,7 +150,7 @@ public function setGroupId($val) /** * Gets the memberType - * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupMemberType|null The memberType */ @@ -169,7 +169,7 @@ public function getMemberType() /** * Sets the memberType - * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupMemberType $val The memberType * @@ -183,7 +183,7 @@ public function setMemberType($val) /** * Gets the principalId - * The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. + * The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. Supports $filter (eq). * * @return string|null The principalId */ @@ -198,7 +198,7 @@ public function getPrincipalId() /** * Sets the principalId - * The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. + * The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. Supports $filter (eq). * * @param string $val The principalId * diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilitySchedule.php b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilitySchedule.php index 3ea529c30ec..d3591913b53 100644 --- a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilitySchedule.php +++ b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilitySchedule.php @@ -26,7 +26,7 @@ class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSchedule { /** * Gets the accessId - * The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. + * The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. Supports $filter (eq). * * @return PrivilegedAccessGroupRelationships|null The accessId */ @@ -45,7 +45,7 @@ public function getAccessId() /** * Sets the accessId - * The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. + * The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. Supports $filter (eq). * * @param PrivilegedAccessGroupRelationships $val The accessId * @@ -59,7 +59,7 @@ public function setAccessId($val) /** * Gets the groupId - * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. + * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). * * @return string|null The groupId */ @@ -74,7 +74,7 @@ public function getGroupId() /** * Sets the groupId - * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. + * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). * * @param string $val The groupId * @@ -88,7 +88,7 @@ public function setGroupId($val) /** * Gets the memberType - * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupMemberType|null The memberType */ @@ -107,7 +107,7 @@ public function getMemberType() /** * Sets the memberType - * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupMemberType $val The memberType * @@ -121,7 +121,7 @@ public function setMemberType($val) /** * Gets the principalId - * The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. + * The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. Supports $filter (eq). * * @return string|null The principalId */ @@ -136,7 +136,7 @@ public function getPrincipalId() /** * Sets the principalId - * The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. + * The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. Supports $filter (eq). * * @param string $val The principalId * diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilityScheduleInstance.php b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilityScheduleInstance.php index 87bffd7ea6c..7e19177cffc 100644 --- a/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilityScheduleInstance.php +++ b/src/Beta/Microsoft/Graph/Model/PrivilegedAccessGroupEligibilityScheduleInstance.php @@ -26,7 +26,7 @@ class PrivilegedAccessGroupEligibilityScheduleInstance extends PrivilegedAccessS { /** * Gets the accessId - * The identifier of the membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member. + * The identifier of the membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member. Supports $filter (eq). * * @return PrivilegedAccessGroupRelationships|null The accessId */ @@ -45,7 +45,7 @@ public function getAccessId() /** * Sets the accessId - * The identifier of the membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member. + * The identifier of the membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member. Supports $filter (eq). * * @param PrivilegedAccessGroupRelationships $val The accessId * @@ -59,7 +59,7 @@ public function setAccessId($val) /** * Gets the eligibilityScheduleId - * The identifier of the privilegedAccessGroupEligibilitySchedule from which this instance was created. Required. + * The identifier of the privilegedAccessGroupEligibilitySchedule from which this instance was created. Required. Supports $filter (eq, ne). * * @return string|null The eligibilityScheduleId */ @@ -74,7 +74,7 @@ public function getEligibilityScheduleId() /** * Sets the eligibilityScheduleId - * The identifier of the privilegedAccessGroupEligibilitySchedule from which this instance was created. Required. + * The identifier of the privilegedAccessGroupEligibilitySchedule from which this instance was created. Required. Supports $filter (eq, ne). * * @param string $val The eligibilityScheduleId * @@ -88,7 +88,7 @@ public function setEligibilityScheduleId($val) /** * Gets the groupId - * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. + * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). * * @return string|null The groupId */ @@ -103,7 +103,7 @@ public function getGroupId() /** * Sets the groupId - * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. + * The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq). * * @param string $val The groupId * @@ -117,7 +117,7 @@ public function setGroupId($val) /** * Gets the memberType - * Indicates whether the assignment is derived from a group assignment. It can further imply whether the calling principal can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the calling principal can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @return PrivilegedAccessGroupMemberType|null The memberType */ @@ -136,7 +136,7 @@ public function getMemberType() /** * Sets the memberType - * Indicates whether the assignment is derived from a group assignment. It can further imply whether the calling principal can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. + * Indicates whether the assignment is derived from a group assignment. It can further imply whether the calling principal can manage the assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq). * * @param PrivilegedAccessGroupMemberType $val The memberType * @@ -150,7 +150,7 @@ public function setMemberType($val) /** * Gets the principalId - * The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. + * The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. Supports $filter (eq). * * @return string|null The principalId */ @@ -165,7 +165,7 @@ public function getPrincipalId() /** * Sets the principalId - * The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. + * The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required. Supports $filter (eq). * * @param string $val The principalId * diff --git a/src/Beta/Microsoft/Graph/Model/RecommendationBase.php b/src/Beta/Microsoft/Graph/Model/RecommendationBase.php index e5c423f0532..0caf4456c07 100644 --- a/src/Beta/Microsoft/Graph/Model/RecommendationBase.php +++ b/src/Beta/Microsoft/Graph/Model/RecommendationBase.php @@ -553,7 +553,7 @@ public function setRecommendationType($val) /** * Gets the releaseType - * The current release type of the recommendation. The possible values are: preview or generallyAvailable. + * The current release type of the recommendation. The possible values are: preview, generallyAvailable, unknownFutureValue. * * @return string|null The releaseType */ @@ -568,7 +568,7 @@ public function getReleaseType() /** * Sets the releaseType - * The current release type of the recommendation. The possible values are: preview or generallyAvailable. + * The current release type of the recommendation. The possible values are: preview, generallyAvailable, unknownFutureValue. * * @param string $val The releaseType * diff --git a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php index f28879f9084..97c15322fef 100644 --- a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php +++ b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php @@ -205,7 +205,7 @@ public function setAppDisplayName($val) /** * Gets the appId - * The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith). + * The unique identifier for the associated application (its appId property). Alternate key. Supports $filter (eq, ne, not, in, startsWith). * * @return string|null The appId */ @@ -220,7 +220,7 @@ public function getAppId() /** * Sets the appId - * The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith). + * The unique identifier for the associated application (its appId property). Alternate key. Supports $filter (eq, ne, not, in, startsWith). * * @param string $val The appId * diff --git a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php index 49bda8fac91..915c9c3486e 100644 --- a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php +++ b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php @@ -36,7 +36,6 @@ public function __construct($propDict = array()) /** * Gets the upns - * Collection of mailboxes that should be included in the search. Includes the UPN (user principal name) of each mailbox, for example, Monica.Thompson@contoso.com. * * @return string|null The upns */ @@ -51,7 +50,6 @@ public function getUpns() /** * Sets the upns - * Collection of mailboxes that should be included in the search. Includes the UPN (user principal name) of each mailbox, for example, Monica.Thompson@contoso.com. * * @param string $val The value of the upns * @@ -64,6 +62,7 @@ public function setUpns($val) } /** * Gets the userPrincipalNames + * Collection of mailboxes that should be included in the search. Includes the user principal name (UPN) of each mailbox, for example, Monica.Thompson@contoso.com. * * @return string|null The userPrincipalNames */ @@ -78,6 +77,7 @@ public function getUserPrincipalNames() /** * Sets the userPrincipalNames + * Collection of mailboxes that should be included in the search. Includes the user principal name (UPN) of each mailbox, for example, Monica.Thompson@contoso.com. * * @param string $val The value of the userPrincipalNames * diff --git a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestHistory.php b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestHistory.php index 7bb416805d7..c2784726201 100644 --- a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestHistory.php +++ b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestHistory.php @@ -92,7 +92,7 @@ public function setEventDateTime($val) /** * Gets the stage - * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. * * @return SubjectRightsRequestStage|null The stage */ @@ -111,7 +111,7 @@ public function getStage() /** * Sets the stage - * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. * * @param SubjectRightsRequestStage $val The value to assign to the stage * diff --git a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestStageDetail.php b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestStageDetail.php index 924c5cea88e..da9101d1249 100644 --- a/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestStageDetail.php +++ b/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestStageDetail.php @@ -59,7 +59,7 @@ public function setError($val) /** * Gets the stage - * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. + * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. * * @return SubjectRightsRequestStage|null The stage */ @@ -78,7 +78,7 @@ public function getStage() /** * Sets the stage - * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. + * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. * * @param SubjectRightsRequestStage $val The value to assign to the stage * diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php b/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php index fa80ce49e8c..74925cd6758 100644 --- a/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php +++ b/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php @@ -208,6 +208,7 @@ public function setExternalPartnerSettings($val) /** * Gets the frontLineServicePlans + * Front-line service plans for a Cloud PC. * * @return array|null The frontLineServicePlans */ @@ -222,6 +223,7 @@ public function getFrontLineServicePlans() /** * Sets the frontLineServicePlans + * Front-line service plans for a Cloud PC. * * @param CloudPcFrontLineServicePlan[] $val The frontLineServicePlans * @@ -422,7 +424,6 @@ public function setServicePlans($val) /** * Gets the sharedUseServicePlans - * Cloud PC shared-use service plans. * * @return array|null The sharedUseServicePlans */ @@ -437,7 +438,6 @@ public function getSharedUseServicePlans() /** * Sets the sharedUseServicePlans - * Cloud PC shared-use service plans. * * @param CloudPcSharedUseServicePlan[] $val The sharedUseServicePlans * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php index c0565626007..35c1517fa90 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/CrossTenantAccess.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/CrossTenantAccess.php new file mode 100644 index 00000000000..0d8cd1f0609 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/CrossTenantAccess.php @@ -0,0 +1,218 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * + * @param int $val The value of the deviceCount + * + * @return CrossTenantAccess + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = $val; + return $this; + } + + /** + * Gets the lastAccessDateTime + * + * @return \DateTime|null The lastAccessDateTime + */ + public function getLastAccessDateTime() + { + if (array_key_exists("lastAccessDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessDateTime"])) { + return $this->_propDict["lastAccessDateTime"]; + } else { + $this->_propDict["lastAccessDateTime"] = new \DateTime($this->_propDict["lastAccessDateTime"]); + return $this->_propDict["lastAccessDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessDateTime + * + * @param \DateTime $val The value to assign to the lastAccessDateTime + * + * @return CrossTenantAccess The CrossTenantAccess + */ + public function setLastAccessDateTime($val) + { + $this->_propDict["lastAccessDateTime"] = $val; + return $this; + } + /** + * Gets the resourceTenantId + * + * @return string|null The resourceTenantId + */ + public function getResourceTenantId() + { + if (array_key_exists("resourceTenantId", $this->_propDict)) { + return $this->_propDict["resourceTenantId"]; + } else { + return null; + } + } + + /** + * Sets the resourceTenantId + * + * @param string $val The value of the resourceTenantId + * + * @return CrossTenantAccess + */ + public function setResourceTenantId($val) + { + $this->_propDict["resourceTenantId"] = $val; + return $this; + } + /** + * Gets the resourceTenantName + * + * @return string|null The resourceTenantName + */ + public function getResourceTenantName() + { + if (array_key_exists("resourceTenantName", $this->_propDict)) { + return $this->_propDict["resourceTenantName"]; + } else { + return null; + } + } + + /** + * Sets the resourceTenantName + * + * @param string $val The value of the resourceTenantName + * + * @return CrossTenantAccess + */ + public function setResourceTenantName($val) + { + $this->_propDict["resourceTenantName"] = $val; + return $this; + } + /** + * Gets the resourceTenantPrimaryDomain + * + * @return string|null The resourceTenantPrimaryDomain + */ + public function getResourceTenantPrimaryDomain() + { + if (array_key_exists("resourceTenantPrimaryDomain", $this->_propDict)) { + return $this->_propDict["resourceTenantPrimaryDomain"]; + } else { + return null; + } + } + + /** + * Sets the resourceTenantPrimaryDomain + * + * @param string $val The value of the resourceTenantPrimaryDomain + * + * @return CrossTenantAccess + */ + public function setResourceTenantPrimaryDomain($val) + { + $this->_propDict["resourceTenantPrimaryDomain"] = $val; + return $this; + } + + /** + * Gets the usageStatus + * + * @return UsageStatus|null The usageStatus + */ + public function getUsageStatus() + { + if (array_key_exists("usageStatus", $this->_propDict)) { + if (is_a($this->_propDict["usageStatus"], "\Beta\Microsoft\Graph\Networkaccess\Model\UsageStatus") || is_null($this->_propDict["usageStatus"])) { + return $this->_propDict["usageStatus"]; + } else { + $this->_propDict["usageStatus"] = new UsageStatus($this->_propDict["usageStatus"]); + return $this->_propDict["usageStatus"]; + } + } + return null; + } + + /** + * Sets the usageStatus + * + * @param UsageStatus $val The value to assign to the usageStatus + * + * @return CrossTenantAccess The CrossTenantAccess + */ + public function setUsageStatus($val) + { + $this->_propDict["usageStatus"] = $val; + return $this; + } + /** + * Gets the userCount + * + * @return int|null The userCount + */ + public function getUserCount() + { + if (array_key_exists("userCount", $this->_propDict)) { + return $this->_propDict["userCount"]; + } else { + return null; + } + } + + /** + * Sets the userCount + * + * @param int $val The value of the userCount + * + * @return CrossTenantAccess + */ + public function setUserCount($val) + { + $this->_propDict["userCount"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/CrossTenantSummary.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/CrossTenantSummary.php index 75c2325b3ca..5ef15bba589 100644 --- a/src/Beta/Microsoft/Graph/Networkaccess/Model/CrossTenantSummary.php +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/CrossTenantSummary.php @@ -108,6 +108,32 @@ public function setNewTenantCount($val) return $this; } /** + * Gets the rarelyUsedTenantCount + * + * @return int|null The rarelyUsedTenantCount + */ + public function getRarelyUsedTenantCount() + { + if (array_key_exists("rarelyUsedTenantCount", $this->_propDict)) { + return $this->_propDict["rarelyUsedTenantCount"]; + } else { + return null; + } + } + + /** + * Sets the rarelyUsedTenantCount + * + * @param int $val The value of the rarelyUsedTenantCount + * + * @return CrossTenantSummary + */ + public function setRarelyUsedTenantCount($val) + { + $this->_propDict["rarelyUsedTenantCount"] = $val; + return $this; + } + /** * Gets the tenantCount * Count of unique tenants that were accessed, that are different from the device's home tenant, in the time frame between startDateTime and endDateTime. * diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/Destination.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/Destination.php new file mode 100644 index 00000000000..f20603f2fa1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/Destination.php @@ -0,0 +1,197 @@ +_propDict)) { + return $this->_propDict["fqdn"]; + } else { + return null; + } + } + + /** + * Sets the fqdn + * + * @param string $val The value of the fqdn + * + * @return Destination + */ + public function setFqdn($val) + { + $this->_propDict["fqdn"] = $val; + return $this; + } + /** + * Gets the ip + * + * @return string|null The ip + */ + public function getIp() + { + if (array_key_exists("ip", $this->_propDict)) { + return $this->_propDict["ip"]; + } else { + return null; + } + } + + /** + * Sets the ip + * + * @param string $val The value of the ip + * + * @return Destination + */ + public function setIp($val) + { + $this->_propDict["ip"] = $val; + return $this; + } + + /** + * Gets the lastAccessDateTime + * + * @return \DateTime|null The lastAccessDateTime + */ + public function getLastAccessDateTime() + { + if (array_key_exists("lastAccessDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessDateTime"])) { + return $this->_propDict["lastAccessDateTime"]; + } else { + $this->_propDict["lastAccessDateTime"] = new \DateTime($this->_propDict["lastAccessDateTime"]); + return $this->_propDict["lastAccessDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessDateTime + * + * @param \DateTime $val The value to assign to the lastAccessDateTime + * + * @return Destination The Destination + */ + public function setLastAccessDateTime($val) + { + $this->_propDict["lastAccessDateTime"] = $val; + return $this; + } + + /** + * Gets the networkingProtocol + * + * @return NetworkingProtocol|null The networkingProtocol + */ + public function getNetworkingProtocol() + { + if (array_key_exists("networkingProtocol", $this->_propDict)) { + if (is_a($this->_propDict["networkingProtocol"], "\Beta\Microsoft\Graph\Networkaccess\Model\NetworkingProtocol") || is_null($this->_propDict["networkingProtocol"])) { + return $this->_propDict["networkingProtocol"]; + } else { + $this->_propDict["networkingProtocol"] = new NetworkingProtocol($this->_propDict["networkingProtocol"]); + return $this->_propDict["networkingProtocol"]; + } + } + return null; + } + + /** + * Sets the networkingProtocol + * + * @param NetworkingProtocol $val The value to assign to the networkingProtocol + * + * @return Destination The Destination + */ + public function setNetworkingProtocol($val) + { + $this->_propDict["networkingProtocol"] = $val; + return $this; + } + /** + * Gets the port + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * + * @param int $val The value of the port + * + * @return Destination + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } + + /** + * Gets the trafficType + * + * @return TrafficType|null The trafficType + */ + public function getTrafficType() + { + if (array_key_exists("trafficType", $this->_propDict)) { + if (is_a($this->_propDict["trafficType"], "\Beta\Microsoft\Graph\Networkaccess\Model\TrafficType") || is_null($this->_propDict["trafficType"])) { + return $this->_propDict["trafficType"]; + } else { + $this->_propDict["trafficType"] = new TrafficType($this->_propDict["trafficType"]); + return $this->_propDict["trafficType"]; + } + } + return null; + } + + /** + * Sets the trafficType + * + * @param TrafficType $val The value to assign to the trafficType + * + * @return Destination The Destination + */ + public function setTrafficType($val) + { + $this->_propDict["trafficType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/Device.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/Device.php new file mode 100644 index 00000000000..e928fa142fe --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/Device.php @@ -0,0 +1,192 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * + * @param string $val The value of the deviceId + * + * @return Device + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return Device + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the isCompliant + * + * @return bool|null The isCompliant + */ + public function getIsCompliant() + { + if (array_key_exists("isCompliant", $this->_propDict)) { + return $this->_propDict["isCompliant"]; + } else { + return null; + } + } + + /** + * Sets the isCompliant + * + * @param bool $val The value of the isCompliant + * + * @return Device + */ + public function setIsCompliant($val) + { + $this->_propDict["isCompliant"] = $val; + return $this; + } + + /** + * Gets the lastAccessDateTime + * + * @return \DateTime|null The lastAccessDateTime + */ + public function getLastAccessDateTime() + { + if (array_key_exists("lastAccessDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessDateTime"])) { + return $this->_propDict["lastAccessDateTime"]; + } else { + $this->_propDict["lastAccessDateTime"] = new \DateTime($this->_propDict["lastAccessDateTime"]); + return $this->_propDict["lastAccessDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessDateTime + * + * @param \DateTime $val The value to assign to the lastAccessDateTime + * + * @return Device The Device + */ + public function setLastAccessDateTime($val) + { + $this->_propDict["lastAccessDateTime"] = $val; + return $this; + } + /** + * Gets the operatingSystem + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * + * @param string $val The value of the operatingSystem + * + * @return Device + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the trafficType + * + * @return TrafficType|null The trafficType + */ + public function getTrafficType() + { + if (array_key_exists("trafficType", $this->_propDict)) { + if (is_a($this->_propDict["trafficType"], "\Beta\Microsoft\Graph\Networkaccess\Model\TrafficType") || is_null($this->_propDict["trafficType"])) { + return $this->_propDict["trafficType"]; + } else { + $this->_propDict["trafficType"] = new TrafficType($this->_propDict["trafficType"]); + return $this->_propDict["trafficType"]; + } + } + return null; + } + + /** + * Sets the trafficType + * + * @param TrafficType $val The value to assign to the trafficType + * + * @return Device The Device + */ + public function setTrafficType($val) + { + $this->_propDict["trafficType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessTraffic.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessTraffic.php index 76c30b3207f..24fd8e337ad 100644 --- a/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessTraffic.php +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessTraffic.php @@ -353,6 +353,60 @@ public function setDeviceOperatingSystemVersion($val) return $this; } + /** + * Gets the filteringProfileId + * + * @return string|null The filteringProfileId + */ + public function getFilteringProfileId() + { + if (array_key_exists("filteringProfileId", $this->_propDict)) { + return $this->_propDict["filteringProfileId"]; + } else { + return null; + } + } + + /** + * Sets the filteringProfileId + * + * @param string $val The filteringProfileId + * + * @return NetworkAccessTraffic + */ + public function setFilteringProfileId($val) + { + $this->_propDict["filteringProfileId"] = $val; + return $this; + } + + /** + * Gets the filteringProfileName + * + * @return string|null The filteringProfileName + */ + public function getFilteringProfileName() + { + if (array_key_exists("filteringProfileName", $this->_propDict)) { + return $this->_propDict["filteringProfileName"]; + } else { + return null; + } + } + + /** + * Sets the filteringProfileName + * + * @param string $val The filteringProfileName + * + * @return NetworkAccessTraffic + */ + public function setFilteringProfileName($val) + { + $this->_propDict["filteringProfileName"] = $val; + return $this; + } + /** * Gets the headers * Represents the headers included in a network request or response. Supports $filter (eq) and $orderby. @@ -386,6 +440,33 @@ public function setHeaders($val) return $this; } + /** + * Gets the initiatingProcessName + * + * @return string|null The initiatingProcessName + */ + public function getInitiatingProcessName() + { + if (array_key_exists("initiatingProcessName", $this->_propDict)) { + return $this->_propDict["initiatingProcessName"]; + } else { + return null; + } + } + + /** + * Sets the initiatingProcessName + * + * @param string $val The initiatingProcessName + * + * @return NetworkAccessTraffic + */ + public function setInitiatingProcessName($val) + { + $this->_propDict["initiatingProcessName"] = $val; + return $this; + } + /** * Gets the networkProtocol * Represents the networking protocol used for communication.The possible values are: ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII, unknownFutureValue. Supports $filter (eq) and $orderby. @@ -448,6 +529,33 @@ public function setPolicyId($val) return $this; } + /** + * Gets the policyName + * + * @return string|null The policyName + */ + public function getPolicyName() + { + if (array_key_exists("policyName", $this->_propDict)) { + return $this->_propDict["policyName"]; + } else { + return null; + } + } + + /** + * Sets the policyName + * + * @param string $val The policyName + * + * @return NetworkAccessTraffic + */ + public function setPolicyName($val) + { + $this->_propDict["policyName"] = $val; + return $this; + } + /** * Gets the policyRuleId * Represents a unique identifier assigned to a policy rule. Supports $filter (eq) and $orderby. @@ -477,6 +585,33 @@ public function setPolicyRuleId($val) return $this; } + /** + * Gets the policyRuleName + * + * @return string|null The policyRuleName + */ + public function getPolicyRuleName() + { + if (array_key_exists("policyRuleName", $this->_propDict)) { + return $this->_propDict["policyRuleName"]; + } else { + return null; + } + } + + /** + * Sets the policyRuleName + * + * @param string $val The policyRuleName + * + * @return NetworkAccessTraffic + */ + public function setPolicyRuleName($val) + { + $this->_propDict["policyRuleName"] = $val; + return $this; + } + /** * Gets the receivedBytes * Represents the total number of bytes received in a network communication or data transfer. Supports $filter (eq) and $orderby. @@ -506,6 +641,33 @@ public function setReceivedBytes($val) return $this; } + /** + * Gets the resourceTenantId + * + * @return string|null The resourceTenantId + */ + public function getResourceTenantId() + { + if (array_key_exists("resourceTenantId", $this->_propDict)) { + return $this->_propDict["resourceTenantId"]; + } else { + return null; + } + } + + /** + * Sets the resourceTenantId + * + * @param string $val The resourceTenantId + * + * @return NetworkAccessTraffic + */ + public function setResourceTenantId($val) + { + $this->_propDict["resourceTenantId"] = $val; + return $this; + } + /** * Gets the sentBytes * Represents the total number of bytes sent in a network communication or data transfer. Supports $filter (eq) and $orderby. diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/TrafficDistributionPoint.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/TrafficDistributionPoint.php new file mode 100644 index 00000000000..46226d79e95 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/TrafficDistributionPoint.php @@ -0,0 +1,161 @@ +_propDict)) { + return $this->_propDict["internetAccessTrafficCount"]; + } else { + return null; + } + } + + /** + * Sets the internetAccessTrafficCount + * + * @param int $val The value of the internetAccessTrafficCount + * + * @return TrafficDistributionPoint + */ + public function setInternetAccessTrafficCount($val) + { + $this->_propDict["internetAccessTrafficCount"] = $val; + return $this; + } + /** + * Gets the microsoft365AccessTrafficCount + * + * @return int|null The microsoft365AccessTrafficCount + */ + public function getMicrosoft365AccessTrafficCount() + { + if (array_key_exists("microsoft365AccessTrafficCount", $this->_propDict)) { + return $this->_propDict["microsoft365AccessTrafficCount"]; + } else { + return null; + } + } + + /** + * Sets the microsoft365AccessTrafficCount + * + * @param int $val The value of the microsoft365AccessTrafficCount + * + * @return TrafficDistributionPoint + */ + public function setMicrosoft365AccessTrafficCount($val) + { + $this->_propDict["microsoft365AccessTrafficCount"] = $val; + return $this; + } + /** + * Gets the privateAccessTrafficCount + * + * @return int|null The privateAccessTrafficCount + */ + public function getPrivateAccessTrafficCount() + { + if (array_key_exists("privateAccessTrafficCount", $this->_propDict)) { + return $this->_propDict["privateAccessTrafficCount"]; + } else { + return null; + } + } + + /** + * Sets the privateAccessTrafficCount + * + * @param int $val The value of the privateAccessTrafficCount + * + * @return TrafficDistributionPoint + */ + public function setPrivateAccessTrafficCount($val) + { + $this->_propDict["privateAccessTrafficCount"] = $val; + return $this; + } + + /** + * Gets the timeStampDateTime + * + * @return \DateTime|null The timeStampDateTime + */ + public function getTimeStampDateTime() + { + if (array_key_exists("timeStampDateTime", $this->_propDict)) { + if (is_a($this->_propDict["timeStampDateTime"], "\DateTime") || is_null($this->_propDict["timeStampDateTime"])) { + return $this->_propDict["timeStampDateTime"]; + } else { + $this->_propDict["timeStampDateTime"] = new \DateTime($this->_propDict["timeStampDateTime"]); + return $this->_propDict["timeStampDateTime"]; + } + } + return null; + } + + /** + * Sets the timeStampDateTime + * + * @param \DateTime $val The value to assign to the timeStampDateTime + * + * @return TrafficDistributionPoint The TrafficDistributionPoint + */ + public function setTimeStampDateTime($val) + { + $this->_propDict["timeStampDateTime"] = $val; + return $this; + } + /** + * Gets the totalTrafficCount + * + * @return int|null The totalTrafficCount + */ + public function getTotalTrafficCount() + { + if (array_key_exists("totalTrafficCount", $this->_propDict)) { + return $this->_propDict["totalTrafficCount"]; + } else { + return null; + } + } + + /** + * Sets the totalTrafficCount + * + * @param int $val The value of the totalTrafficCount + * + * @return TrafficDistributionPoint + */ + public function setTotalTrafficCount($val) + { + $this->_propDict["totalTrafficCount"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/UsageStatus.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/UsageStatus.php new file mode 100644 index 00000000000..97c54a7800c --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/UsageStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return User + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastAccessDateTime + * + * @return \DateTime|null The lastAccessDateTime + */ + public function getLastAccessDateTime() + { + if (array_key_exists("lastAccessDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessDateTime"])) { + return $this->_propDict["lastAccessDateTime"]; + } else { + $this->_propDict["lastAccessDateTime"] = new \DateTime($this->_propDict["lastAccessDateTime"]); + return $this->_propDict["lastAccessDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessDateTime + * + * @param \DateTime $val The value to assign to the lastAccessDateTime + * + * @return User The User + */ + public function setLastAccessDateTime($val) + { + $this->_propDict["lastAccessDateTime"] = $val; + return $this; + } + + /** + * Gets the trafficType + * + * @return TrafficType|null The trafficType + */ + public function getTrafficType() + { + if (array_key_exists("trafficType", $this->_propDict)) { + if (is_a($this->_propDict["trafficType"], "\Beta\Microsoft\Graph\Networkaccess\Model\TrafficType") || is_null($this->_propDict["trafficType"])) { + return $this->_propDict["trafficType"]; + } else { + $this->_propDict["trafficType"] = new TrafficType($this->_propDict["trafficType"]); + return $this->_propDict["trafficType"]; + } + } + return null; + } + + /** + * Sets the trafficType + * + * @param TrafficType $val The value to assign to the trafficType + * + * @return User The User + */ + public function setTrafficType($val) + { + $this->_propDict["trafficType"] = $val; + return $this; + } + /** + * Gets the userId + * + * @return string|null The userId + */ + public function getUserId() + { + if (array_key_exists("userId", $this->_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * + * @param string $val The value of the userId + * + * @return User + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * + * @return string|null The userPrincipalName + */ + public function getUserPrincipalName() + { + if (array_key_exists("userPrincipalName", $this->_propDict)) { + return $this->_propDict["userPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalName + * + * @param string $val The value of the userPrincipalName + * + * @return User + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userType + * + * @return UserType|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Networkaccess\Model\UserType") || is_null($this->_propDict["userType"])) { + return $this->_propDict["userType"]; + } else { + $this->_propDict["userType"] = new UserType($this->_propDict["userType"]); + return $this->_propDict["userType"]; + } + } + return null; + } + + /** + * Sets the userType + * + * @param UserType $val The value to assign to the userType + * + * @return User The User + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/UserType.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/UserType.php new file mode 100644 index 00000000000..eaaa7b10033 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/UserType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * + * @param int $val The value of the deviceCount + * + * @return WebCategoriesSummary + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = $val; + return $this; + } + /** + * Gets the transactionCount + * + * @return int|null The transactionCount + */ + public function getTransactionCount() + { + if (array_key_exists("transactionCount", $this->_propDict)) { + return $this->_propDict["transactionCount"]; + } else { + return null; + } + } + + /** + * Sets the transactionCount + * + * @param int $val The value of the transactionCount + * + * @return WebCategoriesSummary + */ + public function setTransactionCount($val) + { + $this->_propDict["transactionCount"] = $val; + return $this; + } + /** + * Gets the userCount + * + * @return int|null The userCount + */ + public function getUserCount() + { + if (array_key_exists("userCount", $this->_propDict)) { + return $this->_propDict["userCount"]; + } else { + return null; + } + } + + /** + * Sets the userCount + * + * @param int $val The value of the userCount + * + * @return WebCategoriesSummary + */ + public function setUserCount($val) + { + $this->_propDict["userCount"] = $val; + return $this; + } +} diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index f29a3a0db4d..c728a9cf34f 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.108.0"; + const SDK_VERSION = "1.109.0"; // Define error constants const MAX_PAGE_SIZE = 999;