From 3984da10e8e3e1478647359a73b77da9ecf9c7e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Nov 2021 18:03:55 +0000 Subject: [PATCH 1/6] Update phpstan/phpstan requirement from ^0.12.90 to ^0.12.90 || ^1.0.0 Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Commits](https://github.com/phpstan/phpstan/compare/0.12.90...1.0.0) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f30db1a0742..2d62ccdd92d 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require-dev": { "phpunit/phpunit": "^8.0 || ^9.0", "mikey179/vfsstream": "^1.2", - "phpstan/phpstan": "^0.12.90" + "phpstan/phpstan": "^0.12.90 || ^1.0.0" }, "autoload": { "psr-4": { From 722d5e295c490faee19e764f4576a9c7dc8c8806 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 Nov 2021 10:19:11 +0000 Subject: [PATCH 2/6] Update generated files with build 57814 --- .../Ediscovery/Model/SourceCollection.php | 16 +- .../ManagedTenants/Model/ManagedTenant.php | 30 -- .../Graph/ManagedTenants/Model/RiskyUser.php | 354 ------------------ .../Microsoft/Graph/Model/AllowedValue.php | 54 +++ .../Microsoft/Graph/Model/Application.php | 4 +- .../Microsoft/Graph/Model/AttributeSet.php | 81 ++++ .../Graph/Model/BitlockerRecoveryKey.php | 16 +- .../Graph/Model/BookingAppointment.php | 8 + .../Microsoft/Graph/Model/BookingCustomer.php | 4 + .../Microsoft/Graph/Model/BookingService.php | 8 +- .../Graph/Model/BookingStaffMember.php | 2 + .../Graph/Model/BroadcastMeetingSettings.php | 20 +- .../CustomSecurityAttributeDefinition.php | 271 ++++++++++++++ .../Model/CustomSecurityAttributeValue.php | 26 ++ src/Beta/Microsoft/Graph/Model/Directory.php | 56 +++ .../Microsoft/Graph/Model/DirectoryAudit.php | 27 ++ .../Graph/Model/LicenseAssignmentState.php | 33 ++ .../Microsoft/Graph/Model/OnlineMeeting.php | 16 +- .../Model/PasswordValidationInformation.php | 4 + .../Graph/Model/ServicePrincipal.php | 31 ++ src/Beta/Microsoft/Graph/Model/User.php | 31 ++ .../Graph/Model/ValidationResult.php | 6 + 22 files changed, 676 insertions(+), 422 deletions(-) delete mode 100644 src/Beta/Microsoft/Graph/ManagedTenants/Model/RiskyUser.php create mode 100644 src/Beta/Microsoft/Graph/Model/AllowedValue.php create mode 100644 src/Beta/Microsoft/Graph/Model/AttributeSet.php create mode 100644 src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php create mode 100644 src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeValue.php diff --git a/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php b/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php index a77c90e09af..58c07127667 100644 --- a/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php +++ b/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php @@ -26,7 +26,7 @@ class SourceCollection extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the contentQuery - * The query string in KQL (Keyword Query Language) query. For details, see Keyword queries and search conditions for Content Search and eDiscovery. You can refine searches by using fields paired with values; for example, subject:'Quarterly Financials' AND Date&gt;=06/01/2016 AND Date&lt;=07/01/2016 + * The query string in KQL (Keyword Query Language) query. For details, see Keyword queries and search conditions for Content Search and eDiscovery. You can refine searches by using fields paired with values; for example, subject:'Quarterly Financials' AND Date&gt;=06/01/2016 AND Date&lt;=07/01/2016. * * @return string|null The contentQuery */ @@ -41,7 +41,7 @@ public function getContentQuery() /** * Sets the contentQuery - * The query string in KQL (Keyword Query Language) query. For details, see Keyword queries and search conditions for Content Search and eDiscovery. You can refine searches by using fields paired with values; for example, subject:'Quarterly Financials' AND Date&gt;=06/01/2016 AND Date&lt;=07/01/2016 + * The query string in KQL (Keyword Query Language) query. For details, see Keyword queries and search conditions for Content Search and eDiscovery. You can refine searches by using fields paired with values; for example, subject:'Quarterly Financials' AND Date&gt;=06/01/2016 AND Date&lt;=07/01/2016. * * @param string $val The contentQuery * @@ -121,7 +121,7 @@ public function setCreatedDateTime($val) /** * Gets the dataSourceScopes - * When specified, the collection will span across a service for an entire workload. Possible values are: none,allTenantMailboxes,allTenantSites,allCaseCustodians,allCaseNoncustodialDataSources. + * When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. * * @return DataSourceScopes|null The dataSourceScopes */ @@ -140,7 +140,7 @@ public function getDataSourceScopes() /** * Sets the dataSourceScopes - * When specified, the collection will span across a service for an entire workload. Possible values are: none,allTenantMailboxes,allTenantSites,allCaseCustodians,allCaseNoncustodialDataSources. + * When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. * * @param DataSourceScopes $val The dataSourceScopes * @@ -154,7 +154,7 @@ public function setDataSourceScopes($val) /** * Gets the description - * The description of the sourceCollection + * The description of the sourceCollection. * * @return string|null The description */ @@ -169,7 +169,7 @@ public function getDescription() /** * Sets the description - * The description of the sourceCollection + * The description of the sourceCollection. * * @param string $val The description * @@ -183,7 +183,7 @@ public function setDescription($val) /** * Gets the displayName - * The display name of the sourceCollection + * The display name of the sourceCollection. * * @return string|null The displayName */ @@ -198,7 +198,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the sourceCollection + * The display name of the sourceCollection. * * @param string $val The displayName * diff --git a/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenant.php b/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenant.php index c1a96e3dd4c..03fc6e5cad8 100644 --- a/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenant.php +++ b/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenant.php @@ -415,36 +415,6 @@ public function setManagementTemplates($val) } - /** - * Gets the riskyUsers - * The collection of users flagged for risk across managed tenants. - * - * @return array|null The riskyUsers - */ - public function getRiskyUsers() - { - if (array_key_exists("riskyUsers", $this->_propDict)) { - return $this->_propDict["riskyUsers"]; - } else { - return null; - } - } - - /** - * Sets the riskyUsers - * The collection of users flagged for risk across managed tenants. - * - * @param RiskyUser $val The riskyUsers - * - * @return ManagedTenant - */ - public function setRiskyUsers($val) - { - $this->_propDict["riskyUsers"] = $val; - return $this; - } - - /** * Gets the tenantGroups * The collection of a logical grouping of managed tenants used by the multi-tenant management platform. diff --git a/src/Beta/Microsoft/Graph/ManagedTenants/Model/RiskyUser.php b/src/Beta/Microsoft/Graph/ManagedTenants/Model/RiskyUser.php deleted file mode 100644 index c1f939beebb..00000000000 --- a/src/Beta/Microsoft/Graph/ManagedTenants/Model/RiskyUser.php +++ /dev/null @@ -1,354 +0,0 @@ -_propDict)) { - return $this->_propDict["isDeleted"]; - } else { - return null; - } - } - - /** - * Sets the isDeleted - * A flag indicating whether the account has been deleted. Optional. Read-only. - * - * @param bool $val The isDeleted - * - * @return RiskyUser - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastRefreshedDateTime - * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. - * - * @return \DateTime|null The lastRefreshedDateTime - */ - public function getLastRefreshedDateTime() - { - if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { - return $this->_propDict["lastRefreshedDateTime"]; - } else { - $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); - return $this->_propDict["lastRefreshedDateTime"]; - } - } - return null; - } - - /** - * Sets the lastRefreshedDateTime - * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. - * - * @param \DateTime $val The lastRefreshedDateTime - * - * @return RiskyUser - */ - public function setLastRefreshedDateTime($val) - { - $this->_propDict["lastRefreshedDateTime"] = $val; - return $this; - } - - /** - * Gets the riskDetail - * The risk details for the account flagged for risk. Optional. Read-only. - * - * @return string|null The riskDetail - */ - public function getRiskDetail() - { - if (array_key_exists("riskDetail", $this->_propDict)) { - return $this->_propDict["riskDetail"]; - } else { - return null; - } - } - - /** - * Sets the riskDetail - * The risk details for the account flagged for risk. Optional. Read-only. - * - * @param string $val The riskDetail - * - * @return RiskyUser - */ - public function setRiskDetail($val) - { - $this->_propDict["riskDetail"] = $val; - return $this; - } - - /** - * Gets the riskLastUpdatedDateTime - * The date and time when the risk information was last updated. Optional. Read-only. - * - * @return \DateTime|null The riskLastUpdatedDateTime - */ - public function getRiskLastUpdatedDateTime() - { - if (array_key_exists("riskLastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["riskLastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["riskLastUpdatedDateTime"])) { - return $this->_propDict["riskLastUpdatedDateTime"]; - } else { - $this->_propDict["riskLastUpdatedDateTime"] = new \DateTime($this->_propDict["riskLastUpdatedDateTime"]); - return $this->_propDict["riskLastUpdatedDateTime"]; - } - } - return null; - } - - /** - * Sets the riskLastUpdatedDateTime - * The date and time when the risk information was last updated. Optional. Read-only. - * - * @param \DateTime $val The riskLastUpdatedDateTime - * - * @return RiskyUser - */ - public function setRiskLastUpdatedDateTime($val) - { - $this->_propDict["riskLastUpdatedDateTime"] = $val; - return $this; - } - - /** - * Gets the riskLevel - * The level of risk that was detected. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Optional. Read-only. - * - * @return string|null The riskLevel - */ - public function getRiskLevel() - { - if (array_key_exists("riskLevel", $this->_propDict)) { - return $this->_propDict["riskLevel"]; - } else { - return null; - } - } - - /** - * Sets the riskLevel - * The level of risk that was detected. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Optional. Read-only. - * - * @param string $val The riskLevel - * - * @return RiskyUser - */ - public function setRiskLevel($val) - { - $this->_propDict["riskLevel"] = $val; - return $this; - } - - /** - * Gets the riskState - * The state of risk that was detected. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Optional. Read-only. - * - * @return string|null The riskState - */ - public function getRiskState() - { - if (array_key_exists("riskState", $this->_propDict)) { - return $this->_propDict["riskState"]; - } else { - return null; - } - } - - /** - * Sets the riskState - * The state of risk that was detected. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. Optional. Read-only. - * - * @param string $val The riskState - * - * @return RiskyUser - */ - public function setRiskState($val) - { - $this->_propDict["riskState"] = $val; - return $this; - } - - /** - * Gets the tenantDisplayName - * The display name for the managed tenant. Optional. Read-only. - * - * @return string|null The tenantDisplayName - */ - public function getTenantDisplayName() - { - if (array_key_exists("tenantDisplayName", $this->_propDict)) { - return $this->_propDict["tenantDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the tenantDisplayName - * The display name for the managed tenant. Optional. Read-only. - * - * @param string $val The tenantDisplayName - * - * @return RiskyUser - */ - public function setTenantDisplayName($val) - { - $this->_propDict["tenantDisplayName"] = $val; - return $this; - } - - /** - * Gets the tenantId - * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. - * - * @return string|null The tenantId - */ - public function getTenantId() - { - if (array_key_exists("tenantId", $this->_propDict)) { - return $this->_propDict["tenantId"]; - } else { - return null; - } - } - - /** - * Sets the tenantId - * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. - * - * @param string $val The tenantId - * - * @return RiskyUser - */ - public function setTenantId($val) - { - $this->_propDict["tenantId"] = $val; - return $this; - } - - /** - * Gets the userDisplayName - * The display name for the account where risk was detected. Optional. Read-only. - * - * @return string|null The userDisplayName - */ - public function getUserDisplayName() - { - if (array_key_exists("userDisplayName", $this->_propDict)) { - return $this->_propDict["userDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the userDisplayName - * The display name for the account where risk was detected. Optional. Read-only. - * - * @param string $val The userDisplayName - * - * @return RiskyUser - */ - public function setUserDisplayName($val) - { - $this->_propDict["userDisplayName"] = $val; - return $this; - } - - /** - * Gets the userId - * The identifier for the user account where risk was detected. Required. Read-only. - * - * @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 - * The identifier for the user account where risk was detected. Required. Read-only. - * - * @param string $val The userId - * - * @return RiskyUser - */ - public function setUserId($val) - { - $this->_propDict["userId"] = $val; - return $this; - } - - /** - * Gets the userPrincipalName - * The user principal name (UPN) for the account where risk was detected. Optional. Read-only. - * - * @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 - * The user principal name (UPN) for the account where risk was detected. Optional. Read-only. - * - * @param string $val The userPrincipalName - * - * @return RiskyUser - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - -} diff --git a/src/Beta/Microsoft/Graph/Model/AllowedValue.php b/src/Beta/Microsoft/Graph/Model/AllowedValue.php new file mode 100644 index 00000000000..e3c254e13f1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AllowedValue.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * + * @param bool $val The isActive + * + * @return AllowedValue + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/Application.php b/src/Beta/Microsoft/Graph/Model/Application.php index 82004511c5b..35bb2f87a36 100644 --- a/src/Beta/Microsoft/Graph/Model/Application.php +++ b/src/Beta/Microsoft/Graph/Model/Application.php @@ -296,7 +296,7 @@ public function setGroupMembershipClaims($val) /** * Gets the identifierUris - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * * @return string|null The identifierUris */ @@ -311,7 +311,7 @@ public function getIdentifierUris() /** * Sets the identifierUris - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * * @param string $val The identifierUris * diff --git a/src/Beta/Microsoft/Graph/Model/AttributeSet.php b/src/Beta/Microsoft/Graph/Model/AttributeSet.php new file mode 100644 index 00000000000..98d2ea06ad3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AttributeSet.php @@ -0,0 +1,81 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return AttributeSet + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the maxAttributesPerSet + * + * @return int|null The maxAttributesPerSet + */ + public function getMaxAttributesPerSet() + { + if (array_key_exists("maxAttributesPerSet", $this->_propDict)) { + return $this->_propDict["maxAttributesPerSet"]; + } else { + return null; + } + } + + /** + * Sets the maxAttributesPerSet + * + * @param int $val The maxAttributesPerSet + * + * @return AttributeSet + */ + public function setMaxAttributesPerSet($val) + { + $this->_propDict["maxAttributesPerSet"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php b/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php index 5428b7eb5ad..5954c4372a5 100644 --- a/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php +++ b/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php @@ -26,7 +26,7 @@ class BitlockerRecoveryKey extends Entity { /** * Gets the createdDateTime - * The date and time when the key was originally backed up to Azure Active Directory. + * The date and time when the key was originally backed up to Azure Active Directory. Not nullable. * * @return \DateTime|null The createdDateTime */ @@ -45,7 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The date and time when the key was originally backed up to Azure Active Directory. + * The date and time when the key was originally backed up to Azure Active Directory. Not nullable. * * @param \DateTime $val The createdDateTime * @@ -59,7 +59,7 @@ public function setCreatedDateTime($val) /** * Gets the deviceId - * ID of the device the BitLocker key is originally backed up from. + * Identifier of the device the BitLocker key is originally backed up from. Supports $filter (eq). * * @return string|null The deviceId */ @@ -74,7 +74,7 @@ public function getDeviceId() /** * Sets the deviceId - * ID of the device the BitLocker key is originally backed up from. + * Identifier of the device the BitLocker key is originally backed up from. Supports $filter (eq). * * @param string $val The deviceId * @@ -88,7 +88,7 @@ public function setDeviceId($val) /** * Gets the key - * The BitLocker recovery key. + * The BitLocker recovery key. Returned only on $select. Not nullable. * * @return string|null The key */ @@ -103,7 +103,7 @@ public function getKey() /** * Sets the key - * The BitLocker recovery key. + * The BitLocker recovery key. Returned only on $select. Not nullable. * * @param string $val The key * @@ -117,7 +117,7 @@ public function setKey($val) /** * Gets the volumeType - * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * Indicates the type of volume the BitLocker key is associated with. The possible values are: 1 (for operatingSystemVolume), 2 (for fixedDataVolume), 3 (for removableDataVolume), and 4 (for unknownFutureValue). * * @return VolumeType|null The volumeType */ @@ -136,7 +136,7 @@ public function getVolumeType() /** * Sets the volumeType - * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * Indicates the type of volume the BitLocker key is associated with. The possible values are: 1 (for operatingSystemVolume), 2 (for fixedDataVolume), 3 (for removableDataVolume), and 4 (for unknownFutureValue). * * @param VolumeType $val The volumeType * diff --git a/src/Beta/Microsoft/Graph/Model/BookingAppointment.php b/src/Beta/Microsoft/Graph/Model/BookingAppointment.php index 998acf6bb11..c1a1f0541f2 100644 --- a/src/Beta/Microsoft/Graph/Model/BookingAppointment.php +++ b/src/Beta/Microsoft/Graph/Model/BookingAppointment.php @@ -231,6 +231,7 @@ public function setCustomerPhone($val) /** * Gets the customerTimeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. * * @return string|null The customerTimeZone */ @@ -245,6 +246,7 @@ public function getCustomerTimeZone() /** * Sets the customerTimeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. * * @param string $val The customerTimeZone * @@ -477,6 +479,7 @@ public function setInvoiceUrl($val) /** * Gets the isLocationOnline + * True indicates that the appointment will be held online. Default value is false. * * @return bool|null The isLocationOnline */ @@ -491,6 +494,7 @@ public function getIsLocationOnline() /** * Sets the isLocationOnline + * True indicates that the appointment will be held online. Default value is false. * * @param bool $val The isLocationOnline * @@ -504,6 +508,7 @@ public function setIsLocationOnline($val) /** * Gets the joinWebUrl + * The URL of the online meeting for the appointment. * * @return string|null The joinWebUrl */ @@ -518,6 +523,7 @@ public function getJoinWebUrl() /** * Sets the joinWebUrl + * The URL of the online meeting for the appointment. * * @param string $val The joinWebUrl * @@ -894,6 +900,7 @@ public function setServiceNotes($val) /** * Gets the smsNotificationsEnabled + * True indicates SMS notifications will be sent to the customers for the appointment. Default value is false. * * @return bool|null The smsNotificationsEnabled */ @@ -908,6 +915,7 @@ public function getSmsNotificationsEnabled() /** * Sets the smsNotificationsEnabled + * True indicates SMS notifications will be sent to the customers for the appointment. Default value is false. * * @param bool $val The smsNotificationsEnabled * diff --git a/src/Beta/Microsoft/Graph/Model/BookingCustomer.php b/src/Beta/Microsoft/Graph/Model/BookingCustomer.php index 04977fb4a11..58cefc9a709 100644 --- a/src/Beta/Microsoft/Graph/Model/BookingCustomer.php +++ b/src/Beta/Microsoft/Graph/Model/BookingCustomer.php @@ -27,6 +27,7 @@ class BookingCustomer extends BookingPerson /** * Gets the addresses + * Addresses associated with the customer, including home, business and other addresses. * * @return array|null The addresses */ @@ -41,6 +42,7 @@ public function getAddresses() /** * Sets the addresses + * Addresses associated with the customer, including home, business and other addresses. * * @param PhysicalAddress $val The addresses * @@ -55,6 +57,7 @@ public function setAddresses($val) /** * Gets the phones + * Phone numbers associated with the customer, including home, business and mobile numbers. * * @return array|null The phones */ @@ -69,6 +72,7 @@ public function getPhones() /** * Sets the phones + * Phone numbers associated with the customer, including home, business and mobile numbers. * * @param Phone $val The phones * diff --git a/src/Beta/Microsoft/Graph/Model/BookingService.php b/src/Beta/Microsoft/Graph/Model/BookingService.php index aadbcc99f52..605266de61b 100644 --- a/src/Beta/Microsoft/Graph/Model/BookingService.php +++ b/src/Beta/Microsoft/Graph/Model/BookingService.php @@ -269,6 +269,7 @@ public function setIsHiddenFromCustomers($val) /** * Gets the isLocationOnline + * True indicates that the appointments for the service will be held online. Default value is false. * * @return bool|null The isLocationOnline */ @@ -283,6 +284,7 @@ public function getIsLocationOnline() /** * Sets the isLocationOnline + * True indicates that the appointments for the service will be held online. Default value is false. * * @param bool $val The isLocationOnline * @@ -424,6 +426,7 @@ public function setSchedulingPolicy($val) /** * Gets the smsNotificationsEnabled + * True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false. * * @return bool|null The smsNotificationsEnabled */ @@ -438,6 +441,7 @@ public function getSmsNotificationsEnabled() /** * Sets the smsNotificationsEnabled + * True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false. * * @param bool $val The smsNotificationsEnabled * @@ -480,7 +484,7 @@ public function setStaffMemberIds($val) /** * Gets the webUrl - * The URL of the booking service. + * The URL a customer uses to access the service. * * @return string|null The webUrl */ @@ -495,7 +499,7 @@ public function getWebUrl() /** * Sets the webUrl - * The URL of the booking service. + * The URL a customer uses to access the service. * * @param string $val The webUrl * diff --git a/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php b/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php index b285ce7597a..f31b2021bc3 100644 --- a/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php +++ b/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php @@ -117,6 +117,7 @@ public function setRole($val) /** * Gets the timeZone + * The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. * * @return string|null The timeZone */ @@ -131,6 +132,7 @@ public function getTimeZone() /** * Sets the timeZone + * The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. * * @param string $val The timeZone * diff --git a/src/Beta/Microsoft/Graph/Model/BroadcastMeetingSettings.php b/src/Beta/Microsoft/Graph/Model/BroadcastMeetingSettings.php index bd074d60fac..222d7693f64 100644 --- a/src/Beta/Microsoft/Graph/Model/BroadcastMeetingSettings.php +++ b/src/Beta/Microsoft/Graph/Model/BroadcastMeetingSettings.php @@ -26,7 +26,7 @@ class BroadcastMeetingSettings extends Entity /** * Gets the allowedAudience - * Defines who can join the live event. Possible values are listed in the following table. + * Defines who can join the Teams live event. Possible values are listed in the following table. * * @return BroadcastMeetingAudience|null The allowedAudience */ @@ -45,7 +45,7 @@ public function getAllowedAudience() /** * Sets the allowedAudience - * Defines who can join the live event. Possible values are listed in the following table. + * Defines who can join the Teams live event. Possible values are listed in the following table. * * @param BroadcastMeetingAudience $val The value to assign to the allowedAudience * @@ -58,7 +58,7 @@ public function setAllowedAudience($val) } /** * Gets the isAttendeeReportEnabled - * Indicates whether attendee report is enabled for this live event. Default value is false. + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. * * @return bool|null The isAttendeeReportEnabled */ @@ -73,7 +73,7 @@ public function getIsAttendeeReportEnabled() /** * Sets the isAttendeeReportEnabled - * Indicates whether attendee report is enabled for this live event. Default value is false. + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isAttendeeReportEnabled * @@ -86,7 +86,7 @@ public function setIsAttendeeReportEnabled($val) } /** * Gets the isQuestionAndAnswerEnabled - * Indicates whether Q&A is enabled for this live event. Default value is false. + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. * * @return bool|null The isQuestionAndAnswerEnabled */ @@ -101,7 +101,7 @@ public function getIsQuestionAndAnswerEnabled() /** * Sets the isQuestionAndAnswerEnabled - * Indicates whether Q&A is enabled for this live event. Default value is false. + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isQuestionAndAnswerEnabled * @@ -114,7 +114,7 @@ public function setIsQuestionAndAnswerEnabled($val) } /** * Gets the isRecordingEnabled - * Indicates whether recording is enabled for this live event. Default value is false. + * Indicates whether recording is enabled for this Teams live event. Default value is false. * * @return bool|null The isRecordingEnabled */ @@ -129,7 +129,7 @@ public function getIsRecordingEnabled() /** * Sets the isRecordingEnabled - * Indicates whether recording is enabled for this live event. Default value is false. + * Indicates whether recording is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isRecordingEnabled * @@ -142,7 +142,7 @@ public function setIsRecordingEnabled($val) } /** * Gets the isVideoOnDemandEnabled - * Indicates whether video on demand is enabled for this live event. Default value is false. + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. * * @return bool|null The isVideoOnDemandEnabled */ @@ -157,7 +157,7 @@ public function getIsVideoOnDemandEnabled() /** * Sets the isVideoOnDemandEnabled - * Indicates whether video on demand is enabled for this live event. Default value is false. + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isVideoOnDemandEnabled * diff --git a/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php b/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php new file mode 100644 index 00000000000..12dfdc8b55e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php @@ -0,0 +1,271 @@ +_propDict)) { + return $this->_propDict["attributeSet"]; + } else { + return null; + } + } + + /** + * Sets the attributeSet + * + * @param string $val The attributeSet + * + * @return CustomSecurityAttributeDefinition + */ + public function setAttributeSet($val) + { + $this->_propDict["attributeSet"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return CustomSecurityAttributeDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the isCollection + * + * @return bool|null The isCollection + */ + public function getIsCollection() + { + if (array_key_exists("isCollection", $this->_propDict)) { + return $this->_propDict["isCollection"]; + } else { + return null; + } + } + + /** + * Sets the isCollection + * + * @param bool $val The isCollection + * + * @return CustomSecurityAttributeDefinition + */ + public function setIsCollection($val) + { + $this->_propDict["isCollection"] = boolval($val); + return $this; + } + + /** + * Gets the isSearchable + * + * @return bool|null The isSearchable + */ + public function getIsSearchable() + { + if (array_key_exists("isSearchable", $this->_propDict)) { + return $this->_propDict["isSearchable"]; + } else { + return null; + } + } + + /** + * Sets the isSearchable + * + * @param bool $val The isSearchable + * + * @return CustomSecurityAttributeDefinition + */ + public function setIsSearchable($val) + { + $this->_propDict["isSearchable"] = boolval($val); + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return CustomSecurityAttributeDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return CustomSecurityAttributeDefinition + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return CustomSecurityAttributeDefinition + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the usePreDefinedValuesOnly + * + * @return bool|null The usePreDefinedValuesOnly + */ + public function getUsePreDefinedValuesOnly() + { + if (array_key_exists("usePreDefinedValuesOnly", $this->_propDict)) { + return $this->_propDict["usePreDefinedValuesOnly"]; + } else { + return null; + } + } + + /** + * Sets the usePreDefinedValuesOnly + * + * @param bool $val The usePreDefinedValuesOnly + * + * @return CustomSecurityAttributeDefinition + */ + public function setUsePreDefinedValuesOnly($val) + { + $this->_propDict["usePreDefinedValuesOnly"] = boolval($val); + return $this; + } + + + /** + * Gets the allowedValues + * + * @return array|null The allowedValues + */ + public function getAllowedValues() + { + if (array_key_exists("allowedValues", $this->_propDict)) { + return $this->_propDict["allowedValues"]; + } else { + return null; + } + } + + /** + * Sets the allowedValues + * + * @param AllowedValue $val The allowedValues + * + * @return CustomSecurityAttributeDefinition + */ + public function setAllowedValues($val) + { + $this->_propDict["allowedValues"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeValue.php b/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeValue.php new file mode 100644 index 00000000000..fe6afa854f3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeValue.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["attributeSets"]; + } else { + return null; + } + } + + /** + * Sets the attributeSets + * + * @param AttributeSet $val The attributeSets + * + * @return Directory + */ + public function setAttributeSets($val) + { + $this->_propDict["attributeSets"] = $val; + return $this; + } + + + /** + * Gets the customSecurityAttributeDefinitions + * + * @return array|null The customSecurityAttributeDefinitions + */ + public function getCustomSecurityAttributeDefinitions() + { + if (array_key_exists("customSecurityAttributeDefinitions", $this->_propDict)) { + return $this->_propDict["customSecurityAttributeDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the customSecurityAttributeDefinitions + * + * @param CustomSecurityAttributeDefinition $val The customSecurityAttributeDefinitions + * + * @return Directory + */ + public function setCustomSecurityAttributeDefinitions($val) + { + $this->_propDict["customSecurityAttributeDefinitions"] = $val; + return $this; + } + + /** * Gets the deletedItems * Recently deleted items. Read-only. Nullable. diff --git a/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php b/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php index d7111fad3d4..f45216f9547 100644 --- a/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php +++ b/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php @@ -355,4 +355,31 @@ public function setTargetResources($val) return $this; } + /** + * Gets the userAgent + * + * @return string|null The userAgent + */ + public function getUserAgent() + { + if (array_key_exists("userAgent", $this->_propDict)) { + return $this->_propDict["userAgent"]; + } else { + return null; + } + } + + /** + * Sets the userAgent + * + * @param string $val The userAgent + * + * @return DirectoryAudit + */ + public function setUserAgent($val) + { + $this->_propDict["userAgent"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/LicenseAssignmentState.php b/src/Beta/Microsoft/Graph/Model/LicenseAssignmentState.php index 9cfb895d09c..09448d30335 100644 --- a/src/Beta/Microsoft/Graph/Model/LicenseAssignmentState.php +++ b/src/Beta/Microsoft/Graph/Model/LicenseAssignmentState.php @@ -107,6 +107,39 @@ public function setError($val) $this->_propDict["error"] = $val; return $this; } + + /** + * Gets the lastUpdatedDateTime + * The timestamp when the state of the license assignment was last updated. + * + * @return \DateTime|null The lastUpdatedDateTime + */ + public function getLastUpdatedDateTime() + { + if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdatedDateTime"])) { + return $this->_propDict["lastUpdatedDateTime"]; + } else { + $this->_propDict["lastUpdatedDateTime"] = new \DateTime($this->_propDict["lastUpdatedDateTime"]); + return $this->_propDict["lastUpdatedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdatedDateTime + * The timestamp when the state of the license assignment was last updated. + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return LicenseAssignmentState The LicenseAssignmentState + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } /** * Gets the skuId * The unique identifier for the SKU. Read-Only. diff --git a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php index ae13f71e430..bd2fd0fc4ed 100644 --- a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php +++ b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php @@ -210,7 +210,7 @@ public function setAllowTeamworkReactions($val) /** * Gets the alternativeRecording - * The content stream of the alternative recording of a live event. Read-only. + * The content stream of the alternative recording of a Microsoft Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The alternativeRecording */ @@ -229,7 +229,7 @@ public function getAlternativeRecording() /** * Sets the alternativeRecording - * The content stream of the alternative recording of a live event. Read-only. + * The content stream of the alternative recording of a Microsoft Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The alternativeRecording * @@ -243,7 +243,7 @@ public function setAlternativeRecording($val) /** * Gets the attendeeReport - * The content stream of the attendee report of a live event. Read-only. + * The content stream of the attendee report of a Microsoft Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The attendeeReport */ @@ -262,7 +262,7 @@ public function getAttendeeReport() /** * Sets the attendeeReport - * The content stream of the attendee report of a live event. Read-only. + * The content stream of the attendee report of a Microsoft Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The attendeeReport * @@ -587,7 +587,7 @@ public function setExternalId($val) /** * Gets the isBroadcast - * Indicates if this is a live event. + * Indicates if this is a Teams live event. * * @return bool|null The isBroadcast */ @@ -602,7 +602,7 @@ public function getIsBroadcast() /** * Sets the isBroadcast - * Indicates if this is a live event. + * Indicates if this is a Teams live event. * * @param bool $val The isBroadcast * @@ -827,7 +827,7 @@ public function setRecordAutomatically($val) /** * Gets the recording - * The content stream of the recording of a live event. Read-only. + * The content stream of the recording of a Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The recording */ @@ -846,7 +846,7 @@ public function getRecording() /** * Sets the recording - * The content stream of the recording of a live event. Read-only. + * The content stream of the recording of a Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The recording * diff --git a/src/Beta/Microsoft/Graph/Model/PasswordValidationInformation.php b/src/Beta/Microsoft/Graph/Model/PasswordValidationInformation.php index 78a52151dd0..091e4929ea3 100644 --- a/src/Beta/Microsoft/Graph/Model/PasswordValidationInformation.php +++ b/src/Beta/Microsoft/Graph/Model/PasswordValidationInformation.php @@ -25,6 +25,7 @@ class PasswordValidationInformation extends Entity { /** * Gets the isValid + * Specifies whether the password is valid based on the calculation of the results in the validationResults property. Not nullable. Read-only. * * @return bool|null The isValid */ @@ -39,6 +40,7 @@ public function getIsValid() /** * Sets the isValid + * Specifies whether the password is valid based on the calculation of the results in the validationResults property. Not nullable. Read-only. * * @param bool $val The value of the isValid * @@ -52,6 +54,7 @@ public function setIsValid($val) /** * Gets the validationResults + * The list of password validation rules and whether the password passed those rules. Not nullable. Read-only. * * @return ValidationResult|null The validationResults */ @@ -70,6 +73,7 @@ public function getValidationResults() /** * Sets the validationResults + * The list of password validation rules and whether the password passed those rules. Not nullable. Read-only. * * @param ValidationResult $val The value to assign to the validationResults * diff --git a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php index 81cfbcb2600..3a994fb4712 100644 --- a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php +++ b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php @@ -349,6 +349,37 @@ public function setAppRoles($val) return $this; } + /** + * Gets the customSecurityAttributes + * + * @return CustomSecurityAttributeValue|null The customSecurityAttributes + */ + public function getCustomSecurityAttributes() + { + if (array_key_exists("customSecurityAttributes", $this->_propDict)) { + if (is_a($this->_propDict["customSecurityAttributes"], "\Beta\Microsoft\Graph\Model\CustomSecurityAttributeValue") || is_null($this->_propDict["customSecurityAttributes"])) { + return $this->_propDict["customSecurityAttributes"]; + } else { + $this->_propDict["customSecurityAttributes"] = new CustomSecurityAttributeValue($this->_propDict["customSecurityAttributes"]); + return $this->_propDict["customSecurityAttributes"]; + } + } + return null; + } + + /** + * Sets the customSecurityAttributes + * + * @param CustomSecurityAttributeValue $val The customSecurityAttributes + * + * @return ServicePrincipal + */ + public function setCustomSecurityAttributes($val) + { + $this->_propDict["customSecurityAttributes"] = $val; + return $this; + } + /** * Gets the description * Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, NOT, ge, le, startsWith) and $search. diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 4fa61d8dc4a..f5e892f516b 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -382,6 +382,37 @@ public function setCreationType($val) return $this; } + /** + * Gets the customSecurityAttributes + * + * @return CustomSecurityAttributeValue|null The customSecurityAttributes + */ + public function getCustomSecurityAttributes() + { + if (array_key_exists("customSecurityAttributes", $this->_propDict)) { + if (is_a($this->_propDict["customSecurityAttributes"], "\Beta\Microsoft\Graph\Model\CustomSecurityAttributeValue") || is_null($this->_propDict["customSecurityAttributes"])) { + return $this->_propDict["customSecurityAttributes"]; + } else { + $this->_propDict["customSecurityAttributes"] = new CustomSecurityAttributeValue($this->_propDict["customSecurityAttributes"]); + return $this->_propDict["customSecurityAttributes"]; + } + } + return null; + } + + /** + * Sets the customSecurityAttributes + * + * @param CustomSecurityAttributeValue $val The customSecurityAttributes + * + * @return User + */ + public function setCustomSecurityAttributes($val) + { + $this->_propDict["customSecurityAttributes"] = $val; + return $this; + } + /** * Gets the department * The name for the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, NOT , ge, le, and in operators). diff --git a/src/Beta/Microsoft/Graph/Model/ValidationResult.php b/src/Beta/Microsoft/Graph/Model/ValidationResult.php index 5f450c8746d..901ce647b9f 100644 --- a/src/Beta/Microsoft/Graph/Model/ValidationResult.php +++ b/src/Beta/Microsoft/Graph/Model/ValidationResult.php @@ -25,6 +25,7 @@ class ValidationResult extends Entity { /** * Gets the message + * The string containing the reason for why the rule passed or not. Read-only. Not nullable. * * @return string|null The message */ @@ -39,6 +40,7 @@ public function getMessage() /** * Sets the message + * The string containing the reason for why the rule passed or not. Read-only. Not nullable. * * @param string $val The value of the message * @@ -51,6 +53,7 @@ public function setMessage($val) } /** * Gets the ruleName + * The string containing the name of the password validation rule that the action was validated against. Read-only. Not nullable. * * @return string|null The ruleName */ @@ -65,6 +68,7 @@ public function getRuleName() /** * Sets the ruleName + * The string containing the name of the password validation rule that the action was validated against. Read-only. Not nullable. * * @param string $val The value of the ruleName * @@ -77,6 +81,7 @@ public function setRuleName($val) } /** * Gets the validationPassed + * Whether the password passed or failed the validation rule. Read-only. Not nullable. * * @return bool|null The validationPassed */ @@ -91,6 +96,7 @@ public function getValidationPassed() /** * Sets the validationPassed + * Whether the password passed or failed the validation rule. Read-only. Not nullable. * * @param bool $val The value of the validationPassed * From 6eacdffcf0cb33717841dd80a1d09873b6e46616 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 Nov 2021 10:19:24 +0000 Subject: [PATCH 3/6] Bump up minor version --- README.md | 2 +- src/Core/GraphConstants.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9945dc1a76e..c27a46a3442 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.42.0" + "microsoft/microsoft-graph": "^1.43.0" } } ``` diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index 07348f7452f..aece1f973d0 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.42.0"; + const SDK_VERSION = "1.43.0"; // Define error constants const MAX_PAGE_SIZE = 999; From 9bbbdabac287d5e86c8e8dd5f1ea3819ddf79d3e Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 Nov 2021 10:41:11 +0000 Subject: [PATCH 4/6] Update generated files with build 57814 --- .../Model/AddToReviewSetOperation.php | 93 ++++++ .../Model/AdditionalDataOptions.php | 35 +++ src/Ediscovery/Model/CaseExportOperation.php | 269 ++++++++++++++++++ src/Ediscovery/Model/ExportFileStructure.php | 36 +++ src/Ediscovery/Model/ExportOptions.php | 38 +++ src/Ediscovery/Model/SourceCollection.php | 49 +++- src/Model/Application.php | 4 +- src/Model/BitlockerRecoveryKey.php | 16 +- src/Model/BroadcastMeetingSettings.php | 20 +- src/Model/OnlineMeeting.php | 8 +- 10 files changed, 536 insertions(+), 32 deletions(-) create mode 100644 src/Ediscovery/Model/AddToReviewSetOperation.php create mode 100644 src/Ediscovery/Model/AdditionalDataOptions.php create mode 100644 src/Ediscovery/Model/CaseExportOperation.php create mode 100644 src/Ediscovery/Model/ExportFileStructure.php create mode 100644 src/Ediscovery/Model/ExportOptions.php diff --git a/src/Ediscovery/Model/AddToReviewSetOperation.php b/src/Ediscovery/Model/AddToReviewSetOperation.php new file mode 100644 index 00000000000..04f3ebed4d8 --- /dev/null +++ b/src/Ediscovery/Model/AddToReviewSetOperation.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["reviewSet"], "\Microsoft\Graph\Ediscovery\Model\ReviewSet") || is_null($this->_propDict["reviewSet"])) { + return $this->_propDict["reviewSet"]; + } else { + $this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]); + return $this->_propDict["reviewSet"]; + } + } + return null; + } + + /** + * Sets the reviewSet + * The review set to which items matching the source collection query are added to. + * + * @param ReviewSet $val The reviewSet + * + * @return AddToReviewSetOperation + */ + public function setReviewSet($val) + { + $this->_propDict["reviewSet"] = $val; + return $this; + } + + /** + * Gets the sourceCollection + * The sourceCollection that items are being added from. + * + * @return SourceCollection|null The sourceCollection + */ + public function getSourceCollection() + { + if (array_key_exists("sourceCollection", $this->_propDict)) { + if (is_a($this->_propDict["sourceCollection"], "\Microsoft\Graph\Ediscovery\Model\SourceCollection") || is_null($this->_propDict["sourceCollection"])) { + return $this->_propDict["sourceCollection"]; + } else { + $this->_propDict["sourceCollection"] = new SourceCollection($this->_propDict["sourceCollection"]); + return $this->_propDict["sourceCollection"]; + } + } + return null; + } + + /** + * Sets the sourceCollection + * The sourceCollection that items are being added from. + * + * @param SourceCollection $val The sourceCollection + * + * @return AddToReviewSetOperation + */ + public function setSourceCollection($val) + { + $this->_propDict["sourceCollection"] = $val; + return $this; + } + +} diff --git a/src/Ediscovery/Model/AdditionalDataOptions.php b/src/Ediscovery/Model/AdditionalDataOptions.php new file mode 100644 index 00000000000..aae14f81771 --- /dev/null +++ b/src/Ediscovery/Model/AdditionalDataOptions.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["azureBlobContainer"]; + } else { + return null; + } + } + + /** + * Sets the azureBlobContainer + * The name of the Azure storage location where the export will be stored. This only applies to exports stored in your own Azure storage location. + * + * @param string $val The azureBlobContainer + * + * @return CaseExportOperation + */ + public function setAzureBlobContainer($val) + { + $this->_propDict["azureBlobContainer"] = $val; + return $this; + } + + /** + * Gets the azureBlobToken + * The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. + * + * @return string|null The azureBlobToken + */ + public function getAzureBlobToken() + { + if (array_key_exists("azureBlobToken", $this->_propDict)) { + return $this->_propDict["azureBlobToken"]; + } else { + return null; + } + } + + /** + * Sets the azureBlobToken + * The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. + * + * @param string $val The azureBlobToken + * + * @return CaseExportOperation + */ + public function setAzureBlobToken($val) + { + $this->_propDict["azureBlobToken"] = $val; + return $this; + } + + /** + * Gets the description + * The description provided for the export. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description provided for the export. + * + * @param string $val The description + * + * @return CaseExportOperation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the exportOptions + * The options provided for the export. See reviewSet: export for more details. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * + * @return ExportOptions|null The exportOptions + */ + public function getExportOptions() + { + if (array_key_exists("exportOptions", $this->_propDict)) { + if (is_a($this->_propDict["exportOptions"], "\Microsoft\Graph\Ediscovery\Model\ExportOptions") || is_null($this->_propDict["exportOptions"])) { + return $this->_propDict["exportOptions"]; + } else { + $this->_propDict["exportOptions"] = new ExportOptions($this->_propDict["exportOptions"]); + return $this->_propDict["exportOptions"]; + } + } + return null; + } + + /** + * Sets the exportOptions + * The options provided for the export. See reviewSet: export for more details. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * + * @param ExportOptions $val The exportOptions + * + * @return CaseExportOperation + */ + public function setExportOptions($val) + { + $this->_propDict["exportOptions"] = $val; + return $this; + } + + /** + * Gets the exportStructure + * The options provided that specify the structure of the export. See reviewSet: export for more details. Possible values are: none, directory, pst. + * + * @return ExportFileStructure|null The exportStructure + */ + public function getExportStructure() + { + if (array_key_exists("exportStructure", $this->_propDict)) { + if (is_a($this->_propDict["exportStructure"], "\Microsoft\Graph\Ediscovery\Model\ExportFileStructure") || is_null($this->_propDict["exportStructure"])) { + return $this->_propDict["exportStructure"]; + } else { + $this->_propDict["exportStructure"] = new ExportFileStructure($this->_propDict["exportStructure"]); + return $this->_propDict["exportStructure"]; + } + } + return null; + } + + /** + * Sets the exportStructure + * The options provided that specify the structure of the export. See reviewSet: export for more details. Possible values are: none, directory, pst. + * + * @param ExportFileStructure $val The exportStructure + * + * @return CaseExportOperation + */ + public function setExportStructure($val) + { + $this->_propDict["exportStructure"] = $val; + return $this; + } + + /** + * Gets the outputFolderId + * + * @return string|null The outputFolderId + */ + public function getOutputFolderId() + { + if (array_key_exists("outputFolderId", $this->_propDict)) { + return $this->_propDict["outputFolderId"]; + } else { + return null; + } + } + + /** + * Sets the outputFolderId + * + * @param string $val The outputFolderId + * + * @return CaseExportOperation + */ + public function setOutputFolderId($val) + { + $this->_propDict["outputFolderId"] = $val; + return $this; + } + + /** + * Gets the outputName + * The name provided for the export. + * + * @return string|null The outputName + */ + public function getOutputName() + { + if (array_key_exists("outputName", $this->_propDict)) { + return $this->_propDict["outputName"]; + } else { + return null; + } + } + + /** + * Sets the outputName + * The name provided for the export. + * + * @param string $val The outputName + * + * @return CaseExportOperation + */ + public function setOutputName($val) + { + $this->_propDict["outputName"] = $val; + return $this; + } + + /** + * Gets the reviewSet + * The review set the content is being exported from. + * + * @return ReviewSet|null The reviewSet + */ + public function getReviewSet() + { + if (array_key_exists("reviewSet", $this->_propDict)) { + if (is_a($this->_propDict["reviewSet"], "\Microsoft\Graph\Ediscovery\Model\ReviewSet") || is_null($this->_propDict["reviewSet"])) { + return $this->_propDict["reviewSet"]; + } else { + $this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]); + return $this->_propDict["reviewSet"]; + } + } + return null; + } + + /** + * Sets the reviewSet + * The review set the content is being exported from. + * + * @param ReviewSet $val The reviewSet + * + * @return CaseExportOperation + */ + public function setReviewSet($val) + { + $this->_propDict["reviewSet"] = $val; + return $this; + } + +} diff --git a/src/Ediscovery/Model/ExportFileStructure.php b/src/Ediscovery/Model/ExportFileStructure.php new file mode 100644 index 00000000000..842e463f489 --- /dev/null +++ b/src/Ediscovery/Model/ExportFileStructure.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["addToReviewSetOperation"], "\Microsoft\Graph\Ediscovery\Model\AddToReviewSetOperation") || is_null($this->_propDict["addToReviewSetOperation"])) { + return $this->_propDict["addToReviewSetOperation"]; + } else { + $this->_propDict["addToReviewSetOperation"] = new AddToReviewSetOperation($this->_propDict["addToReviewSetOperation"]); + return $this->_propDict["addToReviewSetOperation"]; + } + } + return null; + } + + /** + * Sets the addToReviewSetOperation + * Adds the results of the sourceCollection to the specified reviewSet. + * + * @param AddToReviewSetOperation $val The addToReviewSetOperation + * + * @return SourceCollection + */ + public function setAddToReviewSetOperation($val) + { + $this->_propDict["addToReviewSetOperation"] = $val; + return $this; + } + /** * Gets the custodianSources diff --git a/src/Model/Application.php b/src/Model/Application.php index 0e379b3f341..610dc561b24 100644 --- a/src/Model/Application.php +++ b/src/Model/Application.php @@ -326,7 +326,7 @@ public function setGroupMembershipClaims($val) /** * Gets the identifierUris - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * * @return string|null The identifierUris */ @@ -341,7 +341,7 @@ public function getIdentifierUris() /** * Sets the identifierUris - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * * @param string $val The identifierUris * diff --git a/src/Model/BitlockerRecoveryKey.php b/src/Model/BitlockerRecoveryKey.php index a0e773d9b81..1b2ae73e54a 100644 --- a/src/Model/BitlockerRecoveryKey.php +++ b/src/Model/BitlockerRecoveryKey.php @@ -26,7 +26,7 @@ class BitlockerRecoveryKey extends Entity { /** * Gets the createdDateTime - * The date and time when the key was originally backed up to Azure Active Directory. + * The date and time when the key was originally backed up to Azure Active Directory. Not nullable. * * @return \DateTime|null The createdDateTime */ @@ -45,7 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The date and time when the key was originally backed up to Azure Active Directory. + * The date and time when the key was originally backed up to Azure Active Directory. Not nullable. * * @param \DateTime $val The createdDateTime * @@ -59,7 +59,7 @@ public function setCreatedDateTime($val) /** * Gets the deviceId - * ID of the device the BitLocker key is originally backed up from. + * Identifier of the device the BitLocker key is originally backed up from. Supports $filter (eq). * * @return string|null The deviceId */ @@ -74,7 +74,7 @@ public function getDeviceId() /** * Sets the deviceId - * ID of the device the BitLocker key is originally backed up from. + * Identifier of the device the BitLocker key is originally backed up from. Supports $filter (eq). * * @param string $val The deviceId * @@ -88,7 +88,7 @@ public function setDeviceId($val) /** * Gets the key - * The BitLocker recovery key. + * The BitLocker recovery key. Returned only on $select. Not nullable. * * @return string|null The key */ @@ -103,7 +103,7 @@ public function getKey() /** * Sets the key - * The BitLocker recovery key. + * The BitLocker recovery key. Returned only on $select. Not nullable. * * @param string $val The key * @@ -117,7 +117,7 @@ public function setKey($val) /** * Gets the volumeType - * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * Indicates the type of volume the BitLocker key is associated with. The possible values are: 1 (for operatingSystemVolume), 2 (for fixedDataVolume), 3 (for removableDataVolume), and 4 (for unknownFutureValue). * * @return VolumeType|null The volumeType */ @@ -136,7 +136,7 @@ public function getVolumeType() /** * Sets the volumeType - * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * Indicates the type of volume the BitLocker key is associated with. The possible values are: 1 (for operatingSystemVolume), 2 (for fixedDataVolume), 3 (for removableDataVolume), and 4 (for unknownFutureValue). * * @param VolumeType $val The volumeType * diff --git a/src/Model/BroadcastMeetingSettings.php b/src/Model/BroadcastMeetingSettings.php index a12f7060f29..3b2801cfbce 100644 --- a/src/Model/BroadcastMeetingSettings.php +++ b/src/Model/BroadcastMeetingSettings.php @@ -26,7 +26,7 @@ class BroadcastMeetingSettings extends Entity /** * Gets the allowedAudience - * Defines who can join the live event. Possible values are listed in the following table. + * Defines who can join the Teams live event. Possible values are listed in the following table. * * @return BroadcastMeetingAudience|null The allowedAudience */ @@ -45,7 +45,7 @@ public function getAllowedAudience() /** * Sets the allowedAudience - * Defines who can join the live event. Possible values are listed in the following table. + * Defines who can join the Teams live event. Possible values are listed in the following table. * * @param BroadcastMeetingAudience $val The value to assign to the allowedAudience * @@ -58,7 +58,7 @@ public function setAllowedAudience($val) } /** * Gets the isAttendeeReportEnabled - * Indicates whether attendee report is enabled for this live event. Default value is false. + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. * * @return bool|null The isAttendeeReportEnabled */ @@ -73,7 +73,7 @@ public function getIsAttendeeReportEnabled() /** * Sets the isAttendeeReportEnabled - * Indicates whether attendee report is enabled for this live event. Default value is false. + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isAttendeeReportEnabled * @@ -86,7 +86,7 @@ public function setIsAttendeeReportEnabled($val) } /** * Gets the isQuestionAndAnswerEnabled - * Indicates whether Q&A is enabled for this live event. Default value is false. + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. * * @return bool|null The isQuestionAndAnswerEnabled */ @@ -101,7 +101,7 @@ public function getIsQuestionAndAnswerEnabled() /** * Sets the isQuestionAndAnswerEnabled - * Indicates whether Q&A is enabled for this live event. Default value is false. + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isQuestionAndAnswerEnabled * @@ -114,7 +114,7 @@ public function setIsQuestionAndAnswerEnabled($val) } /** * Gets the isRecordingEnabled - * Indicates whether recording is enabled for this live event. Default value is false. + * Indicates whether recording is enabled for this Teams live event. Default value is false. * * @return bool|null The isRecordingEnabled */ @@ -129,7 +129,7 @@ public function getIsRecordingEnabled() /** * Sets the isRecordingEnabled - * Indicates whether recording is enabled for this live event. Default value is false. + * Indicates whether recording is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isRecordingEnabled * @@ -142,7 +142,7 @@ public function setIsRecordingEnabled($val) } /** * Gets the isVideoOnDemandEnabled - * Indicates whether video on demand is enabled for this live event. Default value is false. + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. * * @return bool|null The isVideoOnDemandEnabled */ @@ -157,7 +157,7 @@ public function getIsVideoOnDemandEnabled() /** * Sets the isVideoOnDemandEnabled - * Indicates whether video on demand is enabled for this live event. Default value is false. + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. * * @param bool $val The value of the isVideoOnDemandEnabled * diff --git a/src/Model/OnlineMeeting.php b/src/Model/OnlineMeeting.php index f54fc89fcea..d11f0741a76 100644 --- a/src/Model/OnlineMeeting.php +++ b/src/Model/OnlineMeeting.php @@ -179,7 +179,7 @@ public function setAllowTeamworkReactions($val) /** * Gets the attendeeReport - * The content stream of the attendee report of a live event. Read-only. + * The content stream of the attendee report of a Microsoft Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The attendeeReport */ @@ -198,7 +198,7 @@ public function getAttendeeReport() /** * Sets the attendeeReport - * The content stream of the attendee report of a live event. Read-only. + * The content stream of the attendee report of a Microsoft Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The attendeeReport * @@ -406,7 +406,7 @@ public function setExternalId($val) /** * Gets the isBroadcast - * Indicates if this is a live event. + * Indicates if this is a Teams live event. * * @return bool|null The isBroadcast */ @@ -421,7 +421,7 @@ public function getIsBroadcast() /** * Sets the isBroadcast - * Indicates if this is a live event. + * Indicates if this is a Teams live event. * * @param bool $val The isBroadcast * From d229e6a10967229b5b8f28819e08af83a19e1561 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 Nov 2021 10:41:30 +0000 Subject: [PATCH 5/6] Bump up minor version --- README.md | 2 +- src/Core/GraphConstants.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9945dc1a76e..c27a46a3442 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.42.0" + "microsoft/microsoft-graph": "^1.43.0" } } ``` diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index 07348f7452f..aece1f973d0 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.42.0"; + const SDK_VERSION = "1.43.0"; // Define error constants const MAX_PAGE_SIZE = 999; From 84db5abd59bde68921cabdee2e6fcb136473dbe0 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 Nov 2021 13:00:40 +0000 Subject: [PATCH 6/6] Update docs/ folder --- docs/classes/Microsoft-Graph-Core-GraphConstants.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/classes/Microsoft-Graph-Core-GraphConstants.html b/docs/classes/Microsoft-Graph-Core-GraphConstants.html index f9f778319ba..fed328deefa 100644 --- a/docs/classes/Microsoft-Graph-Core-GraphConstants.html +++ b/docs/classes/Microsoft-Graph-Core-GraphConstants.html @@ -181,7 +181,7 @@

SDK_VERSION -  = "1.42.0" +  = "1.43.0"
@@ -483,7 +483,7 @@

public mixed SDK_VERSION - = "1.42.0" + = "1.43.0"