From 27da5c3d02ade5e43b5778d4651ac6a726172b4c Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 15 Aug 2023 10:10:20 +0000 Subject: [PATCH 01/10] Update generated files with build 122943 --- src/Model/Application.php | 4 +- src/Model/ConditionalAccessConditionSet.php | 4 +- src/Model/PublicationFacet.php | 31 +++++++++++ src/Model/ServicePrincipal.php | 4 +- src/SecurityNamespace/Model/Alert.php | 58 +++++++++++++++++++++ src/SecurityNamespace/Model/Incident.php | 27 ++++++++++ 6 files changed, 122 insertions(+), 6 deletions(-) diff --git a/src/Model/Application.php b/src/Model/Application.php index 2871c81a20b..d7db85abbd5 100644 --- a/src/Model/Application.php +++ b/src/Model/Application.php @@ -1242,7 +1242,7 @@ public function setHomeRealmDiscoveryPolicies($val) /** * Gets the owners - * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @return array|null The owners */ @@ -1257,7 +1257,7 @@ public function getOwners() /** * Sets the owners - * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @param DirectoryObject[] $val The owners * diff --git a/src/Model/ConditionalAccessConditionSet.php b/src/Model/ConditionalAccessConditionSet.php index fbfd5313d05..f9c64e051e3 100644 --- a/src/Model/ConditionalAccessConditionSet.php +++ b/src/Model/ConditionalAccessConditionSet.php @@ -92,7 +92,7 @@ public function setClientApplications($val) /** * Gets the clientAppTypes - * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. + * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync which includes EAS supported and unsupported platforms. * * @return ConditionalAccessClientApp|null The clientAppTypes */ @@ -111,7 +111,7 @@ public function getClientAppTypes() /** * Sets the clientAppTypes - * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. + * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync which includes EAS supported and unsupported platforms. * * @param ConditionalAccessClientApp $val The value to assign to the clientAppTypes * diff --git a/src/Model/PublicationFacet.php b/src/Model/PublicationFacet.php index f8cfca06012..287cd24f1b2 100644 --- a/src/Model/PublicationFacet.php +++ b/src/Model/PublicationFacet.php @@ -23,6 +23,37 @@ */ class PublicationFacet extends Entity { + + /** + * Gets the checkedOutBy + * + * @return IdentitySet|null The checkedOutBy + */ + public function getCheckedOutBy() + { + if (array_key_exists("checkedOutBy", $this->_propDict)) { + if (is_a($this->_propDict["checkedOutBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["checkedOutBy"])) { + return $this->_propDict["checkedOutBy"]; + } else { + $this->_propDict["checkedOutBy"] = new IdentitySet($this->_propDict["checkedOutBy"]); + return $this->_propDict["checkedOutBy"]; + } + } + return null; + } + + /** + * Sets the checkedOutBy + * + * @param IdentitySet $val The value to assign to the checkedOutBy + * + * @return PublicationFacet The PublicationFacet + */ + public function setCheckedOutBy($val) + { + $this->_propDict["checkedOutBy"] = $val; + return $this; + } /** * Gets the level * The state of publication for this document. Either published or checkout. Read-only. diff --git a/src/Model/ServicePrincipal.php b/src/Model/ServicePrincipal.php index 791136b4e14..835281bf19c 100644 --- a/src/Model/ServicePrincipal.php +++ b/src/Model/ServicePrincipal.php @@ -1389,7 +1389,7 @@ public function setOwnedObjects($val) /** * Gets the owners - * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @return array|null The owners */ @@ -1404,7 +1404,7 @@ public function getOwners() /** * Sets the owners - * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @param DirectoryObject[] $val The owners * diff --git a/src/SecurityNamespace/Model/Alert.php b/src/SecurityNamespace/Model/Alert.php index e43ad2104b5..06dba31874f 100644 --- a/src/SecurityNamespace/Model/Alert.php +++ b/src/SecurityNamespace/Model/Alert.php @@ -53,6 +53,64 @@ public function setActorDisplayName($val) return $this; } + /** + * Gets the additionalData + * + * @return Dictionary|null The additionalData + */ + public function getAdditionalData() + { + if (array_key_exists("additionalData", $this->_propDict)) { + if (is_a($this->_propDict["additionalData"], "\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["additionalData"])) { + return $this->_propDict["additionalData"]; + } else { + $this->_propDict["additionalData"] = new Dictionary($this->_propDict["additionalData"]); + return $this->_propDict["additionalData"]; + } + } + return null; + } + + /** + * Sets the additionalData + * + * @param Dictionary $val The additionalData + * + * @return Alert + */ + public function setAdditionalData($val) + { + $this->_propDict["additionalData"] = $val; + return $this; + } + + /** + * Gets the alertPolicyId + * + * @return string|null The alertPolicyId + */ + public function getAlertPolicyId() + { + if (array_key_exists("alertPolicyId", $this->_propDict)) { + return $this->_propDict["alertPolicyId"]; + } else { + return null; + } + } + + /** + * Sets the alertPolicyId + * + * @param string $val The alertPolicyId + * + * @return Alert + */ + public function setAlertPolicyId($val) + { + $this->_propDict["alertPolicyId"] = $val; + return $this; + } + /** * Gets the alertWebUrl * URL for the alert page in the Microsoft 365 Defender portal. diff --git a/src/SecurityNamespace/Model/Incident.php b/src/SecurityNamespace/Model/Incident.php index 2c9df722f72..7fe9a28fdf6 100644 --- a/src/SecurityNamespace/Model/Incident.php +++ b/src/SecurityNamespace/Model/Incident.php @@ -269,6 +269,33 @@ public function setIncidentWebUrl($val) return $this; } + /** + * Gets the lastModifiedBy + * + * @return string|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + return $this->_propDict["lastModifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModifiedBy + * + * @param string $val The lastModifiedBy + * + * @return Incident + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + /** * Gets the lastUpdateDateTime * Time when the incident was last updated. From 81bcffdf96c99b850546b524133f2a02a9435232 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 15 Aug 2023 10:11:59 +0000 Subject: [PATCH 02/10] Update generated files with build 122943 --- .../CredentialUserRegistrationsSummary.php | 2 + ...ThreatProtectionOnboardingStateSummary.php | 2 - .../AndroidDeviceOwnerVpnConfiguration.php | 4 +- .../Microsoft/Graph/Model/AndroidLobApp.php | 4 +- .../AndroidWorkProfileVpnConfiguration.php | 4 +- .../Microsoft/Graph/Model/Application.php | 4 +- .../Graph/Model/ChatRestrictions.php | 52 ++ .../Graph/Model/CloudPcBulkReprovision.php | 27 + .../Graph/Model/CloudPcBulkResize.php | 54 ++ .../Graph/Model/CloudPcBulkRestart.php | 27 + .../Graph/Model/CloudPcBulkRestore.php | 89 +++ .../Graph/Model/CloudPcBulkTroubleshoot.php | 27 + .../Model/CloudPcDeviceImageStatusDetails.php | 4 + .../Model/CloudPcOnPremisesConnection.php | 4 +- ...CloudPcOnPremisesConnectionHealthCheck.php | 4 +- .../Graph/Model/CloudPcPartnerAgentName.php | 1 + .../Graph/Model/CloudPcReportName.php | 1 + .../Model/CloudRealtimeCommunicationInfo.php | 2 + .../Model/ConditionalAccessConditionSet.php | 8 +- .../Graph/Model/ConditionalAccessDevices.php | 4 +- ...ntinuousAccessEvaluationSessionControl.php | 4 +- .../Graph/Model/CustomMetadataDictionary.php | 26 + ...iceCompliancePolicySettingStateSummary.php | 2 - ...iceManagementCachedReportConfiguration.php | 16 +- ...ntConfigurationChoiceSettingDefinition.php | 8 +- ...onfigurationReferredSettingInformation.php | 4 +- .../Graph/Model/DeviceManagementExportJob.php | 16 +- .../Graph/Model/EducationAssignment.php | 2 + .../Graph/Model/EducationChannelResource.php | 2 + .../Microsoft/Graph/Model/EducationClass.php | 2 + .../EducationLinkedAssignmentResource.php | 2 + .../Microsoft/Graph/Model/EducationModule.php | 20 + .../Graph/Model/EducationModuleResource.php | 2 + src/Beta/Microsoft/Graph/Model/Group.php | 27 + .../Microsoft/Graph/Model/MacOSDmgApp.php | 20 +- .../Graph/Model/MacOSIncludedApp.php | 8 +- .../Microsoft/Graph/Model/MacOSLobApp.php | 8 +- .../Microsoft/Graph/Model/MacOSWebClip.php | 8 +- .../Model/MacOsLobAppAssignmentSettings.php | 4 +- .../Graph/Model/ManagedAndroidLobApp.php | 4 +- .../Model/MobileThreatDefenseConnector.php | 4 +- .../Graph/Model/OnPremisesSipInfo.php | 6 + .../Microsoft/Graph/Model/OnlineMeeting.php | 62 +- .../Graph/Model/OrganizationSettings.php | 2 - .../Graph/Model/PeopleAdminSettings.php | 2 + .../Graph/Model/PublicationFacet.php | 31 + .../Graph/Model/RemoteActionAudit.php | 4 +- .../Graph/Model/ServicePrincipal.php | 4 +- .../Graph/Model/TeamsAppSettings.php | 6 +- src/Beta/Microsoft/Graph/Model/User.php | 6 + ...erienceAnalyticsBatteryHealthAppImpact.php | 8 +- ...eAnalyticsBatteryHealthCapacityDetails.php | 16 +- ...eAnalyticsBatteryHealthDeviceAppImpact.php | 4 +- ...nalyticsBatteryHealthDevicePerformance.php | 16 +- ...yticsBatteryHealthDeviceRuntimeHistory.php | 4 +- ...AnalyticsBatteryHealthModelPerformance.php | 24 +- ...nceAnalyticsBatteryHealthOsPerformance.php | 20 +- ...ceAnalyticsBatteryHealthRuntimeDetails.php | 16 +- .../Graph/Model/VirtualAppointment.php | 177 ------ .../Model/VirtualAppointmentSettings.php | 54 -- .../Graph/Model/VirtualAppointmentUser.php | 110 ---- .../Graph/Model/VirtualEventRegistrant.php | 272 --------- .../Graph/Model/VirtualEventRegistration.php | 227 +++++-- .../VirtualEventRegistrationConfiguration.php | 109 ++++ .../Graph/Model/VirtualEventSession.php | 28 + .../Graph/Model/VirtualEventWebinar.php | 54 +- ...lEventWebinarRegistrationConfiguration.php | 81 +++ .../Graph/Model/WindowsUniversalAppX.php | 32 +- .../Model/BranchConnectivityConfiguration.php | 189 ++++++ .../Graph/Networkaccess/Model/BranchSite.php | 31 + .../Model/ConnectivityConfigurationLink.php | 113 ++++ .../Model/LocalConnectivityConfiguration.php | 135 +++++ .../Model/PeerConnectivityConfiguration.php | 104 ++++ .../Graph/SecurityNamespace/Model/Alert.php | 58 ++ .../SecurityNamespace/Model/Incident.php | 27 + .../Model/ThreatIntelligence.php | 28 + .../Model/WhoisBaseRecord.php | 570 ++++++++++++++++++ .../Model/WhoisHistoryRecord.php | 27 + .../SecurityNamespace/Model/WhoisRecord.php | 535 +--------------- 79 files changed, 2326 insertions(+), 1379 deletions(-) create mode 100644 src/Beta/Microsoft/Graph/Model/ChatRestrictions.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkReprovision.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkResize.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkRestart.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkRestore.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkTroubleshoot.php create mode 100644 src/Beta/Microsoft/Graph/Model/CustomMetadataDictionary.php delete mode 100644 src/Beta/Microsoft/Graph/Model/VirtualAppointment.php delete mode 100644 src/Beta/Microsoft/Graph/Model/VirtualAppointmentSettings.php delete mode 100644 src/Beta/Microsoft/Graph/Model/VirtualAppointmentUser.php delete mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventWebinarRegistrationConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Networkaccess/Model/BranchConnectivityConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Networkaccess/Model/ConnectivityConfigurationLink.php create mode 100644 src/Beta/Microsoft/Graph/Networkaccess/Model/LocalConnectivityConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Networkaccess/Model/PeerConnectivityConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisBaseRecord.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisHistoryRecord.php diff --git a/src/Beta/Microsoft/Graph/ManagedTenants/Model/CredentialUserRegistrationsSummary.php b/src/Beta/Microsoft/Graph/ManagedTenants/Model/CredentialUserRegistrationsSummary.php index e23026bde5e..69d871fe930 100644 --- a/src/Beta/Microsoft/Graph/ManagedTenants/Model/CredentialUserRegistrationsSummary.php +++ b/src/Beta/Microsoft/Graph/ManagedTenants/Model/CredentialUserRegistrationsSummary.php @@ -320,6 +320,7 @@ public function setTenantId($val) /** * Gets the tenantLicenseType + * The license type associated with the tenant; for example, AADFree, AADPremium1, AADPremium2. * * @return string|null The tenantLicenseType */ @@ -334,6 +335,7 @@ public function getTenantLicenseType() /** * Sets the tenantLicenseType + * The license type associated with the tenant; for example, AADFree, AADPremium1, AADPremium2. * * @param string $val The tenantLicenseType * diff --git a/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php b/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php index 747a66a6bf1..ce3149c9cb1 100644 --- a/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php +++ b/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php @@ -259,7 +259,6 @@ public function setUnknownDeviceCount($val) /** * Gets the advancedThreatProtectionOnboardingDeviceSettingStates - * Not yet documented * * @return array|null The advancedThreatProtectionOnboardingDeviceSettingStates */ @@ -274,7 +273,6 @@ public function getAdvancedThreatProtectionOnboardingDeviceSettingStates() /** * Sets the advancedThreatProtectionOnboardingDeviceSettingStates - * Not yet documented * * @param AdvancedThreatProtectionOnboardingDeviceSettingState[] $val The advancedThreatProtectionOnboardingDeviceSettingStates * diff --git a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php index d9380b4093b..6a316e84f09 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php @@ -206,7 +206,7 @@ public function setMicrosoftTunnelSiteId($val) /** * Gets the proxyExclusionList - * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com. * * @return array|null The proxyExclusionList */ @@ -221,7 +221,7 @@ public function getProxyExclusionList() /** * Sets the proxyExclusionList - * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com. * * @param string[] $val The proxyExclusionList * diff --git a/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php b/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php index f673c9012d7..cd41e89e302 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php @@ -146,7 +146,7 @@ public function setPackageId($val) /** * Gets the targetedPlatforms - * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. Possible values are: androidDeviceAdministrator, androidOpenSourceProject, unknownFutureValue. * * @return AndroidTargetedPlatforms|null The targetedPlatforms */ @@ -165,7 +165,7 @@ public function getTargetedPlatforms() /** * Sets the targetedPlatforms - * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. Possible values are: androidDeviceAdministrator, androidOpenSourceProject, unknownFutureValue. * * @param AndroidTargetedPlatforms $val The targetedPlatforms * diff --git a/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php index bbb0a87a335..76d2e1fdf66 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php @@ -297,7 +297,7 @@ public function setMicrosoftTunnelSiteId($val) /** * Gets the proxyExclusionList - * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com. * * @return array|null The proxyExclusionList */ @@ -312,7 +312,7 @@ public function getProxyExclusionList() /** * Sets the proxyExclusionList - * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + * List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as .example.com. * * @param string[] $val The proxyExclusionList * diff --git a/src/Beta/Microsoft/Graph/Model/Application.php b/src/Beta/Microsoft/Graph/Model/Application.php index 603d369e246..ca5d189e45b 100644 --- a/src/Beta/Microsoft/Graph/Model/Application.php +++ b/src/Beta/Microsoft/Graph/Model/Application.php @@ -1319,7 +1319,7 @@ public function setHomeRealmDiscoveryPolicies($val) /** * Gets the owners - * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @return array|null The owners */ @@ -1334,7 +1334,7 @@ public function getOwners() /** * Sets the owners - * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @param DirectoryObject[] $val The owners * diff --git a/src/Beta/Microsoft/Graph/Model/ChatRestrictions.php b/src/Beta/Microsoft/Graph/Model/ChatRestrictions.php new file mode 100644 index 00000000000..68f5c69d384 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/ChatRestrictions.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["allowTextOnly"]; + } else { + return null; + } + } + + /** + * Sets the allowTextOnly + * + * @param bool $val The value of the allowTextOnly + * + * @return ChatRestrictions + */ + public function setAllowTextOnly($val) + { + $this->_propDict["allowTextOnly"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcBulkReprovision.php b/src/Beta/Microsoft/Graph/Model/CloudPcBulkReprovision.php new file mode 100644 index 00000000000..19bafc69df3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudPcBulkReprovision.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["targetServicePlanId"]; + } else { + return null; + } + } + + /** + * Sets the targetServicePlanId + * + * @param string $val The targetServicePlanId + * + * @return CloudPcBulkResize + */ + public function setTargetServicePlanId($val) + { + $this->_propDict["targetServicePlanId"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcBulkRestart.php b/src/Beta/Microsoft/Graph/Model/CloudPcBulkRestart.php new file mode 100644 index 00000000000..3d3738aa6c0 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudPcBulkRestart.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["restorePointDateTime"], "\DateTime") || is_null($this->_propDict["restorePointDateTime"])) { + return $this->_propDict["restorePointDateTime"]; + } else { + $this->_propDict["restorePointDateTime"] = new \DateTime($this->_propDict["restorePointDateTime"]); + return $this->_propDict["restorePointDateTime"]; + } + } + return null; + } + + /** + * Sets the restorePointDateTime + * + * @param \DateTime $val The restorePointDateTime + * + * @return CloudPcBulkRestore + */ + public function setRestorePointDateTime($val) + { + $this->_propDict["restorePointDateTime"] = $val; + return $this; + } + + /** + * Gets the timeRange + * + * @return RestoreTimeRange|null The timeRange + */ + public function getTimeRange() + { + if (array_key_exists("timeRange", $this->_propDict)) { + if (is_a($this->_propDict["timeRange"], "\Beta\Microsoft\Graph\Model\RestoreTimeRange") || is_null($this->_propDict["timeRange"])) { + return $this->_propDict["timeRange"]; + } else { + $this->_propDict["timeRange"] = new RestoreTimeRange($this->_propDict["timeRange"]); + return $this->_propDict["timeRange"]; + } + } + return null; + } + + /** + * Sets the timeRange + * + * @param RestoreTimeRange $val The timeRange + * + * @return CloudPcBulkRestore + */ + public function setTimeRange($val) + { + $this->_propDict["timeRange"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcBulkTroubleshoot.php b/src/Beta/Microsoft/Graph/Model/CloudPcBulkTroubleshoot.php new file mode 100644 index 00000000000..804aedbe2e7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudPcBulkTroubleshoot.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["uniqueName"]; + } else { + return null; + } + } + + /** + * Sets the uniqueName + * + * @param string $val The uniqueName + * + * @return Group + */ + public function setUniqueName($val) + { + $this->_propDict["uniqueName"] = $val; + return $this; + } + /** * Gets the visibility * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. diff --git a/src/Beta/Microsoft/Graph/Model/MacOSDmgApp.php b/src/Beta/Microsoft/Graph/Model/MacOSDmgApp.php index 367ec62a075..f82b5c83afe 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSDmgApp.php +++ b/src/Beta/Microsoft/Graph/Model/MacOSDmgApp.php @@ -26,7 +26,7 @@ class MacOSDmgApp extends MobileLobApp { /** * Gets the ignoreVersionDetection - * A value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self-update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device. + * When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. * * @return bool|null The ignoreVersionDetection */ @@ -41,7 +41,7 @@ public function getIgnoreVersionDetection() /** * Sets the ignoreVersionDetection - * A value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self-update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device. + * When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. * * @param bool $val The ignoreVersionDetection * @@ -56,7 +56,7 @@ public function setIgnoreVersionDetection($val) /** * Gets the includedApps - * The list of apps expected to be installed by the DMG. + * The list of .apps expected to be installed by the DMG (Apple Disk Image) * * @return array|null The includedApps */ @@ -71,7 +71,7 @@ public function getIncludedApps() /** * Sets the includedApps - * The list of apps expected to be installed by the DMG. + * The list of .apps expected to be installed by the DMG (Apple Disk Image) * * @param MacOSIncludedApp[] $val The includedApps * @@ -85,7 +85,7 @@ public function setIncludedApps($val) /** * Gets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. + * ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. * * @return MacOSMinimumOperatingSystem|null The minimumSupportedOperatingSystem */ @@ -104,7 +104,7 @@ public function getMinimumSupportedOperatingSystem() /** * Sets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. + * ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. * * @param MacOSMinimumOperatingSystem $val The minimumSupportedOperatingSystem * @@ -118,7 +118,7 @@ public function setMinimumSupportedOperatingSystem($val) /** * Gets the primaryBundleId - * The primary CFBundleIdentifier of the DMG. + * The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration. * * @return string|null The primaryBundleId */ @@ -133,7 +133,7 @@ public function getPrimaryBundleId() /** * Sets the primaryBundleId - * The primary CFBundleIdentifier of the DMG. + * The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration. * * @param string $val The primaryBundleId * @@ -147,7 +147,7 @@ public function setPrimaryBundleId($val) /** * Gets the primaryBundleVersion - * The primary CFBundleVersion of the DMG. + * The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration. * * @return string|null The primaryBundleVersion */ @@ -162,7 +162,7 @@ public function getPrimaryBundleVersion() /** * Sets the primaryBundleVersion - * The primary CFBundleVersion of the DMG. + * The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration. * * @param string $val The primaryBundleVersion * diff --git a/src/Beta/Microsoft/Graph/Model/MacOSIncludedApp.php b/src/Beta/Microsoft/Graph/Model/MacOSIncludedApp.php index c7caa1286a5..7b3e054e19a 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSIncludedApp.php +++ b/src/Beta/Microsoft/Graph/Model/MacOSIncludedApp.php @@ -25,7 +25,7 @@ class MacOSIncludedApp extends Entity { /** * Gets the bundleId - * The CFBundleIdentifier. + * The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration. * * @return string|null The bundleId */ @@ -40,7 +40,7 @@ public function getBundleId() /** * Sets the bundleId - * The CFBundleIdentifier. + * The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration. * * @param string $val The value of the bundleId * @@ -53,7 +53,7 @@ public function setBundleId($val) } /** * Gets the bundleVersion - * The CFBundleVersion. + * The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration. * * @return string|null The bundleVersion */ @@ -68,7 +68,7 @@ public function getBundleVersion() /** * Sets the bundleVersion - * The CFBundleVersion. + * The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration. * * @param string $val The value of the bundleVersion * diff --git a/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php b/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php index 64b2683ff9b..d4ef2256144 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php +++ b/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php @@ -114,7 +114,7 @@ public function setChildApps($val) /** * Gets the ignoreVersionDetection - * When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. + * When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. * * @return bool|null The ignoreVersionDetection */ @@ -129,7 +129,7 @@ public function getIgnoreVersionDetection() /** * Sets the ignoreVersionDetection - * When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. + * When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. * * @param bool $val The ignoreVersionDetection * @@ -143,7 +143,7 @@ public function setIgnoreVersionDetection($val) /** * Gets the installAsManaged - * When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. + * When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. The default value is FALSE. * * @return bool|null The installAsManaged */ @@ -158,7 +158,7 @@ public function getInstallAsManaged() /** * Sets the installAsManaged - * When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. + * When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged. The default value is FALSE. * * @param bool $val The installAsManaged * diff --git a/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php b/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php index 5c51897a6b2..9d59ec33e59 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php +++ b/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php @@ -26,7 +26,7 @@ class MacOSWebClip extends MobileApp { /** * Gets the appUrl - * The web app URL starting with http:// or https://, such as https://learn.microsoft.com/en-us/mem/. + * The web app URL starting with http:// or https://, such as https://learn.microsoft.com/mem/. * * @return string|null The appUrl */ @@ -41,7 +41,7 @@ public function getAppUrl() /** * Sets the appUrl - * The web app URL starting with http:// or https://, such as https://learn.microsoft.com/en-us/mem/. + * The web app URL starting with http:// or https://, such as https://learn.microsoft.com/mem/. * * @param string $val The appUrl * @@ -84,7 +84,7 @@ public function setFullScreenEnabled($val) /** * Gets the preComposedIconEnabled - * Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding "shine" to the icon. If FALSE, SpringBoard can add "shine". + * Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding 'shine' to the icon. If FALSE, SpringBoard can add 'shine'. * * @return bool|null The preComposedIconEnabled */ @@ -99,7 +99,7 @@ public function getPreComposedIconEnabled() /** * Sets the preComposedIconEnabled - * Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding "shine" to the icon. If FALSE, SpringBoard can add "shine". + * Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding 'shine' to the icon. If FALSE, SpringBoard can add 'shine'. * * @param bool $val The preComposedIconEnabled * diff --git a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php index d6de277022d..a8b5c6204b4 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 - * 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. + * Whether or not to uninstall the app when device is removed from Intune. * * @return bool|null The uninstallOnDeviceRemoval */ @@ -51,7 +51,7 @@ public function getUninstallOnDeviceRemoval() /** * Sets the uninstallOnDeviceRemoval - * 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. + * Whether or not to uninstall the app when device is removed from Intune. * * @param bool $val The value of the uninstallOnDeviceRemoval * diff --git a/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php b/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php index b8ca9b32949..eddf92bbfb5 100644 --- a/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php +++ b/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php @@ -146,7 +146,7 @@ public function setPackageId($val) /** * Gets the targetedPlatforms - * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. Possible values are: androidDeviceAdministrator, androidOpenSourceProject, unknownFutureValue. * * @return AndroidTargetedPlatforms|null The targetedPlatforms */ @@ -165,7 +165,7 @@ public function getTargetedPlatforms() /** * Sets the targetedPlatforms - * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. Possible values are: androidDeviceAdministrator, androidOpenSourceProject, unknownFutureValue. * * @param AndroidTargetedPlatforms $val The targetedPlatforms * diff --git a/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php b/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php index 2a49ffd27e1..0da70e26ffe 100644 --- a/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php +++ b/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php @@ -378,7 +378,7 @@ public function setMicrosoftDefenderForEndpointAttachEnabled($val) /** * Gets the partnerState - * Mobile Threat Defense partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + * Mobile Threat Defense partner state for this account. Possible values are: unavailable, available, enabled, unresponsive, notSetUp, error, unknownFutureValue. * * @return MobileThreatPartnerTenantState|null The partnerState */ @@ -397,7 +397,7 @@ public function getPartnerState() /** * Sets the partnerState - * Mobile Threat Defense partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + * Mobile Threat Defense partner state for this account. Possible values are: unavailable, available, enabled, unresponsive, notSetUp, error, unknownFutureValue. * * @param MobileThreatPartnerTenantState $val The partnerState * diff --git a/src/Beta/Microsoft/Graph/Model/OnPremisesSipInfo.php b/src/Beta/Microsoft/Graph/Model/OnPremisesSipInfo.php index a0a15216fdb..d7d9912354c 100644 --- a/src/Beta/Microsoft/Graph/Model/OnPremisesSipInfo.php +++ b/src/Beta/Microsoft/Graph/Model/OnPremisesSipInfo.php @@ -25,6 +25,7 @@ class OnPremisesSipInfo extends Entity { /** * Gets the isSipEnabled + * Indicates whether the user is currently enabled for on-premises Skype for Business. * * @return bool|null The isSipEnabled */ @@ -39,6 +40,7 @@ public function getIsSipEnabled() /** * Sets the isSipEnabled + * Indicates whether the user is currently enabled for on-premises Skype for Business. * * @param bool $val The value of the isSipEnabled * @@ -51,6 +53,7 @@ public function setIsSipEnabled($val) } /** * Gets the sipDeploymentLocation + * Indicates a fully qualified DNS name of the Microsoft Online Communications Server deployment. * * @return string|null The sipDeploymentLocation */ @@ -65,6 +68,7 @@ public function getSipDeploymentLocation() /** * Sets the sipDeploymentLocation + * Indicates a fully qualified DNS name of the Microsoft Online Communications Server deployment. * * @param string $val The value of the sipDeploymentLocation * @@ -77,6 +81,7 @@ public function setSipDeploymentLocation($val) } /** * Gets the sipPrimaryAddress + * Serves as a unique identifier for each user on the on-premises Skype for Business. * * @return string|null The sipPrimaryAddress */ @@ -91,6 +96,7 @@ public function getSipPrimaryAddress() /** * Sets the sipPrimaryAddress + * Serves as a unique identifier for each user on the on-premises Skype for Business. * * @param string $val The value of the sipPrimaryAddress * diff --git a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php index 1038381ab46..eb95ee578e0 100644 --- a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php +++ b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php @@ -518,6 +518,37 @@ public function setChatInfo($val) return $this; } + /** + * Gets the chatRestrictions + * + * @return ChatRestrictions|null The chatRestrictions + */ + public function getChatRestrictions() + { + if (array_key_exists("chatRestrictions", $this->_propDict)) { + if (is_a($this->_propDict["chatRestrictions"], "\Beta\Microsoft\Graph\Model\ChatRestrictions") || is_null($this->_propDict["chatRestrictions"])) { + return $this->_propDict["chatRestrictions"]; + } else { + $this->_propDict["chatRestrictions"] = new ChatRestrictions($this->_propDict["chatRestrictions"]); + return $this->_propDict["chatRestrictions"]; + } + } + return null; + } + + /** + * Sets the chatRestrictions + * + * @param ChatRestrictions $val The chatRestrictions + * + * @return OnlineMeeting + */ + public function setChatRestrictions($val) + { + $this->_propDict["chatRestrictions"] = $val; + return $this; + } + /** * Gets the creationDateTime * The meeting creation time in UTC. Read-only. @@ -1078,37 +1109,6 @@ public function setWatermarkProtection($val) return $this; } - /** - * Gets the virtualAppointment - * - * @return VirtualAppointment|null The virtualAppointment - */ - public function getVirtualAppointment() - { - if (array_key_exists("virtualAppointment", $this->_propDict)) { - if (is_a($this->_propDict["virtualAppointment"], "\Beta\Microsoft\Graph\Model\VirtualAppointment") || is_null($this->_propDict["virtualAppointment"])) { - return $this->_propDict["virtualAppointment"]; - } else { - $this->_propDict["virtualAppointment"] = new VirtualAppointment($this->_propDict["virtualAppointment"]); - return $this->_propDict["virtualAppointment"]; - } - } - return null; - } - - /** - * Sets the virtualAppointment - * - * @param VirtualAppointment $val The virtualAppointment - * - * @return OnlineMeeting - */ - public function setVirtualAppointment($val) - { - $this->_propDict["virtualAppointment"] = $val; - return $this; - } - /** * Gets the attendanceReports diff --git a/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php b/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php index 89a662e3949..fa5363b9b74 100644 --- a/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php +++ b/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php @@ -58,7 +58,6 @@ public function setMicrosoftApplicationDataAccess($val) /** * Gets the profileCardProperties - * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. * * @return array|null The profileCardProperties */ @@ -73,7 +72,6 @@ public function getProfileCardProperties() /** * Sets the profileCardProperties - * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. * * @param ProfileCardProperty[] $val The profileCardProperties * diff --git a/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php b/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php index 339e99751a7..e18dbc193b6 100644 --- a/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php +++ b/src/Beta/Microsoft/Graph/Model/PeopleAdminSettings.php @@ -27,6 +27,7 @@ class PeopleAdminSettings extends Entity /** * Gets the profileCardProperties + * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. * * @return array|null The profileCardProperties */ @@ -41,6 +42,7 @@ public function getProfileCardProperties() /** * Sets the profileCardProperties + * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. * * @param ProfileCardProperty[] $val The profileCardProperties * diff --git a/src/Beta/Microsoft/Graph/Model/PublicationFacet.php b/src/Beta/Microsoft/Graph/Model/PublicationFacet.php index f027e8f44ee..adce813f76c 100644 --- a/src/Beta/Microsoft/Graph/Model/PublicationFacet.php +++ b/src/Beta/Microsoft/Graph/Model/PublicationFacet.php @@ -23,6 +23,37 @@ */ class PublicationFacet extends Entity { + + /** + * Gets the checkedOutBy + * + * @return IdentitySet|null The checkedOutBy + */ + public function getCheckedOutBy() + { + if (array_key_exists("checkedOutBy", $this->_propDict)) { + if (is_a($this->_propDict["checkedOutBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["checkedOutBy"])) { + return $this->_propDict["checkedOutBy"]; + } else { + $this->_propDict["checkedOutBy"] = new IdentitySet($this->_propDict["checkedOutBy"]); + return $this->_propDict["checkedOutBy"]; + } + } + return null; + } + + /** + * Sets the checkedOutBy + * + * @param IdentitySet $val The value to assign to the checkedOutBy + * + * @return PublicationFacet The PublicationFacet + */ + public function setCheckedOutBy($val) + { + $this->_propDict["checkedOutBy"] = $val; + return $this; + } /** * Gets the level * The state of publication for this document. Either published or checkout. Read-only. diff --git a/src/Beta/Microsoft/Graph/Model/RemoteActionAudit.php b/src/Beta/Microsoft/Graph/Model/RemoteActionAudit.php index 3c446e55905..47ae1a886f9 100644 --- a/src/Beta/Microsoft/Graph/Model/RemoteActionAudit.php +++ b/src/Beta/Microsoft/Graph/Model/RemoteActionAudit.php @@ -26,7 +26,7 @@ class RemoteActionAudit extends Entity { /** * Gets the action - * The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim, deprovision, disable, reenable, moveDeviceToOrganizationalUnit, initiateMobileDeviceManagementKeyRecovery, initiateOnDemandProactiveRemediation, rotateLocalAdminPassword, unknownFutureValue. + * The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim, deprovision, disable, reenable, moveDeviceToOrganizationalUnit, initiateMobileDeviceManagementKeyRecovery, initiateOnDemandProactiveRemediation, rotateLocalAdminPassword, unknownFutureValue, launchRemoteHelp, revokeAppleVppLicenses, removeDeviceFirmwareConfigurationInterfaceManagement. * * @return RemoteAction|null The action */ @@ -45,7 +45,7 @@ public function getAction() /** * Sets the action - * The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim, deprovision, disable, reenable, moveDeviceToOrganizationalUnit, initiateMobileDeviceManagementKeyRecovery, initiateOnDemandProactiveRemediation, rotateLocalAdminPassword, unknownFutureValue. + * The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim, deprovision, disable, reenable, moveDeviceToOrganizationalUnit, initiateMobileDeviceManagementKeyRecovery, initiateOnDemandProactiveRemediation, rotateLocalAdminPassword, unknownFutureValue, launchRemoteHelp, revokeAppleVppLicenses, removeDeviceFirmwareConfigurationInterfaceManagement. * * @param RemoteAction $val The action * diff --git a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php index 04c5e0d4faf..119c7acad0e 100644 --- a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php +++ b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php @@ -1544,7 +1544,7 @@ public function setOwnedObjects($val) /** * Gets the owners - * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @return array|null The owners */ @@ -1559,7 +1559,7 @@ public function getOwners() /** * Sets the owners - * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. * * @param DirectoryObject[] $val The owners * diff --git a/src/Beta/Microsoft/Graph/Model/TeamsAppSettings.php b/src/Beta/Microsoft/Graph/Model/TeamsAppSettings.php index 5b5432da97a..412e7168497 100644 --- a/src/Beta/Microsoft/Graph/Model/TeamsAppSettings.php +++ b/src/Beta/Microsoft/Graph/Model/TeamsAppSettings.php @@ -55,7 +55,7 @@ public function setAllowUserRequestsForAppAccess($val) /** * Gets the isChatResourceSpecificConsentEnabled - * Indicates whether resource-specific consent for chats/meetings has been enabled for the tenant. If true, Teams apps that are allowed in the tenant and require resource-specific permissions can be installed inside chats and meetings. If false, the installation of any Teams app that requires resource-specific permissions in a chat or a meeting will be blocked. + * Indicates whether resource-specific consent for chats/meetings has been enabled for the tenant. True indicates that Teams apps that are allowed in the tenant and require resource-specific permissions can be installed inside chats and meetings. False blocks the installation of any Teams app that requires resource-specific permissions in a chat or a meeting. * * @return bool|null The isChatResourceSpecificConsentEnabled */ @@ -70,7 +70,7 @@ public function getIsChatResourceSpecificConsentEnabled() /** * Sets the isChatResourceSpecificConsentEnabled - * Indicates whether resource-specific consent for chats/meetings has been enabled for the tenant. If true, Teams apps that are allowed in the tenant and require resource-specific permissions can be installed inside chats and meetings. If false, the installation of any Teams app that requires resource-specific permissions in a chat or a meeting will be blocked. + * Indicates whether resource-specific consent for chats/meetings has been enabled for the tenant. True indicates that Teams apps that are allowed in the tenant and require resource-specific permissions can be installed inside chats and meetings. False blocks the installation of any Teams app that requires resource-specific permissions in a chat or a meeting. * * @param bool $val The isChatResourceSpecificConsentEnabled * @@ -84,6 +84,7 @@ public function setIsChatResourceSpecificConsentEnabled($val) /** * Gets the isUserPersonalScopeResourceSpecificConsentEnabled + * Indicates whether resource-specific consent for personal scope in Teams apps has been enabled for the tenant. True indicates that Teams apps that are allowed in the tenant and require resource-specific permissions can be installed in the personal scope. False blocks the installation of any Teams app that requires resource-specific permissions in the personal scope. * * @return bool|null The isUserPersonalScopeResourceSpecificConsentEnabled */ @@ -98,6 +99,7 @@ public function getIsUserPersonalScopeResourceSpecificConsentEnabled() /** * Sets the isUserPersonalScopeResourceSpecificConsentEnabled + * Indicates whether resource-specific consent for personal scope in Teams apps has been enabled for the tenant. True indicates that Teams apps that are allowed in the tenant and require resource-specific permissions can be installed in the personal scope. False blocks the installation of any Teams app that requires resource-specific permissions in the personal scope. * * @param bool $val The isUserPersonalScopeResourceSpecificConsentEnabled * diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 22394a4e7d1..940309e9712 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -268,6 +268,7 @@ public function setCity($val) /** * Gets the cloudRealtimeCommunicationInfo + * Microsoft realtime communication information related to the user. Supports $filter (eq, ne,not). * * @return CloudRealtimeCommunicationInfo|null The cloudRealtimeCommunicationInfo */ @@ -286,6 +287,7 @@ public function getCloudRealtimeCommunicationInfo() /** * Sets the cloudRealtimeCommunicationInfo + * Microsoft realtime communication information related to the user. Supports $filter (eq, ne,not). * * @param CloudRealtimeCommunicationInfo $val The cloudRealtimeCommunicationInfo * @@ -1493,6 +1495,7 @@ public function setOnPremisesSecurityIdentifier($val) /** * Gets the onPremisesSipInfo + * Contains all on-premises Session Initiation Protocol (SIP) information related to the user. Read-only. * * @return OnPremisesSipInfo|null The onPremisesSipInfo */ @@ -1511,6 +1514,7 @@ public function getOnPremisesSipInfo() /** * Sets the onPremisesSipInfo + * Contains all on-premises Session Initiation Protocol (SIP) information related to the user. Read-only. * * @param OnPremisesSipInfo $val The onPremisesSipInfo * @@ -4439,6 +4443,7 @@ public function setJoinedTeams($val) /** * Gets the permissionGrants + * List all resource-specific permission grants of a user. * * @return array|null The permissionGrants */ @@ -4453,6 +4458,7 @@ public function getPermissionGrants() /** * Sets the permissionGrants + * List all resource-specific permission grants of a user. * * @param ResourceSpecificPermissionGrant[] $val The permissionGrants * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthAppImpact.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthAppImpact.php index 6b41954a5bf..e7fcf5ca4b3 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthAppImpact.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthAppImpact.php @@ -26,7 +26,7 @@ class UserExperienceAnalyticsBatteryHealthAppImpact extends Entity { /** * Gets the activeDevices - * Number of active devices for using that app over a 14-day period. Valid values -2147483648 to 2147483647 + * Number of active devices for using that app over a 14-day period. Valid values 0 to 2147483647 * * @return int|null The activeDevices */ @@ -41,7 +41,7 @@ public function getActiveDevices() /** * Sets the activeDevices - * Number of active devices for using that app over a 14-day period. Valid values -2147483648 to 2147483647 + * Number of active devices for using that app over a 14-day period. Valid values 0 to 2147483647 * * @param int $val The activeDevices * @@ -142,7 +142,7 @@ public function setAppPublisher($val) /** * Gets the batteryUsagePercentage - * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days computed across all devices in the tenant. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days computed across all devices in the tenant. Unit in percentage. Valid values 0 to 1.79769313486232E+308 * * @return float|null The batteryUsagePercentage */ @@ -157,7 +157,7 @@ public function getBatteryUsagePercentage() /** * Sets the batteryUsagePercentage - * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days computed across all devices in the tenant. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days computed across all devices in the tenant. Unit in percentage. Valid values 0 to 1.79769313486232E+308 * * @param float $val The batteryUsagePercentage * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthCapacityDetails.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthCapacityDetails.php index ce4882da72f..1f9257e8821 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthCapacityDetails.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthCapacityDetails.php @@ -26,7 +26,7 @@ class UserExperienceAnalyticsBatteryHealthCapacityDetails extends Entity { /** * Gets the activeDevices - * Number of active devices within the tenant. Valid values -2147483648 to 2147483647 + * Number of active devices within the tenant. Valid values 0 to 2147483647 * * @return int|null The activeDevices */ @@ -41,7 +41,7 @@ public function getActiveDevices() /** * Sets the activeDevices - * Number of active devices within the tenant. Valid values -2147483648 to 2147483647 + * Number of active devices within the tenant. Valid values 0 to 2147483647 * * @param int $val The activeDevices * @@ -55,7 +55,7 @@ public function setActiveDevices($val) /** * Gets the batteryCapacityFair - * Number of devices whose battery maximum capacity is greater than 50% but lesser than 80%. Valid values -2147483648 to 2147483647 + * Number of devices whose battery maximum capacity is greater than 50% but lesser than 80%. Valid values 0 to 2147483647 * * @return int|null The batteryCapacityFair */ @@ -70,7 +70,7 @@ public function getBatteryCapacityFair() /** * Sets the batteryCapacityFair - * Number of devices whose battery maximum capacity is greater than 50% but lesser than 80%. Valid values -2147483648 to 2147483647 + * Number of devices whose battery maximum capacity is greater than 50% but lesser than 80%. Valid values 0 to 2147483647 * * @param int $val The batteryCapacityFair * @@ -84,7 +84,7 @@ public function setBatteryCapacityFair($val) /** * Gets the batteryCapacityGood - * Number of devices whose battery maximum capacity is greater than 80%. Valid values -2147483648 to 2147483647 + * Number of devices whose battery maximum capacity is greater than 80%. Valid values 0 to 2147483647 * * @return int|null The batteryCapacityGood */ @@ -99,7 +99,7 @@ public function getBatteryCapacityGood() /** * Sets the batteryCapacityGood - * Number of devices whose battery maximum capacity is greater than 80%. Valid values -2147483648 to 2147483647 + * Number of devices whose battery maximum capacity is greater than 80%. Valid values 0 to 2147483647 * * @param int $val The batteryCapacityGood * @@ -113,7 +113,7 @@ public function setBatteryCapacityGood($val) /** * Gets the batteryCapacityPoor - * Number of devices whose battery maximum capacity is lesser than 50%. Valid values -2147483648 to 2147483647 + * Number of devices whose battery maximum capacity is lesser than 50%. Valid values 0 to 2147483647 * * @return int|null The batteryCapacityPoor */ @@ -128,7 +128,7 @@ public function getBatteryCapacityPoor() /** * Sets the batteryCapacityPoor - * Number of devices whose battery maximum capacity is lesser than 50%. Valid values -2147483648 to 2147483647 + * Number of devices whose battery maximum capacity is lesser than 50%. Valid values 0 to 2147483647 * * @param int $val The batteryCapacityPoor * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceAppImpact.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceAppImpact.php index 212cff83473..aa67fc73574 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceAppImpact.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceAppImpact.php @@ -113,7 +113,7 @@ public function setAppPublisher($val) /** * Gets the batteryUsagePercentage - * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days. Unit in percentage. Valid values 0 to 1.79769313486232E+308 * * @return float|null The batteryUsagePercentage */ @@ -128,7 +128,7 @@ public function getBatteryUsagePercentage() /** * Sets the batteryUsagePercentage - * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days. Unit in percentage. Valid values 0 to 1.79769313486232E+308 * * @param float $val The batteryUsagePercentage * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php index c495f68146e..0c10e50dce1 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php @@ -26,7 +26,7 @@ class UserExperienceAnalyticsBatteryHealthDevicePerformance extends Entity { /** * Gets the batteryAgeInDays - * Estimated battery age. Unit in days. Valid values -2147483648 to 2147483647 + * Estimated battery age. Unit in days. Valid values 0 to 2147483647 * * @return int|null The batteryAgeInDays */ @@ -41,7 +41,7 @@ public function getBatteryAgeInDays() /** * Sets the batteryAgeInDays - * Estimated battery age. Unit in days. Valid values -2147483648 to 2147483647 + * Estimated battery age. Unit in days. Valid values 0 to 2147483647 * * @param int $val The batteryAgeInDays * @@ -84,7 +84,7 @@ public function setDeviceBatteryCount($val) /** * Gets the deviceBatteryHealthScore - * A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647 + * A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values 0 to 2147483647 * * @return int|null The deviceBatteryHealthScore */ @@ -99,7 +99,7 @@ public function getDeviceBatteryHealthScore() /** * Sets the deviceBatteryHealthScore - * A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647 + * A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values 0 to 2147483647 * * @param int $val The deviceBatteryHealthScore * @@ -171,7 +171,7 @@ public function setDeviceName($val) /** * Gets the estimatedRuntimeInMinutes - * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values 0 to 2147483647 * * @return int|null The estimatedRuntimeInMinutes */ @@ -186,7 +186,7 @@ public function getEstimatedRuntimeInMinutes() /** * Sets the estimatedRuntimeInMinutes - * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The estimatedRuntimeInMinutes * @@ -291,7 +291,7 @@ public function setManufacturer($val) /** * Gets the maxCapacityPercentage - * Ratio of current capacity and design capacity of the battery with the lowest capacity. Unit in percentage and values range from 0-100. Valid values -2147483648 to 2147483647 + * Ratio of current capacity and design capacity of the battery with the lowest capacity. Unit in percentage and values range from 0-100. Valid values 0 to 2147483647 * * @return int|null The maxCapacityPercentage */ @@ -306,7 +306,7 @@ public function getMaxCapacityPercentage() /** * Sets the maxCapacityPercentage - * Ratio of current capacity and design capacity of the battery with the lowest capacity. Unit in percentage and values range from 0-100. Valid values -2147483648 to 2147483647 + * Ratio of current capacity and design capacity of the battery with the lowest capacity. Unit in percentage and values range from 0-100. Valid values 0 to 2147483647 * * @param int $val The maxCapacityPercentage * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory.php index b4a765481db..9f2a8246851 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory.php @@ -55,7 +55,7 @@ public function setDeviceId($val) /** * Gets the estimatedRuntimeInMinutes - * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values 0 to 2147483647 * * @return int|null The estimatedRuntimeInMinutes */ @@ -70,7 +70,7 @@ public function getEstimatedRuntimeInMinutes() /** * Sets the estimatedRuntimeInMinutes - * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The estimatedRuntimeInMinutes * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php index 592ac7a5033..75568edcef0 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php @@ -26,7 +26,7 @@ class UserExperienceAnalyticsBatteryHealthModelPerformance extends Entity { /** * Gets the activeDevices - * Number of active devices for that model. Valid values -2147483648 to 2147483647 + * Number of active devices for that model. Valid values 0 to 2147483647 * * @return int|null The activeDevices */ @@ -41,7 +41,7 @@ public function getActiveDevices() /** * Sets the activeDevices - * Number of active devices for that model. Valid values -2147483648 to 2147483647 + * Number of active devices for that model. Valid values 0 to 2147483647 * * @param int $val The activeDevices * @@ -55,7 +55,7 @@ public function setActiveDevices($val) /** * Gets the averageBatteryAgeInDays - * The mean of the battery age for all devices of a given model in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * The mean of the battery age for all devices of a given model in a tenant. Unit in days. Valid values 0 to 2147483647 * * @return int|null The averageBatteryAgeInDays */ @@ -70,7 +70,7 @@ public function getAverageBatteryAgeInDays() /** * Sets the averageBatteryAgeInDays - * The mean of the battery age for all devices of a given model in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * The mean of the battery age for all devices of a given model in a tenant. Unit in days. Valid values 0 to 2147483647 * * @param int $val The averageBatteryAgeInDays * @@ -84,7 +84,7 @@ public function setAverageBatteryAgeInDays($val) /** * Gets the averageEstimatedRuntimeInMinutes - * The mean of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values -2147483648 to 2147483647 + * The mean of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values 0 to 2147483647 * * @return int|null The averageEstimatedRuntimeInMinutes */ @@ -99,7 +99,7 @@ public function getAverageEstimatedRuntimeInMinutes() /** * Sets the averageEstimatedRuntimeInMinutes - * The mean of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values -2147483648 to 2147483647 + * The mean of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The averageEstimatedRuntimeInMinutes * @@ -113,7 +113,7 @@ public function setAverageEstimatedRuntimeInMinutes($val) /** * Gets the averageMaxCapacityPercentage - * The mean of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * The mean of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @return int|null The averageMaxCapacityPercentage */ @@ -128,7 +128,7 @@ public function getAverageMaxCapacityPercentage() /** * Sets the averageMaxCapacityPercentage - * The mean of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * The mean of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @param int $val The averageMaxCapacityPercentage * @@ -316,7 +316,7 @@ public function setModel($val) /** * Gets the modelBatteryHealthScore - * A weighted average of a model’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647 + * A weighted average of a model’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values 0 to 2147483647 * * @return int|null The modelBatteryHealthScore */ @@ -331,7 +331,7 @@ public function getModelBatteryHealthScore() /** * Sets the modelBatteryHealthScore - * A weighted average of a model’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647 + * A weighted average of a model’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values 0 to 2147483647 * * @param int $val The modelBatteryHealthScore * @@ -345,7 +345,7 @@ public function setModelBatteryHealthScore($val) /** * Gets the modelHealthStatus - * The overall battery health status of a given model in a tenant. + * The overall battery health status of a given model in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @return UserExperienceAnalyticsHealthState|null The modelHealthStatus */ @@ -364,7 +364,7 @@ public function getModelHealthStatus() /** * Sets the modelHealthStatus - * The overall battery health status of a given model in a tenant. + * The overall battery health status of a given model in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @param UserExperienceAnalyticsHealthState $val The modelHealthStatus * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php index 2133a4418d6..e7cb96eb20e 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php @@ -26,7 +26,7 @@ class UserExperienceAnalyticsBatteryHealthOsPerformance extends Entity { /** * Gets the activeDevices - * Number of active devices for that os version. Valid values -2147483648 to 2147483647 + * Number of active devices for that os version. Valid values 0 to 2147483647 * * @return int|null The activeDevices */ @@ -41,7 +41,7 @@ public function getActiveDevices() /** * Sets the activeDevices - * Number of active devices for that os version. Valid values -2147483648 to 2147483647 + * Number of active devices for that os version. Valid values 0 to 2147483647 * * @param int $val The activeDevices * @@ -55,7 +55,7 @@ public function setActiveDevices($val) /** * Gets the averageBatteryAgeInDays - * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values 0 to 2147483647 * * @return int|null The averageBatteryAgeInDays */ @@ -70,7 +70,7 @@ public function getAverageBatteryAgeInDays() /** * Sets the averageBatteryAgeInDays - * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values 0 to 2147483647 * * @param int $val The averageBatteryAgeInDays * @@ -84,7 +84,7 @@ public function setAverageBatteryAgeInDays($val) /** * Gets the averageEstimatedRuntimeInMinutes - * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647 + * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 * * @return int|null The averageEstimatedRuntimeInMinutes */ @@ -99,7 +99,7 @@ public function getAverageEstimatedRuntimeInMinutes() /** * Sets the averageEstimatedRuntimeInMinutes - * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647 + * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The averageEstimatedRuntimeInMinutes * @@ -113,7 +113,7 @@ public function setAverageEstimatedRuntimeInMinutes($val) /** * Gets the averageMaxCapacityPercentage - * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @return int|null The averageMaxCapacityPercentage */ @@ -128,7 +128,7 @@ public function getAverageMaxCapacityPercentage() /** * Sets the averageMaxCapacityPercentage - * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @param int $val The averageMaxCapacityPercentage * @@ -316,7 +316,7 @@ public function setOsBuildNumber($val) /** * Gets the osHealthStatus - * The overall battery health status of a given os version in a tenant. + * The overall battery health status of a given os version in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @return UserExperienceAnalyticsHealthState|null The osHealthStatus */ @@ -335,7 +335,7 @@ public function getOsHealthStatus() /** * Sets the osHealthStatus - * The overall battery health status of a given os version in a tenant. + * The overall battery health status of a given os version in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @param UserExperienceAnalyticsHealthState $val The osHealthStatus * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthRuntimeDetails.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthRuntimeDetails.php index 0f4b0f446f9..b64906ee101 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthRuntimeDetails.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthRuntimeDetails.php @@ -26,7 +26,7 @@ class UserExperienceAnalyticsBatteryHealthRuntimeDetails extends Entity { /** * Gets the activeDevices - * Number of active devices within the tenant. Valid values -2147483648 to 2147483647 + * Number of active devices within the tenant. Valid values 0 to 2147483647 * * @return int|null The activeDevices */ @@ -41,7 +41,7 @@ public function getActiveDevices() /** * Sets the activeDevices - * Number of active devices within the tenant. Valid values -2147483648 to 2147483647 + * Number of active devices within the tenant. Valid values 0 to 2147483647 * * @param int $val The activeDevices * @@ -55,7 +55,7 @@ public function setActiveDevices($val) /** * Gets the batteryRuntimeFair - * Number of devices whose active runtime is greater than 3 hours but lesser than 5 hours. Valid values -2147483648 to 2147483647 + * Number of devices whose active runtime is greater than 3 hours but lesser than 5 hours. Valid values 0 to 2147483647 * * @return int|null The batteryRuntimeFair */ @@ -70,7 +70,7 @@ public function getBatteryRuntimeFair() /** * Sets the batteryRuntimeFair - * Number of devices whose active runtime is greater than 3 hours but lesser than 5 hours. Valid values -2147483648 to 2147483647 + * Number of devices whose active runtime is greater than 3 hours but lesser than 5 hours. Valid values 0 to 2147483647 * * @param int $val The batteryRuntimeFair * @@ -84,7 +84,7 @@ public function setBatteryRuntimeFair($val) /** * Gets the batteryRuntimeGood - * Number of devices whose active runtime is greater than 5 hours. Valid values -2147483648 to 2147483647 + * Number of devices whose active runtime is greater than 5 hours. Valid values 0 to 2147483647 * * @return int|null The batteryRuntimeGood */ @@ -99,7 +99,7 @@ public function getBatteryRuntimeGood() /** * Sets the batteryRuntimeGood - * Number of devices whose active runtime is greater than 5 hours. Valid values -2147483648 to 2147483647 + * Number of devices whose active runtime is greater than 5 hours. Valid values 0 to 2147483647 * * @param int $val The batteryRuntimeGood * @@ -113,7 +113,7 @@ public function setBatteryRuntimeGood($val) /** * Gets the batteryRuntimePoor - * Number of devices whose active runtime is lesser than 3 hours. Valid values -2147483648 to 2147483647 + * Number of devices whose active runtime is lesser than 3 hours. Valid values 0 to 2147483647 * * @return int|null The batteryRuntimePoor */ @@ -128,7 +128,7 @@ public function getBatteryRuntimePoor() /** * Sets the batteryRuntimePoor - * Number of devices whose active runtime is lesser than 3 hours. Valid values -2147483648 to 2147483647 + * Number of devices whose active runtime is lesser than 3 hours. Valid values 0 to 2147483647 * * @param int $val The batteryRuntimePoor * diff --git a/src/Beta/Microsoft/Graph/Model/VirtualAppointment.php b/src/Beta/Microsoft/Graph/Model/VirtualAppointment.php deleted file mode 100644 index e367eb8aaaf..00000000000 --- a/src/Beta/Microsoft/Graph/Model/VirtualAppointment.php +++ /dev/null @@ -1,177 +0,0 @@ -_propDict)) { - return $this->_propDict["appointmentClientJoinWebUrl"]; - } else { - return null; - } - } - - /** - * Sets the appointmentClientJoinWebUrl - * The join web URL of the virtual appointment for clients with waiting room and browser join. Optional. - * - * @param string $val The appointmentClientJoinWebUrl - * - * @return VirtualAppointment - */ - public function setAppointmentClientJoinWebUrl($val) - { - $this->_propDict["appointmentClientJoinWebUrl"] = $val; - return $this; - } - - - /** - * Gets the appointmentClients - * The client information for the virtual appointment, including name, email, and SMS phone number. Optional. - * - * @return array|null The appointmentClients - */ - public function getAppointmentClients() - { - if (array_key_exists("appointmentClients", $this->_propDict)) { - return $this->_propDict["appointmentClients"]; - } else { - return null; - } - } - - /** - * Sets the appointmentClients - * The client information for the virtual appointment, including name, email, and SMS phone number. Optional. - * - * @param VirtualAppointmentUser[] $val The appointmentClients - * - * @return VirtualAppointment - */ - public function setAppointmentClients($val) - { - $this->_propDict["appointmentClients"] = $val; - return $this; - } - - /** - * Gets the externalAppointmentId - * The identifier of the appointment from the scheduling system, associated with the current virtual appointment. Optional. - * - * @return string|null The externalAppointmentId - */ - public function getExternalAppointmentId() - { - if (array_key_exists("externalAppointmentId", $this->_propDict)) { - return $this->_propDict["externalAppointmentId"]; - } else { - return null; - } - } - - /** - * Sets the externalAppointmentId - * The identifier of the appointment from the scheduling system, associated with the current virtual appointment. Optional. - * - * @param string $val The externalAppointmentId - * - * @return VirtualAppointment - */ - public function setExternalAppointmentId($val) - { - $this->_propDict["externalAppointmentId"] = $val; - return $this; - } - - /** - * Gets the externalAppointmentUrl - * The URL of the appointment resource from the scheduling system, associated with the current virtual appointment. Optional. - * - * @return string|null The externalAppointmentUrl - */ - public function getExternalAppointmentUrl() - { - if (array_key_exists("externalAppointmentUrl", $this->_propDict)) { - return $this->_propDict["externalAppointmentUrl"]; - } else { - return null; - } - } - - /** - * Sets the externalAppointmentUrl - * The URL of the appointment resource from the scheduling system, associated with the current virtual appointment. Optional. - * - * @param string $val The externalAppointmentUrl - * - * @return VirtualAppointment - */ - public function setExternalAppointmentUrl($val) - { - $this->_propDict["externalAppointmentUrl"] = $val; - return $this; - } - - /** - * Gets the settings - * The settings associated with the virtual appointment resource. Optional. - * - * @return VirtualAppointmentSettings|null The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\VirtualAppointmentSettings") || is_null($this->_propDict["settings"])) { - return $this->_propDict["settings"]; - } else { - $this->_propDict["settings"] = new VirtualAppointmentSettings($this->_propDict["settings"]); - return $this->_propDict["settings"]; - } - } - return null; - } - - /** - * Sets the settings - * The settings associated with the virtual appointment resource. Optional. - * - * @param VirtualAppointmentSettings $val The settings - * - * @return VirtualAppointment - */ - public function setSettings($val) - { - $this->_propDict["settings"] = $val; - return $this; - } - -} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualAppointmentSettings.php b/src/Beta/Microsoft/Graph/Model/VirtualAppointmentSettings.php deleted file mode 100644 index f28a7db9ac0..00000000000 --- a/src/Beta/Microsoft/Graph/Model/VirtualAppointmentSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_propDict)) { - return $this->_propDict["allowClientToJoinUsingBrowser"]; - } else { - return null; - } - } - - /** - * Sets the allowClientToJoinUsingBrowser - * Indicates whether the client can use the browser to join a virtual appointment. If set to false, the client can only use Microsoft Teams to join. Optional. - * - * @param bool $val The value of the allowClientToJoinUsingBrowser - * - * @return VirtualAppointmentSettings - */ - public function setAllowClientToJoinUsingBrowser($val) - { - $this->_propDict["allowClientToJoinUsingBrowser"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualAppointmentUser.php b/src/Beta/Microsoft/Graph/Model/VirtualAppointmentUser.php deleted file mode 100644 index 6ef1d813125..00000000000 --- a/src/Beta/Microsoft/Graph/Model/VirtualAppointmentUser.php +++ /dev/null @@ -1,110 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * The display name of the user who participates in a virtual appointment. Optional. - * - * @param string $val The value of the displayName - * - * @return VirtualAppointmentUser - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - /** - * Gets the emailAddress - * The email address of the user who participates in a virtual appointment. Optional. - * - * @return string|null The emailAddress - */ - public function getEmailAddress() - { - if (array_key_exists("emailAddress", $this->_propDict)) { - return $this->_propDict["emailAddress"]; - } else { - return null; - } - } - - /** - * Sets the emailAddress - * The email address of the user who participates in a virtual appointment. Optional. - * - * @param string $val The value of the emailAddress - * - * @return VirtualAppointmentUser - */ - public function setEmailAddress($val) - { - $this->_propDict["emailAddress"] = $val; - return $this; - } - /** - * Gets the smsCapablePhoneNumber - * The phone number for sending SMS texts for the user who participates in a virtual appointment. Optional. - * - * @return string|null The smsCapablePhoneNumber - */ - public function getSmsCapablePhoneNumber() - { - if (array_key_exists("smsCapablePhoneNumber", $this->_propDict)) { - return $this->_propDict["smsCapablePhoneNumber"]; - } else { - return null; - } - } - - /** - * Sets the smsCapablePhoneNumber - * The phone number for sending SMS texts for the user who participates in a virtual appointment. Optional. - * - * @param string $val The value of the smsCapablePhoneNumber - * - * @return VirtualAppointmentUser - */ - public function setSmsCapablePhoneNumber($val) - { - $this->_propDict["smsCapablePhoneNumber"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php deleted file mode 100644 index 02c81346577..00000000000 --- a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php +++ /dev/null @@ -1,272 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["cancelationDateTime"], "\DateTime") || is_null($this->_propDict["cancelationDateTime"])) { - return $this->_propDict["cancelationDateTime"]; - } else { - $this->_propDict["cancelationDateTime"] = new \DateTime($this->_propDict["cancelationDateTime"]); - return $this->_propDict["cancelationDateTime"]; - } - } - return null; - } - - /** - * Sets the cancelationDateTime - * Time in UTC when the registrant cancels their registration for the virtual event. Only appears when applicable. - * - * @param \DateTime $val The cancelationDateTime - * - * @return VirtualEventRegistrant - */ - public function setCancelationDateTime($val) - { - $this->_propDict["cancelationDateTime"] = $val; - return $this; - } - - /** - * Gets the email - * Email address of the registrant. - * - * @return string|null The email - */ - public function getEmail() - { - if (array_key_exists("email", $this->_propDict)) { - return $this->_propDict["email"]; - } else { - return null; - } - } - - /** - * Sets the email - * Email address of the registrant. - * - * @param string $val The email - * - * @return VirtualEventRegistrant - */ - public function setEmail($val) - { - $this->_propDict["email"] = $val; - return $this; - } - - /** - * Gets the firstName - * First name of the registrant. - * - * @return string|null The firstName - */ - public function getFirstName() - { - if (array_key_exists("firstName", $this->_propDict)) { - return $this->_propDict["firstName"]; - } else { - return null; - } - } - - /** - * Sets the firstName - * First name of the registrant. - * - * @param string $val The firstName - * - * @return VirtualEventRegistrant - */ - public function setFirstName($val) - { - $this->_propDict["firstName"] = $val; - return $this; - } - - /** - * Gets the lastName - * Last name of the registrant. - * - * @return string|null The lastName - */ - public function getLastName() - { - if (array_key_exists("lastName", $this->_propDict)) { - return $this->_propDict["lastName"]; - } else { - return null; - } - } - - /** - * Sets the lastName - * Last name of the registrant. - * - * @param string $val The lastName - * - * @return VirtualEventRegistrant - */ - public function setLastName($val) - { - $this->_propDict["lastName"] = $val; - return $this; - } - - /** - * Gets the registrationDateTime - * Time in UTC when the registrant registers for the virtual event. - * - * @return \DateTime|null The registrationDateTime - */ - public function getRegistrationDateTime() - { - if (array_key_exists("registrationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { - return $this->_propDict["registrationDateTime"]; - } else { - $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); - return $this->_propDict["registrationDateTime"]; - } - } - return null; - } - - /** - * Sets the registrationDateTime - * Time in UTC when the registrant registers for the virtual event. - * - * @param \DateTime $val The registrationDateTime - * - * @return VirtualEventRegistrant - */ - public function setRegistrationDateTime($val) - { - $this->_propDict["registrationDateTime"] = $val; - return $this; - } - - - /** - * Gets the registrationQuestionAnswers - * The registrant's answer to the registration questions. - * - * @return array|null The registrationQuestionAnswers - */ - public function getRegistrationQuestionAnswers() - { - if (array_key_exists("registrationQuestionAnswers", $this->_propDict)) { - return $this->_propDict["registrationQuestionAnswers"]; - } else { - return null; - } - } - - /** - * Sets the registrationQuestionAnswers - * The registrant's answer to the registration questions. - * - * @param VirtualEventRegistrationQuestionAnswer[] $val The registrationQuestionAnswers - * - * @return VirtualEventRegistrant - */ - public function setRegistrationQuestionAnswers($val) - { - $this->_propDict["registrationQuestionAnswers"] = $val; - return $this; - } - - /** - * Gets the status - * Registration status of the registrant. Read-only. - * - * @return VirtualEventAttendeeRegistrationStatus|null The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\VirtualEventAttendeeRegistrationStatus") || is_null($this->_propDict["status"])) { - return $this->_propDict["status"]; - } else { - $this->_propDict["status"] = new VirtualEventAttendeeRegistrationStatus($this->_propDict["status"]); - return $this->_propDict["status"]; - } - } - return null; - } - - /** - * Sets the status - * Registration status of the registrant. Read-only. - * - * @param VirtualEventAttendeeRegistrationStatus $val The status - * - * @return VirtualEventRegistrant - */ - public function setStatus($val) - { - $this->_propDict["status"] = $val; - return $this; - } - - /** - * Gets the userId - * The registrant's AAD user ID. Only appears when the registrant is registered in AAD. - * - * @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 registrant's AAD user ID. Only appears when the registrant is registered in AAD. - * - * @param string $val The userId - * - * @return VirtualEventRegistrant - */ - public function setUserId($val) - { - $this->_propDict["userId"] = $val; - return $this; - } - -} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php index 40a2b186c46..5852b4e328a 100644 --- a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php @@ -25,120 +25,259 @@ class VirtualEventRegistration extends Entity { /** - * Gets the capacity - * Total capacity of the virtual event. + * Gets the cancelationDateTime * - * @return int|null The capacity + * @return \DateTime|null The cancelationDateTime */ - public function getCapacity() + public function getCancelationDateTime() { - if (array_key_exists("capacity", $this->_propDict)) { - return $this->_propDict["capacity"]; + if (array_key_exists("cancelationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["cancelationDateTime"], "\DateTime") || is_null($this->_propDict["cancelationDateTime"])) { + return $this->_propDict["cancelationDateTime"]; + } else { + $this->_propDict["cancelationDateTime"] = new \DateTime($this->_propDict["cancelationDateTime"]); + return $this->_propDict["cancelationDateTime"]; + } + } + return null; + } + + /** + * Sets the cancelationDateTime + * + * @param \DateTime $val The cancelationDateTime + * + * @return VirtualEventRegistration + */ + public function setCancelationDateTime($val) + { + $this->_propDict["cancelationDateTime"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return VirtualEventRegistration + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the firstName + * + * @return string|null The firstName + */ + public function getFirstName() + { + if (array_key_exists("firstName", $this->_propDict)) { + return $this->_propDict["firstName"]; } else { return null; } } /** - * Sets the capacity - * Total capacity of the virtual event. + * Sets the firstName * - * @param int $val The capacity + * @param string $val The firstName * * @return VirtualEventRegistration */ - public function setCapacity($val) + public function setFirstName($val) { - $this->_propDict["capacity"] = intval($val); + $this->_propDict["firstName"] = $val; return $this; } /** - * Gets the registrationWebUrl - * Registration URL of the virtual event. + * Gets the lastName * - * @return string|null The registrationWebUrl + * @return string|null The lastName */ - public function getRegistrationWebUrl() + public function getLastName() { - if (array_key_exists("registrationWebUrl", $this->_propDict)) { - return $this->_propDict["registrationWebUrl"]; + if (array_key_exists("lastName", $this->_propDict)) { + return $this->_propDict["lastName"]; } else { return null; } } /** - * Sets the registrationWebUrl - * Registration URL of the virtual event. + * Sets the lastName + * + * @param string $val The lastName + * + * @return VirtualEventRegistration + */ + public function setLastName($val) + { + $this->_propDict["lastName"] = $val; + return $this; + } + + /** + * Gets the registrationDateTime + * + * @return \DateTime|null The registrationDateTime + */ + public function getRegistrationDateTime() + { + if (array_key_exists("registrationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { + return $this->_propDict["registrationDateTime"]; + } else { + $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); + return $this->_propDict["registrationDateTime"]; + } + } + return null; + } + + /** + * Sets the registrationDateTime * - * @param string $val The registrationWebUrl + * @param \DateTime $val The registrationDateTime * * @return VirtualEventRegistration */ - public function setRegistrationWebUrl($val) + public function setRegistrationDateTime($val) { - $this->_propDict["registrationWebUrl"] = $val; + $this->_propDict["registrationDateTime"] = $val; return $this; } /** - * Gets the questions - * Registration questions. + * Gets the registrationQuestionAnswers * - * @return array|null The questions + * @return array|null The registrationQuestionAnswers */ - public function getQuestions() + public function getRegistrationQuestionAnswers() + { + if (array_key_exists("registrationQuestionAnswers", $this->_propDict)) { + return $this->_propDict["registrationQuestionAnswers"]; + } else { + return null; + } + } + + /** + * Sets the registrationQuestionAnswers + * + * @param VirtualEventRegistrationQuestionAnswer[] $val The registrationQuestionAnswers + * + * @return VirtualEventRegistration + */ + public function setRegistrationQuestionAnswers($val) + { + $this->_propDict["registrationQuestionAnswers"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return VirtualEventAttendeeRegistrationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\VirtualEventAttendeeRegistrationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new VirtualEventAttendeeRegistrationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param VirtualEventAttendeeRegistrationStatus $val The status + * + * @return VirtualEventRegistration + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userId + * + * @return string|null The userId + */ + public function getUserId() { - if (array_key_exists("questions", $this->_propDict)) { - return $this->_propDict["questions"]; + if (array_key_exists("userId", $this->_propDict)) { + return $this->_propDict["userId"]; } else { return null; } } /** - * Sets the questions - * Registration questions. + * Sets the userId * - * @param VirtualEventRegistrationQuestion[] $val The questions + * @param string $val The userId * * @return VirtualEventRegistration */ - public function setQuestions($val) + public function setUserId($val) { - $this->_propDict["questions"] = $val; + $this->_propDict["userId"] = $val; return $this; } /** - * Gets the registrants - * Information of attendees who have registered for the virtual event. + * Gets the sessions * - * @return array|null The registrants + * @return array|null The sessions */ - public function getRegistrants() + public function getSessions() { - if (array_key_exists("registrants", $this->_propDict)) { - return $this->_propDict["registrants"]; + if (array_key_exists("sessions", $this->_propDict)) { + return $this->_propDict["sessions"]; } else { return null; } } /** - * Sets the registrants - * Information of attendees who have registered for the virtual event. + * Sets the sessions * - * @param VirtualEventRegistrant[] $val The registrants + * @param VirtualEventSession[] $val The sessions * * @return VirtualEventRegistration */ - public function setRegistrants($val) + public function setSessions($val) { - $this->_propDict["registrants"] = $val; + $this->_propDict["sessions"] = $val; return $this; } diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationConfiguration.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationConfiguration.php new file mode 100644 index 00000000000..c571ff44fd6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationConfiguration.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["capacity"]; + } else { + return null; + } + } + + /** + * Sets the capacity + * + * @param int $val The capacity + * + * @return VirtualEventRegistrationConfiguration + */ + public function setCapacity($val) + { + $this->_propDict["capacity"] = intval($val); + return $this; + } + + /** + * Gets the registrationWebUrl + * + * @return string|null The registrationWebUrl + */ + public function getRegistrationWebUrl() + { + if (array_key_exists("registrationWebUrl", $this->_propDict)) { + return $this->_propDict["registrationWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the registrationWebUrl + * + * @param string $val The registrationWebUrl + * + * @return VirtualEventRegistrationConfiguration + */ + public function setRegistrationWebUrl($val) + { + $this->_propDict["registrationWebUrl"] = $val; + return $this; + } + + + /** + * Gets the questions + * + * @return array|null The questions + */ + public function getQuestions() + { + if (array_key_exists("questions", $this->_propDict)) { + return $this->_propDict["questions"]; + } else { + return null; + } + } + + /** + * Sets the questions + * + * @param VirtualEventRegistrationQuestion[] $val The questions + * + * @return VirtualEventRegistrationConfiguration + */ + public function setQuestions($val) + { + $this->_propDict["questions"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventSession.php b/src/Beta/Microsoft/Graph/Model/VirtualEventSession.php index b7a0bb7c62b..a92d13020ec 100644 --- a/src/Beta/Microsoft/Graph/Model/VirtualEventSession.php +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventSession.php @@ -24,4 +24,32 @@ */ class VirtualEventSession extends OnlineMeeting { + + /** + * Gets the registrations + * + * @return array|null The registrations + */ + public function getRegistrations() + { + if (array_key_exists("registrations", $this->_propDict)) { + return $this->_propDict["registrations"]; + } else { + return null; + } + } + + /** + * Sets the registrations + * + * @param VirtualEventRegistration[] $val The registrations + * + * @return VirtualEventSession + */ + public function setRegistrations($val) + { + $this->_propDict["registrations"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventWebinar.php b/src/Beta/Microsoft/Graph/Model/VirtualEventWebinar.php index 0a86b880c83..2b4fa1c51f9 100644 --- a/src/Beta/Microsoft/Graph/Model/VirtualEventWebinar.php +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventWebinar.php @@ -88,35 +88,61 @@ public function setCoOrganizers($val) } /** - * Gets the registration - * Registration configuration of the webinar. + * Gets the registrationConfiguration * - * @return VirtualEventRegistration|null The registration + * @return VirtualEventRegistrationConfiguration|null The registrationConfiguration */ - public function getRegistration() + public function getRegistrationConfiguration() { - if (array_key_exists("registration", $this->_propDict)) { - if (is_a($this->_propDict["registration"], "\Beta\Microsoft\Graph\Model\VirtualEventRegistration") || is_null($this->_propDict["registration"])) { - return $this->_propDict["registration"]; + if (array_key_exists("registrationConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["registrationConfiguration"], "\Beta\Microsoft\Graph\Model\VirtualEventRegistrationConfiguration") || is_null($this->_propDict["registrationConfiguration"])) { + return $this->_propDict["registrationConfiguration"]; } else { - $this->_propDict["registration"] = new VirtualEventRegistration($this->_propDict["registration"]); - return $this->_propDict["registration"]; + $this->_propDict["registrationConfiguration"] = new VirtualEventRegistrationConfiguration($this->_propDict["registrationConfiguration"]); + return $this->_propDict["registrationConfiguration"]; } } return null; } /** - * Sets the registration - * Registration configuration of the webinar. + * Sets the registrationConfiguration * - * @param VirtualEventRegistration $val The registration + * @param VirtualEventRegistrationConfiguration $val The registrationConfiguration * * @return VirtualEventWebinar */ - public function setRegistration($val) + public function setRegistrationConfiguration($val) { - $this->_propDict["registration"] = $val; + $this->_propDict["registrationConfiguration"] = $val; + return $this; + } + + + /** + * Gets the registrations + * + * @return array|null The registrations + */ + public function getRegistrations() + { + if (array_key_exists("registrations", $this->_propDict)) { + return $this->_propDict["registrations"]; + } else { + return null; + } + } + + /** + * Sets the registrations + * + * @param VirtualEventRegistration[] $val The registrations + * + * @return VirtualEventWebinar + */ + public function setRegistrations($val) + { + $this->_propDict["registrations"] = $val; return $this; } diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventWebinarRegistrationConfiguration.php b/src/Beta/Microsoft/Graph/Model/VirtualEventWebinarRegistrationConfiguration.php new file mode 100644 index 00000000000..3a9bc627c1d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventWebinarRegistrationConfiguration.php @@ -0,0 +1,81 @@ +_propDict)) { + return $this->_propDict["isManualApprovalEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isManualApprovalEnabled + * + * @param bool $val The isManualApprovalEnabled + * + * @return VirtualEventWebinarRegistrationConfiguration + */ + public function setIsManualApprovalEnabled($val) + { + $this->_propDict["isManualApprovalEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the isWaitlistEnabled + * + * @return bool|null The isWaitlistEnabled + */ + public function getIsWaitlistEnabled() + { + if (array_key_exists("isWaitlistEnabled", $this->_propDict)) { + return $this->_propDict["isWaitlistEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isWaitlistEnabled + * + * @param bool $val The isWaitlistEnabled + * + * @return VirtualEventWebinarRegistrationConfiguration + */ + public function setIsWaitlistEnabled($val) + { + $this->_propDict["isWaitlistEnabled"] = boolval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php index 1fc423c6554..57fb305d4eb 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php @@ -26,7 +26,7 @@ class WindowsUniversalAppX extends MobileLobApp { /** * Gets the applicableArchitectures - * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral; default value is none. Possible values are: none, x86, x64, arm, neutral, arm64. * * @return WindowsArchitecture|null The applicableArchitectures */ @@ -45,7 +45,7 @@ public function getApplicableArchitectures() /** * Sets the applicableArchitectures - * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral; default value is none. Possible values are: none, x86, x64, arm, neutral, arm64. * * @param WindowsArchitecture $val The applicableArchitectures * @@ -59,7 +59,7 @@ public function setApplicableArchitectures($val) /** * Gets the applicableDeviceTypes - * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. + * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team; default value is none. Possible values are: none, desktop, mobile, holographic, team, unknownFutureValue. * * @return WindowsDeviceType|null The applicableDeviceTypes */ @@ -78,7 +78,7 @@ public function getApplicableDeviceTypes() /** * Sets the applicableDeviceTypes - * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. + * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team; default value is none. Possible values are: none, desktop, mobile, holographic, team, unknownFutureValue. * * @param WindowsDeviceType $val The applicableDeviceTypes * @@ -92,7 +92,7 @@ public function setApplicableDeviceTypes($val) /** * Gets the identityName - * The Identity Name. + * The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'Contoso.DemoApp'. * * @return string|null The identityName */ @@ -107,7 +107,7 @@ public function getIdentityName() /** * Sets the identityName - * The Identity Name. + * The Identity Name of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'Contoso.DemoApp'. * * @param string $val The identityName * @@ -121,7 +121,7 @@ public function setIdentityName($val) /** * Gets the identityPublisherHash - * The Identity Publisher Hash. + * The Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'AB82CD0XYZ'. * * @return string|null The identityPublisherHash */ @@ -136,7 +136,7 @@ public function getIdentityPublisherHash() /** * Sets the identityPublisherHash - * The Identity Publisher Hash. + * The Identity Publisher Hash of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'AB82CD0XYZ'. * * @param string $val The identityPublisherHash * @@ -150,7 +150,7 @@ public function setIdentityPublisherHash($val) /** * Gets the identityResourceIdentifier - * The Identity Resource Identifier. + * The Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'TestResourceId'. * * @return string|null The identityResourceIdentifier */ @@ -165,7 +165,7 @@ public function getIdentityResourceIdentifier() /** * Sets the identityResourceIdentifier - * The Identity Resource Identifier. + * The Identity Resource Identifier of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: 'TestResourceId'. * * @param string $val The identityResourceIdentifier * @@ -179,7 +179,7 @@ public function setIdentityResourceIdentifier($val) /** * Gets the identityVersion - * The identity version. + * The Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: '1.0.0.0'. * * @return string|null The identityVersion */ @@ -194,7 +194,7 @@ public function getIdentityVersion() /** * Sets the identityVersion - * The identity version. + * The Identity Version of the app, parsed from the appx file when it is uploaded through the Intune MEM console. For example: '1.0.0.0'. * * @param string $val The identityVersion * @@ -208,7 +208,7 @@ public function setIdentityVersion($val) /** * Gets the isBundle - * Whether or not the app is a bundle. + * Whether or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle. * * @return bool|null The isBundle */ @@ -223,7 +223,7 @@ public function getIsBundle() /** * Sets the isBundle - * Whether or not the app is a bundle. + * Whether or not the app is a bundle. If TRUE, app is a bundle; if FALSE, app is not a bundle. * * @param bool $val The isBundle * @@ -237,7 +237,7 @@ public function setIsBundle($val) /** * Gets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. + * The value for the minimum applicable Windows operating system. * * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem */ @@ -256,7 +256,7 @@ public function getMinimumSupportedOperatingSystem() /** * Sets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. + * The value for the minimum applicable Windows operating system. * * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem * diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/BranchConnectivityConfiguration.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/BranchConnectivityConfiguration.php new file mode 100644 index 00000000000..df147ee2f1d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/BranchConnectivityConfiguration.php @@ -0,0 +1,189 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the BranchConnectivityConfiguration + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the branchId + * + * @return string|null The branchId + */ + public function getBranchId() + { + if (array_key_exists("branchId", $this->_propDict)) { + return $this->_propDict["branchId"]; + } else { + return null; + } + } + + /** + * Sets the branchId + * + * @param string $val The branchId + * + * @return BranchConnectivityConfiguration + */ + public function setBranchId($val) + { + $this->_propDict["branchId"] = $val; + return $this; + } + + /** + * Gets the branchName + * + * @return string|null The branchName + */ + public function getBranchName() + { + if (array_key_exists("branchName", $this->_propDict)) { + return $this->_propDict["branchName"]; + } else { + return null; + } + } + + /** + * Sets the branchName + * + * @param string $val The branchName + * + * @return BranchConnectivityConfiguration + */ + public function setBranchName($val) + { + $this->_propDict["branchName"] = $val; + return $this; + } + + + /** + * Gets the links + * + * @return array|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + return $this->_propDict["links"]; + } else { + return null; + } + } + + /** + * Sets the links + * + * @param ConnectivityConfigurationLink[] $val The links + * + * @return BranchConnectivityConfiguration + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return BranchConnectivityConfiguration + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/BranchSite.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/BranchSite.php index fba541ea8cd..ae38c1a48b0 100644 --- a/src/Beta/Microsoft/Graph/Networkaccess/Model/BranchSite.php +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/BranchSite.php @@ -239,6 +239,37 @@ public function setVersion($val) return $this; } + /** + * Gets the connectivityConfiguration + * + * @return BranchConnectivityConfiguration|null The connectivityConfiguration + */ + public function getConnectivityConfiguration() + { + if (array_key_exists("connectivityConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["connectivityConfiguration"], "\Beta\Microsoft\Graph\Networkaccess\Model\BranchConnectivityConfiguration") || is_null($this->_propDict["connectivityConfiguration"])) { + return $this->_propDict["connectivityConfiguration"]; + } else { + $this->_propDict["connectivityConfiguration"] = new BranchConnectivityConfiguration($this->_propDict["connectivityConfiguration"]); + return $this->_propDict["connectivityConfiguration"]; + } + } + return null; + } + + /** + * Sets the connectivityConfiguration + * + * @param BranchConnectivityConfiguration $val The connectivityConfiguration + * + * @return BranchSite + */ + public function setConnectivityConfiguration($val) + { + $this->_propDict["connectivityConfiguration"] = $val; + return $this; + } + /** * Gets the deviceLinks diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/ConnectivityConfigurationLink.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/ConnectivityConfigurationLink.php new file mode 100644 index 00000000000..70665db46a4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/ConnectivityConfigurationLink.php @@ -0,0 +1,113 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return ConnectivityConfigurationLink + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the localConfigurations + * + * @return array|null The localConfigurations + */ + public function getLocalConfigurations() + { + if (array_key_exists("localConfigurations", $this->_propDict)) { + return $this->_propDict["localConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the localConfigurations + * + * @param LocalConnectivityConfiguration[] $val The localConfigurations + * + * @return ConnectivityConfigurationLink + */ + public function setLocalConfigurations($val) + { + $this->_propDict["localConfigurations"] = $val; + return $this; + } + + /** + * Gets the peerConfiguration + * + * @return PeerConnectivityConfiguration|null The peerConfiguration + */ + public function getPeerConfiguration() + { + if (array_key_exists("peerConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["peerConfiguration"], "\Beta\Microsoft\Graph\Networkaccess\Model\PeerConnectivityConfiguration") || is_null($this->_propDict["peerConfiguration"])) { + return $this->_propDict["peerConfiguration"]; + } else { + $this->_propDict["peerConfiguration"] = new PeerConnectivityConfiguration($this->_propDict["peerConfiguration"]); + return $this->_propDict["peerConfiguration"]; + } + } + return null; + } + + /** + * Sets the peerConfiguration + * + * @param PeerConnectivityConfiguration $val The peerConfiguration + * + * @return ConnectivityConfigurationLink + */ + public function setPeerConfiguration($val) + { + $this->_propDict["peerConfiguration"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/LocalConnectivityConfiguration.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/LocalConnectivityConfiguration.php new file mode 100644 index 00000000000..f5694533fb9 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/LocalConnectivityConfiguration.php @@ -0,0 +1,135 @@ +_propDict)) { + return $this->_propDict["asn"]; + } else { + return null; + } + } + + /** + * Sets the asn + * + * @param int $val The value of the asn + * + * @return LocalConnectivityConfiguration + */ + public function setAsn($val) + { + $this->_propDict["asn"] = $val; + return $this; + } + /** + * Gets the bgpAddress + * + * @return string|null The bgpAddress + */ + public function getBgpAddress() + { + if (array_key_exists("bgpAddress", $this->_propDict)) { + return $this->_propDict["bgpAddress"]; + } else { + return null; + } + } + + /** + * Sets the bgpAddress + * + * @param string $val The value of the bgpAddress + * + * @return LocalConnectivityConfiguration + */ + public function setBgpAddress($val) + { + $this->_propDict["bgpAddress"] = $val; + return $this; + } + /** + * Gets the endpoint + * + * @return string|null The endpoint + */ + public function getEndpoint() + { + if (array_key_exists("endpoint", $this->_propDict)) { + return $this->_propDict["endpoint"]; + } else { + return null; + } + } + + /** + * Sets the endpoint + * + * @param string $val The value of the endpoint + * + * @return LocalConnectivityConfiguration + */ + public function setEndpoint($val) + { + $this->_propDict["endpoint"] = $val; + return $this; + } + + /** + * Gets the region + * + * @return Region|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + if (is_a($this->_propDict["region"], "\Beta\Microsoft\Graph\Networkaccess\Model\Region") || is_null($this->_propDict["region"])) { + return $this->_propDict["region"]; + } else { + $this->_propDict["region"] = new Region($this->_propDict["region"]); + return $this->_propDict["region"]; + } + } + return null; + } + + /** + * Sets the region + * + * @param Region $val The value to assign to the region + * + * @return LocalConnectivityConfiguration The LocalConnectivityConfiguration + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/PeerConnectivityConfiguration.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/PeerConnectivityConfiguration.php new file mode 100644 index 00000000000..c2edd826d58 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/PeerConnectivityConfiguration.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["asn"]; + } else { + return null; + } + } + + /** + * Sets the asn + * + * @param int $val The value of the asn + * + * @return PeerConnectivityConfiguration + */ + public function setAsn($val) + { + $this->_propDict["asn"] = $val; + return $this; + } + /** + * Gets the bgpAddress + * + * @return string|null The bgpAddress + */ + public function getBgpAddress() + { + if (array_key_exists("bgpAddress", $this->_propDict)) { + return $this->_propDict["bgpAddress"]; + } else { + return null; + } + } + + /** + * Sets the bgpAddress + * + * @param string $val The value of the bgpAddress + * + * @return PeerConnectivityConfiguration + */ + public function setBgpAddress($val) + { + $this->_propDict["bgpAddress"] = $val; + return $this; + } + /** + * Gets the endpoint + * + * @return string|null The endpoint + */ + public function getEndpoint() + { + if (array_key_exists("endpoint", $this->_propDict)) { + return $this->_propDict["endpoint"]; + } else { + return null; + } + } + + /** + * Sets the endpoint + * + * @param string $val The value of the endpoint + * + * @return PeerConnectivityConfiguration + */ + public function setEndpoint($val) + { + $this->_propDict["endpoint"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php index 32e91b3727b..4544f50fc66 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php @@ -53,6 +53,64 @@ public function setActorDisplayName($val) return $this; } + /** + * Gets the additionalData + * + * @return Dictionary|null The additionalData + */ + public function getAdditionalData() + { + if (array_key_exists("additionalData", $this->_propDict)) { + if (is_a($this->_propDict["additionalData"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["additionalData"])) { + return $this->_propDict["additionalData"]; + } else { + $this->_propDict["additionalData"] = new Dictionary($this->_propDict["additionalData"]); + return $this->_propDict["additionalData"]; + } + } + return null; + } + + /** + * Sets the additionalData + * + * @param Dictionary $val The additionalData + * + * @return Alert + */ + public function setAdditionalData($val) + { + $this->_propDict["additionalData"] = $val; + return $this; + } + + /** + * Gets the alertPolicyId + * + * @return string|null The alertPolicyId + */ + public function getAlertPolicyId() + { + if (array_key_exists("alertPolicyId", $this->_propDict)) { + return $this->_propDict["alertPolicyId"]; + } else { + return null; + } + } + + /** + * Sets the alertPolicyId + * + * @param string $val The alertPolicyId + * + * @return Alert + */ + public function setAlertPolicyId($val) + { + $this->_propDict["alertPolicyId"] = $val; + return $this; + } + /** * Gets the alertWebUrl * URL for the alert page in the Microsoft 365 Defender portal. diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Incident.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Incident.php index 260e1713a9b..4184788842d 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Incident.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Incident.php @@ -296,6 +296,33 @@ public function setIncidentWebUrl($val) return $this; } + /** + * Gets the lastModifiedBy + * + * @return string|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + return $this->_propDict["lastModifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModifiedBy + * + * @param string $val The lastModifiedBy + * + * @return Incident + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + /** * Gets the lastUpdateDateTime * Time when the incident was last updated. diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php index a282e78883c..03b2cc53f29 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php @@ -439,6 +439,34 @@ public function setVulnerabilities($val) } + /** + * Gets the whoisHistoryRecords + * + * @return array|null The whoisHistoryRecords + */ + public function getWhoisHistoryRecords() + { + if (array_key_exists("whoisHistoryRecords", $this->_propDict)) { + return $this->_propDict["whoisHistoryRecords"]; + } else { + return null; + } + } + + /** + * Sets the whoisHistoryRecords + * + * @param WhoisHistoryRecord[] $val The whoisHistoryRecords + * + * @return ThreatIntelligence + */ + public function setWhoisHistoryRecords($val) + { + $this->_propDict["whoisHistoryRecords"] = $val; + return $this; + } + + /** * Gets the whoisRecords * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisBaseRecord.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisBaseRecord.php new file mode 100644 index 00000000000..b8385c35715 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisBaseRecord.php @@ -0,0 +1,570 @@ +_propDict)) { + if (is_a($this->_propDict["abuse"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["abuse"])) { + return $this->_propDict["abuse"]; + } else { + $this->_propDict["abuse"] = new WhoisContact($this->_propDict["abuse"]); + return $this->_propDict["abuse"]; + } + } + return null; + } + + /** + * Sets the abuse + * + * @param WhoisContact $val The abuse + * + * @return WhoisBaseRecord + */ + public function setAbuse($val) + { + $this->_propDict["abuse"] = $val; + return $this; + } + + /** + * Gets the admin + * + * @return WhoisContact|null The admin + */ + public function getAdmin() + { + if (array_key_exists("admin", $this->_propDict)) { + if (is_a($this->_propDict["admin"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["admin"])) { + return $this->_propDict["admin"]; + } else { + $this->_propDict["admin"] = new WhoisContact($this->_propDict["admin"]); + return $this->_propDict["admin"]; + } + } + return null; + } + + /** + * Sets the admin + * + * @param WhoisContact $val The admin + * + * @return WhoisBaseRecord + */ + public function setAdmin($val) + { + $this->_propDict["admin"] = $val; + return $this; + } + + /** + * Gets the billing + * + * @return WhoisContact|null The billing + */ + public function getBilling() + { + if (array_key_exists("billing", $this->_propDict)) { + if (is_a($this->_propDict["billing"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["billing"])) { + return $this->_propDict["billing"]; + } else { + $this->_propDict["billing"] = new WhoisContact($this->_propDict["billing"]); + return $this->_propDict["billing"]; + } + } + return null; + } + + /** + * Sets the billing + * + * @param WhoisContact $val The billing + * + * @return WhoisBaseRecord + */ + public function setBilling($val) + { + $this->_propDict["billing"] = $val; + return $this; + } + + /** + * Gets the domainStatus + * + * @return string|null The domainStatus + */ + public function getDomainStatus() + { + if (array_key_exists("domainStatus", $this->_propDict)) { + return $this->_propDict["domainStatus"]; + } else { + return null; + } + } + + /** + * Sets the domainStatus + * + * @param string $val The domainStatus + * + * @return WhoisBaseRecord + */ + public function setDomainStatus($val) + { + $this->_propDict["domainStatus"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * + * @param \DateTime $val The expirationDateTime + * + * @return WhoisBaseRecord + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return WhoisBaseRecord + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return WhoisBaseRecord + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return WhoisBaseRecord + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + + /** + * Gets the nameservers + * + * @return array|null The nameservers + */ + public function getNameservers() + { + if (array_key_exists("nameservers", $this->_propDict)) { + return $this->_propDict["nameservers"]; + } else { + return null; + } + } + + /** + * Sets the nameservers + * + * @param WhoisNameserver[] $val The nameservers + * + * @return WhoisBaseRecord + */ + public function setNameservers($val) + { + $this->_propDict["nameservers"] = $val; + return $this; + } + + /** + * Gets the noc + * + * @return WhoisContact|null The noc + */ + public function getNoc() + { + if (array_key_exists("noc", $this->_propDict)) { + if (is_a($this->_propDict["noc"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["noc"])) { + return $this->_propDict["noc"]; + } else { + $this->_propDict["noc"] = new WhoisContact($this->_propDict["noc"]); + return $this->_propDict["noc"]; + } + } + return null; + } + + /** + * Sets the noc + * + * @param WhoisContact $val The noc + * + * @return WhoisBaseRecord + */ + public function setNoc($val) + { + $this->_propDict["noc"] = $val; + return $this; + } + + /** + * Gets the rawWhoisText + * + * @return string|null The rawWhoisText + */ + public function getRawWhoisText() + { + if (array_key_exists("rawWhoisText", $this->_propDict)) { + return $this->_propDict["rawWhoisText"]; + } else { + return null; + } + } + + /** + * Sets the rawWhoisText + * + * @param string $val The rawWhoisText + * + * @return WhoisBaseRecord + */ + public function setRawWhoisText($val) + { + $this->_propDict["rawWhoisText"] = $val; + return $this; + } + + /** + * Gets the registrant + * + * @return WhoisContact|null The registrant + */ + public function getRegistrant() + { + if (array_key_exists("registrant", $this->_propDict)) { + if (is_a($this->_propDict["registrant"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrant"])) { + return $this->_propDict["registrant"]; + } else { + $this->_propDict["registrant"] = new WhoisContact($this->_propDict["registrant"]); + return $this->_propDict["registrant"]; + } + } + return null; + } + + /** + * Sets the registrant + * + * @param WhoisContact $val The registrant + * + * @return WhoisBaseRecord + */ + public function setRegistrant($val) + { + $this->_propDict["registrant"] = $val; + return $this; + } + + /** + * Gets the registrar + * + * @return WhoisContact|null The registrar + */ + public function getRegistrar() + { + if (array_key_exists("registrar", $this->_propDict)) { + if (is_a($this->_propDict["registrar"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrar"])) { + return $this->_propDict["registrar"]; + } else { + $this->_propDict["registrar"] = new WhoisContact($this->_propDict["registrar"]); + return $this->_propDict["registrar"]; + } + } + return null; + } + + /** + * Sets the registrar + * + * @param WhoisContact $val The registrar + * + * @return WhoisBaseRecord + */ + public function setRegistrar($val) + { + $this->_propDict["registrar"] = $val; + return $this; + } + + /** + * Gets the registrationDateTime + * + * @return \DateTime|null The registrationDateTime + */ + public function getRegistrationDateTime() + { + if (array_key_exists("registrationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { + return $this->_propDict["registrationDateTime"]; + } else { + $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); + return $this->_propDict["registrationDateTime"]; + } + } + return null; + } + + /** + * Sets the registrationDateTime + * + * @param \DateTime $val The registrationDateTime + * + * @return WhoisBaseRecord + */ + public function setRegistrationDateTime($val) + { + $this->_propDict["registrationDateTime"] = $val; + return $this; + } + + /** + * Gets the technical + * + * @return WhoisContact|null The technical + */ + public function getTechnical() + { + if (array_key_exists("technical", $this->_propDict)) { + if (is_a($this->_propDict["technical"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["technical"])) { + return $this->_propDict["technical"]; + } else { + $this->_propDict["technical"] = new WhoisContact($this->_propDict["technical"]); + return $this->_propDict["technical"]; + } + } + return null; + } + + /** + * Sets the technical + * + * @param WhoisContact $val The technical + * + * @return WhoisBaseRecord + */ + public function setTechnical($val) + { + $this->_propDict["technical"] = $val; + return $this; + } + + /** + * Gets the whoisServer + * + * @return string|null The whoisServer + */ + public function getWhoisServer() + { + if (array_key_exists("whoisServer", $this->_propDict)) { + return $this->_propDict["whoisServer"]; + } else { + return null; + } + } + + /** + * Sets the whoisServer + * + * @param string $val The whoisServer + * + * @return WhoisBaseRecord + */ + public function setWhoisServer($val) + { + $this->_propDict["whoisServer"] = $val; + return $this; + } + + /** + * Gets the zone + * + * @return WhoisContact|null The zone + */ + public function getZone() + { + if (array_key_exists("zone", $this->_propDict)) { + if (is_a($this->_propDict["zone"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["zone"])) { + return $this->_propDict["zone"]; + } else { + $this->_propDict["zone"] = new WhoisContact($this->_propDict["zone"]); + return $this->_propDict["zone"]; + } + } + return null; + } + + /** + * Sets the zone + * + * @param WhoisContact $val The zone + * + * @return WhoisBaseRecord + */ + public function setZone($val) + { + $this->_propDict["zone"] = $val; + return $this; + } + + /** + * Gets the host + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * + * @param Host $val The host + * + * @return WhoisBaseRecord + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisHistoryRecord.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisHistoryRecord.php new file mode 100644 index 00000000000..719fcfe4856 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisHistoryRecord.php @@ -0,0 +1,27 @@ +_propDict)) { - if (is_a($this->_propDict["abuse"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["abuse"])) { - return $this->_propDict["abuse"]; - } else { - $this->_propDict["abuse"] = new WhoisContact($this->_propDict["abuse"]); - return $this->_propDict["abuse"]; - } - } - return null; - } - - /** - * Sets the abuse - * - * @param WhoisContact $val The abuse - * - * @return WhoisRecord - */ - public function setAbuse($val) - { - $this->_propDict["abuse"] = $val; - return $this; - } - - /** - * Gets the admin - * - * @return WhoisContact|null The admin - */ - public function getAdmin() - { - if (array_key_exists("admin", $this->_propDict)) { - if (is_a($this->_propDict["admin"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["admin"])) { - return $this->_propDict["admin"]; - } else { - $this->_propDict["admin"] = new WhoisContact($this->_propDict["admin"]); - return $this->_propDict["admin"]; - } - } - return null; - } - - /** - * Sets the admin - * - * @param WhoisContact $val The admin - * - * @return WhoisRecord - */ - public function setAdmin($val) - { - $this->_propDict["admin"] = $val; - return $this; - } - - /** - * Gets the billing - * - * @return WhoisContact|null The billing - */ - public function getBilling() - { - if (array_key_exists("billing", $this->_propDict)) { - if (is_a($this->_propDict["billing"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["billing"])) { - return $this->_propDict["billing"]; - } else { - $this->_propDict["billing"] = new WhoisContact($this->_propDict["billing"]); - return $this->_propDict["billing"]; - } - } - return null; - } - - /** - * Sets the billing - * - * @param WhoisContact $val The billing - * - * @return WhoisRecord - */ - public function setBilling($val) - { - $this->_propDict["billing"] = $val; - return $this; - } - - /** - * Gets the domainStatus - * - * @return string|null The domainStatus - */ - public function getDomainStatus() - { - if (array_key_exists("domainStatus", $this->_propDict)) { - return $this->_propDict["domainStatus"]; - } else { - return null; - } - } - - /** - * Sets the domainStatus - * - * @param string $val The domainStatus - * - * @return WhoisRecord - */ - public function setDomainStatus($val) - { - $this->_propDict["domainStatus"] = $val; - return $this; - } - - /** - * Gets the expirationDateTime - * - * @return \DateTime|null The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { - return $this->_propDict["expirationDateTime"]; - } else { - $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); - return $this->_propDict["expirationDateTime"]; - } - } - return null; - } - - /** - * Sets the expirationDateTime - * - * @param \DateTime $val The expirationDateTime - * - * @return WhoisRecord - */ - public function setExpirationDateTime($val) - { - $this->_propDict["expirationDateTime"] = $val; - return $this; - } - - /** - * Gets the firstSeenDateTime - * - * @return \DateTime|null The firstSeenDateTime - */ - public function getFirstSeenDateTime() - { - if (array_key_exists("firstSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { - return $this->_propDict["firstSeenDateTime"]; - } else { - $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); - return $this->_propDict["firstSeenDateTime"]; - } - } - return null; - } - - /** - * Sets the firstSeenDateTime - * - * @param \DateTime $val The firstSeenDateTime - * - * @return WhoisRecord - */ - public function setFirstSeenDateTime($val) - { - $this->_propDict["firstSeenDateTime"] = $val; - return $this; - } - - /** - * Gets the lastSeenDateTime - * - * @return \DateTime|null The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { - return $this->_propDict["lastSeenDateTime"]; - } else { - $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); - return $this->_propDict["lastSeenDateTime"]; - } - } - return null; - } - - /** - * Sets the lastSeenDateTime - * - * @param \DateTime $val The lastSeenDateTime - * - * @return WhoisRecord - */ - public function setLastSeenDateTime($val) - { - $this->_propDict["lastSeenDateTime"] = $val; - return $this; - } - - /** - * Gets the lastUpdateDateTime - * - * @return \DateTime|null The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { - return $this->_propDict["lastUpdateDateTime"]; - } else { - $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); - return $this->_propDict["lastUpdateDateTime"]; - } - } - return null; - } - - /** - * Sets the lastUpdateDateTime - * - * @param \DateTime $val The lastUpdateDateTime - * - * @return WhoisRecord - */ - public function setLastUpdateDateTime($val) - { - $this->_propDict["lastUpdateDateTime"] = $val; - return $this; - } - /** - * Gets the nameservers + * Gets the history * - * @return array|null The nameservers + * @return array|null The history */ - public function getNameservers() - { - if (array_key_exists("nameservers", $this->_propDict)) { - return $this->_propDict["nameservers"]; - } else { - return null; - } - } - - /** - * Sets the nameservers - * - * @param WhoisNameserver[] $val The nameservers - * - * @return WhoisRecord - */ - public function setNameservers($val) - { - $this->_propDict["nameservers"] = $val; - return $this; - } - - /** - * Gets the noc - * - * @return WhoisContact|null The noc - */ - public function getNoc() - { - if (array_key_exists("noc", $this->_propDict)) { - if (is_a($this->_propDict["noc"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["noc"])) { - return $this->_propDict["noc"]; - } else { - $this->_propDict["noc"] = new WhoisContact($this->_propDict["noc"]); - return $this->_propDict["noc"]; - } - } - return null; - } - - /** - * Sets the noc - * - * @param WhoisContact $val The noc - * - * @return WhoisRecord - */ - public function setNoc($val) + public function getHistory() { - $this->_propDict["noc"] = $val; - return $this; - } - - /** - * Gets the rawWhoisText - * - * @return string|null The rawWhoisText - */ - public function getRawWhoisText() - { - if (array_key_exists("rawWhoisText", $this->_propDict)) { - return $this->_propDict["rawWhoisText"]; + if (array_key_exists("history", $this->_propDict)) { + return $this->_propDict["history"]; } else { return null; } } /** - * Sets the rawWhoisText - * - * @param string $val The rawWhoisText - * - * @return WhoisRecord - */ - public function setRawWhoisText($val) - { - $this->_propDict["rawWhoisText"] = $val; - return $this; - } - - /** - * Gets the registrant - * - * @return WhoisContact|null The registrant - */ - public function getRegistrant() - { - if (array_key_exists("registrant", $this->_propDict)) { - if (is_a($this->_propDict["registrant"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrant"])) { - return $this->_propDict["registrant"]; - } else { - $this->_propDict["registrant"] = new WhoisContact($this->_propDict["registrant"]); - return $this->_propDict["registrant"]; - } - } - return null; - } - - /** - * Sets the registrant - * - * @param WhoisContact $val The registrant - * - * @return WhoisRecord - */ - public function setRegistrant($val) - { - $this->_propDict["registrant"] = $val; - return $this; - } - - /** - * Gets the registrar - * - * @return WhoisContact|null The registrar - */ - public function getRegistrar() - { - if (array_key_exists("registrar", $this->_propDict)) { - if (is_a($this->_propDict["registrar"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrar"])) { - return $this->_propDict["registrar"]; - } else { - $this->_propDict["registrar"] = new WhoisContact($this->_propDict["registrar"]); - return $this->_propDict["registrar"]; - } - } - return null; - } - - /** - * Sets the registrar - * - * @param WhoisContact $val The registrar - * - * @return WhoisRecord - */ - public function setRegistrar($val) - { - $this->_propDict["registrar"] = $val; - return $this; - } - - /** - * Gets the registrationDateTime - * - * @return \DateTime|null The registrationDateTime - */ - public function getRegistrationDateTime() - { - if (array_key_exists("registrationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { - return $this->_propDict["registrationDateTime"]; - } else { - $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); - return $this->_propDict["registrationDateTime"]; - } - } - return null; - } - - /** - * Sets the registrationDateTime - * - * @param \DateTime $val The registrationDateTime - * - * @return WhoisRecord - */ - public function setRegistrationDateTime($val) - { - $this->_propDict["registrationDateTime"] = $val; - return $this; - } - - /** - * Gets the technical - * - * @return WhoisContact|null The technical - */ - public function getTechnical() - { - if (array_key_exists("technical", $this->_propDict)) { - if (is_a($this->_propDict["technical"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["technical"])) { - return $this->_propDict["technical"]; - } else { - $this->_propDict["technical"] = new WhoisContact($this->_propDict["technical"]); - return $this->_propDict["technical"]; - } - } - return null; - } - - /** - * Sets the technical - * - * @param WhoisContact $val The technical - * - * @return WhoisRecord - */ - public function setTechnical($val) - { - $this->_propDict["technical"] = $val; - return $this; - } - - /** - * Gets the whoisServer - * - * @return string|null The whoisServer - */ - public function getWhoisServer() - { - if (array_key_exists("whoisServer", $this->_propDict)) { - return $this->_propDict["whoisServer"]; - } else { - return null; - } - } - - /** - * Sets the whoisServer - * - * @param string $val The whoisServer - * - * @return WhoisRecord - */ - public function setWhoisServer($val) - { - $this->_propDict["whoisServer"] = $val; - return $this; - } - - /** - * Gets the zone - * - * @return WhoisContact|null The zone - */ - public function getZone() - { - if (array_key_exists("zone", $this->_propDict)) { - if (is_a($this->_propDict["zone"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["zone"])) { - return $this->_propDict["zone"]; - } else { - $this->_propDict["zone"] = new WhoisContact($this->_propDict["zone"]); - return $this->_propDict["zone"]; - } - } - return null; - } - - /** - * Sets the zone - * - * @param WhoisContact $val The zone - * - * @return WhoisRecord - */ - public function setZone($val) - { - $this->_propDict["zone"] = $val; - return $this; - } - - /** - * Gets the host - * - * @return Host|null The host - */ - public function getHost() - { - if (array_key_exists("host", $this->_propDict)) { - if (is_a($this->_propDict["host"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { - return $this->_propDict["host"]; - } else { - $this->_propDict["host"] = new Host($this->_propDict["host"]); - return $this->_propDict["host"]; - } - } - return null; - } - - /** - * Sets the host + * Sets the history * - * @param Host $val The host + * @param WhoisHistoryRecord[] $val The history * * @return WhoisRecord */ - public function setHost($val) + public function setHistory($val) { - $this->_propDict["host"] = $val; + $this->_propDict["history"] = $val; return $this; } From e5e76dc0715c01cd82a01884ccc4d537e9b8d8ee Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 16 Aug 2023 15:09:43 +0300 Subject: [PATCH 03/10] Remove Kiota version workflows --- .github/workflows/bump-kiota-sdk-version.yml | 36 -------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/bump-kiota-sdk-version.yml diff --git a/.github/workflows/bump-kiota-sdk-version.yml b/.github/workflows/bump-kiota-sdk-version.yml deleted file mode 100644 index 6e94a8cc44d..00000000000 --- a/.github/workflows/bump-kiota-sdk-version.yml +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. - -# This action will bump the SDK version constant when a pull request against feat/kiota-preview is created -# from a branch path spec like kiota/v1.0/pipelinebuild/*. - -name: "bump kiota sdk version" - - -on: - pull_request: - branches: - - feat/kiota-preview - paths: - - 'src/Generated/**' - -defaults: - run: - shell: bash - -jobs: - bump-sdk-version: - if: startsWith(github.head_ref, 'kiota/v1.0/pipelinebuild/') - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Git config user - run: | - git config --global user.email "GraphTooling@service.microsoft.com" - git config --global user.name "Microsoft Graph DevX Tooling" - - name: Run increment script - run: php scripts/BumpPreviewSdkVersion.php - - - name: Commit and push changes if any - run: if git commit -am "Bump SDK version"; then git push origin $GITHUB_HEAD_REF; fi From dc5e95fa6599ebcf836e1c37a93f39967e40c185 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 16 Aug 2023 15:10:11 +0300 Subject: [PATCH 04/10] Fix bump SDK version workflow --- .github/workflows/bump-sdk-version.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bump-sdk-version.yml b/.github/workflows/bump-sdk-version.yml index e61c04331e8..0b4368a4484 100644 --- a/.github/workflows/bump-sdk-version.yml +++ b/.github/workflows/bump-sdk-version.yml @@ -1,16 +1,14 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. -# This action will bump the SDK version constant when a pull request against dev is created -# from a branch path spec like beta/pipelinebuild/* or v1.0/pipelinebuild/*. - name: "bump sdk version" on: - pull_request: + push: branches: - - dev + - "v1.0/pipelinebuild/*" + - "beta/pipelinebuild/*" paths: - 'src/Model/**' - 'src/*/Model/**' @@ -22,7 +20,6 @@ defaults: jobs: bump-sdk-version: - if: startsWith(github.head_ref, 'beta/pipelinebuild/') || startsWith(github.head_ref, 'v1.0/pipelinebuild/') runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -35,4 +32,4 @@ jobs: run: php scripts/BumpStableSdkVersion.php - name: Commit and push changes if any - run: if git commit -am "Bump SDK version"; then git push origin $GITHUB_HEAD_REF; fi + run: if git commit -am "Bump SDK version"; then git push origin $GITHUB_REF; fi From 9df0a6f8b00c2bc3ad65c262f01d29bfd6c49b14 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 16 Aug 2023 15:10:23 +0300 Subject: [PATCH 05/10] Update PR validation workflow --- .github/workflows/pr-validation.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index b2758dca402..c706c286457 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -5,11 +5,9 @@ name: "Validate Pull Request" on: push: - branches: [ main, dev, feat/kiota-preview ] + branches: [ main, dev ] pull_request: - branches: [ main, dev, feat/kiota-preview ] - # Add assigned to defaults as a hack to easily trigger code-gen PRs to run validation - types: [assigned, opened, synchronize, reopened] + branches: [ main, dev ] defaults: run: From d6318291708452efee47ee0f4d1086410f2db94c Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 16 Aug 2023 15:10:53 +0300 Subject: [PATCH 06/10] Remove update-docs workflow since GH actions can no longer create PRs --- .github/workflows/update-docs.yml | 57 ------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 .github/workflows/update-docs.yml diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml deleted file mode 100644 index d8409354255..00000000000 --- a/.github/workflows/update-docs.yml +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. - -name: "Update Docs" - -on: - push: - branches: dev - -defaults: - run: - shell: bash - -jobs: - run-php-documentor: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.ref }} - - - uses: docker://phpdoc/phpdoc:3.0 - with: - config: ./phpdoc.dist.xml - - - name: Create unique docs branch name - run: echo "BRANCH=fix/update-docs/$(date +%s)" >> $GITHUB_ENV - - - name: Create and checkout docs branch - run: git checkout -b ${{ env.BRANCH }} - - - name: Run PHPDocumentor container - run: docker run --name phpDoc --rm -v $(pwd):/data phpdoc/phpdoc:3.0 run - - - name: Config Git user - run: | - git config --global user.email "GraphTooling@service.microsoft.com" - git config --global user.name "Microsoft Graph DevX Tooling" - - - name: Commit changes to docs/ folder (if any) - run: | - if git add . && git commit -m "Update docs/ folder"; then - git push origin ${{ env.BRANCH }} && echo "CREATE_PR=true" >> $GITHUB_ENV - else - echo "CREATE_PR=false" >> $GITHUB_ENV - fi - - - name: Create PR - if: ${{ env.CREATE_PR == 'true' }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MESSAGE_TITLE: Generated docs using PHPDocumentor - MESSAGE_BODY: "This pull request was automatically created by GitHub Action `${{ github.workflow }}`. \n\n The action runs PHPDocumentor against the latest changes merged to `${{ github.ref }}`." - LABELS: generated - run: | - curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1 - bin/hub pull-request -b dev -m "$MESSAGE_TITLE" -m "$MESSAGE_BODY" -l "$LABELS" From 1f8f848af1c6692302d531539797644739060398 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 16 Aug 2023 15:11:43 +0300 Subject: [PATCH 07/10] Add create-release workflow --- .github/workflows/create-release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/create-release.yml diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 00000000000..700496e2d47 --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,24 @@ +name: "create release" + +on: + push: + tags: + '*' + +defaults: + run: + shell: bash + +jobs: + create-release: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v3 + - name: Create Release + uses: ncipollo/release-action@v1 + with: + generateReleaseNotes: true + prerelease: ${{ contains(github.ref_name, 'RC') }} + skipIfReleaseExists: true From 7af4878a0aaa07c2c4d5bee5277a3136a8ded4e7 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 22 Aug 2023 10:12:24 +0000 Subject: [PATCH 08/10] Update generated files with build 123456 --- .../Graph/Model/AuthenticationBehaviors.php | 6 +- .../Microsoft/Graph/Model/CallRecording.php | 87 ++++++++ .../Microsoft/Graph/Model/CallTranscript.php | 87 ++++++++ .../Model/ConditionalAccessConditions.php | 2 + .../Graph/Model/ConditionalAccessRule.php | 3 + .../ConditionalAccessSessionControls.php | 2 + ...elegatedAdminRelationshipRequestAction.php | 1 + ...ntConfigurationChoiceSettingDefinition.php | 8 +- ...ementConfigurationSettingApplicability.php | 8 +- ...rationSettingGroupCollectionDefinition.php | 8 +- ...entConfigurationSettingGroupDefinition.php | 4 +- ...ationSimpleSettingCollectionDefinition.php | 8 +- ...ntConfigurationSimpleSettingDefinition.php | 16 +- ...figurationStringSettingValueDefinition.php | 12 +- .../Graph/Model/DeviceRestrictionAction.php | 114 ---------- .../Microsoft/Graph/Model/DlpActionInfo.php | 31 --- src/Beta/Microsoft/Graph/Model/Group.php | 4 +- src/Beta/Microsoft/Graph/Model/Identity.php | 8 +- .../Microsoft/Graph/Model/KeyValuePair.php | 8 +- .../Microsoft/Graph/Model/ManagedIdentity.php | 56 +++++ .../Graph/Model/OriginalTransferMethods.php | 36 ++++ .../ResellerDelegatedAdminRelationship.php | 81 +++++++ .../Graph/Model/ServicePrincipal.php | 4 +- src/Beta/Microsoft/Graph/Model/SignIn.php | 97 ++++++++- ...lpAction.php => TokenProtectionStatus.php} | 15 +- .../Model/UnifiedRoleManagementAlert.php | 4 +- src/Beta/Microsoft/Graph/Model/User.php | 4 +- .../WindowsAppXAppAssignmentSettings.php | 4 +- .../Graph/SecurityNamespace/Model/Alert.php | 4 +- .../Model/BuildVersionDetails.php | 130 +++++++++++ .../WindowsUpdates/Model/CveInformation.php | 161 ++++++++++++++ .../WindowsUpdates/Model/CveSeverityLevel.php | 36 ++++ .../Model/FeatureUpdateCatalogEntry.php | 27 +++ .../Model/KnowledgeBaseArticle.php | 54 +++++ .../WindowsUpdates/Model/ProductRevision.php | 201 ++++++++++++++++++ .../Model/QualityUpdateCadence.php | 35 +++ .../Model/QualityUpdateCatalogEntry.php | 144 +++++++++++++ .../QualityUpdateCveSeverityInformation.php | 114 ++++++++++ 38 files changed, 1416 insertions(+), 208 deletions(-) delete mode 100644 src/Beta/Microsoft/Graph/Model/DeviceRestrictionAction.php create mode 100644 src/Beta/Microsoft/Graph/Model/OriginalTransferMethods.php create mode 100644 src/Beta/Microsoft/Graph/Model/ResellerDelegatedAdminRelationship.php rename src/Beta/Microsoft/Graph/Model/{DlpAction.php => TokenProtectionStatus.php} (72%) create mode 100644 src/Beta/Microsoft/Graph/WindowsUpdates/Model/BuildVersionDetails.php create mode 100644 src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveInformation.php create mode 100644 src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveSeverityLevel.php create mode 100644 src/Beta/Microsoft/Graph/WindowsUpdates/Model/KnowledgeBaseArticle.php create mode 100644 src/Beta/Microsoft/Graph/WindowsUpdates/Model/ProductRevision.php create mode 100644 src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCadence.php create mode 100644 src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCveSeverityInformation.php diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php b/src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php index 51067ffae19..0fd3136c4bf 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php @@ -25,7 +25,7 @@ class AuthenticationBehaviors extends Entity { /** * Gets the removeUnverifiedEmailClaim - * Removes the email claim from tokens sent to an application when the email address's domain cannot be verified. + * Removes the email claim from tokens sent to an application when the email address's domain can't be verified. * * @return bool|null The removeUnverifiedEmailClaim */ @@ -40,7 +40,7 @@ public function getRemoveUnverifiedEmailClaim() /** * Sets the removeUnverifiedEmailClaim - * Removes the email claim from tokens sent to an application when the email address's domain cannot be verified. + * Removes the email claim from tokens sent to an application when the email address's domain can't be verified. * * @param bool $val The value of the removeUnverifiedEmailClaim * @@ -53,6 +53,7 @@ public function setRemoveUnverifiedEmailClaim($val) } /** * Gets the requireClientServicePrincipal + * Requires multitenant applications to have a service principal in the resource tenant as part of authorization checks before they're granted access tokens. This property is only modifiable for multi-tenant resource applications that rely on access from clients without a service principal and had this behavior as set to false by Microsoft. Tenant administrators should respond to security advisories sent through Azure Health Service events and the Microsoft 365 message center. * * @return bool|null The requireClientServicePrincipal */ @@ -67,6 +68,7 @@ public function getRequireClientServicePrincipal() /** * Sets the requireClientServicePrincipal + * Requires multitenant applications to have a service principal in the resource tenant as part of authorization checks before they're granted access tokens. This property is only modifiable for multi-tenant resource applications that rely on access from clients without a service principal and had this behavior as set to false by Microsoft. Tenant administrators should respond to security advisories sent through Azure Health Service events and the Microsoft 365 message center. * * @param bool $val The value of the requireClientServicePrincipal * diff --git a/src/Beta/Microsoft/Graph/Model/CallRecording.php b/src/Beta/Microsoft/Graph/Model/CallRecording.php index 7e3bda71860..628389b2d2b 100644 --- a/src/Beta/Microsoft/Graph/Model/CallRecording.php +++ b/src/Beta/Microsoft/Graph/Model/CallRecording.php @@ -90,4 +90,91 @@ public function setCreatedDateTime($val) return $this; } + /** + * Gets the meetingId + * The unique identifier of the onlineMeeting related to this recording. Read-only. + * + * @return string|null The meetingId + */ + public function getMeetingId() + { + if (array_key_exists("meetingId", $this->_propDict)) { + return $this->_propDict["meetingId"]; + } else { + return null; + } + } + + /** + * Sets the meetingId + * The unique identifier of the onlineMeeting related to this recording. Read-only. + * + * @param string $val The meetingId + * + * @return CallRecording + */ + public function setMeetingId($val) + { + $this->_propDict["meetingId"] = $val; + return $this; + } + + /** + * Gets the meetingOrganizerId + * The unique identifier of the organizer of the onlineMeeting related to this recording. Read-only. + * + * @return string|null The meetingOrganizerId + */ + public function getMeetingOrganizerId() + { + if (array_key_exists("meetingOrganizerId", $this->_propDict)) { + return $this->_propDict["meetingOrganizerId"]; + } else { + return null; + } + } + + /** + * Sets the meetingOrganizerId + * The unique identifier of the organizer of the onlineMeeting related to this recording. Read-only. + * + * @param string $val The meetingOrganizerId + * + * @return CallRecording + */ + public function setMeetingOrganizerId($val) + { + $this->_propDict["meetingOrganizerId"] = $val; + return $this; + } + + /** + * Gets the recordingContentUrl + * The URL which can be used to access the content of the recording. Read-only. + * + * @return string|null The recordingContentUrl + */ + public function getRecordingContentUrl() + { + if (array_key_exists("recordingContentUrl", $this->_propDict)) { + return $this->_propDict["recordingContentUrl"]; + } else { + return null; + } + } + + /** + * Sets the recordingContentUrl + * The URL which can be used to access the content of the recording. Read-only. + * + * @param string $val The recordingContentUrl + * + * @return CallRecording + */ + public function setRecordingContentUrl($val) + { + $this->_propDict["recordingContentUrl"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/CallTranscript.php b/src/Beta/Microsoft/Graph/Model/CallTranscript.php index e7397745976..3df3e7ece4e 100644 --- a/src/Beta/Microsoft/Graph/Model/CallTranscript.php +++ b/src/Beta/Microsoft/Graph/Model/CallTranscript.php @@ -90,6 +90,64 @@ public function setCreatedDateTime($val) return $this; } + /** + * Gets the meetingId + * The unique identifier of the online meeting related to this transcript. Read-only. + * + * @return string|null The meetingId + */ + public function getMeetingId() + { + if (array_key_exists("meetingId", $this->_propDict)) { + return $this->_propDict["meetingId"]; + } else { + return null; + } + } + + /** + * Sets the meetingId + * The unique identifier of the online meeting related to this transcript. Read-only. + * + * @param string $val The meetingId + * + * @return CallTranscript + */ + public function setMeetingId($val) + { + $this->_propDict["meetingId"] = $val; + return $this; + } + + /** + * Gets the meetingOrganizerId + * The unique identifier of the organizer of the onlineMeeting related to this transcript. Read-only. + * + * @return string|null The meetingOrganizerId + */ + public function getMeetingOrganizerId() + { + if (array_key_exists("meetingOrganizerId", $this->_propDict)) { + return $this->_propDict["meetingOrganizerId"]; + } else { + return null; + } + } + + /** + * Sets the meetingOrganizerId + * The unique identifier of the organizer of the onlineMeeting related to this transcript. Read-only. + * + * @param string $val The meetingOrganizerId + * + * @return CallTranscript + */ + public function setMeetingOrganizerId($val) + { + $this->_propDict["meetingOrganizerId"] = $val; + return $this; + } + /** * Gets the metadataContent * The time-aligned metadata of the utterances in the transcript. Read-only. @@ -123,4 +181,33 @@ public function setMetadataContent($val) return $this; } + /** + * Gets the transcriptContentUrl + * The URL which can be used to access the content of the transcript. Read-only. + * + * @return string|null The transcriptContentUrl + */ + public function getTranscriptContentUrl() + { + if (array_key_exists("transcriptContentUrl", $this->_propDict)) { + return $this->_propDict["transcriptContentUrl"]; + } else { + return null; + } + } + + /** + * Sets the transcriptContentUrl + * The URL which can be used to access the content of the transcript. Read-only. + * + * @param string $val The transcriptContentUrl + * + * @return CallTranscript + */ + public function setTranscriptContentUrl($val) + { + $this->_propDict["transcriptContentUrl"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php b/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php index 2fed6420548..2ee243c1005 100644 --- a/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php +++ b/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php @@ -45,4 +45,6 @@ class ConditionalAccessConditions extends Enum const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const SERVICE_PRINCIPALS = "servicePrincipals"; const SERVICE_PRINCIPAL_RISK = "servicePrincipalRisk"; + const AUTHENTICATION_FLOWS = "authenticationFlows"; + const INSIDER_RISK = "insiderRisk"; } diff --git a/src/Beta/Microsoft/Graph/Model/ConditionalAccessRule.php b/src/Beta/Microsoft/Graph/Model/ConditionalAccessRule.php index 38ed5e0b5a9..795d4daea17 100644 --- a/src/Beta/Microsoft/Graph/Model/ConditionalAccessRule.php +++ b/src/Beta/Microsoft/Graph/Model/ConditionalAccessRule.php @@ -63,4 +63,7 @@ class ConditionalAccessRule extends Enum const OTHER_EXTERNAL_USER = "otherExternalUser"; const SERVICE_PROVIDER = "serviceProvider"; const MICROSOFT_ADMIN_PORTALS = "microsoftAdminPortals"; + const DEVICE_CODE_FLOW = "deviceCodeFlow"; + const AUTHENTICATION_TRANSFER = "authenticationTransfer"; + const INSIDER_RISK = "insiderRisk"; } diff --git a/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php b/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php index 3f46bd4293e..7c47c329ec6 100644 --- a/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php +++ b/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php @@ -186,6 +186,7 @@ public function setPersistentBrowser($val) /** * Gets the secureSignInSession + * Session control to require sign in sessions to be bound to a device. * * @return SecureSignInSessionControl|null The secureSignInSession */ @@ -204,6 +205,7 @@ public function getSecureSignInSession() /** * Sets the secureSignInSession + * Session control to require sign in sessions to be bound to a device. * * @param SecureSignInSessionControl $val The value to assign to the secureSignInSession * diff --git a/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequestAction.php b/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequestAction.php index 17805b40223..f9a23225cef 100644 --- a/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequestAction.php +++ b/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequestAction.php @@ -33,4 +33,5 @@ class DelegatedAdminRelationshipRequestAction extends Enum const APPROVE = "approve"; const TERMINATE = "terminate"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const REJECT = "reject"; } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php index 7e0e869c876..fec75f417bc 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingDefinition extends DeviceManagem { /** * Gets the defaultOptionId - * Default option for choice setting + * Default option for the choice setting. * * @return string|null The defaultOptionId */ @@ -41,7 +41,7 @@ public function getDefaultOptionId() /** * Sets the defaultOptionId - * Default option for choice setting + * Default option for the choice setting. * * @param string $val The defaultOptionId * @@ -56,7 +56,7 @@ public function setDefaultOptionId($val) /** * Gets the options - * Options for the setting that can be selected + * Options for the setting that can be selected. * * @return array|null The options */ @@ -71,7 +71,7 @@ public function getOptions() /** * Sets the options - * Options for the setting that can be selected + * Options for the setting that can be selected. * * @param DeviceManagementConfigurationOptionDefinition[] $val The options * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php index 45dc217d3c7..cef962d064b 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php @@ -87,7 +87,7 @@ public function setDeviceMode($val) /** * Gets the platform - * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. * * @return DeviceManagementConfigurationPlatforms|null The platform */ @@ -106,7 +106,7 @@ public function getPlatform() /** * Sets the platform - * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. * * @param DeviceManagementConfigurationPlatforms $val The value to assign to the platform * @@ -120,7 +120,7 @@ public function setPlatform($val) /** * Gets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @return DeviceManagementConfigurationTechnologies|null The technologies */ @@ -139,7 +139,7 @@ public function getTechnologies() /** * Sets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php index 10e62e20a65..84d921c2cdd 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi { /** * Gets the maximumCount - * Maximum number of setting group count in the collection + * Maximum number of setting group count in the collection. Valid values 1 to 100 * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of setting group count in the collection + * Maximum number of setting group count in the collection. Valid values 1 to 100 * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of setting group count in the collection + * Minimum number of setting group count in the collection. Valid values 1 to 100 * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of setting group count in the collection + * Minimum number of setting group count in the collection. Valid values 1 to 100 * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php index 9a6c46313c3..0563d36dd58 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/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php index 68ed03d5cbc..60995c914c7 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of simple settings in the collection + * Maximum number of simple settings in the collection. Valid values 1 to 100 * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of simple settings in the collection + * Maximum number of simple settings in the collection. Valid values 1 to 100 * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of simple settings in the collection + * Minimum number of simple settings in the collection. Valid values 1 to 100 * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of simple settings in the collection + * Minimum number of simple settings in the collection. Valid values 1 to 100 * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php index 245b38ef0d2..cfb59dc09c9 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem { /** * Gets the defaultValue - * Default setting value for this setting + * Default setting value for this setting. * * @return DeviceManagementConfigurationSettingValue|null The defaultValue */ @@ -45,7 +45,7 @@ public function getDefaultValue() /** * Sets the defaultValue - * Default setting value for this setting + * Default setting value for this setting. * * @param DeviceManagementConfigurationSettingValue $val The defaultValue * @@ -60,7 +60,7 @@ public function setDefaultValue($val) /** * Gets the dependedOnBy - * list of child settings that depend on this setting + * list of child settings that depend on this setting. * * @return array|null The dependedOnBy */ @@ -75,7 +75,7 @@ public function getDependedOnBy() /** * Sets the dependedOnBy - * list of child settings that depend on this setting + * list of child settings that depend on this setting. * * @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy * @@ -90,7 +90,7 @@ public function setDependedOnBy($val) /** * Gets the dependentOn - * list of parent settings this setting is dependent on + * list of parent settings this setting is dependent on. * * @return array|null The dependentOn */ @@ -105,7 +105,7 @@ public function getDependentOn() /** * Sets the dependentOn - * list of parent settings this setting is dependent on + * list of parent settings this setting is dependent on. * * @param DeviceManagementConfigurationDependentOn[] $val The dependentOn * @@ -119,7 +119,7 @@ public function setDependentOn($val) /** * Gets the valueDefinition - * Definition of the value for this setting + * Definition of the value for this setting. * * @return DeviceManagementConfigurationSettingValueDefinition|null The valueDefinition */ @@ -138,7 +138,7 @@ public function getValueDefinition() /** * Sets the valueDefinition - * Definition of the value for this setting + * Definition of the value for this setting. * * @param DeviceManagementConfigurationSettingValueDefinition $val The valueDefinition * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php index 323fd5206ff..4cbb970141f 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php @@ -54,7 +54,7 @@ public function setFileTypes($val) /** * Gets the format - * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. * * @return DeviceManagementConfigurationStringFormat|null The format */ @@ -73,7 +73,7 @@ public function getFormat() /** * Sets the format - * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. * * @param DeviceManagementConfigurationStringFormat $val The value to assign to the format * @@ -142,7 +142,7 @@ public function setIsSecret($val) } /** * Gets the maximumLength - * Maximum length of string + * Maximum length of string. Valid values 0 to 87516 * * @return int|null The maximumLength */ @@ -157,7 +157,7 @@ public function getMaximumLength() /** * Sets the maximumLength - * Maximum length of string + * Maximum length of string. Valid values 0 to 87516 * * @param int $val The value of the maximumLength * @@ -170,7 +170,7 @@ public function setMaximumLength($val) } /** * Gets the minimumLength - * Minimum length of string + * Minimum length of string. Valid values 0 to 87516 * * @return int|null The minimumLength */ @@ -185,7 +185,7 @@ public function getMinimumLength() /** * Sets the minimumLength - * Minimum length of string + * Minimum length of string. Valid values 0 to 87516 * * @param int $val The value of the minimumLength * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceRestrictionAction.php b/src/Beta/Microsoft/Graph/Model/DeviceRestrictionAction.php deleted file mode 100644 index 7dc43eaaf0a..00000000000 --- a/src/Beta/Microsoft/Graph/Model/DeviceRestrictionAction.php +++ /dev/null @@ -1,114 +0,0 @@ -_propDict)) { - return $this->_propDict["message"]; - } else { - return null; - } - } - - /** - * Sets the message - * - * @param string $val The value of the message - * - * @return DeviceRestrictionAction - */ - public function setMessage($val) - { - $this->_propDict["message"] = $val; - return $this; - } - - /** - * Gets the restrictionAction - * - * @return RestrictionAction|null The restrictionAction - */ - public function getRestrictionAction() - { - if (array_key_exists("restrictionAction", $this->_propDict)) { - if (is_a($this->_propDict["restrictionAction"], "\Beta\Microsoft\Graph\Model\RestrictionAction") || is_null($this->_propDict["restrictionAction"])) { - return $this->_propDict["restrictionAction"]; - } else { - $this->_propDict["restrictionAction"] = new RestrictionAction($this->_propDict["restrictionAction"]); - return $this->_propDict["restrictionAction"]; - } - } - return null; - } - - /** - * Sets the restrictionAction - * - * @param RestrictionAction $val The value to assign to the restrictionAction - * - * @return DeviceRestrictionAction The DeviceRestrictionAction - */ - public function setRestrictionAction($val) - { - $this->_propDict["restrictionAction"] = $val; - return $this; - } - - /** - * Gets the triggers - * - * @return RestrictionTrigger|null The triggers - */ - public function getTriggers() - { - if (array_key_exists("triggers", $this->_propDict)) { - if (is_a($this->_propDict["triggers"], "\Beta\Microsoft\Graph\Model\RestrictionTrigger") || is_null($this->_propDict["triggers"])) { - return $this->_propDict["triggers"]; - } else { - $this->_propDict["triggers"] = new RestrictionTrigger($this->_propDict["triggers"]); - return $this->_propDict["triggers"]; - } - } - return null; - } - - /** - * Sets the triggers - * - * @param RestrictionTrigger $val The value to assign to the triggers - * - * @return DeviceRestrictionAction The DeviceRestrictionAction - */ - public function setTriggers($val) - { - $this->_propDict["triggers"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/DlpActionInfo.php b/src/Beta/Microsoft/Graph/Model/DlpActionInfo.php index e260f819279..a35641789ca 100644 --- a/src/Beta/Microsoft/Graph/Model/DlpActionInfo.php +++ b/src/Beta/Microsoft/Graph/Model/DlpActionInfo.php @@ -23,35 +23,4 @@ */ class DlpActionInfo extends Entity { - - /** - * Gets the action - * - * @return DlpAction|null The action - */ - public function getAction() - { - if (array_key_exists("action", $this->_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\DlpAction") || is_null($this->_propDict["action"])) { - return $this->_propDict["action"]; - } else { - $this->_propDict["action"] = new DlpAction($this->_propDict["action"]); - return $this->_propDict["action"]; - } - } - return null; - } - - /** - * Sets the action - * - * @param DlpAction $val The value to assign to the action - * - * @return DlpActionInfo The DlpActionInfo - */ - public function setAction($val) - { - $this->_propDict["action"] = $val; - return $this; - } } diff --git a/src/Beta/Microsoft/Graph/Model/Group.php b/src/Beta/Microsoft/Graph/Model/Group.php index 822de5b9135..27af43232d3 100644 --- a/src/Beta/Microsoft/Graph/Model/Group.php +++ b/src/Beta/Microsoft/Graph/Model/Group.php @@ -1148,7 +1148,7 @@ public function setUniqueName($val) /** * Gets the visibility - * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * * @return string|null The visibility */ @@ -1163,7 +1163,7 @@ public function getVisibility() /** * Sets the visibility - * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * * @param string $val The visibility * diff --git a/src/Beta/Microsoft/Graph/Model/Identity.php b/src/Beta/Microsoft/Graph/Model/Identity.php index 79a5705bc43..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. Note that 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. Note that 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/KeyValuePair.php b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php index e82157217f0..7ba63886b10 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValuePair.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php @@ -25,7 +25,7 @@ class KeyValuePair extends Entity { /** * Gets the name - * Name for this key-value pair + * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. * * @return string|null The name */ @@ -40,7 +40,7 @@ public function getName() /** * Sets the name - * Name for this key-value pair + * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. * * @param string $val The value of the name * @@ -53,7 +53,7 @@ public function setName($val) } /** * Gets the value - * Value for this key-value pair + * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Value for this key-value pair + * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/ManagedIdentity.php b/src/Beta/Microsoft/Graph/Model/ManagedIdentity.php index f70aabf5b6d..2b6931cf93d 100644 --- a/src/Beta/Microsoft/Graph/Model/ManagedIdentity.php +++ b/src/Beta/Microsoft/Graph/Model/ManagedIdentity.php @@ -51,6 +51,62 @@ public function setAssociatedResourceId($val) $this->_propDict["associatedResourceId"] = $val; return $this; } + /** + * Gets the federatedTokenId + * The unique ID of the federated token. + * + * @return string|null The federatedTokenId + */ + public function getFederatedTokenId() + { + if (array_key_exists("federatedTokenId", $this->_propDict)) { + return $this->_propDict["federatedTokenId"]; + } else { + return null; + } + } + + /** + * Sets the federatedTokenId + * The unique ID of the federated token. + * + * @param string $val The value of the federatedTokenId + * + * @return ManagedIdentity + */ + public function setFederatedTokenId($val) + { + $this->_propDict["federatedTokenId"] = $val; + return $this; + } + /** + * Gets the federatedTokenIssuer + * The issuer of the federated token. + * + * @return string|null The federatedTokenIssuer + */ + public function getFederatedTokenIssuer() + { + if (array_key_exists("federatedTokenIssuer", $this->_propDict)) { + return $this->_propDict["federatedTokenIssuer"]; + } else { + return null; + } + } + + /** + * Sets the federatedTokenIssuer + * The issuer of the federated token. + * + * @param string $val The value of the federatedTokenIssuer + * + * @return ManagedIdentity + */ + public function setFederatedTokenIssuer($val) + { + $this->_propDict["federatedTokenIssuer"] = $val; + return $this; + } /** * Gets the msiType diff --git a/src/Beta/Microsoft/Graph/Model/OriginalTransferMethods.php b/src/Beta/Microsoft/Graph/Model/OriginalTransferMethods.php new file mode 100644 index 00000000000..240b2b8d121 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OriginalTransferMethods.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["indirectProviderTenantId"]; + } else { + return null; + } + } + + /** + * Sets the indirectProviderTenantId + * + * @param string $val The indirectProviderTenantId + * + * @return ResellerDelegatedAdminRelationship + */ + public function setIndirectProviderTenantId($val) + { + $this->_propDict["indirectProviderTenantId"] = $val; + return $this; + } + + /** + * Gets the isPartnerConsentPending + * + * @return bool|null The isPartnerConsentPending + */ + public function getIsPartnerConsentPending() + { + if (array_key_exists("isPartnerConsentPending", $this->_propDict)) { + return $this->_propDict["isPartnerConsentPending"]; + } else { + return null; + } + } + + /** + * Sets the isPartnerConsentPending + * + * @param bool $val The isPartnerConsentPending + * + * @return ResellerDelegatedAdminRelationship + */ + public function setIsPartnerConsentPending($val) + { + $this->_propDict["isPartnerConsentPending"] = boolval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php index 119c7acad0e..280efdd385d 100644 --- a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php +++ b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php @@ -1514,7 +1514,7 @@ public function setOauth2PermissionGrants($val) /** * Gets the ownedObjects - * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @return array|null The ownedObjects */ @@ -1529,7 +1529,7 @@ public function getOwnedObjects() /** * Sets the ownedObjects - * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @param DirectoryObject[] $val The ownedObjects * diff --git a/src/Beta/Microsoft/Graph/Model/SignIn.php b/src/Beta/Microsoft/Graph/Model/SignIn.php index 0058430700a..38a69c97d19 100644 --- a/src/Beta/Microsoft/Graph/Model/SignIn.php +++ b/src/Beta/Microsoft/Graph/Model/SignIn.php @@ -142,6 +142,37 @@ public function setAppliedEventListeners($val) return $this; } + /** + * Gets the appTokenProtectionStatus + * + * @return TokenProtectionStatus|null The appTokenProtectionStatus + */ + public function getAppTokenProtectionStatus() + { + if (array_key_exists("appTokenProtectionStatus", $this->_propDict)) { + if (is_a($this->_propDict["appTokenProtectionStatus"], "\Beta\Microsoft\Graph\Model\TokenProtectionStatus") || is_null($this->_propDict["appTokenProtectionStatus"])) { + return $this->_propDict["appTokenProtectionStatus"]; + } else { + $this->_propDict["appTokenProtectionStatus"] = new TokenProtectionStatus($this->_propDict["appTokenProtectionStatus"]); + return $this->_propDict["appTokenProtectionStatus"]; + } + } + return null; + } + + /** + * Sets the appTokenProtectionStatus + * + * @param TokenProtectionStatus $val The appTokenProtectionStatus + * + * @return SignIn + */ + public function setAppTokenProtectionStatus($val) + { + $this->_propDict["appTokenProtectionStatus"] = $val; + return $this; + } + /** * Gets the authenticationAppDeviceDetails * Provides details about the app and device used during an Azure AD authentication step. @@ -997,7 +1028,7 @@ public function setLocation($val) /** * Gets the managedServiceIdentity - * Contains information about the managed identity used for the sign in, including its type and associated Azure Resource Manager (ARM) resource ID. + * Contains information about the managed identity used for the sign in, including its type, associated Azure Resource Manager (ARM) resource ID, and federated token information. * * @return ManagedIdentity|null The managedServiceIdentity */ @@ -1016,7 +1047,7 @@ public function getManagedServiceIdentity() /** * Sets the managedServiceIdentity - * Contains information about the managed identity used for the sign in, including its type and associated Azure Resource Manager (ARM) resource ID. + * Contains information about the managed identity used for the sign in, including its type, associated Azure Resource Manager (ARM) resource ID, and federated token information. * * @param ManagedIdentity $val The managedServiceIdentity * @@ -1118,6 +1149,37 @@ public function setOriginalRequestId($val) return $this; } + /** + * Gets the originalTransferMethod + * + * @return OriginalTransferMethods|null The originalTransferMethod + */ + public function getOriginalTransferMethod() + { + if (array_key_exists("originalTransferMethod", $this->_propDict)) { + if (is_a($this->_propDict["originalTransferMethod"], "\Beta\Microsoft\Graph\Model\OriginalTransferMethods") || is_null($this->_propDict["originalTransferMethod"])) { + return $this->_propDict["originalTransferMethod"]; + } else { + $this->_propDict["originalTransferMethod"] = new OriginalTransferMethods($this->_propDict["originalTransferMethod"]); + return $this->_propDict["originalTransferMethod"]; + } + } + return null; + } + + /** + * Sets the originalTransferMethod + * + * @param OriginalTransferMethods $val The originalTransferMethod + * + * @return SignIn + */ + public function setOriginalTransferMethod($val) + { + $this->_propDict["originalTransferMethod"] = $val; + return $this; + } + /** * Gets the privateLinkDetails * Contains information about the Azure AD Private Link policy that is associated with the sign in event. @@ -1694,6 +1756,37 @@ public function setSignInIdentifierType($val) return $this; } + /** + * Gets the signInTokenProtectionStatus + * + * @return TokenProtectionStatus|null The signInTokenProtectionStatus + */ + public function getSignInTokenProtectionStatus() + { + if (array_key_exists("signInTokenProtectionStatus", $this->_propDict)) { + if (is_a($this->_propDict["signInTokenProtectionStatus"], "\Beta\Microsoft\Graph\Model\TokenProtectionStatus") || is_null($this->_propDict["signInTokenProtectionStatus"])) { + return $this->_propDict["signInTokenProtectionStatus"]; + } else { + $this->_propDict["signInTokenProtectionStatus"] = new TokenProtectionStatus($this->_propDict["signInTokenProtectionStatus"]); + return $this->_propDict["signInTokenProtectionStatus"]; + } + } + return null; + } + + /** + * Sets the signInTokenProtectionStatus + * + * @param TokenProtectionStatus $val The signInTokenProtectionStatus + * + * @return SignIn + */ + public function setSignInTokenProtectionStatus($val) + { + $this->_propDict["signInTokenProtectionStatus"] = $val; + return $this; + } + /** * Gets the status * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. diff --git a/src/Beta/Microsoft/Graph/Model/DlpAction.php b/src/Beta/Microsoft/Graph/Model/TokenProtectionStatus.php similarity index 72% rename from src/Beta/Microsoft/Graph/Model/DlpAction.php rename to src/Beta/Microsoft/Graph/Model/TokenProtectionStatus.php index 33975afac83..591af404422 100644 --- a/src/Beta/Microsoft/Graph/Model/DlpAction.php +++ b/src/Beta/Microsoft/Graph/Model/TokenProtectionStatus.php @@ -2,7 +2,7 @@ /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * -* DlpAction File +* TokenProtectionStatus File * PHP version 7 * * @category Library @@ -16,7 +16,7 @@ use Microsoft\Graph\Core\Enum; /** -* DlpAction class +* TokenProtectionStatus class * * @category Model * @package Microsoft.Graph @@ -24,12 +24,13 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class DlpAction extends Enum +class TokenProtectionStatus extends Enum { /** - * The Enum DlpAction + * The Enum TokenProtectionStatus */ - const NOTIFY_USER = "notifyUser"; - const BLOCK_ACCESS = "blockAccess"; - const DEVICE_RESTRICTION = "deviceRestriction"; + const NONE = "none"; + const BOUND = "bound"; + const UNBOUND = "unbound"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementAlert.php b/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementAlert.php index 0dc6a218267..2bad9c7f748 100644 --- a/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementAlert.php +++ b/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementAlert.php @@ -237,7 +237,7 @@ public function setScopeType($val) /** * Gets the alertConfiguration - * The configuration of the alert in PIM for Azure AD roles. Alert configurations are pre-defined and cannot be created or deleted, but some configurations can be modified. Supports $expand. + * The configuration of the alert in PIM for Azure AD roles. Alert configurations are pre-defined and cannot be created or deleted, but some configurations can be modified. Supports $filter for the isEnabled property and $expand. * * @return UnifiedRoleManagementAlertConfiguration|null The alertConfiguration */ @@ -256,7 +256,7 @@ public function getAlertConfiguration() /** * Sets the alertConfiguration - * The configuration of the alert in PIM for Azure AD roles. Alert configurations are pre-defined and cannot be created or deleted, but some configurations can be modified. Supports $expand. + * The configuration of the alert in PIM for Azure AD roles. Alert configurations are pre-defined and cannot be created or deleted, but some configurations can be modified. Supports $filter for the isEnabled property and $expand. * * @param UnifiedRoleManagementAlertConfiguration $val The alertConfiguration * diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 940309e9712..80ec409bf0b 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -2930,7 +2930,7 @@ public function setOwnedDevices($val) /** * Gets the ownedObjects - * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @return array|null The ownedObjects */ @@ -2945,7 +2945,7 @@ public function getOwnedObjects() /** * Sets the ownedObjects - * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @param DirectoryObject[] $val The ownedObjects * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php index 35c1517fa90..c0565626007 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 - * Whether or not to use device execution context for Windows AppX mobile app. + * 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. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * Whether or not to use device execution context for Windows AppX mobile app. + * 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. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php index 4544f50fc66..566b44df2ff 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php @@ -200,7 +200,7 @@ public function setCategory($val) /** * Gets the classification - * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, benignPositive, unknownFutureValue. + * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. * * @return AlertClassification|null The classification */ @@ -219,7 +219,7 @@ public function getClassification() /** * Sets the classification - * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, benignPositive, unknownFutureValue. + * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. * * @param AlertClassification $val The classification * diff --git a/src/Beta/Microsoft/Graph/WindowsUpdates/Model/BuildVersionDetails.php b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/BuildVersionDetails.php new file mode 100644 index 00000000000..69cc731e3fd --- /dev/null +++ b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/BuildVersionDetails.php @@ -0,0 +1,130 @@ +_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * + * @param int $val The value of the buildNumber + * + * @return BuildVersionDetails + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + /** + * Gets the majorVersion + * + * @return int|null The majorVersion + */ + public function getMajorVersion() + { + if (array_key_exists("majorVersion", $this->_propDict)) { + return $this->_propDict["majorVersion"]; + } else { + return null; + } + } + + /** + * Sets the majorVersion + * + * @param int $val The value of the majorVersion + * + * @return BuildVersionDetails + */ + public function setMajorVersion($val) + { + $this->_propDict["majorVersion"] = $val; + return $this; + } + /** + * Gets the minorVersion + * + * @return int|null The minorVersion + */ + public function getMinorVersion() + { + if (array_key_exists("minorVersion", $this->_propDict)) { + return $this->_propDict["minorVersion"]; + } else { + return null; + } + } + + /** + * Sets the minorVersion + * + * @param int $val The value of the minorVersion + * + * @return BuildVersionDetails + */ + public function setMinorVersion($val) + { + $this->_propDict["minorVersion"] = $val; + return $this; + } + /** + * Gets the updateBuildRevision + * + * @return int|null The updateBuildRevision + */ + public function getUpdateBuildRevision() + { + if (array_key_exists("updateBuildRevision", $this->_propDict)) { + return $this->_propDict["updateBuildRevision"]; + } else { + return null; + } + } + + /** + * Sets the updateBuildRevision + * + * @param int $val The value of the updateBuildRevision + * + * @return BuildVersionDetails + */ + public function setUpdateBuildRevision($val) + { + $this->_propDict["updateBuildRevision"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveInformation.php b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveInformation.php new file mode 100644 index 00000000000..709a2f93ffc --- /dev/null +++ b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveInformation.php @@ -0,0 +1,161 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the CveInformation + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return CveInformation + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The url + * + * @return CveInformation + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return CveInformation + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } +} diff --git a/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveSeverityLevel.php b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveSeverityLevel.php new file mode 100644 index 00000000000..b7434ebd7c3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CveSeverityLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * + * @param string $val The buildNumber + * + * @return FeatureUpdateCatalogEntry + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + /** * Gets the version * The version of the feature update. Read-only. diff --git a/src/Beta/Microsoft/Graph/WindowsUpdates/Model/KnowledgeBaseArticle.php b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/KnowledgeBaseArticle.php new file mode 100644 index 00000000000..a216186b773 --- /dev/null +++ b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/KnowledgeBaseArticle.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The url + * + * @return KnowledgeBaseArticle + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/WindowsUpdates/Model/ProductRevision.php b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/ProductRevision.php new file mode 100644 index 00000000000..a660be9d8fb --- /dev/null +++ b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/ProductRevision.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return ProductRevision + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the osBuild + * + * @return BuildVersionDetails|null The osBuild + */ + public function getOsBuild() + { + if (array_key_exists("osBuild", $this->_propDict)) { + if (is_a($this->_propDict["osBuild"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\BuildVersionDetails") || is_null($this->_propDict["osBuild"])) { + return $this->_propDict["osBuild"]; + } else { + $this->_propDict["osBuild"] = new BuildVersionDetails($this->_propDict["osBuild"]); + return $this->_propDict["osBuild"]; + } + } + return null; + } + + /** + * Sets the osBuild + * + * @param BuildVersionDetails $val The osBuild + * + * @return ProductRevision + */ + public function setOsBuild($val) + { + $this->_propDict["osBuild"] = $val; + return $this; + } + + /** + * Gets the product + * + * @return string|null The product + */ + public function getProduct() + { + if (array_key_exists("product", $this->_propDict)) { + return $this->_propDict["product"]; + } else { + return null; + } + } + + /** + * Sets the product + * + * @param string $val The product + * + * @return ProductRevision + */ + public function setProduct($val) + { + $this->_propDict["product"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * + * @param \DateTime $val The releaseDateTime + * + * @return ProductRevision + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } + + /** + * Gets the version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param string $val The version + * + * @return ProductRevision + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + /** + * Gets the knowledgeBaseArticle + * + * @return KnowledgeBaseArticle|null The knowledgeBaseArticle + */ + public function getKnowledgeBaseArticle() + { + if (array_key_exists("knowledgeBaseArticle", $this->_propDict)) { + if (is_a($this->_propDict["knowledgeBaseArticle"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\KnowledgeBaseArticle") || is_null($this->_propDict["knowledgeBaseArticle"])) { + return $this->_propDict["knowledgeBaseArticle"]; + } else { + $this->_propDict["knowledgeBaseArticle"] = new KnowledgeBaseArticle($this->_propDict["knowledgeBaseArticle"]); + return $this->_propDict["knowledgeBaseArticle"]; + } + } + return null; + } + + /** + * Sets the knowledgeBaseArticle + * + * @param KnowledgeBaseArticle $val The knowledgeBaseArticle + * + * @return ProductRevision + */ + public function setKnowledgeBaseArticle($val) + { + $this->_propDict["knowledgeBaseArticle"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCadence.php b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCadence.php new file mode 100644 index 00000000000..4ddf9a440d9 --- /dev/null +++ b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCadence.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["catalogName"]; + } else { + return null; + } + } + + /** + * Sets the catalogName + * + * @param string $val The catalogName + * + * @return QualityUpdateCatalogEntry + */ + public function setCatalogName($val) + { + $this->_propDict["catalogName"] = $val; + return $this; + } + + /** + * Gets the cveSeverityInformation + * + * @return QualityUpdateCveSeverityInformation|null The cveSeverityInformation + */ + public function getCveSeverityInformation() + { + if (array_key_exists("cveSeverityInformation", $this->_propDict)) { + if (is_a($this->_propDict["cveSeverityInformation"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\QualityUpdateCveSeverityInformation") || is_null($this->_propDict["cveSeverityInformation"])) { + return $this->_propDict["cveSeverityInformation"]; + } else { + $this->_propDict["cveSeverityInformation"] = new QualityUpdateCveSeverityInformation($this->_propDict["cveSeverityInformation"]); + return $this->_propDict["cveSeverityInformation"]; + } + } + return null; + } + + /** + * Sets the cveSeverityInformation + * + * @param QualityUpdateCveSeverityInformation $val The cveSeverityInformation + * + * @return QualityUpdateCatalogEntry + */ + public function setCveSeverityInformation($val) + { + $this->_propDict["cveSeverityInformation"] = $val; + return $this; + } + /** * Gets the isExpeditable * Indicates whether the content can be deployed as an expedited quality update. Read-only. @@ -53,6 +111,37 @@ public function setIsExpeditable($val) return $this; } + /** + * Gets the qualityUpdateCadence + * + * @return QualityUpdateCadence|null The qualityUpdateCadence + */ + public function getQualityUpdateCadence() + { + if (array_key_exists("qualityUpdateCadence", $this->_propDict)) { + if (is_a($this->_propDict["qualityUpdateCadence"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\QualityUpdateCadence") || is_null($this->_propDict["qualityUpdateCadence"])) { + return $this->_propDict["qualityUpdateCadence"]; + } else { + $this->_propDict["qualityUpdateCadence"] = new QualityUpdateCadence($this->_propDict["qualityUpdateCadence"]); + return $this->_propDict["qualityUpdateCadence"]; + } + } + return null; + } + + /** + * Sets the qualityUpdateCadence + * + * @param QualityUpdateCadence $val The qualityUpdateCadence + * + * @return QualityUpdateCatalogEntry + */ + public function setQualityUpdateCadence($val) + { + $this->_propDict["qualityUpdateCadence"] = $val; + return $this; + } + /** * Gets the qualityUpdateClassification * The classification on the quality update. Possible values are: all, security, nonSecurity, unknownFutureValue. Read-only. @@ -86,4 +175,59 @@ public function setQualityUpdateClassification($val) return $this; } + /** + * Gets the shortName + * + * @return string|null The shortName + */ + public function getShortName() + { + if (array_key_exists("shortName", $this->_propDict)) { + return $this->_propDict["shortName"]; + } else { + return null; + } + } + + /** + * Sets the shortName + * + * @param string $val The shortName + * + * @return QualityUpdateCatalogEntry + */ + public function setShortName($val) + { + $this->_propDict["shortName"] = $val; + return $this; + } + + + /** + * Gets the productRevisions + * + * @return array|null The productRevisions + */ + public function getProductRevisions() + { + if (array_key_exists("productRevisions", $this->_propDict)) { + return $this->_propDict["productRevisions"]; + } else { + return null; + } + } + + /** + * Sets the productRevisions + * + * @param ProductRevision[] $val The productRevisions + * + * @return QualityUpdateCatalogEntry + */ + public function setProductRevisions($val) + { + $this->_propDict["productRevisions"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCveSeverityInformation.php b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCveSeverityInformation.php new file mode 100644 index 00000000000..87926a5c426 --- /dev/null +++ b/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateCveSeverityInformation.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["maxBaseScore"]; + } else { + return null; + } + } + + /** + * Sets the maxBaseScore + * + * @param float $val The value of the maxBaseScore + * + * @return QualityUpdateCveSeverityInformation + */ + public function setMaxBaseScore($val) + { + $this->_propDict["maxBaseScore"] = $val; + return $this; + } + + /** + * Gets the maxSeverity + * + * @return CveSeverityLevel|null The maxSeverity + */ + public function getMaxSeverity() + { + if (array_key_exists("maxSeverity", $this->_propDict)) { + if (is_a($this->_propDict["maxSeverity"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\CveSeverityLevel") || is_null($this->_propDict["maxSeverity"])) { + return $this->_propDict["maxSeverity"]; + } else { + $this->_propDict["maxSeverity"] = new CveSeverityLevel($this->_propDict["maxSeverity"]); + return $this->_propDict["maxSeverity"]; + } + } + return null; + } + + /** + * Sets the maxSeverity + * + * @param CveSeverityLevel $val The value to assign to the maxSeverity + * + * @return QualityUpdateCveSeverityInformation The QualityUpdateCveSeverityInformation + */ + public function setMaxSeverity($val) + { + $this->_propDict["maxSeverity"] = $val; + return $this; + } + + /** + * Gets the exploitedCves + * + * @return CveInformation|null The exploitedCves + */ + public function getExploitedCves() + { + if (array_key_exists("exploitedCves", $this->_propDict)) { + if (is_a($this->_propDict["exploitedCves"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\CveInformation") || is_null($this->_propDict["exploitedCves"])) { + return $this->_propDict["exploitedCves"]; + } else { + $this->_propDict["exploitedCves"] = new CveInformation($this->_propDict["exploitedCves"]); + return $this->_propDict["exploitedCves"]; + } + } + return null; + } + + /** + * Sets the exploitedCves + * + * @param CveInformation $val The value to assign to the exploitedCves + * + * @return QualityUpdateCveSeverityInformation The QualityUpdateCveSeverityInformation + */ + public function setExploitedCves($val) + { + $this->_propDict["exploitedCves"] = $val; + return $this; + } +} From 03e5dcb4f2c596c741d24d90dee712346013f638 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 22 Aug 2023 10:10:43 +0000 Subject: [PATCH 09/10] Update generated files with build 123456 --- src/Model/ConditionalAccessPolicy.php | 27 ++++++ src/Model/Group.php | 32 ++++++- src/Model/OrgContact.php | 28 ++++++ src/Model/ServicePrincipal.php | 6 +- src/Model/ServiceProvisioningError.php | 109 ++++++++++++++++++++++ src/Model/ServiceProvisioningXmlError.php | 63 +++++++++++++ src/Model/User.php | 34 ++++++- src/SecurityNamespace/Model/Alert.php | 4 +- 8 files changed, 295 insertions(+), 8 deletions(-) create mode 100644 src/Model/ServiceProvisioningError.php create mode 100644 src/Model/ServiceProvisioningXmlError.php diff --git a/src/Model/ConditionalAccessPolicy.php b/src/Model/ConditionalAccessPolicy.php index 872f89c3bbf..3b6ee8456c0 100644 --- a/src/Model/ConditionalAccessPolicy.php +++ b/src/Model/ConditionalAccessPolicy.php @@ -278,4 +278,31 @@ public function setState($val) return $this; } + /** + * Gets the templateId + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * + * @param string $val The templateId + * + * @return ConditionalAccessPolicy + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + } diff --git a/src/Model/Group.php b/src/Model/Group.php index 864418a477d..dab8b693327 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -884,6 +884,34 @@ public function setSecurityIdentifier($val) return $this; } + + /** + * Gets the serviceProvisioningErrors + * + * @return array|null The serviceProvisioningErrors + */ + public function getServiceProvisioningErrors() + { + if (array_key_exists("serviceProvisioningErrors", $this->_propDict)) { + return $this->_propDict["serviceProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the serviceProvisioningErrors + * + * @param ServiceProvisioningError[] $val The serviceProvisioningErrors + * + * @return Group + */ + public function setServiceProvisioningErrors($val) + { + $this->_propDict["serviceProvisioningErrors"] = $val; + return $this; + } + /** * Gets the theme * Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default. @@ -915,7 +943,7 @@ public function setTheme($val) /** * Gets the visibility - * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * * @return string|null The visibility */ @@ -930,7 +958,7 @@ public function getVisibility() /** * Sets the visibility - * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. * * @param string $val The visibility * diff --git a/src/Model/OrgContact.php b/src/Model/OrgContact.php index 3a13e73fe9e..e0928768ccd 100644 --- a/src/Model/OrgContact.php +++ b/src/Model/OrgContact.php @@ -408,6 +408,34 @@ public function setProxyAddresses($val) return $this; } + + /** + * Gets the serviceProvisioningErrors + * + * @return array|null The serviceProvisioningErrors + */ + public function getServiceProvisioningErrors() + { + if (array_key_exists("serviceProvisioningErrors", $this->_propDict)) { + return $this->_propDict["serviceProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the serviceProvisioningErrors + * + * @param ServiceProvisioningError[] $val The serviceProvisioningErrors + * + * @return OrgContact + */ + public function setServiceProvisioningErrors($val) + { + $this->_propDict["serviceProvisioningErrors"] = $val; + return $this; + } + /** * Gets the surname * Last name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values). diff --git a/src/Model/ServicePrincipal.php b/src/Model/ServicePrincipal.php index 835281bf19c..4373f910004 100644 --- a/src/Model/ServicePrincipal.php +++ b/src/Model/ServicePrincipal.php @@ -318,6 +318,7 @@ public function setAppRoles($val) /** * Gets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. * * @return CustomSecurityAttributeValue|null The customSecurityAttributes */ @@ -336,6 +337,7 @@ public function getCustomSecurityAttributes() /** * Sets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. * * @param CustomSecurityAttributeValue $val The customSecurityAttributes * @@ -1359,7 +1361,7 @@ public function setOauth2PermissionGrants($val) /** * Gets the ownedObjects - * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @return array|null The ownedObjects */ @@ -1374,7 +1376,7 @@ public function getOwnedObjects() /** * Sets the ownedObjects - * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @param DirectoryObject[] $val The ownedObjects * diff --git a/src/Model/ServiceProvisioningError.php b/src/Model/ServiceProvisioningError.php new file mode 100644 index 00000000000..9c5be329347 --- /dev/null +++ b/src/Model/ServiceProvisioningError.php @@ -0,0 +1,109 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return ServiceProvisioningError The ServiceProvisioningError + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the isResolved + * + * @return bool|null The isResolved + */ + public function getIsResolved() + { + if (array_key_exists("isResolved", $this->_propDict)) { + return $this->_propDict["isResolved"]; + } else { + return null; + } + } + + /** + * Sets the isResolved + * + * @param bool $val The value of the isResolved + * + * @return ServiceProvisioningError + */ + public function setIsResolved($val) + { + $this->_propDict["isResolved"] = $val; + return $this; + } + /** + * Gets the serviceInstance + * + * @return string|null The serviceInstance + */ + public function getServiceInstance() + { + if (array_key_exists("serviceInstance", $this->_propDict)) { + return $this->_propDict["serviceInstance"]; + } else { + return null; + } + } + + /** + * Sets the serviceInstance + * + * @param string $val The value of the serviceInstance + * + * @return ServiceProvisioningError + */ + public function setServiceInstance($val) + { + $this->_propDict["serviceInstance"] = $val; + return $this; + } +} diff --git a/src/Model/ServiceProvisioningXmlError.php b/src/Model/ServiceProvisioningXmlError.php new file mode 100644 index 00000000000..570a6a46faa --- /dev/null +++ b/src/Model/ServiceProvisioningXmlError.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.serviceProvisioningXmlError"); + } + + /** + * Gets the errorDetail + * + * @return string|null The errorDetail + */ + public function getErrorDetail() + { + if (array_key_exists("errorDetail", $this->_propDict)) { + return $this->_propDict["errorDetail"]; + } else { + return null; + } + } + + /** + * Sets the errorDetail + * + * @param string $val The value of the errorDetail + * + * @return ServiceProvisioningXmlError + */ + public function setErrorDetail($val) + { + $this->_propDict["errorDetail"] = $val; + return $this; + } +} diff --git a/src/Model/User.php b/src/Model/User.php index f73b6000210..9236b29a396 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -415,6 +415,7 @@ public function setCreationType($val) /** * Gets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. * * @return CustomSecurityAttributeValue|null The customSecurityAttributes */ @@ -433,6 +434,7 @@ public function getCustomSecurityAttributes() /** * Sets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. * * @param CustomSecurityAttributeValue $val The customSecurityAttributes * @@ -1669,6 +1671,34 @@ public function setSecurityIdentifier($val) return $this; } + + /** + * Gets the serviceProvisioningErrors + * + * @return array|null The serviceProvisioningErrors + */ + public function getServiceProvisioningErrors() + { + if (array_key_exists("serviceProvisioningErrors", $this->_propDict)) { + return $this->_propDict["serviceProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the serviceProvisioningErrors + * + * @param ServiceProvisioningError[] $val The serviceProvisioningErrors + * + * @return User + */ + public function setServiceProvisioningErrors($val) + { + $this->_propDict["serviceProvisioningErrors"] = $val; + return $this; + } + /** * Gets the showInAddressList * Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. @@ -2540,7 +2570,7 @@ public function setOwnedDevices($val) /** * Gets the ownedObjects - * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand. + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @return array|null The ownedObjects */ @@ -2555,7 +2585,7 @@ public function getOwnedObjects() /** * Sets the ownedObjects - * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand. + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). * * @param DirectoryObject[] $val The ownedObjects * diff --git a/src/SecurityNamespace/Model/Alert.php b/src/SecurityNamespace/Model/Alert.php index 06dba31874f..9a8ae30536c 100644 --- a/src/SecurityNamespace/Model/Alert.php +++ b/src/SecurityNamespace/Model/Alert.php @@ -200,7 +200,7 @@ public function setCategory($val) /** * Gets the classification - * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, benignPositive, unknownFutureValue. + * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. * * @return AlertClassification|null The classification */ @@ -219,7 +219,7 @@ public function getClassification() /** * Sets the classification - * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, benignPositive, unknownFutureValue. + * Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue. * * @param AlertClassification $val The classification * From 6160d890aafc98c450ae7683e8b901adb7384389 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 22 Aug 2023 11:37:19 +0000 Subject: [PATCH 10/10] Bump SDK version --- README.md | 2 +- src/Core/GraphConstants.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b22976c0f1f..266db52807f 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.104.0" + "microsoft/microsoft-graph": "^1.105.0" } } ``` diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index e2021bcf190..6d79abd5db8 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.104.0"; + const SDK_VERSION = "1.105.0"; // Define error constants const MAX_PAGE_SIZE = 999;