From 539948ee099c081949cbf4a7f56accc38e3429e1 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Aug 2023 10:10:36 +0000 Subject: [PATCH] Update generated files with build 122273 --- .../CallRecords/Model/PstnCallLogRow.php | 4 +- .../Model/AlertImpact.php | 33 + .../Model/AlertRecord.php | 8 +- .../Model/AlertRule.php | 4 +- .../Model/AlertRuleTemplate.php | 1 + .../Model/PortalNotification.php | 4 +- .../Model/ComplianceSettings.php | 2 - .../Model/ExternalConnection.php | 6 +- .../Model/AccessPackageResourceAttribute.php | 4 +- .../Graph/Model/AgreementFileData.php | 4 +- ...ndroidDeviceOwnerDelegatedAppScopeType.php | 37 ++ ...oidDeviceOwnerDelegatedScopeAppSetting.php | 92 +++ ...dDeviceOwnerGeneralDeviceConfiguration.php | 30 + .../AndroidDeviceOwnerVpnConfiguration.php | 29 + ...droidForWorkGeneralDeviceConfiguration.php | 29 + .../Microsoft/Graph/Model/AndroidLobApp.php | 33 + .../Graph/Model/AndroidTargetedPlatforms.php | 35 ++ ...dWorkProfileGeneralDeviceConfiguration.php | 29 + .../AndroidWorkProfileVpnConfiguration.php | 29 + .../Graph/Model/AssignmentReviewSettings.php | 4 +- .../Microsoft/Graph/Model/BaseItemVersion.php | 4 +- .../Microsoft/Graph/Model/CallRecording.php | 4 + .../Microsoft/Graph/Model/CallTranscript.php | 8 +- .../Graph/Model/CloudPcProvisioningPolicy.php | 4 +- .../Graph/Model/CloudPcUserSetting.php | 2 + .../Model/CloudRealtimeCommunicationInfo.php | 52 ++ .../Model/ConditionalAccessPlatforms.php | 4 +- .../Microsoft/Graph/Model/ContentInfo.php | 4 +- ...TenantAccessPolicyConfigurationPartner.php | 27 + .../Graph/Model/CryptographySuite.php | 8 +- .../CustomExtensionClientConfiguration.php | 32 +- .../CustomExtensionOverwriteConfiguration.php | 57 ++ .../Model/DefaultUserRolePermissions.php | 4 +- .../Graph/Model/DeviceGeoLocation.php | 33 - .../Graph/Model/DeviceManagement.php | 4 +- ...onfigurationReferredSettingInformation.php | 4 +- ...ationSimpleSettingCollectionDefinition.php | 8 +- ...figurationStringSettingValueDefinition.php | 12 +- ...eManagementConfigurationTemplateFamily.php | 1 + .../Microsoft/Graph/Model/DirectoryAudit.php | 24 +- .../Graph/Model/EducationAssignment.php | 27 + .../Graph/Model/EducationChannelResource.php | 63 ++ .../Microsoft/Graph/Model/EducationClass.php | 28 + .../EducationLinkedAssignmentResource.php | 63 ++ .../Microsoft/Graph/Model/EducationModule.php | 318 ++++++++++ .../Graph/Model/EducationModuleResource.php | 58 ++ ...MdatpApp.php => EducationModuleStatus.php} | 14 +- .../Graph/Model/GovernanceRuleSetting.php | 4 +- src/Beta/Microsoft/Graph/Model/Identity.php | 8 +- .../Graph/Model/IdentityProvider.php | 4 +- .../Microsoft/Graph/Model/IdentitySet.php | 12 +- .../IosVpnSecurityAssociationParameters.php | 4 +- src/Beta/Microsoft/Graph/Model/KeyValue.php | 8 +- .../Microsoft/Graph/Model/MacOSWebClip.php | 114 ++++ .../Model/MacOsLobAppAssignmentSettings.php | 4 +- .../Graph/Model/ManagedAndroidLobApp.php | 33 + .../Microsoft/Graph/Model/ManagedDevice.php | 29 + .../Model/MobileThreatPartnerTenantState.php | 3 + .../Graph/Model/MultiTenantOrganization.php | 202 +++++++ ...OrganizationIdentitySyncPolicyTemplate.php | 89 +++ ...ltiTenantOrganizationJoinRequestRecord.php | 147 +++++ ...ganizationJoinRequestTransitionDetails.php | 114 ++++ .../Model/MultiTenantOrganizationMember.php | 263 ++++++++ ...nantOrganizationMemberProcessingStatus.php | 37 ++ .../MultiTenantOrganizationMemberRole.php | 35 ++ .../MultiTenantOrganizationMemberState.php | 36 ++ ...antOrganizationMemberTransitionDetails.php | 145 +++++ ...ganizationPartnerConfigurationTemplate.php | 244 ++++++++ .../Model/MultiTenantOrganizationState.php | 35 ++ .../Graph/Model/OAuth2PermissionGrant.php | 4 +- .../Graph/Model/OnPremisesSipInfo.php | 104 ++++ ...kenIssuanceStartCustomExtensionHandler.php | 31 + .../Microsoft/Graph/Model/OnlineMeeting.php | 2 + .../Model/OpenIdConnectIdentityProvider.php | 8 +- .../Graph/Model/OpenIdConnectProvider.php | 8 +- .../Microsoft/Graph/Model/PasswordProfile.php | 4 +- .../Graph/Model/PasswordSingleSignOnField.php | 4 +- .../Model/PermissionGrantConditionSet.php | 4 +- .../Microsoft/Graph/Model/PolicyTemplate.php | 89 +++ .../Graph/Model/ProvisionedIdentity.php | 4 +- .../Graph/Model/ProvisioningObjectSummary.php | 56 +- .../Graph/Model/ProvisioningStatusInfo.php | 4 +- .../Graph/Model/RegistryKeyState.php | 8 +- .../Microsoft/Graph/Model/RemoteAction.php | 3 + .../Graph/Model/SensitivityLabelTarget.php | 2 +- src/Beta/Microsoft/Graph/Model/SignIn.php | 108 ++-- .../Graph/Model/SocialIdentityProvider.php | 4 +- src/Beta/Microsoft/Graph/Model/StatusBase.php | 4 +- .../Microsoft/Graph/Model/Subscription.php | 8 +- .../Model/TeleconferenceDeviceQuality.php | 4 +- .../Graph/Model/TemplateApplicationLevel.php | 36 ++ .../Graph/Model/TenantRelationship.php | 31 + .../Graph/Model/UnifiedRoleDefinition.php | 18 +- src/Beta/Microsoft/Graph/Model/User.php | 62 ++ ...nalyticsBatteryHealthDevicePerformance.php | 58 ++ ...AnalyticsBatteryHealthModelPerformance.php | 149 +++++ ...nceAnalyticsBatteryHealthOsPerformance.php | 178 ++++++ ...alyticsDeviceStartupProcessPerformance.php | 58 -- .../Model/Win32LobAppInstallExperience.php | 28 + .../Microsoft/Graph/Model/WindowsAppX.php | 4 +- .../WindowsAppXAppAssignmentSettings.php | 4 +- .../Graph/Model/WindowsDeviceMalwareState.php | 4 +- .../Graph/Model/WindowsDeviceType.php | 1 + .../Model/WindowsMalwareCategoryCount.php | 4 +- .../Graph/Model/WindowsMalwareInformation.php | 4 +- ...dowsUniversalAppXAppAssignmentSettings.php | 4 +- .../Microsoft/Graph/Model/WorkbookComment.php | 31 + .../Graph/Model/WorkbookCommentReply.php | 31 + .../Graph/Model/WorkbookDocumentTask.php | 350 +++++++++++ .../Model/WorkbookDocumentTaskChange.php | 344 +++++++++++ .../Model/WorkbookDocumentTaskSchedule.php | 88 +++ .../Graph/Model/WorkbookEmailIdentity.php | 104 ++++ .../Graph/Model/WorkbookWorksheet.php | 28 + .../Graph/Model/ZebraFotaConnector.php | 4 +- .../SecurityNamespace/Model/AlertEvidence.php | 10 +- .../Model/BlobContainerEvidence.php | 6 + .../SecurityNamespace/Model/BlobEvidence.php | 10 + .../Model/ContainerEvidence.php | 14 + .../Model/ContainerImageEvidence.php | 6 + .../Model/ContainerRegistryEvidence.php | 2 + .../SecurityNamespace/Model/ContentInfo.php | 4 +- .../Model/DeviceEvidence.php | 2 + .../SecurityNamespace/Model/FileHash.php | 4 + .../Graph/SecurityNamespace/Model/Host.php | 149 +++++ .../SecurityNamespace/Model/HostPair.php | 188 ++++++ .../Model/HostSslCertificate.php | 179 ++++++ .../Model/HostSslCertificatePort.php | 114 ++++ .../Model/IntelligenceProfile.php | 2 + ...lligenceProfileCountryOrRegionOfOrigin.php | 4 + .../Model/KubernetesClusterEvidence.php | 10 + .../Model/KubernetesControllerEvidence.php | 8 + .../Model/KubernetesNamespaceEvidence.php | 6 + .../Model/KubernetesPodEvidence.php | 18 + .../Model/KubernetesSecretEvidence.php | 6 + .../KubernetesServiceAccountEvidence.php | 4 + .../Model/KubernetesServiceEvidence.php | 16 + .../Model/KubernetesServicePort.php | 12 + .../Model/RegistryValueEvidence.php | 2 + .../Model/SslCertificate.php | 322 ++++++++++ .../Model/SslCertificateEntity.php | 265 ++++++++ .../Model/ThreatIntelligence.php | 114 ++++ .../SecurityNamespace/Model/WhoisContact.php | 187 ++++++ .../Model/WhoisDomainStatus.php | 38 ++ .../Model/WhoisNameserver.php | 119 ++++ .../SecurityNamespace/Model/WhoisRecord.php | 570 ++++++++++++++++++ 145 files changed, 7002 insertions(+), 329 deletions(-) create mode 100644 src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php create mode 100644 src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedScopeAppSetting.php create mode 100644 src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php create mode 100644 src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationChannelResource.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationModule.php create mode 100644 src/Beta/Microsoft/Graph/Model/EducationModuleResource.php rename src/Beta/Microsoft/Graph/Model/{MacOSMdatpApp.php => EducationModuleStatus.php} (68%) create mode 100644 src/Beta/Microsoft/Graph/Model/MacOSWebClip.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberRole.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberState.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php create mode 100644 src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnPremisesSipInfo.php create mode 100644 src/Beta/Microsoft/Graph/Model/PolicyTemplate.php create mode 100644 src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php create mode 100644 src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisNameserver.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.php diff --git a/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php b/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php index 7d29ac6aec4..0e1e696c06e 100644 --- a/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php +++ b/src/Beta/Microsoft/Graph/CallRecords/Model/PstnCallLogRow.php @@ -778,7 +778,7 @@ public function setUserDisplayName($val) } /** * Gets the userId - * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucapin, ucapout). * * @return string|null The userId */ @@ -793,7 +793,7 @@ public function getUserId() /** * Sets the userId - * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types (ucapin, ucapout). * * @param string $val The value of the userId * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php index bd5283b102e..fd13a28aa43 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php @@ -56,6 +56,39 @@ public function setAggregationType($val) $this->_propDict["aggregationType"] = $val; return $this; } + + /** + * Gets the alertImpactDetails + * The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value. + * + * @return \Beta\Microsoft\Graph\Model\KeyValuePair|null The alertImpactDetails + */ + public function getAlertImpactDetails() + { + if (array_key_exists("alertImpactDetails", $this->_propDict)) { + if (is_a($this->_propDict["alertImpactDetails"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["alertImpactDetails"])) { + return $this->_propDict["alertImpactDetails"]; + } else { + $this->_propDict["alertImpactDetails"] = new \Beta\Microsoft\Graph\Model\KeyValuePair($this->_propDict["alertImpactDetails"]); + return $this->_propDict["alertImpactDetails"]; + } + } + return null; + } + + /** + * Sets the alertImpactDetails + * The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value. + * + * @param \Beta\Microsoft\Graph\Model\KeyValuePair $val The value to assign to the alertImpactDetails + * + * @return AlertImpact The AlertImpact + */ + public function setAlertImpactDetails($val) + { + $this->_propDict["alertImpactDetails"] = $val; + return $this; + } /** * Gets the value * The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected. diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php index 292f07d0cf9..0a2b5d24462 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRecord.php @@ -26,7 +26,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the alertImpact - * The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. + * The impact of the alert event. Consists of a list of key-value pair and a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. The list of key-value pair indicates the details of the alert impact. * * @return AlertImpact|null The alertImpact */ @@ -45,7 +45,7 @@ public function getAlertImpact() /** * Sets the alertImpact - * The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. + * The impact of the alert event. Consists of a list of key-value pair and a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected. The list of key-value pair indicates the details of the alert impact. * * @param AlertImpact $val The alertImpact * @@ -88,7 +88,7 @@ public function setAlertRuleId($val) /** * Gets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @return AlertRuleTemplate|null The alertRuleTemplate */ @@ -107,7 +107,7 @@ public function getAlertRuleTemplate() /** * Sets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @param AlertRuleTemplate $val The alertRuleTemplate * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php index 3c5898fdc23..8b117458ec4 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRule.php @@ -26,7 +26,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @return AlertRuleTemplate|null The alertRuleTemplate */ @@ -45,7 +45,7 @@ public function getAlertRuleTemplate() /** * Sets the alertRuleTemplate - * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @param AlertRuleTemplate $val The alertRuleTemplate * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php index f5b0612f405..a8c769dc135 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertRuleTemplate.php @@ -34,4 +34,5 @@ class AlertRuleTemplate extends Enum const CLOUD_PC_ON_PREMISE_NETWORK_CONNECTION_CHECK_SCENARIO = "cloudPcOnPremiseNetworkConnectionCheckScenario"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const CLOUD_PC_IN_GRACE_PERIOD_SCENARIO = "cloudPcInGracePeriodScenario"; + const CLOUD_PC_FRONTLINE_INSUFFICIENT_LICENSES_SCENARIO = "cloudPcFrontlineInsufficientLicensesScenario"; } diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php index d2315615188..971df147222 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/PortalNotification.php @@ -143,7 +143,7 @@ public function setAlertRuleName($val) /** * Gets the alertRuleTemplate - * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @return AlertRuleTemplate|null The alertRuleTemplate */ @@ -162,7 +162,7 @@ public function getAlertRuleTemplate() /** * Sets the alertRuleTemplate - * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue. + * The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. * * @param AlertRuleTemplate $val The value to assign to the alertRuleTemplate * diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php index 67b0ffb7f06..dcb500a0b0d 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ComplianceSettings.php @@ -26,7 +26,6 @@ class ComplianceSettings extends \Beta\Microsoft\Graph\Model\Entity /** * Gets the eDiscoveryResultTemplates - * Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. * * @return DisplayTemplate|null The eDiscoveryResultTemplates */ @@ -45,7 +44,6 @@ public function getEDiscoveryResultTemplates() /** * Sets the eDiscoveryResultTemplates - * Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. * * @param DisplayTemplate $val The value to assign to the eDiscoveryResultTemplates * diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php index daf3fad138c..8b11491221a 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php @@ -59,7 +59,6 @@ public function setActivitySettings($val) /** * Gets the complianceSettings - * The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results. * * @return ComplianceSettings|null The complianceSettings */ @@ -78,7 +77,6 @@ public function getComplianceSettings() /** * Sets the complianceSettings - * The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results. * * @param ComplianceSettings $val The complianceSettings * @@ -183,7 +181,7 @@ public function setDescription($val) /** * Gets the enabledContentExperiences - * The list of content experiences the connection will participate in. Possible values are search and compliance. + * The list of content experiences the connection will participate in. Possible values are search. * * @return ContentExperienceType|null The enabledContentExperiences */ @@ -202,7 +200,7 @@ public function getEnabledContentExperiences() /** * Sets the enabledContentExperiences - * The list of content experiences the connection will participate in. Possible values are search and compliance. + * The list of content experiences the connection will participate in. Possible values are search. * * @param ContentExperienceType $val The enabledContentExperiences * diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php b/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php index f3b52967403..db51cf79185 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php @@ -58,7 +58,7 @@ public function setAttributeDestination($val) } /** * Gets the attributeName - * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle. + * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle. * * @return string|null The attributeName */ @@ -73,7 +73,7 @@ public function getAttributeName() /** * Sets the attributeName - * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle. + * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle. * * @param string $val The value of the attributeName * diff --git a/src/Beta/Microsoft/Graph/Model/AgreementFileData.php b/src/Beta/Microsoft/Graph/Model/AgreementFileData.php index df8cbc9482c..ee99d5ce611 100644 --- a/src/Beta/Microsoft/Graph/Model/AgreementFileData.php +++ b/src/Beta/Microsoft/Graph/Model/AgreementFileData.php @@ -26,7 +26,7 @@ class AgreementFileData extends Entity /** * Gets the data - * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)). + * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'yourfilepath' -Encoding byte)). * * @return \GuzzleHttp\Psr7\Stream|null The data */ @@ -45,7 +45,7 @@ public function getData() /** * Sets the data - * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)). + * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'yourfilepath' -Encoding byte)). * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the data * diff --git a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php new file mode 100644 index 00000000000..cda1c92c6dd --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDelegatedAppScopeType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["appDetail"], "\Beta\Microsoft\Graph\Model\AppListItem") || is_null($this->_propDict["appDetail"])) { + return $this->_propDict["appDetail"]; + } else { + $this->_propDict["appDetail"] = new AppListItem($this->_propDict["appDetail"]); + return $this->_propDict["appDetail"]; + } + } + return null; + } + + /** + * Sets the appDetail + * Information about the app like Name, AppStoreUrl, Publisher and AppId + * + * @param AppListItem $val The value to assign to the appDetail + * + * @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting + */ + public function setAppDetail($val) + { + $this->_propDict["appDetail"] = $val; + return $this; + } + + /** + * Gets the appScopes + * List of scopes an app has been assigned. + * + * @return AndroidDeviceOwnerDelegatedAppScopeType|null The appScopes + */ + public function getAppScopes() + { + if (array_key_exists("appScopes", $this->_propDict)) { + if (is_a($this->_propDict["appScopes"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerDelegatedAppScopeType") || is_null($this->_propDict["appScopes"])) { + return $this->_propDict["appScopes"]; + } else { + $this->_propDict["appScopes"] = new AndroidDeviceOwnerDelegatedAppScopeType($this->_propDict["appScopes"]); + return $this->_propDict["appScopes"]; + } + } + return null; + } + + /** + * Sets the appScopes + * List of scopes an app has been assigned. + * + * @param AndroidDeviceOwnerDelegatedAppScopeType $val The value to assign to the appScopes + * + * @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting + */ + public function setAppScopes($val) + { + $this->_propDict["appScopes"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php index 9034a9f9bc2..b1194b7488c 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php @@ -53,6 +53,36 @@ public function setAccountsBlockModification($val) return $this; } + + /** + * Gets the androidDeviceOwnerDelegatedScopeAppSettings + * Specifies the list of managed apps with app details and its associated delegated scope(s). This collection can contain a maximum of 500 elements. + * + * @return array|null The androidDeviceOwnerDelegatedScopeAppSettings + */ + public function getAndroidDeviceOwnerDelegatedScopeAppSettings() + { + if (array_key_exists("androidDeviceOwnerDelegatedScopeAppSettings", $this->_propDict)) { + return $this->_propDict["androidDeviceOwnerDelegatedScopeAppSettings"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceOwnerDelegatedScopeAppSettings + * Specifies the list of managed apps with app details and its associated delegated scope(s). This collection can contain a maximum of 500 elements. + * + * @param AndroidDeviceOwnerDelegatedScopeAppSetting[] $val The androidDeviceOwnerDelegatedScopeAppSettings + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAndroidDeviceOwnerDelegatedScopeAppSettings($val) + { + $this->_propDict["androidDeviceOwnerDelegatedScopeAppSettings"] = $val; + return $this; + } + /** * Gets the appsAllowInstallFromUnknownSources * Indicates whether or not the user is allowed to enable to unknown sources setting. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php index 0ded201ed5d..d9380b4093b 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVpnConfiguration.php @@ -204,6 +204,35 @@ public function setMicrosoftTunnelSiteId($val) return $this; } + /** + * Gets the proxyExclusionList + * 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 + */ + public function getProxyExclusionList() + { + if (array_key_exists("proxyExclusionList", $this->_propDict)) { + return $this->_propDict["proxyExclusionList"]; + } else { + return null; + } + } + + /** + * Sets the proxyExclusionList + * 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 + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setProxyExclusionList($val) + { + $this->_propDict["proxyExclusionList"] = $val; + return $this; + } + /** * Gets the proxyServer * Proxy server. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php index 6fd85bc7538..0560b716246 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php @@ -53,6 +53,35 @@ public function setAllowedGoogleAccountDomains($val) return $this; } + /** + * Gets the blockUnifiedPasswordForWorkProfile + * Prevent using unified password for unlocking device and work profile. + * + * @return bool|null The blockUnifiedPasswordForWorkProfile + */ + public function getBlockUnifiedPasswordForWorkProfile() + { + if (array_key_exists("blockUnifiedPasswordForWorkProfile", $this->_propDict)) { + return $this->_propDict["blockUnifiedPasswordForWorkProfile"]; + } else { + return null; + } + } + + /** + * Sets the blockUnifiedPasswordForWorkProfile + * Prevent using unified password for unlocking device and work profile. + * + * @param bool $val The blockUnifiedPasswordForWorkProfile + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setBlockUnifiedPasswordForWorkProfile($val) + { + $this->_propDict["blockUnifiedPasswordForWorkProfile"] = boolval($val); + return $this; + } + /** * Gets the passwordBlockFaceUnlock * Indicates whether or not to block face unlock. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php b/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php index 81a26fd4c57..f673c9012d7 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php @@ -144,6 +144,39 @@ public function setPackageId($val) return $this; } + /** + * Gets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @return AndroidTargetedPlatforms|null The targetedPlatforms + */ + public function getTargetedPlatforms() + { + if (array_key_exists("targetedPlatforms", $this->_propDict)) { + if (is_a($this->_propDict["targetedPlatforms"], "\Beta\Microsoft\Graph\Model\AndroidTargetedPlatforms") || is_null($this->_propDict["targetedPlatforms"])) { + return $this->_propDict["targetedPlatforms"]; + } else { + $this->_propDict["targetedPlatforms"] = new AndroidTargetedPlatforms($this->_propDict["targetedPlatforms"]); + return $this->_propDict["targetedPlatforms"]; + } + } + return null; + } + + /** + * Sets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @param AndroidTargetedPlatforms $val The targetedPlatforms + * + * @return AndroidLobApp + */ + public function setTargetedPlatforms($val) + { + $this->_propDict["targetedPlatforms"] = $val; + return $this; + } + /** * Gets the versionCode * The version code of Android Line of Business (LoB) app. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php b/src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php new file mode 100644 index 00000000000..ddb3b4163a4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AndroidTargetedPlatforms.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["blockUnifiedPasswordForWorkProfile"]; + } else { + return null; + } + } + + /** + * Sets the blockUnifiedPasswordForWorkProfile + * Prevent using unified password for unlocking device and work profile. + * + * @param bool $val The blockUnifiedPasswordForWorkProfile + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setBlockUnifiedPasswordForWorkProfile($val) + { + $this->_propDict["blockUnifiedPasswordForWorkProfile"] = boolval($val); + return $this; + } + /** * Gets the passwordBlockFaceUnlock * Indicates whether or not to block face unlock. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php b/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php index f74c0816845..bbb0a87a335 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php @@ -295,6 +295,35 @@ public function setMicrosoftTunnelSiteId($val) return $this; } + /** + * Gets the proxyExclusionList + * 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 + */ + public function getProxyExclusionList() + { + if (array_key_exists("proxyExclusionList", $this->_propDict)) { + return $this->_propDict["proxyExclusionList"]; + } else { + return null; + } + } + + /** + * Sets the proxyExclusionList + * 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 + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setProxyExclusionList($val) + { + $this->_propDict["proxyExclusionList"] = $val; + return $this; + } + /** * Gets the proxyServer * Proxy server. diff --git a/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php b/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php index f3c451d1900..938e42f2e38 100644 --- a/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php +++ b/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php @@ -231,7 +231,7 @@ public function setReviewers($val) } /** * Gets the reviewerType - * Who should be asked to do the review, either Self or Reviewers. + * Who should be asked to do the review, either Self, Reviewers or Manager. * * @return string|null The reviewerType */ @@ -246,7 +246,7 @@ public function getReviewerType() /** * Sets the reviewerType - * Who should be asked to do the review, either Self or Reviewers. + * Who should be asked to do the review, either Self, Reviewers or Manager. * * @param string $val The value of the reviewerType * diff --git a/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php b/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php index 88ca8a7c124..5e939ac4bef 100644 --- a/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php +++ b/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php @@ -59,7 +59,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime - * Date and time the version was last modified. Read-only. + * Date and time when the version was last modified. Read-only. * * @return \DateTime|null The lastModifiedDateTime */ @@ -78,7 +78,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime - * Date and time the version was last modified. Read-only. + * Date and time when the version was last modified. Read-only. * * @param \DateTime $val The lastModifiedDateTime * diff --git a/src/Beta/Microsoft/Graph/Model/CallRecording.php b/src/Beta/Microsoft/Graph/Model/CallRecording.php index eca1d98dd7e..7e3bda71860 100644 --- a/src/Beta/Microsoft/Graph/Model/CallRecording.php +++ b/src/Beta/Microsoft/Graph/Model/CallRecording.php @@ -26,6 +26,7 @@ class CallRecording extends Entity { /** * Gets the content + * The content of the recording. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The content */ @@ -44,6 +45,7 @@ public function getContent() /** * Sets the content + * The content of the recording. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The content * @@ -57,6 +59,7 @@ public function setContent($val) /** * Gets the createdDateTime + * Date and time at which the recording was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. * * @return \DateTime|null The createdDateTime */ @@ -75,6 +78,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date and time at which the recording was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. * * @param \DateTime $val The createdDateTime * diff --git a/src/Beta/Microsoft/Graph/Model/CallTranscript.php b/src/Beta/Microsoft/Graph/Model/CallTranscript.php index c3bab12ab49..e7397745976 100644 --- a/src/Beta/Microsoft/Graph/Model/CallTranscript.php +++ b/src/Beta/Microsoft/Graph/Model/CallTranscript.php @@ -26,7 +26,7 @@ class CallTranscript extends Entity { /** * Gets the content - * A field that represents the content of the transcript. Read-only. + * The content of the transcript. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The content */ @@ -45,7 +45,7 @@ public function getContent() /** * Sets the content - * A field that represents the content of the transcript. Read-only. + * The content of the transcript. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The content * @@ -92,7 +92,7 @@ public function setCreatedDateTime($val) /** * Gets the metadataContent - * A field that represents the time-aligned metadata of the utterances in the transcript. Read-only. + * The time-aligned metadata of the utterances in the transcript. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The metadataContent */ @@ -111,7 +111,7 @@ public function getMetadataContent() /** * Sets the metadataContent - * A field that represents the time-aligned metadata of the utterances in the transcript. Read-only. + * The time-aligned metadata of the utterances in the transcript. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The metadataContent * diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php b/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php index 85be3dd659e..504754a4c0e 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php @@ -319,7 +319,7 @@ public function setImageDisplayName($val) /** * Gets the imageId - * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. + * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisheroffersku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. * * @return string|null The imageId */ @@ -334,7 +334,7 @@ public function getImageId() /** * Sets the imageId - * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. + * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisheroffersku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. * * @param string $val The imageId * diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php b/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php index d427cc90cab..fc42357b6d0 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php @@ -150,6 +150,7 @@ public function setLocalAdminEnabled($val) /** * Gets the resetEnabled + * Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset is not allowed. The default value is false. * * @return bool|null The resetEnabled */ @@ -164,6 +165,7 @@ public function getResetEnabled() /** * Sets the resetEnabled + * Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset is not allowed. The default value is false. * * @param bool $val The resetEnabled * diff --git a/src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php b/src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php new file mode 100644 index 00000000000..935c6e7fcfc --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudRealtimeCommunicationInfo.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["isSipEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSipEnabled + * + * @param bool $val The value of the isSipEnabled + * + * @return CloudRealtimeCommunicationInfo + */ + public function setIsSipEnabled($val) + { + $this->_propDict["isSipEnabled"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php b/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php index c4e700c8bd4..f2f52e1ded9 100644 --- a/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php +++ b/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php @@ -59,7 +59,7 @@ public function setExcludePlatforms($val) /** * Gets the includePlatforms - * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux. * * @return ConditionalAccessDevicePlatform|null The includePlatforms */ @@ -78,7 +78,7 @@ public function getIncludePlatforms() /** * Sets the includePlatforms - * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux. * * @param ConditionalAccessDevicePlatform $val The value to assign to the includePlatforms * diff --git a/src/Beta/Microsoft/Graph/Model/ContentInfo.php b/src/Beta/Microsoft/Graph/Model/ContentInfo.php index 221b756165a..7c17e77ff6e 100644 --- a/src/Beta/Microsoft/Graph/Model/ContentInfo.php +++ b/src/Beta/Microsoft/Graph/Model/ContentInfo.php @@ -87,7 +87,7 @@ public function setIdentifier($val) /** * Gets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIPLabelGUID_PropName. * * @return KeyValuePair|null The metadata */ @@ -106,7 +106,7 @@ public function getMetadata() /** * Sets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key/value pairs, where the key is the MSIPLabelGUID_PropName. * * @param KeyValuePair $val The value to assign to the metadata * diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php index 42ba845c4e9..0227873fea1 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php @@ -253,6 +253,33 @@ public function setInboundTrust($val) return $this; } + /** + * Gets the isInMultiTenantOrganization + * + * @return bool|null The isInMultiTenantOrganization + */ + public function getIsInMultiTenantOrganization() + { + if (array_key_exists("isInMultiTenantOrganization", $this->_propDict)) { + return $this->_propDict["isInMultiTenantOrganization"]; + } else { + return null; + } + } + + /** + * Sets the isInMultiTenantOrganization + * + * @param bool $val The isInMultiTenantOrganization + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setIsInMultiTenantOrganization($val) + { + $this->_propDict["isInMultiTenantOrganization"] = boolval($val); + return $this; + } + /** * Gets the isServiceProvider * Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization. diff --git a/src/Beta/Microsoft/Graph/Model/CryptographySuite.php b/src/Beta/Microsoft/Graph/Model/CryptographySuite.php index 77a1a48dab6..a3c7504db4b 100644 --- a/src/Beta/Microsoft/Graph/Model/CryptographySuite.php +++ b/src/Beta/Microsoft/Graph/Model/CryptographySuite.php @@ -26,7 +26,7 @@ class CryptographySuite extends Entity /** * Gets the authenticationTransformConstants - * Authentication Transform Constants. Possible values are: md5_96, sha1_96, sha_256_128, aes128Gcm, aes192Gcm, aes256Gcm. + * Authentication Transform Constants. Possible values are: md596, sha196, sha256128, aes128Gcm, aes192Gcm, aes256Gcm. * * @return AuthenticationTransformConstant|null The authenticationTransformConstants */ @@ -45,7 +45,7 @@ public function getAuthenticationTransformConstants() /** * Sets the authenticationTransformConstants - * Authentication Transform Constants. Possible values are: md5_96, sha1_96, sha_256_128, aes128Gcm, aes192Gcm, aes256Gcm. + * Authentication Transform Constants. Possible values are: md596, sha196, sha256128, aes128Gcm, aes192Gcm, aes256Gcm. * * @param AuthenticationTransformConstant $val The value to assign to the authenticationTransformConstants * @@ -158,7 +158,7 @@ public function setEncryptionMethod($val) /** * Gets the integrityCheckMethod - * Integrity Check Method. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity Check Method. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @return VpnIntegrityAlgorithmType|null The integrityCheckMethod */ @@ -177,7 +177,7 @@ public function getIntegrityCheckMethod() /** * Sets the integrityCheckMethod - * Integrity Check Method. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity Check Method. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @param VpnIntegrityAlgorithmType $val The value to assign to the integrityCheckMethod * diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php index f07f1977564..cdf6d2adb88 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php @@ -23,9 +23,37 @@ */ class CustomExtensionClientConfiguration extends Entity { + /** + * Gets the maximumRetries + * The max number of retries that Azure AD will make to the external API. Values of 0 or 1 are supported. If null, the default for the service will apply. + * + * @return int|null The maximumRetries + */ + public function getMaximumRetries() + { + if (array_key_exists("maximumRetries", $this->_propDict)) { + return $this->_propDict["maximumRetries"]; + } else { + return null; + } + } + + /** + * Sets the maximumRetries + * The max number of retries that Azure AD will make to the external API. Values of 0 or 1 are supported. If null, the default for the service will apply. + * + * @param int $val The value of the maximumRetries + * + * @return CustomExtensionClientConfiguration + */ + public function setMaximumRetries($val) + { + $this->_propDict["maximumRetries"] = $val; + return $this; + } /** * Gets the timeoutInMilliseconds - * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service will apply. * * @return int|null The timeoutInMilliseconds */ @@ -40,7 +68,7 @@ public function getTimeoutInMilliseconds() /** * Sets the timeoutInMilliseconds - * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service will apply. * * @param int $val The value of the timeoutInMilliseconds * diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php new file mode 100644 index 00000000000..3901d93ba8e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionOverwriteConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["clientConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionClientConfiguration") || is_null($this->_propDict["clientConfiguration"])) { + return $this->_propDict["clientConfiguration"]; + } else { + $this->_propDict["clientConfiguration"] = new CustomExtensionClientConfiguration($this->_propDict["clientConfiguration"]); + return $this->_propDict["clientConfiguration"]; + } + } + return null; + } + + /** + * Sets the clientConfiguration + * + * @param CustomExtensionClientConfiguration $val The value to assign to the clientConfiguration + * + * @return CustomExtensionOverwriteConfiguration The CustomExtensionOverwriteConfiguration + */ + public function setClientConfiguration($val) + { + $this->_propDict["clientConfiguration"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php b/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php index 84318b9a2a6..0b496b6fbe2 100644 --- a/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php +++ b/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php @@ -137,7 +137,7 @@ public function setAllowedToReadBitlockerKeysForOwnedDevice($val) } /** * Gets the allowedToReadOtherUsers - * Indicates whether the default user role can read other users. + * Indicates whether the default user role can read other users. DO NOT SET THIS VALUE TO false. * * @return bool|null The allowedToReadOtherUsers */ @@ -152,7 +152,7 @@ public function getAllowedToReadOtherUsers() /** * Sets the allowedToReadOtherUsers - * Indicates whether the default user role can read other users. + * Indicates whether the default user role can read other users. DO NOT SET THIS VALUE TO false. * * @param bool $val The value of the allowedToReadOtherUsers * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php b/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php index a463e804a96..cb5b0bc3a4c 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php @@ -140,39 +140,6 @@ public function setLastCollectedDateTime($val) $this->_propDict["lastCollectedDateTime"] = $val; return $this; } - - /** - * Gets the lastCollectedDateTimeUtc - * Time at which location was recorded, relative to UTC - * - * @return \DateTime|null The lastCollectedDateTimeUtc - */ - public function getLastCollectedDateTimeUtc() - { - if (array_key_exists("lastCollectedDateTimeUtc", $this->_propDict)) { - if (is_a($this->_propDict["lastCollectedDateTimeUtc"], "\DateTime") || is_null($this->_propDict["lastCollectedDateTimeUtc"])) { - return $this->_propDict["lastCollectedDateTimeUtc"]; - } else { - $this->_propDict["lastCollectedDateTimeUtc"] = new \DateTime($this->_propDict["lastCollectedDateTimeUtc"]); - return $this->_propDict["lastCollectedDateTimeUtc"]; - } - } - return null; - } - - /** - * Sets the lastCollectedDateTimeUtc - * Time at which location was recorded, relative to UTC - * - * @param \DateTime $val The value to assign to the lastCollectedDateTimeUtc - * - * @return DeviceGeoLocation The DeviceGeoLocation - */ - public function setLastCollectedDateTimeUtc($val) - { - $this->_propDict["lastCollectedDateTimeUtc"] = $val; - return $this; - } /** * Gets the latitude * Latitude coordinate of the device's location diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php index 94691883833..df6417f548d 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php @@ -439,7 +439,7 @@ public function setManagedDeviceCleanupSettings($val) /** * Gets the subscriptions - * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intune_EDU, intune_SMB. + * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intuneEDU, intuneSMB. * * @return DeviceManagementSubscriptions|null The subscriptions */ @@ -458,7 +458,7 @@ public function getSubscriptions() /** * Sets the subscriptions - * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intune_EDU, intune_SMB. + * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intuneEDU, intuneSMB. * * @param DeviceManagementSubscriptions $val The subscriptions * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php index 62f8fe8d53d..7818161a161 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php @@ -25,7 +25,7 @@ class DeviceManagementConfigurationReferredSettingInformation extends Entity { /** * Gets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @return string|null The settingDefinitionId */ @@ -40,7 +40,7 @@ public function getSettingDefinitionId() /** * Sets the settingDefinitionId - * Setting definition id that is being referred to a setting. Applicable for reusable setting + * Setting definition id that is being referred to a setting. Applicable for reusable setting. * * @param string $val The value of the settingDefinitionId * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php index 60995c914c7..68ed03d5cbc 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of simple settings in the collection. Valid values 1 to 100 + * Maximum number of simple settings in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of simple settings in the collection. Valid values 1 to 100 + * Maximum number of simple settings in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of simple settings in the collection. Valid values 1 to 100 + * Minimum number of simple settings in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of simple settings in the collection. Valid values 1 to 100 + * Minimum number of simple settings in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php index 4cbb970141f..323fd5206ff 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, bashScript, unknownFutureValue. + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. * * @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, bashScript, unknownFutureValue. + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. * * @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. Valid values 0 to 87516 + * Maximum length of string * * @return int|null The maximumLength */ @@ -157,7 +157,7 @@ public function getMaximumLength() /** * Sets the maximumLength - * Maximum length of string. Valid values 0 to 87516 + * Maximum length of string * * @param int $val The value of the maximumLength * @@ -170,7 +170,7 @@ public function setMaximumLength($val) } /** * Gets the minimumLength - * Minimum length of string. Valid values 0 to 87516 + * Minimum length of string * * @return int|null The minimumLength */ @@ -185,7 +185,7 @@ public function getMinimumLength() /** * Sets the minimumLength - * Minimum length of string. Valid values 0 to 87516 + * Minimum length of string * * @param int $val The value of the minimumLength * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php index c40af1e9cb6..1c36f4fdba7 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTemplateFamily.php @@ -43,4 +43,5 @@ class DeviceManagementConfigurationTemplateFamily extends Enum const BASELINE = "baseline"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const DEVICE_CONFIGURATION_SCRIPTS = "deviceConfigurationScripts"; + const DEVICE_CONFIGURATION_POLICIES = "deviceConfigurationPolicies"; } diff --git a/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php b/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php index 9d492ad6b69..282bd3f2fe7 100644 --- a/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php +++ b/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php @@ -26,7 +26,7 @@ class DirectoryAudit extends Entity { /** * Gets the activityDateTime - * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.Supports $filter (eq, ge, le) and $orderby. * * @return \DateTime|null The activityDateTime */ @@ -45,7 +45,7 @@ public function getActivityDateTime() /** * Sets the activityDateTime - * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.Supports $filter (eq, ge, le) and $orderby. * * @param \DateTime $val The activityDateTime * @@ -59,7 +59,7 @@ public function setActivityDateTime($val) /** * Gets the activityDisplayName - * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. Supports $filter (eq, startswith). * * @return string|null The activityDisplayName */ @@ -74,7 +74,7 @@ public function getActivityDisplayName() /** * Sets the activityDisplayName - * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. Supports $filter (eq, startswith). * * @param string $val The activityDisplayName * @@ -147,7 +147,7 @@ public function setCategory($val) /** * Gets the correlationId - * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. Supports $filter (eq). * * @return string|null The correlationId */ @@ -162,7 +162,7 @@ public function getCorrelationId() /** * Sets the correlationId - * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. Supports $filter (eq). * * @param string $val The correlationId * @@ -176,7 +176,7 @@ public function setCorrelationId($val) /** * Gets the initiatedBy - * Indicates information about the user or app initiated the activity. + * Indicates information about the user or app initiated the activity. Supports $filter (eq) for user/id, user/displayName, user/userPrincipalName, app/appId, app/displayName; and $filter (startswith) for user/userPrincipalName. * * @return AuditActivityInitiator|null The initiatedBy */ @@ -195,7 +195,7 @@ public function getInitiatedBy() /** * Sets the initiatedBy - * Indicates information about the user or app initiated the activity. + * Indicates information about the user or app initiated the activity. Supports $filter (eq) for user/id, user/displayName, user/userPrincipalName, app/appId, app/displayName; and $filter (startswith) for user/userPrincipalName. * * @param AuditActivityInitiator $val The initiatedBy * @@ -209,7 +209,7 @@ public function setInitiatedBy($val) /** * Gets the loggedByService - * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. Supports $filter (eq). * * @return string|null The loggedByService */ @@ -224,7 +224,7 @@ public function getLoggedByService() /** * Sets the loggedByService - * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. Supports $filter (eq). * * @param string $val The loggedByService * @@ -330,7 +330,7 @@ public function setResultReason($val) /** * Gets the targetResources - * Information about the resource that changed due to the activity. + * Information about the resource that changed due to the activity. Supports $filter (eq) for id and displayName; and $filter (startswith) for displayName. * * @return array|null The targetResources */ @@ -345,7 +345,7 @@ public function getTargetResources() /** * Sets the targetResources - * Information about the resource that changed due to the activity. + * Information about the resource that changed due to the activity. Supports $filter (eq) for id and displayName; and $filter (startswith) for displayName. * * @param TargetResource[] $val The targetResources * diff --git a/src/Beta/Microsoft/Graph/Model/EducationAssignment.php b/src/Beta/Microsoft/Graph/Model/EducationAssignment.php index 7ca11340879..a0f69f287f5 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationAssignment.php +++ b/src/Beta/Microsoft/Graph/Model/EducationAssignment.php @@ -598,6 +598,33 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the moduleUrl + * + * @return string|null The moduleUrl + */ + public function getModuleUrl() + { + if (array_key_exists("moduleUrl", $this->_propDict)) { + return $this->_propDict["moduleUrl"]; + } else { + return null; + } + } + + /** + * Sets the moduleUrl + * + * @param string $val The moduleUrl + * + * @return EducationAssignment + */ + public function setModuleUrl($val) + { + $this->_propDict["moduleUrl"] = $val; + return $this; + } + /** * Gets the notificationChannelUrl * Optional field to specify the URL of the channel to post the assignment publish notification. If not specified or null, defaults to the General channel. This field only applies to assignments where the assignTo value is educationAssignmentClassRecipient. Updating the notificationChannelUrl is not allowed after the assignment has been published. diff --git a/src/Beta/Microsoft/Graph/Model/EducationChannelResource.php b/src/Beta/Microsoft/Graph/Model/EducationChannelResource.php new file mode 100644 index 00000000000..0ac984fb2ab --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationChannelResource.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.educationChannelResource"); + } + + /** + * 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 value of the url + * + * @return EducationChannelResource + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/EducationClass.php b/src/Beta/Microsoft/Graph/Model/EducationClass.php index f5e81006d88..2dba66907b2 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationClass.php +++ b/src/Beta/Microsoft/Graph/Model/EducationClass.php @@ -514,6 +514,34 @@ public function setAssignmentSettings($val) return $this; } + + /** + * Gets the modules + * + * @return array|null The modules + */ + public function getModules() + { + if (array_key_exists("modules", $this->_propDict)) { + return $this->_propDict["modules"]; + } else { + return null; + } + } + + /** + * Sets the modules + * + * @param EducationModule[] $val The modules + * + * @return EducationClass + */ + public function setModules($val) + { + $this->_propDict["modules"] = $val; + return $this; + } + /** * Gets the group * diff --git a/src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php b/src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php new file mode 100644 index 00000000000..02f9e652f28 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationLinkedAssignmentResource.php @@ -0,0 +1,63 @@ +setODataType("#microsoft.graph.educationLinkedAssignmentResource"); + } + + /** + * 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 value of the url + * + * @return EducationLinkedAssignmentResource + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/EducationModule.php b/src/Beta/Microsoft/Graph/Model/EducationModule.php new file mode 100644 index 00000000000..7129ae54882 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationModule.php @@ -0,0 +1,318 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param IdentitySet $val The createdBy + * + * @return EducationModule + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_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 createdDateTime + * + * @return EducationModule + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return EducationModule + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return EducationModule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isPinned + * + * @return bool|null The isPinned + */ + public function getIsPinned() + { + if (array_key_exists("isPinned", $this->_propDict)) { + return $this->_propDict["isPinned"]; + } else { + return null; + } + } + + /** + * Sets the isPinned + * + * @param bool $val The isPinned + * + * @return EducationModule + */ + public function setIsPinned($val) + { + $this->_propDict["isPinned"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationModule + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationModule + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourcesFolderUrl + * + * @return string|null The resourcesFolderUrl + */ + public function getResourcesFolderUrl() + { + if (array_key_exists("resourcesFolderUrl", $this->_propDict)) { + return $this->_propDict["resourcesFolderUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourcesFolderUrl + * + * @param string $val The resourcesFolderUrl + * + * @return EducationModule + */ + public function setResourcesFolderUrl($val) + { + $this->_propDict["resourcesFolderUrl"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return EducationModuleStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationModuleStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new EducationModuleStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param EducationModuleStatus $val The status + * + * @return EducationModule + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the resources + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * + * @param EducationModuleResource[] $val The resources + * + * @return EducationModule + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/EducationModuleResource.php b/src/Beta/Microsoft/Graph/Model/EducationModuleResource.php new file mode 100644 index 00000000000..6100b0620e8 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EducationModuleResource.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new EducationResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * + * @param EducationResource $val The resource + * + * @return EducationModuleResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php b/src/Beta/Microsoft/Graph/Model/EducationModuleStatus.php similarity index 68% rename from src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php rename to src/Beta/Microsoft/Graph/Model/EducationModuleStatus.php index 96bf3e945fd..60f04e659d3 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php +++ b/src/Beta/Microsoft/Graph/Model/EducationModuleStatus.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. * -* MacOSMdatpApp File +* EducationModuleStatus File * PHP version 7 * * @category Library @@ -13,8 +13,10 @@ */ namespace Beta\Microsoft\Graph\Model; +use Microsoft\Graph\Core\Enum; + /** -* MacOSMdatpApp class +* EducationModuleStatus class * * @category Model * @package Microsoft.Graph @@ -22,6 +24,12 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class MacOSMdatpApp extends MobileApp +class EducationModuleStatus extends Enum { + /** + * The Enum EducationModuleStatus + */ + const DRAFT = "draft"; + const PUBLISHED = "published"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php b/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php index 09b146525a9..ff0b1ec8070 100644 --- a/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php +++ b/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php @@ -53,7 +53,7 @@ public function setRuleIdentifier($val) } /** * Gets the setting - * The settings of the rule. The value is a JSON string with a list of pairs in the format of Parameter_Name:Parameter_Value. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} + * The settings of the rule. The value is a JSON string with a list of pairs in the format of ParameterName:ParameterValue. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} * * @return string|null The setting */ @@ -68,7 +68,7 @@ public function getSetting() /** * Sets the setting - * The settings of the rule. The value is a JSON string with a list of pairs in the format of Parameter_Name:Parameter_Value. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} + * The settings of the rule. The value is a JSON string with a list of pairs in the format of ParameterName:ParameterValue. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} * * @param string $val The value of the setting * diff --git a/src/Beta/Microsoft/Graph/Model/Identity.php b/src/Beta/Microsoft/Graph/Model/Identity.php index 03a9de8a01b..79a5705bc43 100644 --- a/src/Beta/Microsoft/Graph/Model/Identity.php +++ b/src/Beta/Microsoft/Graph/Model/Identity.php @@ -25,7 +25,7 @@ class Identity extends Entity { /** * Gets the displayName - * The display name of the identity. This property is read-only. + * 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. * * @return string|null The displayName */ @@ -40,7 +40,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the identity. This property is read-only. + * 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. * * @param string $val The value of the displayName * @@ -53,7 +53,7 @@ public function setDisplayName($val) } /** * Gets the id - * The identifier of the identity. This property is read-only. + * Unique identifier for the identity. * * @return string|null The id */ @@ -68,7 +68,7 @@ public function getId() /** * Sets the id - * The identifier of the identity. This property is read-only. + * Unique identifier for the identity. * * @param string $val The value of the id * diff --git a/src/Beta/Microsoft/Graph/Model/IdentityProvider.php b/src/Beta/Microsoft/Graph/Model/IdentityProvider.php index a5507dcfde9..8dae7629af7 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/IdentityProvider.php @@ -55,7 +55,7 @@ public function setClientId($val) /** * Gets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return . This is a required field. Required. Not nullable. * * @return string|null The clientSecret */ @@ -70,7 +70,7 @@ public function getClientSecret() /** * Sets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return . This is a required field. Required. Not nullable. * * @param string $val The clientSecret * diff --git a/src/Beta/Microsoft/Graph/Model/IdentitySet.php b/src/Beta/Microsoft/Graph/Model/IdentitySet.php index 655759bfd9f..2046ffd53d1 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentitySet.php +++ b/src/Beta/Microsoft/Graph/Model/IdentitySet.php @@ -26,7 +26,7 @@ class IdentitySet extends Entity /** * Gets the application - * Optional. The application associated with this action. + * The Identity of the Application. This property is read-only. * * @return Identity|null The application */ @@ -45,7 +45,7 @@ public function getApplication() /** * Sets the application - * Optional. The application associated with this action. + * The Identity of the Application. This property is read-only. * * @param Identity $val The value to assign to the application * @@ -59,7 +59,7 @@ public function setApplication($val) /** * Gets the device - * Optional. The device associated with this action. + * The Identity of the Device. This property is read-only. * * @return Identity|null The device */ @@ -78,7 +78,7 @@ public function getDevice() /** * Sets the device - * Optional. The device associated with this action. + * The Identity of the Device. This property is read-only. * * @param Identity $val The value to assign to the device * @@ -92,7 +92,7 @@ public function setDevice($val) /** * Gets the user - * Optional. The user associated with this action. + * The Identity of the User. This property is read-only. * * @return Identity|null The user */ @@ -111,7 +111,7 @@ public function getUser() /** * Sets the user - * Optional. The user associated with this action. + * The Identity of the User. This property is read-only. * * @param Identity $val The value to assign to the user * diff --git a/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php b/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php index 6839ac31ec0..31d8b93a401 100644 --- a/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php +++ b/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php @@ -115,7 +115,7 @@ public function setSecurityEncryptionAlgorithm($val) /** * Gets the securityIntegrityAlgorithm - * Integrity algorithm. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity algorithm. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @return VpnIntegrityAlgorithmType|null The securityIntegrityAlgorithm */ @@ -134,7 +134,7 @@ public function getSecurityIntegrityAlgorithm() /** * Sets the securityIntegrityAlgorithm - * Integrity algorithm. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * Integrity algorithm. Possible values are: sha2256, sha196, sha1160, sha2384, sha2_512, md5. * * @param VpnIntegrityAlgorithmType $val The value to assign to the securityIntegrityAlgorithm * diff --git a/src/Beta/Microsoft/Graph/Model/KeyValue.php b/src/Beta/Microsoft/Graph/Model/KeyValue.php index 9e797ef81ae..2dfdabba03a 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValue.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValue.php @@ -25,7 +25,7 @@ class KeyValue extends Entity { /** * Gets the key - * Contains the name of the field that a value is associated with. + * Key. * * @return string|null The key */ @@ -40,7 +40,7 @@ public function getKey() /** * Sets the key - * Contains the name of the field that a value is associated with. + * Key. * * @param string $val The value of the key * @@ -53,7 +53,7 @@ public function setKey($val) } /** * Gets the value - * Contains the corresponding value for the specified key. + * Value. * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Contains the corresponding value for the specified key. + * Value. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php b/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php new file mode 100644 index 00000000000..5c51897a6b2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MacOSWebClip.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["appUrl"]; + } else { + return null; + } + } + + /** + * Sets the appUrl + * The web app URL starting with http:// or https://, such as https://learn.microsoft.com/en-us/mem/. + * + * @param string $val The appUrl + * + * @return MacOSWebClip + */ + public function setAppUrl($val) + { + $this->_propDict["appUrl"] = $val; + return $this; + } + + /** + * Gets the fullScreenEnabled + * Whether or not to open the web clip as a full-screen web app. Defaults to false. If TRUE, opens the web clip as a full-screen web app. If FALSE, the web clip opens inside of another app. + * + * @return bool|null The fullScreenEnabled + */ + public function getFullScreenEnabled() + { + if (array_key_exists("fullScreenEnabled", $this->_propDict)) { + return $this->_propDict["fullScreenEnabled"]; + } else { + return null; + } + } + + /** + * Sets the fullScreenEnabled + * Whether or not to open the web clip as a full-screen web app. Defaults to false. If TRUE, opens the web clip as a full-screen web app. If FALSE, the web clip opens inside of another app. + * + * @param bool $val The fullScreenEnabled + * + * @return MacOSWebClip + */ + public function setFullScreenEnabled($val) + { + $this->_propDict["fullScreenEnabled"] = boolval($val); + return $this; + } + + /** + * 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". + * + * @return bool|null The preComposedIconEnabled + */ + public function getPreComposedIconEnabled() + { + if (array_key_exists("preComposedIconEnabled", $this->_propDict)) { + return $this->_propDict["preComposedIconEnabled"]; + } else { + return null; + } + } + + /** + * 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". + * + * @param bool $val The preComposedIconEnabled + * + * @return MacOSWebClip + */ + public function setPreComposedIconEnabled($val) + { + $this->_propDict["preComposedIconEnabled"] = boolval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php index a8b5c6204b4..d6de277022d 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. + * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @return bool|null The uninstallOnDeviceRemoval */ @@ -51,7 +51,7 @@ public function getUninstallOnDeviceRemoval() /** * Sets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. + * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @param bool $val The value of the uninstallOnDeviceRemoval * diff --git a/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php b/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php index dd84979c9d7..b8ca9b32949 100644 --- a/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php +++ b/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php @@ -144,6 +144,39 @@ public function setPackageId($val) return $this; } + /** + * Gets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @return AndroidTargetedPlatforms|null The targetedPlatforms + */ + public function getTargetedPlatforms() + { + if (array_key_exists("targetedPlatforms", $this->_propDict)) { + if (is_a($this->_propDict["targetedPlatforms"], "\Beta\Microsoft\Graph\Model\AndroidTargetedPlatforms") || is_null($this->_propDict["targetedPlatforms"])) { + return $this->_propDict["targetedPlatforms"]; + } else { + $this->_propDict["targetedPlatforms"] = new AndroidTargetedPlatforms($this->_propDict["targetedPlatforms"]); + return $this->_propDict["targetedPlatforms"]; + } + } + return null; + } + + /** + * Sets the targetedPlatforms + * The platforms to which the application can be targeted. If not specified, will defauilt to Android Device Administrator. + * + * @param AndroidTargetedPlatforms $val The targetedPlatforms + * + * @return ManagedAndroidLobApp + */ + public function setTargetedPlatforms($val) + { + $this->_propDict["targetedPlatforms"] = $val; + return $this; + } + /** * Gets the versionCode * The version code of managed Android Line of Business (LoB) app. diff --git a/src/Beta/Microsoft/Graph/Model/ManagedDevice.php b/src/Beta/Microsoft/Graph/Model/ManagedDevice.php index b8d81b0b7a0..73ab28909e0 100644 --- a/src/Beta/Microsoft/Graph/Model/ManagedDevice.php +++ b/src/Beta/Microsoft/Graph/Model/ManagedDevice.php @@ -2084,6 +2084,35 @@ public function setRoleScopeTagIds($val) return $this; } + /** + * Gets the securityPatchLevel + * This indicates the security patch level of the operating system. These special updates contain important security fixes. For iOS/MacOS they are in (a) format. For android its in 2017-08-07 format. This property is read-only. + * + * @return string|null The securityPatchLevel + */ + public function getSecurityPatchLevel() + { + if (array_key_exists("securityPatchLevel", $this->_propDict)) { + return $this->_propDict["securityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the securityPatchLevel + * This indicates the security patch level of the operating system. These special updates contain important security fixes. For iOS/MacOS they are in (a) format. For android its in 2017-08-07 format. This property is read-only. + * + * @param string $val The securityPatchLevel + * + * @return ManagedDevice + */ + public function setSecurityPatchLevel($val) + { + $this->_propDict["securityPatchLevel"] = $val; + return $this; + } + /** * Gets the serialNumber * SerialNumber. This property is read-only. diff --git a/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php b/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php index af75158ab52..8405f34276d 100644 --- a/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php +++ b/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php @@ -33,4 +33,7 @@ class MobileThreatPartnerTenantState extends Enum const AVAILABLE = "available"; const ENABLED = "enabled"; const UNRESPONSIVE = "unresponsive"; + const NOT_SET_UP = "notSetUp"; + const ERROR = "error"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php new file mode 100644 index 00000000000..604638cbee4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php @@ -0,0 +1,202 @@ +_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 createdDateTime + * + * @return MultiTenantOrganization + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return MultiTenantOrganization + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return MultiTenantOrganization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return MultiTenantOrganizationState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new MultiTenantOrganizationState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param MultiTenantOrganizationState $val The state + * + * @return MultiTenantOrganization + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the joinRequest + * + * @return MultiTenantOrganizationJoinRequestRecord|null The joinRequest + */ + public function getJoinRequest() + { + if (array_key_exists("joinRequest", $this->_propDict)) { + if (is_a($this->_propDict["joinRequest"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationJoinRequestRecord") || is_null($this->_propDict["joinRequest"])) { + return $this->_propDict["joinRequest"]; + } else { + $this->_propDict["joinRequest"] = new MultiTenantOrganizationJoinRequestRecord($this->_propDict["joinRequest"]); + return $this->_propDict["joinRequest"]; + } + } + return null; + } + + /** + * Sets the joinRequest + * + * @param MultiTenantOrganizationJoinRequestRecord $val The joinRequest + * + * @return MultiTenantOrganization + */ + public function setJoinRequest($val) + { + $this->_propDict["joinRequest"] = $val; + return $this; + } + + + /** + * Gets the tenants + * + * @return array|null The tenants + */ + public function getTenants() + { + if (array_key_exists("tenants", $this->_propDict)) { + return $this->_propDict["tenants"]; + } else { + return null; + } + } + + /** + * Sets the tenants + * + * @param MultiTenantOrganizationMember[] $val The tenants + * + * @return MultiTenantOrganization + */ + public function setTenants($val) + { + $this->_propDict["tenants"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php new file mode 100644 index 00000000000..17ba65fabb7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["templateApplicationLevel"], "\Beta\Microsoft\Graph\Model\TemplateApplicationLevel") || is_null($this->_propDict["templateApplicationLevel"])) { + return $this->_propDict["templateApplicationLevel"]; + } else { + $this->_propDict["templateApplicationLevel"] = new TemplateApplicationLevel($this->_propDict["templateApplicationLevel"]); + return $this->_propDict["templateApplicationLevel"]; + } + } + return null; + } + + /** + * Sets the templateApplicationLevel + * + * @param TemplateApplicationLevel $val The templateApplicationLevel + * + * @return MultiTenantOrganizationIdentitySyncPolicyTemplate + */ + public function setTemplateApplicationLevel($val) + { + $this->_propDict["templateApplicationLevel"] = $val; + return $this; + } + + /** + * Gets the userSyncInbound + * + * @return CrossTenantUserSyncInbound|null The userSyncInbound + */ + public function getUserSyncInbound() + { + if (array_key_exists("userSyncInbound", $this->_propDict)) { + if (is_a($this->_propDict["userSyncInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantUserSyncInbound") || is_null($this->_propDict["userSyncInbound"])) { + return $this->_propDict["userSyncInbound"]; + } else { + $this->_propDict["userSyncInbound"] = new CrossTenantUserSyncInbound($this->_propDict["userSyncInbound"]); + return $this->_propDict["userSyncInbound"]; + } + } + return null; + } + + /** + * Sets the userSyncInbound + * + * @param CrossTenantUserSyncInbound $val The userSyncInbound + * + * @return MultiTenantOrganizationIdentitySyncPolicyTemplate + */ + public function setUserSyncInbound($val) + { + $this->_propDict["userSyncInbound"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php new file mode 100644 index 00000000000..398d8bbfa89 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestRecord.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["addedByTenantId"]; + } else { + return null; + } + } + + /** + * Sets the addedByTenantId + * + * @param string $val The addedByTenantId + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setAddedByTenantId($val) + { + $this->_propDict["addedByTenantId"] = $val; + return $this; + } + + /** + * Gets the memberState + * + * @return MultiTenantOrganizationMemberState|null The memberState + */ + public function getMemberState() + { + if (array_key_exists("memberState", $this->_propDict)) { + if (is_a($this->_propDict["memberState"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["memberState"])) { + return $this->_propDict["memberState"]; + } else { + $this->_propDict["memberState"] = new MultiTenantOrganizationMemberState($this->_propDict["memberState"]); + return $this->_propDict["memberState"]; + } + } + return null; + } + + /** + * Sets the memberState + * + * @param MultiTenantOrganizationMemberState $val The memberState + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setMemberState($val) + { + $this->_propDict["memberState"] = $val; + return $this; + } + + /** + * Gets the role + * + * @return MultiTenantOrganizationMemberRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new MultiTenantOrganizationMemberRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * + * @param MultiTenantOrganizationMemberRole $val The role + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the transitionDetails + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails|null The transitionDetails + */ + public function getTransitionDetails() + { + if (array_key_exists("transitionDetails", $this->_propDict)) { + if (is_a($this->_propDict["transitionDetails"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationJoinRequestTransitionDetails") || is_null($this->_propDict["transitionDetails"])) { + return $this->_propDict["transitionDetails"]; + } else { + $this->_propDict["transitionDetails"] = new MultiTenantOrganizationJoinRequestTransitionDetails($this->_propDict["transitionDetails"]); + return $this->_propDict["transitionDetails"]; + } + } + return null; + } + + /** + * Sets the transitionDetails + * + * @param MultiTenantOrganizationJoinRequestTransitionDetails $val The transitionDetails + * + * @return MultiTenantOrganizationJoinRequestRecord + */ + public function setTransitionDetails($val) + { + $this->_propDict["transitionDetails"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php new file mode 100644 index 00000000000..368e9d89357 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["desiredMemberState"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["desiredMemberState"])) { + return $this->_propDict["desiredMemberState"]; + } else { + $this->_propDict["desiredMemberState"] = new MultiTenantOrganizationMemberState($this->_propDict["desiredMemberState"]); + return $this->_propDict["desiredMemberState"]; + } + } + return null; + } + + /** + * Sets the desiredMemberState + * + * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredMemberState + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails The MultiTenantOrganizationJoinRequestTransitionDetails + */ + public function setDesiredMemberState($val) + { + $this->_propDict["desiredMemberState"] = $val; + return $this; + } + /** + * Gets the details + * + * @return string|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * + * @param string $val The value of the details + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return MultiTenantOrganizationMemberProcessingStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberProcessingStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new MultiTenantOrganizationMemberProcessingStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param MultiTenantOrganizationMemberProcessingStatus $val The value to assign to the status + * + * @return MultiTenantOrganizationJoinRequestTransitionDetails The MultiTenantOrganizationJoinRequestTransitionDetails + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php new file mode 100644 index 00000000000..1052dd7aa0b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["addedByTenantId"]; + } else { + return null; + } + } + + /** + * Sets the addedByTenantId + * + * @param string $val The addedByTenantId + * + * @return MultiTenantOrganizationMember + */ + public function setAddedByTenantId($val) + { + $this->_propDict["addedByTenantId"] = $val; + return $this; + } + + /** + * Gets the addedDateTime + * + * @return \DateTime|null The addedDateTime + */ + public function getAddedDateTime() + { + if (array_key_exists("addedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["addedDateTime"], "\DateTime") || is_null($this->_propDict["addedDateTime"])) { + return $this->_propDict["addedDateTime"]; + } else { + $this->_propDict["addedDateTime"] = new \DateTime($this->_propDict["addedDateTime"]); + return $this->_propDict["addedDateTime"]; + } + } + return null; + } + + /** + * Sets the addedDateTime + * + * @param \DateTime $val The addedDateTime + * + * @return MultiTenantOrganizationMember + */ + public function setAddedDateTime($val) + { + $this->_propDict["addedDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return MultiTenantOrganizationMember + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the joinedDateTime + * + * @return \DateTime|null The joinedDateTime + */ + public function getJoinedDateTime() + { + if (array_key_exists("joinedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["joinedDateTime"], "\DateTime") || is_null($this->_propDict["joinedDateTime"])) { + return $this->_propDict["joinedDateTime"]; + } else { + $this->_propDict["joinedDateTime"] = new \DateTime($this->_propDict["joinedDateTime"]); + return $this->_propDict["joinedDateTime"]; + } + } + return null; + } + + /** + * Sets the joinedDateTime + * + * @param \DateTime $val The joinedDateTime + * + * @return MultiTenantOrganizationMember + */ + public function setJoinedDateTime($val) + { + $this->_propDict["joinedDateTime"] = $val; + return $this; + } + + /** + * Gets the role + * + * @return MultiTenantOrganizationMemberRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new MultiTenantOrganizationMemberRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * + * @param MultiTenantOrganizationMemberRole $val The role + * + * @return MultiTenantOrganizationMember + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return MultiTenantOrganizationMemberState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new MultiTenantOrganizationMemberState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param MultiTenantOrganizationMemberState $val The state + * + * @return MultiTenantOrganizationMember + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the tenantId + * + * @return string|null The tenantId + */ + public function getTenantId() + { + if (array_key_exists("tenantId", $this->_propDict)) { + return $this->_propDict["tenantId"]; + } else { + return null; + } + } + + /** + * Sets the tenantId + * + * @param string $val The tenantId + * + * @return MultiTenantOrganizationMember + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the transitionDetails + * + * @return MultiTenantOrganizationMemberTransitionDetails|null The transitionDetails + */ + public function getTransitionDetails() + { + if (array_key_exists("transitionDetails", $this->_propDict)) { + if (is_a($this->_propDict["transitionDetails"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberTransitionDetails") || is_null($this->_propDict["transitionDetails"])) { + return $this->_propDict["transitionDetails"]; + } else { + $this->_propDict["transitionDetails"] = new MultiTenantOrganizationMemberTransitionDetails($this->_propDict["transitionDetails"]); + return $this->_propDict["transitionDetails"]; + } + } + return null; + } + + /** + * Sets the transitionDetails + * + * @param MultiTenantOrganizationMemberTransitionDetails $val The transitionDetails + * + * @return MultiTenantOrganizationMember + */ + public function setTransitionDetails($val) + { + $this->_propDict["transitionDetails"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php new file mode 100644 index 00000000000..faa563476cd --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberProcessingStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["desiredRole"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberRole") || is_null($this->_propDict["desiredRole"])) { + return $this->_propDict["desiredRole"]; + } else { + $this->_propDict["desiredRole"] = new MultiTenantOrganizationMemberRole($this->_propDict["desiredRole"]); + return $this->_propDict["desiredRole"]; + } + } + return null; + } + + /** + * Sets the desiredRole + * + * @param MultiTenantOrganizationMemberRole $val The value to assign to the desiredRole + * + * @return MultiTenantOrganizationMemberTransitionDetails The MultiTenantOrganizationMemberTransitionDetails + */ + public function setDesiredRole($val) + { + $this->_propDict["desiredRole"] = $val; + return $this; + } + + /** + * Gets the desiredState + * + * @return MultiTenantOrganizationMemberState|null The desiredState + */ + public function getDesiredState() + { + if (array_key_exists("desiredState", $this->_propDict)) { + if (is_a($this->_propDict["desiredState"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberState") || is_null($this->_propDict["desiredState"])) { + return $this->_propDict["desiredState"]; + } else { + $this->_propDict["desiredState"] = new MultiTenantOrganizationMemberState($this->_propDict["desiredState"]); + return $this->_propDict["desiredState"]; + } + } + return null; + } + + /** + * Sets the desiredState + * + * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredState + * + * @return MultiTenantOrganizationMemberTransitionDetails The MultiTenantOrganizationMemberTransitionDetails + */ + public function setDesiredState($val) + { + $this->_propDict["desiredState"] = $val; + return $this; + } + /** + * Gets the details + * + * @return string|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * + * @param string $val The value of the details + * + * @return MultiTenantOrganizationMemberTransitionDetails + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return MultiTenantOrganizationMemberProcessingStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationMemberProcessingStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new MultiTenantOrganizationMemberProcessingStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param MultiTenantOrganizationMemberProcessingStatus $val The value to assign to the status + * + * @return MultiTenantOrganizationMemberTransitionDetails The MultiTenantOrganizationMemberTransitionDetails + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php new file mode 100644 index 00000000000..7f0b5979aec --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php @@ -0,0 +1,244 @@ +_propDict)) { + if (is_a($this->_propDict["automaticUserConsentSettings"], "\Beta\Microsoft\Graph\Model\InboundOutboundPolicyConfiguration") || is_null($this->_propDict["automaticUserConsentSettings"])) { + return $this->_propDict["automaticUserConsentSettings"]; + } else { + $this->_propDict["automaticUserConsentSettings"] = new InboundOutboundPolicyConfiguration($this->_propDict["automaticUserConsentSettings"]); + return $this->_propDict["automaticUserConsentSettings"]; + } + } + return null; + } + + /** + * Sets the automaticUserConsentSettings + * + * @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setAutomaticUserConsentSettings($val) + { + $this->_propDict["automaticUserConsentSettings"] = $val; + return $this; + } + + /** + * Gets the b2bCollaborationInbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationInbound + */ + public function getB2bCollaborationInbound() + { + if (array_key_exists("b2bCollaborationInbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bCollaborationInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationInbound"])) { + return $this->_propDict["b2bCollaborationInbound"]; + } else { + $this->_propDict["b2bCollaborationInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationInbound"]); + return $this->_propDict["b2bCollaborationInbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationInbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationInbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bCollaborationInbound($val) + { + $this->_propDict["b2bCollaborationInbound"] = $val; + return $this; + } + + /** + * Gets the b2bCollaborationOutbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationOutbound + */ + public function getB2bCollaborationOutbound() + { + if (array_key_exists("b2bCollaborationOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bCollaborationOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationOutbound"])) { + return $this->_propDict["b2bCollaborationOutbound"]; + } else { + $this->_propDict["b2bCollaborationOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationOutbound"]); + return $this->_propDict["b2bCollaborationOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationOutbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationOutbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bCollaborationOutbound($val) + { + $this->_propDict["b2bCollaborationOutbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectInbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectInbound + */ + public function getB2bDirectConnectInbound() + { + if (array_key_exists("b2bDirectConnectInbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectInbound"])) { + return $this->_propDict["b2bDirectConnectInbound"]; + } else { + $this->_propDict["b2bDirectConnectInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectInbound"]); + return $this->_propDict["b2bDirectConnectInbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectInbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectInbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bDirectConnectInbound($val) + { + $this->_propDict["b2bDirectConnectInbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectOutbound + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectOutbound + */ + public function getB2bDirectConnectOutbound() + { + if (array_key_exists("b2bDirectConnectOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectOutbound"])) { + return $this->_propDict["b2bDirectConnectOutbound"]; + } else { + $this->_propDict["b2bDirectConnectOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectOutbound"]); + return $this->_propDict["b2bDirectConnectOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectOutbound + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectOutbound + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setB2bDirectConnectOutbound($val) + { + $this->_propDict["b2bDirectConnectOutbound"] = $val; + return $this; + } + + /** + * Gets the inboundTrust + * + * @return CrossTenantAccessPolicyInboundTrust|null The inboundTrust + */ + public function getInboundTrust() + { + if (array_key_exists("inboundTrust", $this->_propDict)) { + if (is_a($this->_propDict["inboundTrust"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyInboundTrust") || is_null($this->_propDict["inboundTrust"])) { + return $this->_propDict["inboundTrust"]; + } else { + $this->_propDict["inboundTrust"] = new CrossTenantAccessPolicyInboundTrust($this->_propDict["inboundTrust"]); + return $this->_propDict["inboundTrust"]; + } + } + return null; + } + + /** + * Sets the inboundTrust + * + * @param CrossTenantAccessPolicyInboundTrust $val The inboundTrust + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setInboundTrust($val) + { + $this->_propDict["inboundTrust"] = $val; + return $this; + } + + /** + * Gets the templateApplicationLevel + * + * @return TemplateApplicationLevel|null The templateApplicationLevel + */ + public function getTemplateApplicationLevel() + { + if (array_key_exists("templateApplicationLevel", $this->_propDict)) { + if (is_a($this->_propDict["templateApplicationLevel"], "\Beta\Microsoft\Graph\Model\TemplateApplicationLevel") || is_null($this->_propDict["templateApplicationLevel"])) { + return $this->_propDict["templateApplicationLevel"]; + } else { + $this->_propDict["templateApplicationLevel"] = new TemplateApplicationLevel($this->_propDict["templateApplicationLevel"]); + return $this->_propDict["templateApplicationLevel"]; + } + } + return null; + } + + /** + * Sets the templateApplicationLevel + * + * @param TemplateApplicationLevel $val The templateApplicationLevel + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate + */ + public function setTemplateApplicationLevel($val) + { + $this->_propDict["templateApplicationLevel"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php new file mode 100644 index 00000000000..2aacef5672b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["isSipEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSipEnabled + * + * @param bool $val The value of the isSipEnabled + * + * @return OnPremisesSipInfo + */ + public function setIsSipEnabled($val) + { + $this->_propDict["isSipEnabled"] = $val; + return $this; + } + /** + * Gets the sipDeploymentLocation + * + * @return string|null The sipDeploymentLocation + */ + public function getSipDeploymentLocation() + { + if (array_key_exists("sipDeploymentLocation", $this->_propDict)) { + return $this->_propDict["sipDeploymentLocation"]; + } else { + return null; + } + } + + /** + * Sets the sipDeploymentLocation + * + * @param string $val The value of the sipDeploymentLocation + * + * @return OnPremisesSipInfo + */ + public function setSipDeploymentLocation($val) + { + $this->_propDict["sipDeploymentLocation"] = $val; + return $this; + } + /** + * Gets the sipPrimaryAddress + * + * @return string|null The sipPrimaryAddress + */ + public function getSipPrimaryAddress() + { + if (array_key_exists("sipPrimaryAddress", $this->_propDict)) { + return $this->_propDict["sipPrimaryAddress"]; + } else { + return null; + } + } + + /** + * Sets the sipPrimaryAddress + * + * @param string $val The value of the sipPrimaryAddress + * + * @return OnPremisesSipInfo + */ + public function setSipPrimaryAddress($val) + { + $this->_propDict["sipPrimaryAddress"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php b/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php index 2fba49d1747..9aa0c0311ae 100644 --- a/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php +++ b/src/Beta/Microsoft/Graph/Model/OnTokenIssuanceStartCustomExtensionHandler.php @@ -35,6 +35,37 @@ public function __construct($propDict = array()) } + /** + * Gets the configuration + * + * @return CustomExtensionOverwriteConfiguration|null The configuration + */ + public function getConfiguration() + { + if (array_key_exists("configuration", $this->_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\CustomExtensionOverwriteConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new CustomExtensionOverwriteConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * + * @param CustomExtensionOverwriteConfiguration $val The value to assign to the configuration + * + * @return OnTokenIssuanceStartCustomExtensionHandler The OnTokenIssuanceStartCustomExtensionHandler + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + /** * Gets the customExtension * diff --git a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php index fae5fd69313..1038381ab46 100644 --- a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php +++ b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php @@ -1206,6 +1206,7 @@ public function setRegistration($val) /** * Gets the recordings + * The recordings of an online meeting. Read-only. * * @return array|null The recordings */ @@ -1220,6 +1221,7 @@ public function getRecordings() /** * Sets the recordings + * The recordings of an online meeting. Read-only. * * @param CallRecording[] $val The recordings * diff --git a/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php b/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php index d4106c574d7..3c7fcb78973 100644 --- a/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php @@ -88,7 +88,7 @@ public function setClientId($val) /** * Gets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is id_token the secret is not required because there is no code exchange. The id_token is returned directly from the authorization response. This is write-only. A read operation returns ****. + * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is idtoken the secret is not required because there is no code exchange. The idtoken is returned directly from the authorization response. This is write-only. A read operation returns . * * @return string|null The clientSecret */ @@ -103,7 +103,7 @@ public function getClientSecret() /** * Sets the clientSecret - * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is id_token the secret is not required because there is no code exchange. The id_token is returned directly from the authorization response. This is write-only. A read operation returns ****. + * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is idtoken the secret is not required because there is no code exchange. The idtoken is returned directly from the authorization response. This is write-only. A read operation returns . * * @param string $val The clientSecret * @@ -208,7 +208,7 @@ public function setResponseMode($val) /** * Gets the responseType - * The response type describes the type of information sent back in the initial call to the authorization_endpoint of the custom identity provider. Possible values: code , id_token , token. Required. + * The response type describes the type of information sent back in the initial call to the authorizationendpoint of the custom identity provider. Possible values: code , idtoken , token. Required. * * @return OpenIdConnectResponseTypes|null The responseType */ @@ -227,7 +227,7 @@ public function getResponseType() /** * Sets the responseType - * The response type describes the type of information sent back in the initial call to the authorization_endpoint of the custom identity provider. Possible values: code , id_token , token. Required. + * The response type describes the type of information sent back in the initial call to the authorizationendpoint of the custom identity provider. Possible values: code , idtoken , token. Required. * * @param OpenIdConnectResponseTypes $val The responseType * diff --git a/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php b/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php index 4fb3c88a053..f6b86682c57 100644 --- a/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php +++ b/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php @@ -117,7 +117,7 @@ public function setMetadataUrl($val) /** * Gets the responseMode - * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: form_post, query. query response mode means the code or token is returned as a query parameter. form_post response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. + * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: formpost, query. query response mode means the code or token is returned as a query parameter. formpost response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. * * @return OpenIdConnectResponseMode|null The responseMode */ @@ -136,7 +136,7 @@ public function getResponseMode() /** * Sets the responseMode - * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: form_post, query. query response mode means the code or token is returned as a query parameter. form_post response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. + * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: formpost, query. query response mode means the code or token is returned as a query parameter. formpost response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. * * @param OpenIdConnectResponseMode $val The responseMode * @@ -150,7 +150,7 @@ public function setResponseMode($val) /** * Gets the responseType - * response type describes what kind of information is sent back in the initial call to the authorization_endpoint of the custom identity provider. The following response types can be used: code , id_token , token. It is a required property. + * response type describes what kind of information is sent back in the initial call to the authorizationendpoint of the custom identity provider. The following response types can be used: code , idtoken , token. It is a required property. * * @return OpenIdConnectResponseTypes|null The responseType */ @@ -169,7 +169,7 @@ public function getResponseType() /** * Sets the responseType - * response type describes what kind of information is sent back in the initial call to the authorization_endpoint of the custom identity provider. The following response types can be used: code , id_token , token. It is a required property. + * response type describes what kind of information is sent back in the initial call to the authorizationendpoint of the custom identity provider. The following response types can be used: code , idtoken , token. It is a required property. * * @param OpenIdConnectResponseTypes $val The responseType * diff --git a/src/Beta/Microsoft/Graph/Model/PasswordProfile.php b/src/Beta/Microsoft/Graph/Model/PasswordProfile.php index 04d89647d2c..962a7634486 100644 --- a/src/Beta/Microsoft/Graph/Model/PasswordProfile.php +++ b/src/Beta/Microsoft/Graph/Model/PasswordProfile.php @@ -81,7 +81,7 @@ public function setForceChangePasswordNextSignInWithMfa($val) } /** * Gets the password - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. * * @return string|null The password */ @@ -96,7 +96,7 @@ public function getPassword() /** * Sets the password - * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. * * @param string $val The value of the password * diff --git a/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php b/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php index ff7f1f2e6f9..c939f41a610 100644 --- a/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php +++ b/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php @@ -81,7 +81,7 @@ public function setDefaultLabel($val) } /** * Gets the fieldId - * Id used to identity the field type. This is an internal id and possible values are param_1, param_2, param_userName, param_password. + * Id used to identity the field type. This is an internal id and possible values are param1, param2, paramuserName, parampassword. * * @return string|null The fieldId */ @@ -96,7 +96,7 @@ public function getFieldId() /** * Sets the fieldId - * Id used to identity the field type. This is an internal id and possible values are param_1, param_2, param_userName, param_password. + * Id used to identity the field type. This is an internal id and possible values are param1, param2, paramuserName, parampassword. * * @param string $val The value of the fieldId * diff --git a/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php b/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php index 10cafe9b19f..ecf6df57426 100644 --- a/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php +++ b/src/Beta/Microsoft/Graph/Model/PermissionGrantConditionSet.php @@ -200,7 +200,7 @@ public function setPermissionClassification($val) /** * Gets the permissions - * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all. * * @return array|null The permissions */ @@ -215,7 +215,7 @@ public function getPermissions() /** * Sets the permissions - * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's servicePrincipal object. The id of application permissions can be found in the appRoles property of the API's servicePrincipal object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's servicePrincipal object. Default is the single value all. * * @param string[] $val The permissions * diff --git a/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php b/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php new file mode 100644 index 00000000000..f0befe7812a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PolicyTemplate.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["multiTenantOrganizationIdentitySynchronization"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationIdentitySyncPolicyTemplate") || is_null($this->_propDict["multiTenantOrganizationIdentitySynchronization"])) { + return $this->_propDict["multiTenantOrganizationIdentitySynchronization"]; + } else { + $this->_propDict["multiTenantOrganizationIdentitySynchronization"] = new MultiTenantOrganizationIdentitySyncPolicyTemplate($this->_propDict["multiTenantOrganizationIdentitySynchronization"]); + return $this->_propDict["multiTenantOrganizationIdentitySynchronization"]; + } + } + return null; + } + + /** + * Sets the multiTenantOrganizationIdentitySynchronization + * + * @param MultiTenantOrganizationIdentitySyncPolicyTemplate $val The multiTenantOrganizationIdentitySynchronization + * + * @return PolicyTemplate + */ + public function setMultiTenantOrganizationIdentitySynchronization($val) + { + $this->_propDict["multiTenantOrganizationIdentitySynchronization"] = $val; + return $this; + } + + /** + * Gets the multiTenantOrganizationPartnerConfiguration + * + * @return MultiTenantOrganizationPartnerConfigurationTemplate|null The multiTenantOrganizationPartnerConfiguration + */ + public function getMultiTenantOrganizationPartnerConfiguration() + { + if (array_key_exists("multiTenantOrganizationPartnerConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["multiTenantOrganizationPartnerConfiguration"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganizationPartnerConfigurationTemplate") || is_null($this->_propDict["multiTenantOrganizationPartnerConfiguration"])) { + return $this->_propDict["multiTenantOrganizationPartnerConfiguration"]; + } else { + $this->_propDict["multiTenantOrganizationPartnerConfiguration"] = new MultiTenantOrganizationPartnerConfigurationTemplate($this->_propDict["multiTenantOrganizationPartnerConfiguration"]); + return $this->_propDict["multiTenantOrganizationPartnerConfiguration"]; + } + } + return null; + } + + /** + * Sets the multiTenantOrganizationPartnerConfiguration + * + * @param MultiTenantOrganizationPartnerConfigurationTemplate $val The multiTenantOrganizationPartnerConfiguration + * + * @return PolicyTemplate + */ + public function setMultiTenantOrganizationPartnerConfiguration($val) + { + $this->_propDict["multiTenantOrganizationPartnerConfiguration"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php b/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php index 148451d29c3..4b36fb814f8 100644 --- a/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php +++ b/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php @@ -58,7 +58,7 @@ public function setDetails($val) } /** * Gets the identityType - * Type of identity that has been provisioned, such as 'user' or 'group'. + * Type of identity that has been provisioned, such as 'user' or 'group'. Supports $filter (eq, contains). * * @return string|null The identityType */ @@ -73,7 +73,7 @@ public function getIdentityType() /** * Sets the identityType - * Type of identity that has been provisioned, such as 'user' or 'group'. + * Type of identity that has been provisioned, such as 'user' or 'group'. Supports $filter (eq, contains). * * @param string $val The value of the identityType * diff --git a/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php b/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php index bb0f1344b29..b982ecc045b 100644 --- a/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php +++ b/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php @@ -53,7 +53,7 @@ public function setAction($val) /** * Gets the activityDateTime - * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, gt, lt) and orderby. * * @return \DateTime|null The activityDateTime */ @@ -72,7 +72,7 @@ public function getActivityDateTime() /** * Sets the activityDateTime - * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, gt, lt) and orderby. * * @param \DateTime $val The activityDateTime * @@ -86,7 +86,7 @@ public function setActivityDateTime($val) /** * Gets the changeId - * Unique ID of this change in this cycle. + * Unique ID of this change in this cycle. Supports $filter (eq, contains). * * @return string|null The changeId */ @@ -101,7 +101,7 @@ public function getChangeId() /** * Sets the changeId - * Unique ID of this change in this cycle. + * Unique ID of this change in this cycle. Supports $filter (eq, contains). * * @param string $val The changeId * @@ -115,7 +115,7 @@ public function setChangeId($val) /** * Gets the cycleId - * Unique ID per job iteration. + * Unique ID per job iteration. Supports $filter (eq, contains). * * @return string|null The cycleId */ @@ -130,7 +130,7 @@ public function getCycleId() /** * Sets the cycleId - * Unique ID per job iteration. + * Unique ID per job iteration. Supports $filter (eq, contains). * * @param string $val The cycleId * @@ -144,7 +144,7 @@ public function setCycleId($val) /** * Gets the durationInMilliseconds - * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * Indicates how long this provisioning action took to finish. Measured in milliseconds. Supports $filter (eq, gt, lt). * * @return int|null The durationInMilliseconds */ @@ -159,7 +159,7 @@ public function getDurationInMilliseconds() /** * Sets the durationInMilliseconds - * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * Indicates how long this provisioning action took to finish. Measured in milliseconds. Supports $filter (eq, gt, lt). * * @param int $val The durationInMilliseconds * @@ -173,7 +173,7 @@ public function setDurationInMilliseconds($val) /** * Gets the initiatedBy - * Details of who initiated this provisioning. + * Details of who initiated this provisioning. Supports $filter (eq, contains). * * @return Initiator|null The initiatedBy */ @@ -192,7 +192,7 @@ public function getInitiatedBy() /** * Sets the initiatedBy - * Details of who initiated this provisioning. + * Details of who initiated this provisioning. Supports $filter (eq, contains). * * @param Initiator $val The initiatedBy * @@ -206,7 +206,7 @@ public function setInitiatedBy($val) /** * Gets the jobId - * The unique ID for the whole provisioning job. + * The unique ID for the whole provisioning job. Supports $filter (eq, contains). * * @return string|null The jobId */ @@ -221,7 +221,7 @@ public function getJobId() /** * Sets the jobId - * The unique ID for the whole provisioning job. + * The unique ID for the whole provisioning job. Supports $filter (eq, contains). * * @param string $val The jobId * @@ -265,7 +265,7 @@ public function setModifiedProperties($val) /** * Gets the provisioningAction - * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. Supports $filter (eq, contains). * * @return ProvisioningAction|null The provisioningAction */ @@ -284,7 +284,7 @@ public function getProvisioningAction() /** * Sets the provisioningAction - * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. Supports $filter (eq, contains). * * @param ProvisioningAction $val The provisioningAction * @@ -298,7 +298,7 @@ public function setProvisioningAction($val) /** * Gets the provisioningStatusInfo - * Details of provisioning status. + * Details of provisioning status. Supports $filter (eq, contains) for status. * * @return ProvisioningStatusInfo|null The provisioningStatusInfo */ @@ -317,7 +317,7 @@ public function getProvisioningStatusInfo() /** * Sets the provisioningStatusInfo - * Details of provisioning status. + * Details of provisioning status. Supports $filter (eq, contains) for status. * * @param ProvisioningStatusInfo $val The provisioningStatusInfo * @@ -361,7 +361,7 @@ public function setProvisioningSteps($val) /** * Gets the servicePrincipal - * Represents the service principal used for provisioning. + * Represents the service principal used for provisioning. Supports $filter (eq) for id and name. * * @return ProvisioningServicePrincipal|null The servicePrincipal */ @@ -380,7 +380,7 @@ public function getServicePrincipal() /** * Sets the servicePrincipal - * Represents the service principal used for provisioning. + * Represents the service principal used for provisioning. Supports $filter (eq) for id and name. * * @param ProvisioningServicePrincipal $val The servicePrincipal * @@ -394,7 +394,7 @@ public function setServicePrincipal($val) /** * Gets the sourceIdentity - * Details of source object being provisioned. + * Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @return ProvisionedIdentity|null The sourceIdentity */ @@ -413,7 +413,7 @@ public function getSourceIdentity() /** * Sets the sourceIdentity - * Details of source object being provisioned. + * Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @param ProvisionedIdentity $val The sourceIdentity * @@ -427,7 +427,7 @@ public function setSourceIdentity($val) /** * Gets the sourceSystem - * Details of source system of the object being provisioned. + * Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @return ProvisioningSystem|null The sourceSystem */ @@ -446,7 +446,7 @@ public function getSourceSystem() /** * Sets the sourceSystem - * Details of source system of the object being provisioned. + * Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @param ProvisioningSystem $val The sourceSystem * @@ -491,7 +491,7 @@ public function setStatusInfo($val) /** * Gets the targetIdentity - * Details of target object being provisioned. + * Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @return ProvisionedIdentity|null The targetIdentity */ @@ -510,7 +510,7 @@ public function getTargetIdentity() /** * Sets the targetIdentity - * Details of target object being provisioned. + * Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName. * * @param ProvisionedIdentity $val The targetIdentity * @@ -524,7 +524,7 @@ public function setTargetIdentity($val) /** * Gets the targetSystem - * Details of target system of the object being provisioned. + * Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @return ProvisioningSystem|null The targetSystem */ @@ -543,7 +543,7 @@ public function getTargetSystem() /** * Sets the targetSystem - * Details of target system of the object being provisioned. + * Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName. * * @param ProvisioningSystem $val The targetSystem * @@ -557,7 +557,7 @@ public function setTargetSystem($val) /** * Gets the tenantId - * Unique Azure AD tenant ID. + * Unique Azure AD tenant ID. Supports $filter (eq, contains). * * @return string|null The tenantId */ @@ -572,7 +572,7 @@ public function getTenantId() /** * Sets the tenantId - * Unique Azure AD tenant ID. + * Unique Azure AD tenant ID. Supports $filter (eq, contains). * * @param string $val The tenantId * diff --git a/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php b/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php index dfa871f3ab6..eedb0e3f677 100644 --- a/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php +++ b/src/Beta/Microsoft/Graph/Model/ProvisioningStatusInfo.php @@ -59,7 +59,7 @@ public function setErrorInformation($val) /** * Gets the status - * Possible values are: success, failure, skipped, warning, unknownFutureValue. + * Possible values are: success, failure, skipped, warning, unknownFutureValue. Supports $filter (eq, contains). * * @return ProvisioningResult|null The status */ @@ -78,7 +78,7 @@ public function getStatus() /** * Sets the status - * Possible values are: success, failure, skipped, warning, unknownFutureValue. + * Possible values are: success, failure, skipped, warning, unknownFutureValue. Supports $filter (eq, contains). * * @param ProvisioningResult $val The value to assign to the status * diff --git a/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php b/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php index c96d00dfffe..dd98027c4f2 100644 --- a/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php +++ b/src/Beta/Microsoft/Graph/Model/RegistryKeyState.php @@ -26,7 +26,7 @@ class RegistryKeyState extends Entity /** * Gets the hive - * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. * * @return RegistryHive|null The hive */ @@ -45,7 +45,7 @@ public function getHive() /** * Sets the hive - * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. * * @param RegistryHive $val The value to assign to the hive * @@ -288,7 +288,7 @@ public function setValueName($val) /** * Gets the valueType - * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. * * @return RegistryValueType|null The valueType */ @@ -307,7 +307,7 @@ public function getValueType() /** * Sets the valueType - * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. * * @param RegistryValueType $val The value to assign to the valueType * diff --git a/src/Beta/Microsoft/Graph/Model/RemoteAction.php b/src/Beta/Microsoft/Graph/Model/RemoteAction.php index 6b7b575fcd1..a3d1871cc30 100644 --- a/src/Beta/Microsoft/Graph/Model/RemoteAction.php +++ b/src/Beta/Microsoft/Graph/Model/RemoteAction.php @@ -61,4 +61,7 @@ class RemoteAction extends Enum const INITIATE_ON_DEMAND_PROACTIVE_REMEDIATION = "initiateOnDemandProactiveRemediation"; const ROTATE_LOCAL_ADMIN_PASSWORD = "rotateLocalAdminPassword"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const LAUNCH_REMOTE_HELP = "launchRemoteHelp"; + const REVOKE_APPLE_VPP_LICENSES = "revokeAppleVppLicenses"; + const REMOVE_DEVICE_FIRMWARE_CONFIGURATION_INTERFACE_MANAGEMENT = "removeDeviceFirmwareConfigurationInterfaceManagement"; } diff --git a/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php b/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php index 649da8b0f84..5e18c3c4ecb 100644 --- a/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php +++ b/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php @@ -32,6 +32,6 @@ class SensitivityLabelTarget extends Enum const EMAIL = "email"; const SITE = "site"; const UNIFIED_GROUP = "unifiedGroup"; - const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const TEAMWORK = "teamwork"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/SignIn.php b/src/Beta/Microsoft/Graph/Model/SignIn.php index e38f5554e63..0058430700a 100644 --- a/src/Beta/Microsoft/Graph/Model/SignIn.php +++ b/src/Beta/Microsoft/Graph/Model/SignIn.php @@ -26,7 +26,7 @@ class SignIn extends Entity { /** * Gets the appDisplayName - * The application name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * The application name displayed in the Azure Portal. Supports $filter (eq, startsWith). * * @return string|null The appDisplayName */ @@ -41,7 +41,7 @@ public function getAppDisplayName() /** * Sets the appDisplayName - * The application name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * The application name displayed in the Azure Portal. Supports $filter (eq, startsWith). * * @param string $val The appDisplayName * @@ -55,7 +55,7 @@ public function setAppDisplayName($val) /** * Gets the appId - * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * The application identifier in Azure Active Directory. Supports $filter (eq). * * @return string|null The appId */ @@ -70,7 +70,7 @@ public function getAppId() /** * Sets the appId - * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * The application identifier in Azure Active Directory. Supports $filter (eq). * * @param string $val The appId * @@ -359,7 +359,7 @@ public function setAuthenticationProtocol($val) /** * Gets the authenticationRequirement - * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq and startsWith operators only). + * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq, startsWith). * * @return string|null The authenticationRequirement */ @@ -374,7 +374,7 @@ public function getAuthenticationRequirement() /** * Sets the authenticationRequirement - * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq and startsWith operators only). + * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq, startsWith). * * @param string $val The authenticationRequirement * @@ -476,7 +476,7 @@ public function setAzureResourceId($val) /** * Gets the clientAppUsed - * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq). * * @return string|null The clientAppUsed */ @@ -491,7 +491,7 @@ public function getClientAppUsed() /** * Sets the clientAppUsed - * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq). * * @param string $val The clientAppUsed * @@ -538,7 +538,7 @@ public function setClientCredentialType($val) /** * Gets the conditionalAccessStatus - * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq). * * @return ConditionalAccessStatus|null The conditionalAccessStatus */ @@ -557,7 +557,7 @@ public function getConditionalAccessStatus() /** * Sets the conditionalAccessStatus - * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq). * * @param ConditionalAccessStatus $val The conditionalAccessStatus * @@ -571,7 +571,7 @@ public function setConditionalAccessStatus($val) /** * Gets the correlationId - * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq). * * @return string|null The correlationId */ @@ -586,7 +586,7 @@ public function getCorrelationId() /** * Sets the correlationId - * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq). * * @param string $val The correlationId * @@ -600,7 +600,7 @@ public function setCorrelationId($val) /** * Gets the createdDateTime - * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). * * @return \DateTime|null The createdDateTime */ @@ -619,7 +619,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). * * @param \DateTime $val The createdDateTime * @@ -666,7 +666,7 @@ public function setCrossTenantAccessType($val) /** * Gets the deviceDetail - * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq, startsWith) on browser and operatingSystem properties. * * @return DeviceDetail|null The deviceDetail */ @@ -685,7 +685,7 @@ public function getDeviceDetail() /** * Sets the deviceDetail - * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq, startsWith) on browser and operatingSystem properties. * * @param DeviceDetail $val The deviceDetail * @@ -848,7 +848,7 @@ public function setIncomingTokenType($val) /** * Gets the ipAddress - * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * The IP address of the client from where the sign-in occurred. Supports $filter (eq, startsWith). * * @return string|null The ipAddress */ @@ -863,7 +863,7 @@ public function getIpAddress() /** * Sets the ipAddress - * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * The IP address of the client from where the sign-in occurred. Supports $filter (eq, startsWith). * * @param string $val The ipAddress * @@ -964,7 +964,7 @@ public function setIsTenantRestricted($val) /** * Gets the location - * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. * * @return SignInLocation|null The location */ @@ -983,7 +983,7 @@ public function getLocation() /** * Sets the location - * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. * * @param SignInLocation $val The location * @@ -1091,7 +1091,7 @@ public function setNetworkLocationDetails($val) /** * Gets the originalRequestId - * The request identifier of the first request in the authentication sequence. Supports $filter (eq operator only). + * The request identifier of the first request in the authentication sequence. Supports $filter (eq). * * @return string|null The originalRequestId */ @@ -1106,7 +1106,7 @@ public function getOriginalRequestId() /** * Sets the originalRequestId - * The request identifier of the first request in the authentication sequence. Supports $filter (eq operator only). + * The request identifier of the first request in the authentication sequence. Supports $filter (eq). * * @param string $val The originalRequestId * @@ -1182,7 +1182,7 @@ public function setProcessingTimeInMilliseconds($val) /** * Gets the resourceDisplayName - * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * The name of the resource that the user signed in to. Supports $filter (eq). * * @return string|null The resourceDisplayName */ @@ -1197,7 +1197,7 @@ public function getResourceDisplayName() /** * Sets the resourceDisplayName - * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * The name of the resource that the user signed in to. Supports $filter (eq). * * @param string $val The resourceDisplayName * @@ -1211,7 +1211,7 @@ public function setResourceDisplayName($val) /** * Gets the resourceId - * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * The identifier of the resource that the user signed in to. Supports $filter (eq). * * @return string|null The resourceId */ @@ -1226,7 +1226,7 @@ public function getResourceId() /** * Sets the resourceId - * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * The identifier of the resource that the user signed in to. Supports $filter (eq). * * @param string $val The resourceId * @@ -1298,7 +1298,7 @@ public function setResourceTenantId($val) /** * Gets the riskDetail - * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @return RiskDetail|null The riskDetail */ @@ -1317,7 +1317,7 @@ public function getRiskDetail() /** * Sets the riskDetail - * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @param RiskDetail $val The riskDetail * @@ -1331,7 +1331,7 @@ public function setRiskDetail($val) /** * Gets the riskEventTypesV2 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). * * @return array|null The riskEventTypesV2 */ @@ -1346,7 +1346,7 @@ public function getRiskEventTypesV2() /** * Sets the riskEventTypesV2 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). * * @param string[] $val The riskEventTypesV2 * @@ -1360,7 +1360,7 @@ public function setRiskEventTypesV2($val) /** * Gets the riskLevelAggregated - * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @return RiskLevel|null The riskLevelAggregated */ @@ -1379,7 +1379,7 @@ public function getRiskLevelAggregated() /** * Sets the riskLevelAggregated - * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @param RiskLevel $val The riskLevelAggregated * @@ -1393,7 +1393,7 @@ public function setRiskLevelAggregated($val) /** * Gets the riskLevelDuringSignIn - * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @return RiskLevel|null The riskLevelDuringSignIn */ @@ -1412,7 +1412,7 @@ public function getRiskLevelDuringSignIn() /** * Sets the riskLevelDuringSignIn - * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. * * @param RiskLevel $val The riskLevelDuringSignIn * @@ -1426,7 +1426,7 @@ public function setRiskLevelDuringSignIn($val) /** * Gets the riskState - * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq). * * @return RiskState|null The riskState */ @@ -1445,7 +1445,7 @@ public function getRiskState() /** * Sets the riskState - * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq). * * @param RiskState $val The riskState * @@ -1517,7 +1517,7 @@ public function setServicePrincipalCredentialThumbprint($val) /** * Gets the servicePrincipalId - * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @return string|null The servicePrincipalId */ @@ -1532,7 +1532,7 @@ public function getServicePrincipalId() /** * Sets the servicePrincipalId - * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @param string $val The servicePrincipalId * @@ -1546,7 +1546,7 @@ public function setServicePrincipalId($val) /** * Gets the servicePrincipalName - * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @return string|null The servicePrincipalName */ @@ -1561,7 +1561,7 @@ public function getServicePrincipalName() /** * Sets the servicePrincipalName - * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). * * @param string $val The servicePrincipalName * @@ -1605,7 +1605,7 @@ public function setSessionLifetimePolicies($val) /** * Gets the signInEventTypes - * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). + * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). * * @return array|null The signInEventTypes */ @@ -1620,7 +1620,7 @@ public function getSignInEventTypes() /** * Sets the signInEventTypes - * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). + * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). * * @param string[] $val The signInEventTypes * @@ -1696,7 +1696,7 @@ public function setSignInIdentifierType($val) /** * 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 operator only) on errorCode property. + * 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. * * @return SignInStatus|null The status */ @@ -1715,7 +1715,7 @@ public function getStatus() /** * Sets 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 operator only) on errorCode property. + * 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. * * @param SignInStatus $val The status * @@ -1729,7 +1729,7 @@ public function setStatus($val) /** * Gets the tokenIssuerName - * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq operator only). + * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq). * * @return string|null The tokenIssuerName */ @@ -1744,7 +1744,7 @@ public function getTokenIssuerName() /** * Sets the tokenIssuerName - * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq operator only). + * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq). * * @param string $val The tokenIssuerName * @@ -1820,7 +1820,7 @@ public function setUniqueTokenIdentifier($val) /** * Gets the userAgent - * The user agent information related to sign-in. Supports $filter (eq and startsWith operators only). + * The user agent information related to sign-in. Supports $filter (eq, startsWith). * * @return string|null The userAgent */ @@ -1835,7 +1835,7 @@ public function getUserAgent() /** * Sets the userAgent - * The user agent information related to sign-in. Supports $filter (eq and startsWith operators only). + * The user agent information related to sign-in. Supports $filter (eq, startsWith). * * @param string $val The userAgent * @@ -1849,7 +1849,7 @@ public function setUserAgent($val) /** * Gets the userDisplayName - * The display name of the user. Supports $filter (eq and startsWith operators only). + * The display name of the user. Supports $filter (eq, startsWith). * * @return string|null The userDisplayName */ @@ -1864,7 +1864,7 @@ public function getUserDisplayName() /** * Sets the userDisplayName - * The display name of the user. Supports $filter (eq and startsWith operators only). + * The display name of the user. Supports $filter (eq, startsWith). * * @param string $val The userDisplayName * @@ -1878,7 +1878,7 @@ public function setUserDisplayName($val) /** * Gets the userId - * The identifier of the user. Supports $filter (eq operator only). + * The identifier of the user. Supports $filter (eq). * * @return string|null The userId */ @@ -1893,7 +1893,7 @@ public function getUserId() /** * Sets the userId - * The identifier of the user. Supports $filter (eq operator only). + * The identifier of the user. Supports $filter (eq). * * @param string $val The userId * @@ -1907,7 +1907,7 @@ public function setUserId($val) /** * Gets the userPrincipalName - * The UPN of the user. Supports $filter (eq and startsWith operators only). + * The UPN of the user. Supports $filter (eq, startsWith). * * @return string|null The userPrincipalName */ @@ -1922,7 +1922,7 @@ public function getUserPrincipalName() /** * Sets the userPrincipalName - * The UPN of the user. Supports $filter (eq and startsWith operators only). + * The UPN of the user. Supports $filter (eq, startsWith). * * @param string $val The userPrincipalName * diff --git a/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php b/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php index 8b573e08707..31d36663bf9 100644 --- a/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php @@ -55,7 +55,7 @@ public function setClientId($val) /** * Gets the clientSecret - * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns . Required. * * @return string|null The clientSecret */ @@ -70,7 +70,7 @@ public function getClientSecret() /** * Sets the clientSecret - * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns . Required. * * @param string $val The clientSecret * diff --git a/src/Beta/Microsoft/Graph/Model/StatusBase.php b/src/Beta/Microsoft/Graph/Model/StatusBase.php index 390259d5b7c..616a32768ef 100644 --- a/src/Beta/Microsoft/Graph/Model/StatusBase.php +++ b/src/Beta/Microsoft/Graph/Model/StatusBase.php @@ -26,7 +26,7 @@ class StatusBase extends Entity /** * Gets the status - * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * Possible values are: success, warning, failure, skipped, unknownFutureValue. Supports $filter (eq, contains). * * @return ProvisioningResult|null The status */ @@ -45,7 +45,7 @@ public function getStatus() /** * Sets the status - * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * Possible values are: success, warning, failure, skipped, unknownFutureValue. Supports $filter (eq, contains). * * @param ProvisioningResult $val The value to assign to the status * diff --git a/src/Beta/Microsoft/Graph/Model/Subscription.php b/src/Beta/Microsoft/Graph/Model/Subscription.php index d8fa6504e1a..e3801ba5f2a 100644 --- a/src/Beta/Microsoft/Graph/Model/Subscription.php +++ b/src/Beta/Microsoft/Graph/Model/Subscription.php @@ -262,7 +262,7 @@ public function setIncludeResourceData($val) /** * Gets the latestSupportedTlsVersion - * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v10, v11, v12, v13. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. * * @return string|null The latestSupportedTlsVersion */ @@ -277,7 +277,7 @@ public function getLatestSupportedTlsVersion() /** * Sets the latestSupportedTlsVersion - * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v10, v11, v12, v13. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. * * @param string $val The latestSupportedTlsVersion * @@ -291,7 +291,7 @@ public function setLatestSupportedTlsVersion($val) /** * Gets the lifecycleNotificationUrl - * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. + * Required for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. For more information, see Reduce missing subscriptions and change notifications. * * @return string|null The lifecycleNotificationUrl */ @@ -306,7 +306,7 @@ public function getLifecycleNotificationUrl() /** * Sets the lifecycleNotificationUrl - * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. + * Required for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved, reauthorizationRequired, and missed notifications. This URL must make use of the HTTPS protocol. For more information, see Reduce missing subscriptions and change notifications. * * @param string $val The lifecycleNotificationUrl * diff --git a/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php b/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php index bc88d54ba7b..0dd52cd8472 100644 --- a/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php +++ b/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php @@ -109,7 +109,7 @@ public function setCloudServiceDeploymentId($val) } /** * Gets the cloudServiceInstanceName - * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * The Azure deployed cloud service instance name, such as FrontEndIN3. * * @return string|null The cloudServiceInstanceName */ @@ -124,7 +124,7 @@ public function getCloudServiceInstanceName() /** * Sets the cloudServiceInstanceName - * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * The Azure deployed cloud service instance name, such as FrontEndIN3. * * @param string $val The value of the cloudServiceInstanceName * diff --git a/src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php b/src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php new file mode 100644 index 00000000000..492e5a27d38 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/TemplateApplicationLevel.php @@ -0,0 +1,36 @@ +_propDict; } + /** + * Gets the multiTenantOrganization + * + * @return MultiTenantOrganization|null The multiTenantOrganization + */ + public function getMultiTenantOrganization() + { + if (array_key_exists("multiTenantOrganization", $this->_propDict)) { + if (is_a($this->_propDict["multiTenantOrganization"], "\Beta\Microsoft\Graph\Model\MultiTenantOrganization") || is_null($this->_propDict["multiTenantOrganization"])) { + return $this->_propDict["multiTenantOrganization"]; + } else { + $this->_propDict["multiTenantOrganization"] = new MultiTenantOrganization($this->_propDict["multiTenantOrganization"]); + return $this->_propDict["multiTenantOrganization"]; + } + } + return null; + } + + /** + * Sets the multiTenantOrganization + * + * @param MultiTenantOrganization $val The multiTenantOrganization + * + * @return TenantRelationship + */ + public function setMultiTenantOrganization($val) + { + $this->_propDict["multiTenantOrganization"] = $val; + return $this; + } + /** * Gets the managedTenants * The operations available to interact with the multi-tenant management platform. diff --git a/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php b/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php index fd488ca5c26..0de9671c3cb 100644 --- a/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php @@ -26,6 +26,7 @@ class UnifiedRoleDefinition extends Entity { /** * Gets the allowedPrincipalTypes + * Types of principals that can be assigned the role. Read-only. The possible values are: user, servicePrincipal, group, unknownFutureValue. This is a multi-valued enumeration that can contain up to three values as a comma-separated string. For example, user, group. Supports $filter (eq). * * @return AllowedRolePrincipalTypes|null The allowedPrincipalTypes */ @@ -44,6 +45,7 @@ public function getAllowedPrincipalTypes() /** * Sets the allowedPrincipalTypes + * Types of principals that can be assigned the role. Read-only. The possible values are: user, servicePrincipal, group, unknownFutureValue. This is a multi-valued enumeration that can contain up to three values as a comma-separated string. For example, user, group. Supports $filter (eq). * * @param AllowedRolePrincipalTypes $val The allowedPrincipalTypes * @@ -86,7 +88,7 @@ public function setDescription($val) /** * Gets the displayName - * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith). * * @return string|null The displayName */ @@ -101,7 +103,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith). * * @param string $val The displayName * @@ -115,7 +117,7 @@ public function setDisplayName($val) /** * Gets the isBuiltIn - * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq). * * @return bool|null The isBuiltIn */ @@ -130,7 +132,7 @@ public function getIsBuiltIn() /** * Sets the isBuiltIn - * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq). * * @param bool $val The isBuiltIn * @@ -200,7 +202,7 @@ public function setIsPrivileged($val) /** * Gets the resourceScopes - * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment. * * @return array|null The resourceScopes */ @@ -215,7 +217,7 @@ public function getResourceScopes() /** * Sets the resourceScopes - * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment. * * @param string[] $val The resourceScopes * @@ -288,7 +290,7 @@ public function setTemplateId($val) /** * Gets the version - * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * Indicates the version of the unifiedRoleDefinition object. Read-only when isBuiltIn is true. * * @return string|null The version */ @@ -303,7 +305,7 @@ public function getVersion() /** * Sets the version - * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * Indicates the version of the unifiedRoleDefinition object. Read-only when isBuiltIn is true. * * @param string $val The version * diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 804591c4f7c..22394a4e7d1 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -266,6 +266,37 @@ public function setCity($val) return $this; } + /** + * Gets the cloudRealtimeCommunicationInfo + * + * @return CloudRealtimeCommunicationInfo|null The cloudRealtimeCommunicationInfo + */ + public function getCloudRealtimeCommunicationInfo() + { + if (array_key_exists("cloudRealtimeCommunicationInfo", $this->_propDict)) { + if (is_a($this->_propDict["cloudRealtimeCommunicationInfo"], "\Beta\Microsoft\Graph\Model\CloudRealtimeCommunicationInfo") || is_null($this->_propDict["cloudRealtimeCommunicationInfo"])) { + return $this->_propDict["cloudRealtimeCommunicationInfo"]; + } else { + $this->_propDict["cloudRealtimeCommunicationInfo"] = new CloudRealtimeCommunicationInfo($this->_propDict["cloudRealtimeCommunicationInfo"]); + return $this->_propDict["cloudRealtimeCommunicationInfo"]; + } + } + return null; + } + + /** + * Sets the cloudRealtimeCommunicationInfo + * + * @param CloudRealtimeCommunicationInfo $val The cloudRealtimeCommunicationInfo + * + * @return User + */ + public function setCloudRealtimeCommunicationInfo($val) + { + $this->_propDict["cloudRealtimeCommunicationInfo"] = $val; + return $this; + } + /** * Gets the companyName * The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). @@ -1460,6 +1491,37 @@ public function setOnPremisesSecurityIdentifier($val) return $this; } + /** + * Gets the onPremisesSipInfo + * + * @return OnPremisesSipInfo|null The onPremisesSipInfo + */ + public function getOnPremisesSipInfo() + { + if (array_key_exists("onPremisesSipInfo", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesSipInfo"], "\Beta\Microsoft\Graph\Model\OnPremisesSipInfo") || is_null($this->_propDict["onPremisesSipInfo"])) { + return $this->_propDict["onPremisesSipInfo"]; + } else { + $this->_propDict["onPremisesSipInfo"] = new OnPremisesSipInfo($this->_propDict["onPremisesSipInfo"]); + return $this->_propDict["onPremisesSipInfo"]; + } + } + return null; + } + + /** + * Sets the onPremisesSipInfo + * + * @param OnPremisesSipInfo $val The onPremisesSipInfo + * + * @return User + */ + public function setOnPremisesSipInfo($val) + { + $this->_propDict["onPremisesSipInfo"] = $val; + return $this; + } + /** * Gets the onPremisesSyncEnabled * true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Azure Active Directory (Azure AD). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php index 124b5b207e6..c495f68146e 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php @@ -53,6 +53,35 @@ public function setBatteryAgeInDays($val) return $this; } + /** + * Gets the deviceBatteryCount + * Number of batteries in a user device. Valid values 1 to 2147483647 + * + * @return int|null The deviceBatteryCount + */ + public function getDeviceBatteryCount() + { + if (array_key_exists("deviceBatteryCount", $this->_propDict)) { + return $this->_propDict["deviceBatteryCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceBatteryCount + * Number of batteries in a user device. Valid values 1 to 2147483647 + * + * @param int $val The deviceBatteryCount + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setDeviceBatteryCount($val) + { + $this->_propDict["deviceBatteryCount"] = intval($val); + return $this; + } + /** * 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 @@ -169,6 +198,35 @@ public function setEstimatedRuntimeInMinutes($val) return $this; } + /** + * Gets the fullBatteryDrainCount + * Number of times the battery has been discharged an amount that equals 100% of its capacity, but not necessarily by discharging it from 100% to 0%. Valid values 0 to 2147483647 + * + * @return int|null The fullBatteryDrainCount + */ + public function getFullBatteryDrainCount() + { + if (array_key_exists("fullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["fullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the fullBatteryDrainCount + * Number of times the battery has been discharged an amount that equals 100% of its capacity, but not necessarily by discharging it from 100% to 0%. Valid values 0 to 2147483647 + * + * @param int $val The fullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setFullBatteryDrainCount($val) + { + $this->_propDict["fullBatteryDrainCount"] = intval($val); + return $this; + } + /** * Gets the healthStatus * The overall battery health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php index 703500b393b..592ac7a5033 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php @@ -169,6 +169,122 @@ public function setManufacturer($val) return $this; } + /** + * Gets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The meanFullBatteryDrainCount + */ + public function getMeanFullBatteryDrainCount() + { + if (array_key_exists("meanFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["meanFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The meanFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMeanFullBatteryDrainCount($val) + { + $this->_propDict["meanFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianEstimatedRuntimeInMinutes + * The median 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 medianEstimatedRuntimeInMinutes + */ + public function getMedianEstimatedRuntimeInMinutes() + { + if (array_key_exists("medianEstimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["medianEstimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the medianEstimatedRuntimeInMinutes + * The median 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 medianEstimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMedianEstimatedRuntimeInMinutes($val) + { + $this->_propDict["medianEstimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The medianFullBatteryDrainCount + */ + public function getMedianFullBatteryDrainCount() + { + if (array_key_exists("medianFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["medianFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices of a given model in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The medianFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMedianFullBatteryDrainCount($val) + { + $this->_propDict["medianFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianMaxCapacityPercentage + * The median 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 medianMaxCapacityPercentage + */ + public function getMedianMaxCapacityPercentage() + { + if (array_key_exists("medianMaxCapacityPercentage", $this->_propDict)) { + return $this->_propDict["medianMaxCapacityPercentage"]; + } else { + return null; + } + } + + /** + * Sets the medianMaxCapacityPercentage + * The median 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 medianMaxCapacityPercentage + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setMedianMaxCapacityPercentage($val) + { + $this->_propDict["medianMaxCapacityPercentage"] = intval($val); + return $this; + } + /** * Gets the model * The model name of the device. @@ -227,4 +343,37 @@ public function setModelBatteryHealthScore($val) return $this; } + /** + * Gets the modelHealthStatus + * The overall battery health status of a given model in a tenant. + * + * @return UserExperienceAnalyticsHealthState|null The modelHealthStatus + */ + public function getModelHealthStatus() + { + if (array_key_exists("modelHealthStatus", $this->_propDict)) { + if (is_a($this->_propDict["modelHealthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["modelHealthStatus"])) { + return $this->_propDict["modelHealthStatus"]; + } else { + $this->_propDict["modelHealthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["modelHealthStatus"]); + return $this->_propDict["modelHealthStatus"]; + } + } + return null; + } + + /** + * Sets the modelHealthStatus + * The overall battery health status of a given model in a tenant. + * + * @param UserExperienceAnalyticsHealthState $val The modelHealthStatus + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setModelHealthStatus($val) + { + $this->_propDict["modelHealthStatus"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php index ea6978dafaa..2133a4418d6 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php @@ -140,6 +140,151 @@ public function setAverageMaxCapacityPercentage($val) return $this; } + /** + * Gets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The meanFullBatteryDrainCount + */ + public function getMeanFullBatteryDrainCount() + { + if (array_key_exists("meanFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["meanFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the meanFullBatteryDrainCount + * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The meanFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMeanFullBatteryDrainCount($val) + { + $this->_propDict["meanFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianEstimatedRuntimeInMinutes + * The median 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 medianEstimatedRuntimeInMinutes + */ + public function getMedianEstimatedRuntimeInMinutes() + { + if (array_key_exists("medianEstimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["medianEstimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the medianEstimatedRuntimeInMinutes + * The median 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 medianEstimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMedianEstimatedRuntimeInMinutes($val) + { + $this->_propDict["medianEstimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @return int|null The medianFullBatteryDrainCount + */ + public function getMedianFullBatteryDrainCount() + { + if (array_key_exists("medianFullBatteryDrainCount", $this->_propDict)) { + return $this->_propDict["medianFullBatteryDrainCount"]; + } else { + return null; + } + } + + /** + * Sets the medianFullBatteryDrainCount + * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 + * + * @param int $val The medianFullBatteryDrainCount + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMedianFullBatteryDrainCount($val) + { + $this->_propDict["medianFullBatteryDrainCount"] = intval($val); + return $this; + } + + /** + * Gets the medianMaxCapacityPercentage + * The median 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 medianMaxCapacityPercentage + */ + public function getMedianMaxCapacityPercentage() + { + if (array_key_exists("medianMaxCapacityPercentage", $this->_propDict)) { + return $this->_propDict["medianMaxCapacityPercentage"]; + } else { + return null; + } + } + + /** + * Sets the medianMaxCapacityPercentage + * The median 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 medianMaxCapacityPercentage + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setMedianMaxCapacityPercentage($val) + { + $this->_propDict["medianMaxCapacityPercentage"] = intval($val); + return $this; + } + + /** + * Gets the osBatteryHealthScore + * A weighted average of battery health score across all devices running a particular operating system version. Values range from 0-100. Valid values 0 to 2147483647 + * + * @return int|null The osBatteryHealthScore + */ + public function getOsBatteryHealthScore() + { + if (array_key_exists("osBatteryHealthScore", $this->_propDict)) { + return $this->_propDict["osBatteryHealthScore"]; + } else { + return null; + } + } + + /** + * Sets the osBatteryHealthScore + * A weighted average of battery health score across all devices running a particular operating system version. Values range from 0-100. Valid values 0 to 2147483647 + * + * @param int $val The osBatteryHealthScore + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setOsBatteryHealthScore($val) + { + $this->_propDict["osBatteryHealthScore"] = intval($val); + return $this; + } + /** * Gets the osBuildNumber * Build number of the operating system. @@ -169,6 +314,39 @@ public function setOsBuildNumber($val) return $this; } + /** + * Gets the osHealthStatus + * The overall battery health status of a given os version in a tenant. + * + * @return UserExperienceAnalyticsHealthState|null The osHealthStatus + */ + public function getOsHealthStatus() + { + if (array_key_exists("osHealthStatus", $this->_propDict)) { + if (is_a($this->_propDict["osHealthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["osHealthStatus"])) { + return $this->_propDict["osHealthStatus"]; + } else { + $this->_propDict["osHealthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["osHealthStatus"]); + return $this->_propDict["osHealthStatus"]; + } + } + return null; + } + + /** + * Sets the osHealthStatus + * The overall battery health status of a given os version in a tenant. + * + * @param UserExperienceAnalyticsHealthState $val The osHealthStatus + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setOsHealthStatus($val) + { + $this->_propDict["osHealthStatus"] = $val; + return $this; + } + /** * Gets the osVersion * Version of the operating system. diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php index c0c24f6c84b..7b7d9b7365e 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php @@ -82,35 +82,6 @@ public function setMedianImpactInMs($val) return $this; } - /** - * Gets the medianImpactInMs2 - * The median impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @return int|null The medianImpactInMs2 - */ - public function getMedianImpactInMs2() - { - if (array_key_exists("medianImpactInMs2", $this->_propDict)) { - return $this->_propDict["medianImpactInMs2"]; - } else { - return null; - } - } - - /** - * Sets the medianImpactInMs2 - * The median impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @param int $val The medianImpactInMs2 - * - * @return UserExperienceAnalyticsDeviceStartupProcessPerformance - */ - public function setMedianImpactInMs2($val) - { - $this->_propDict["medianImpactInMs2"] = intval($val); - return $this; - } - /** * Gets the processName * The name of the startup process. Examples: outlook, excel. Supports: $select, $OrderBy. Read-only. @@ -227,33 +198,4 @@ public function setTotalImpactInMs($val) return $this; } - /** - * Gets the totalImpactInMs2 - * The total impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @return int|null The totalImpactInMs2 - */ - public function getTotalImpactInMs2() - { - if (array_key_exists("totalImpactInMs2", $this->_propDict)) { - return $this->_propDict["totalImpactInMs2"]; - } else { - return null; - } - } - - /** - * Sets the totalImpactInMs2 - * The total impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. - * - * @param int $val The totalImpactInMs2 - * - * @return UserExperienceAnalyticsDeviceStartupProcessPerformance - */ - public function setTotalImpactInMs2($val) - { - $this->_propDict["totalImpactInMs2"] = intval($val); - return $this; - } - } diff --git a/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php b/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php index 1de9607edeb..cb78fe00ca5 100644 --- a/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php +++ b/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php @@ -56,6 +56,34 @@ public function setDeviceRestartBehavior($val) $this->_propDict["deviceRestartBehavior"] = $val; return $this; } + /** + * Gets the maxRunTimeInMinutes + * The number of minutes the system will wait for install program to finish. Default value is 60 minutes. + * + * @return int|null The maxRunTimeInMinutes + */ + public function getMaxRunTimeInMinutes() + { + if (array_key_exists("maxRunTimeInMinutes", $this->_propDict)) { + return $this->_propDict["maxRunTimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the maxRunTimeInMinutes + * The number of minutes the system will wait for install program to finish. Default value is 60 minutes. + * + * @param int $val The value of the maxRunTimeInMinutes + * + * @return Win32LobAppInstallExperience + */ + public function setMaxRunTimeInMinutes($val) + { + $this->_propDict["maxRunTimeInMinutes"] = $val; + return $this; + } /** * Gets the runAsAccount diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppX.php b/src/Beta/Microsoft/Graph/Model/WindowsAppX.php index 69a7c01b6f6..b4970a6efa5 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAppX.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAppX.php @@ -204,7 +204,7 @@ public function setIsBundle($val) /** * Gets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v8_0, v8_1 and v10_0. If the app is a bundle, the minimum supported OS has to be at least v8_1. + * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v80, v81 and v100. If the app is a bundle, the minimum supported OS has to be at least v81. * * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem */ @@ -223,7 +223,7 @@ public function getMinimumSupportedOperatingSystem() /** * Sets the minimumSupportedOperatingSystem - * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v8_0, v8_1 and v10_0. If the app is a bundle, the minimum supported OS has to be at least v8_1. + * The value for the minimum applicable operating system. Valid values for a WindowsAppX app include v80, v81 and v100. If the app is a bundle, the minimum supported OS has to be at least v81. * * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php index c0565626007..35c1517fa90 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php b/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php index 2b73706ef26..8b136bf26e7 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsDeviceMalwareState.php @@ -55,7 +55,7 @@ public function setAdditionalInformationUrl($val) /** * Gets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -74,7 +74,7 @@ public function getCategory() /** * Sets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The category * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php b/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php index 8b641b7a1c1..6bcf70127f2 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php @@ -34,4 +34,5 @@ class WindowsDeviceType extends Enum const MOBILE = "mobile"; const HOLOGRAPHIC = "holographic"; const TEAM = "team"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php b/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php index 94b6371d23d..957a3f09ba1 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategoryCount.php @@ -54,7 +54,7 @@ public function setActiveMalwareDetectionCount($val) /** * Gets the category - * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -73,7 +73,7 @@ public function getCategory() /** * Sets the category - * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. Computed. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The value to assign to the category * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php b/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php index d7750dca803..8464ba6fb2b 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php @@ -55,7 +55,7 @@ public function setAdditionalInformationUrl($val) /** * Gets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @return WindowsMalwareCategory|null The category */ @@ -74,7 +74,7 @@ public function getCategory() /** * Sets the category - * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. default value is invalid. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remoteControlSoftware, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. * * @param WindowsMalwareCategory $val The category * diff --git a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php index 3de3dcf3edd..afb4b2f6b75 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * Whether or not to use device execution context for Windows Universal AppX mobile app. + * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * * @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 Universal AppX mobile app. + * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookComment.php b/src/Beta/Microsoft/Graph/Model/WorkbookComment.php index d48efcb3fbe..2907523570b 100644 --- a/src/Beta/Microsoft/Graph/Model/WorkbookComment.php +++ b/src/Beta/Microsoft/Graph/Model/WorkbookComment.php @@ -110,4 +110,35 @@ public function setReplies($val) return $this; } + /** + * Gets the task + * + * @return WorkbookDocumentTask|null The task + */ + public function getTask() + { + if (array_key_exists("task", $this->_propDict)) { + if (is_a($this->_propDict["task"], "\Beta\Microsoft\Graph\Model\WorkbookDocumentTask") || is_null($this->_propDict["task"])) { + return $this->_propDict["task"]; + } else { + $this->_propDict["task"] = new WorkbookDocumentTask($this->_propDict["task"]); + return $this->_propDict["task"]; + } + } + return null; + } + + /** + * Sets the task + * + * @param WorkbookDocumentTask $val The task + * + * @return WorkbookComment + */ + public function setTask($val) + { + $this->_propDict["task"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php b/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php index b3dcc4841c6..265b2bf728d 100644 --- a/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php +++ b/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php @@ -82,4 +82,35 @@ public function setContentType($val) return $this; } + /** + * Gets the task + * + * @return WorkbookDocumentTask|null The task + */ + public function getTask() + { + if (array_key_exists("task", $this->_propDict)) { + if (is_a($this->_propDict["task"], "\Beta\Microsoft\Graph\Model\WorkbookDocumentTask") || is_null($this->_propDict["task"])) { + return $this->_propDict["task"]; + } else { + $this->_propDict["task"] = new WorkbookDocumentTask($this->_propDict["task"]); + return $this->_propDict["task"]; + } + } + return null; + } + + /** + * Sets the task + * + * @param WorkbookDocumentTask $val The task + * + * @return WorkbookCommentReply + */ + public function setTask($val) + { + $this->_propDict["task"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php new file mode 100644 index 00000000000..78559fefe17 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTask.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["assignees"]; + } else { + return null; + } + } + + /** + * Sets the assignees + * + * @param WorkbookEmailIdentity[] $val The assignees + * + * @return WorkbookDocumentTask + */ + public function setAssignees($val) + { + $this->_propDict["assignees"] = $val; + return $this; + } + + /** + * Gets the completedBy + * + * @return WorkbookEmailIdentity|null The completedBy + */ + public function getCompletedBy() + { + if (array_key_exists("completedBy", $this->_propDict)) { + if (is_a($this->_propDict["completedBy"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["completedBy"])) { + return $this->_propDict["completedBy"]; + } else { + $this->_propDict["completedBy"] = new WorkbookEmailIdentity($this->_propDict["completedBy"]); + return $this->_propDict["completedBy"]; + } + } + return null; + } + + /** + * Sets the completedBy + * + * @param WorkbookEmailIdentity $val The completedBy + * + * @return WorkbookDocumentTask + */ + public function setCompletedBy($val) + { + $this->_propDict["completedBy"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * + * @return \DateTime|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * + * @param \DateTime $val The completedDateTime + * + * @return WorkbookDocumentTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return WorkbookEmailIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new WorkbookEmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param WorkbookEmailIdentity $val The createdBy + * + * @return WorkbookDocumentTask + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_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 createdDateTime + * + * @return WorkbookDocumentTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * + * @return int|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * + * @param int $val The percentComplete + * + * @return WorkbookDocumentTask + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = intval($val); + return $this; + } + + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The priority + * + * @return WorkbookDocumentTask + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the startAndDueDateTime + * + * @return WorkbookDocumentTaskSchedule|null The startAndDueDateTime + */ + public function getStartAndDueDateTime() + { + if (array_key_exists("startAndDueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startAndDueDateTime"], "\Beta\Microsoft\Graph\Model\WorkbookDocumentTaskSchedule") || is_null($this->_propDict["startAndDueDateTime"])) { + return $this->_propDict["startAndDueDateTime"]; + } else { + $this->_propDict["startAndDueDateTime"] = new WorkbookDocumentTaskSchedule($this->_propDict["startAndDueDateTime"]); + return $this->_propDict["startAndDueDateTime"]; + } + } + return null; + } + + /** + * Sets the startAndDueDateTime + * + * @param WorkbookDocumentTaskSchedule $val The startAndDueDateTime + * + * @return WorkbookDocumentTask + */ + public function setStartAndDueDateTime($val) + { + $this->_propDict["startAndDueDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The title + * + * @return WorkbookDocumentTask + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the changes + * + * @return array|null The changes + */ + public function getChanges() + { + if (array_key_exists("changes", $this->_propDict)) { + return $this->_propDict["changes"]; + } else { + return null; + } + } + + /** + * Sets the changes + * + * @param WorkbookDocumentTaskChange[] $val The changes + * + * @return WorkbookDocumentTask + */ + public function setChanges($val) + { + $this->_propDict["changes"] = $val; + return $this; + } + + /** + * Gets the comment + * + * @return WorkbookComment|null The comment + */ + public function getComment() + { + if (array_key_exists("comment", $this->_propDict)) { + if (is_a($this->_propDict["comment"], "\Beta\Microsoft\Graph\Model\WorkbookComment") || is_null($this->_propDict["comment"])) { + return $this->_propDict["comment"]; + } else { + $this->_propDict["comment"] = new WorkbookComment($this->_propDict["comment"]); + return $this->_propDict["comment"]; + } + } + return null; + } + + /** + * Sets the comment + * + * @param WorkbookComment $val The comment + * + * @return WorkbookDocumentTask + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php new file mode 100644 index 00000000000..c8e9421eca1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskChange.php @@ -0,0 +1,344 @@ +_propDict)) { + if (is_a($this->_propDict["assignee"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["assignee"])) { + return $this->_propDict["assignee"]; + } else { + $this->_propDict["assignee"] = new WorkbookEmailIdentity($this->_propDict["assignee"]); + return $this->_propDict["assignee"]; + } + } + return null; + } + + /** + * Sets the assignee + * + * @param WorkbookEmailIdentity $val The assignee + * + * @return WorkbookDocumentTaskChange + */ + public function setAssignee($val) + { + $this->_propDict["assignee"] = $val; + return $this; + } + + /** + * Gets the changedBy + * + * @return WorkbookEmailIdentity|null The changedBy + */ + public function getChangedBy() + { + if (array_key_exists("changedBy", $this->_propDict)) { + if (is_a($this->_propDict["changedBy"], "\Beta\Microsoft\Graph\Model\WorkbookEmailIdentity") || is_null($this->_propDict["changedBy"])) { + return $this->_propDict["changedBy"]; + } else { + $this->_propDict["changedBy"] = new WorkbookEmailIdentity($this->_propDict["changedBy"]); + return $this->_propDict["changedBy"]; + } + } + return null; + } + + /** + * Sets the changedBy + * + * @param WorkbookEmailIdentity $val The changedBy + * + * @return WorkbookDocumentTaskChange + */ + public function setChangedBy($val) + { + $this->_propDict["changedBy"] = $val; + return $this; + } + + /** + * Gets the commentId + * + * @return string|null The commentId + */ + public function getCommentId() + { + if (array_key_exists("commentId", $this->_propDict)) { + return $this->_propDict["commentId"]; + } else { + return null; + } + } + + /** + * Sets the commentId + * + * @param string $val The commentId + * + * @return WorkbookDocumentTaskChange + */ + public function setCommentId($val) + { + $this->_propDict["commentId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_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 createdDateTime + * + * @return WorkbookDocumentTaskChange + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * + * @return \DateTime|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * + * @param \DateTime $val The dueDateTime + * + * @return WorkbookDocumentTaskChange + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * + * @return int|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * + * @param int $val The percentComplete + * + * @return WorkbookDocumentTaskChange + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = intval($val); + return $this; + } + + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The priority + * + * @return WorkbookDocumentTaskChange + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The startDateTime + * + * @return WorkbookDocumentTaskChange + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The title + * + * @return WorkbookDocumentTaskChange + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return WorkbookDocumentTaskChange + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the undoChangeId + * + * @return string|null The undoChangeId + */ + public function getUndoChangeId() + { + if (array_key_exists("undoChangeId", $this->_propDict)) { + return $this->_propDict["undoChangeId"]; + } else { + return null; + } + } + + /** + * Sets the undoChangeId + * + * @param string $val The undoChangeId + * + * @return WorkbookDocumentTaskChange + */ + public function setUndoChangeId($val) + { + $this->_propDict["undoChangeId"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php new file mode 100644 index 00000000000..e31af48e02e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookDocumentTaskSchedule.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * + * @param \DateTime $val The value to assign to the dueDateTime + * + * @return WorkbookDocumentTaskSchedule The WorkbookDocumentTaskSchedule + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return WorkbookDocumentTaskSchedule The WorkbookDocumentTaskSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php b/src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php new file mode 100644 index 00000000000..f066366d368 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/WorkbookEmailIdentity.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return WorkbookEmailIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $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 value of the email + * + * @return WorkbookEmailIdentity + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the id + * + * @return string|null The id + */ + public function getId() + { + if (array_key_exists("id", $this->_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * + * @param string $val The value of the id + * + * @return WorkbookEmailIdentity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php b/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php index c399438e965..8a52bd513b2 100644 --- a/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php +++ b/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php @@ -264,4 +264,32 @@ public function setTables($val) return $this; } + + /** + * Gets the tasks + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * + * @param WorkbookDocumentTask[] $val The tasks + * + * @return WorkbookWorksheet + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php b/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php index cbf64323dca..2ed68a96928 100644 --- a/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php +++ b/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php @@ -26,7 +26,7 @@ class ZebraFotaConnector extends Entity { /** * Gets the enrollmentAuthorizationUrl - * Complete account enrollment authorization URL. This corresponds to verification_uri_complete in the Zebra API documentations. + * Complete account enrollment authorization URL. This corresponds to verificationuricomplete in the Zebra API documentations. * * @return string|null The enrollmentAuthorizationUrl */ @@ -41,7 +41,7 @@ public function getEnrollmentAuthorizationUrl() /** * Sets the enrollmentAuthorizationUrl - * Complete account enrollment authorization URL. This corresponds to verification_uri_complete in the Zebra API documentations. + * Complete account enrollment authorization URL. This corresponds to verificationuricomplete in the Zebra API documentations. * * @param string $val The enrollmentAuthorizationUrl * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php index 0d4e7374ed4..83bbe25b4f0 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php @@ -58,6 +58,7 @@ public function setCreatedDateTime($val) } /** * Gets the detailedRoles + * Detailed description of the entity role/s in an alert. Values are free-form. * * @return string|null The detailedRoles */ @@ -72,6 +73,7 @@ public function getDetailedRoles() /** * Sets the detailedRoles + * Detailed description of the entity role/s in an alert. Values are free-form. * * @param string $val The value of the detailedRoles * @@ -146,7 +148,7 @@ public function setRemediationStatusDetails($val) /** * Gets the roles - * One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an attacker has the evidence role Attacker. + * The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will have the evidence role Attacker. * * @return EvidenceRole|null The roles */ @@ -165,7 +167,7 @@ public function getRoles() /** * Sets the roles - * One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an attacker has the evidence role Attacker. + * The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will have the evidence role Attacker. * * @param EvidenceRole $val The value to assign to the roles * @@ -178,7 +180,7 @@ public function setRoles($val) } /** * Gets the tags - * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. + * Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc. * * @return string|null The tags */ @@ -193,7 +195,7 @@ public function getTags() /** * Sets the tags - * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. + * Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc. * * @param string $val The value of the tags * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php index f6d387b4308..c69dd10c857 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobContainerEvidence.php @@ -25,6 +25,7 @@ class BlobContainerEvidence extends AlertEvidence { /** * Gets the name + * The name of the blob container. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The name of the blob container. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the storageResource + * The storage which the blob container belongs to. * * @return AzureResourceEvidence|null The storageResource */ @@ -70,6 +73,7 @@ public function getStorageResource() /** * Sets the storageResource + * The storage which the blob container belongs to. * * @param AzureResourceEvidence $val The value to assign to the storageResource * @@ -82,6 +86,7 @@ public function setStorageResource($val) } /** * Gets the url + * The full URL representation of the blob container. * * @return string|null The url */ @@ -96,6 +101,7 @@ public function getUrl() /** * Sets the url + * The full URL representation of the blob container. * * @param string $val The value of the url * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php index d1879512589..ce4e0cf6ff6 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BlobEvidence.php @@ -26,6 +26,7 @@ class BlobEvidence extends AlertEvidence /** * Gets the blobContainer + * The container which the blob belongs to. * * @return BlobContainerEvidence|null The blobContainer */ @@ -44,6 +45,7 @@ public function getBlobContainer() /** * Sets the blobContainer + * The container which the blob belongs to. * * @param BlobContainerEvidence $val The value to assign to the blobContainer * @@ -56,6 +58,7 @@ public function setBlobContainer($val) } /** * Gets the etag + * The Etag associated with this blob. * * @return string|null The etag */ @@ -70,6 +73,7 @@ public function getEtag() /** * Sets the etag + * The Etag associated with this blob. * * @param string $val The value of the etag * @@ -83,6 +87,7 @@ public function setEtag($val) /** * Gets the fileHashes + * The file hashes associated with this blob. * * @return FileHash|null The fileHashes */ @@ -101,6 +106,7 @@ public function getFileHashes() /** * Sets the fileHashes + * The file hashes associated with this blob. * * @param FileHash $val The value to assign to the fileHashes * @@ -113,6 +119,7 @@ public function setFileHashes($val) } /** * Gets the name + * The name of the blob. * * @return string|null The name */ @@ -127,6 +134,7 @@ public function getName() /** * Sets the name + * The name of the blob. * * @param string $val The value of the name * @@ -139,6 +147,7 @@ public function setName($val) } /** * Gets the url + * The full URL representation of the blob. * * @return string|null The url */ @@ -153,6 +162,7 @@ public function getUrl() /** * Sets the url + * The full URL representation of the blob. * * @param string $val The value of the url * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php index 455c39f3823..01ad08b5ed5 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerEvidence.php @@ -25,6 +25,7 @@ class ContainerEvidence extends AlertEvidence { /** * Gets the args + * The list of arguments. * * @return string|null The args */ @@ -39,6 +40,7 @@ public function getArgs() /** * Sets the args + * The list of arguments. * * @param string $val The value of the args * @@ -51,6 +53,7 @@ public function setArgs($val) } /** * Gets the command + * The list of commands. * * @return string|null The command */ @@ -65,6 +68,7 @@ public function getCommand() /** * Sets the command + * The list of commands. * * @param string $val The value of the command * @@ -77,6 +81,7 @@ public function setCommand($val) } /** * Gets the containerId + * The container ID. * * @return string|null The containerId */ @@ -91,6 +96,7 @@ public function getContainerId() /** * Sets the containerId + * The container ID. * * @param string $val The value of the containerId * @@ -104,6 +110,7 @@ public function setContainerId($val) /** * Gets the image + * The image used to run the container. * * @return ContainerImageEvidence|null The image */ @@ -122,6 +129,7 @@ public function getImage() /** * Sets the image + * The image used to run the container. * * @param ContainerImageEvidence $val The value to assign to the image * @@ -134,6 +142,7 @@ public function setImage($val) } /** * Gets the isPrivileged + * The privileged status. * * @return bool|null The isPrivileged */ @@ -148,6 +157,7 @@ public function getIsPrivileged() /** * Sets the isPrivileged + * The privileged status. * * @param bool $val The value of the isPrivileged * @@ -160,6 +170,7 @@ public function setIsPrivileged($val) } /** * Gets the name + * The container name. * * @return string|null The name */ @@ -174,6 +185,7 @@ public function getName() /** * Sets the name + * The container name. * * @param string $val The value of the name * @@ -187,6 +199,7 @@ public function setName($val) /** * Gets the pod + * The pod that this container belongs to. * * @return KubernetesPodEvidence|null The pod */ @@ -205,6 +218,7 @@ public function getPod() /** * Sets the pod + * The pod that this container belongs to. * * @param KubernetesPodEvidence $val The value to assign to the pod * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php index 8694c11e176..ec3890892ea 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerImageEvidence.php @@ -26,6 +26,7 @@ class ContainerImageEvidence extends AlertEvidence /** * Gets the digestImage + * The digest image entity, in case this is a tag image. * * @return ContainerImageEvidence|null The digestImage */ @@ -44,6 +45,7 @@ public function getDigestImage() /** * Sets the digestImage + * The digest image entity, in case this is a tag image. * * @param ContainerImageEvidence $val The value to assign to the digestImage * @@ -56,6 +58,7 @@ public function setDigestImage($val) } /** * Gets the imageId + * The unique identifier for the container image entity. * * @return string|null The imageId */ @@ -70,6 +73,7 @@ public function getImageId() /** * Sets the imageId + * The unique identifier for the container image entity. * * @param string $val The value of the imageId * @@ -83,6 +87,7 @@ public function setImageId($val) /** * Gets the registry + * The container registry for this image. * * @return ContainerRegistryEvidence|null The registry */ @@ -101,6 +106,7 @@ public function getRegistry() /** * Sets the registry + * The container registry for this image. * * @param ContainerRegistryEvidence $val The value to assign to the registry * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php index ab3ae11f4ee..cd83b67583c 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContainerRegistryEvidence.php @@ -25,6 +25,7 @@ class ContainerRegistryEvidence extends AlertEvidence { /** * Gets the registry + * The registry URI. * * @return string|null The registry */ @@ -39,6 +40,7 @@ public function getRegistry() /** * Sets the registry + * The registry URI. * * @param string $val The value of the registry * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php index aa40601563f..98c4598b888 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentInfo.php @@ -82,7 +82,7 @@ public function setIdentifier($val) /** * Gets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIPLabelGUID_PropName. * * @return KeyValuePair|null The metadata */ @@ -101,7 +101,7 @@ public function getMetadata() /** * Sets the metadata - * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIP_Label_GUID_PropName. + * Existing Microsoft Purview Information Protection metadata is passed as key-value pairs, where the key is the MSIPLabelGUID_PropName. * * @param KeyValuePair $val The value to assign to the metadata * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php index e4d123ef704..0e144c419ed 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php @@ -180,6 +180,7 @@ public function setHealthStatus($val) } /** * Gets the ipInterfaces + * Ip interfaces of the device during the time of the alert. * * @return string|null The ipInterfaces */ @@ -194,6 +195,7 @@ public function getIpInterfaces() /** * Sets the ipInterfaces + * Ip interfaces of the device during the time of the alert. * * @param string $val The value of the ipInterfaces * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php index 8b8092f031d..ad8f0619f62 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileHash.php @@ -26,6 +26,7 @@ class FileHash extends \Beta\Microsoft\Graph\Model\Entity /** * Gets the algorithm + * The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue. * * @return FileHashAlgorithm|null The algorithm */ @@ -44,6 +45,7 @@ public function getAlgorithm() /** * Sets the algorithm + * The hash algorithm type. Possible values are: unknown, md5, sha1, sha256, sha256ac, unknownFutureValue. * * @param FileHashAlgorithm $val The value to assign to the algorithm * @@ -56,6 +58,7 @@ public function setAlgorithm($val) } /** * Gets the value + * The hash value. * * @return string|null The value */ @@ -70,6 +73,7 @@ public function getValue() /** * Sets the value + * The hash value. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php index 42c53518fe2..3ec7d133574 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Host.php @@ -91,6 +91,36 @@ public function setLastSeenDateTime($val) } + /** + * Gets the childHostPairs + * The hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. + * + * @return array|null The childHostPairs + */ + public function getChildHostPairs() + { + if (array_key_exists("childHostPairs", $this->_propDict)) { + return $this->_propDict["childHostPairs"]; + } else { + return null; + } + } + + /** + * Sets the childHostPairs + * The hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. + * + * @param HostPair[] $val The childHostPairs + * + * @return Host + */ + public function setChildHostPairs($val) + { + $this->_propDict["childHostPairs"] = $val; + return $this; + } + + /** * Gets the components * The hostComponents that are associated with this host. @@ -151,6 +181,66 @@ public function setCookies($val) } + /** + * Gets the hostPairs + * The hostPairs that are associated with this host, where this host is either the parentHost or childHost. + * + * @return array|null The hostPairs + */ + public function getHostPairs() + { + if (array_key_exists("hostPairs", $this->_propDict)) { + return $this->_propDict["hostPairs"]; + } else { + return null; + } + } + + /** + * Sets the hostPairs + * The hostPairs that are associated with this host, where this host is either the parentHost or childHost. + * + * @param HostPair[] $val The hostPairs + * + * @return Host + */ + public function setHostPairs($val) + { + $this->_propDict["hostPairs"] = $val; + return $this; + } + + + /** + * Gets the parentHostPairs + * The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. + * + * @return array|null The parentHostPairs + */ + public function getParentHostPairs() + { + if (array_key_exists("parentHostPairs", $this->_propDict)) { + return $this->_propDict["parentHostPairs"]; + } else { + return null; + } + } + + /** + * Sets the parentHostPairs + * The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. + * + * @param HostPair[] $val The parentHostPairs + * + * @return Host + */ + public function setParentHostPairs($val) + { + $this->_propDict["parentHostPairs"] = $val; + return $this; + } + + /** * Gets the passiveDns * Passive DNS retrieval about this host. @@ -244,6 +334,34 @@ public function setReputation($val) } + /** + * Gets the sslCertificates + * + * @return array|null The sslCertificates + */ + public function getSslCertificates() + { + if (array_key_exists("sslCertificates", $this->_propDict)) { + return $this->_propDict["sslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the sslCertificates + * + * @param HostSslCertificate[] $val The sslCertificates + * + * @return Host + */ + public function setSslCertificates($val) + { + $this->_propDict["sslCertificates"] = $val; + return $this; + } + + /** * Gets the subdomains * The subdomains that are associated with this host. @@ -303,4 +421,35 @@ public function setTrackers($val) return $this; } + /** + * Gets the whois + * + * @return WhoisRecord|null The whois + */ + public function getWhois() + { + if (array_key_exists("whois", $this->_propDict)) { + if (is_a($this->_propDict["whois"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WhoisRecord") || is_null($this->_propDict["whois"])) { + return $this->_propDict["whois"]; + } else { + $this->_propDict["whois"] = new WhoisRecord($this->_propDict["whois"]); + return $this->_propDict["whois"]; + } + } + return null; + } + + /** + * Sets the whois + * + * @param WhoisRecord $val The whois + * + * @return Host + */ + public function setWhois($val) + { + $this->_propDict["whois"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php new file mode 100644 index 00000000000..7045d5963dc --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostPair.php @@ -0,0 +1,188 @@ +_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 + * The first date and time when Microsoft Defender Threat Intelligence observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The firstSeenDateTime + * + * @return HostPair + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The last date and time when Microsoft Defender Threat Intelligence observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + * + * @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 + * The last date and time when Microsoft Defender Threat Intelligence observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return HostPair + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the linkKind + * The reason the two hosts are identified as hostPairs. + * + * @return string|null The linkKind + */ + public function getLinkKind() + { + if (array_key_exists("linkKind", $this->_propDict)) { + return $this->_propDict["linkKind"]; + } else { + return null; + } + } + + /** + * Sets the linkKind + * The reason the two hosts are identified as hostPairs. + * + * @param string $val The linkKind + * + * @return HostPair + */ + public function setLinkKind($val) + { + $this->_propDict["linkKind"] = $val; + return $this; + } + + /** + * Gets the childHost + * Host reached via the parentHost. + * + * @return Host|null The childHost + */ + public function getChildHost() + { + if (array_key_exists("childHost", $this->_propDict)) { + if (is_a($this->_propDict["childHost"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["childHost"])) { + return $this->_propDict["childHost"]; + } else { + $this->_propDict["childHost"] = new Host($this->_propDict["childHost"]); + return $this->_propDict["childHost"]; + } + } + return null; + } + + /** + * Sets the childHost + * Host reached via the parentHost. + * + * @param Host $val The childHost + * + * @return HostPair + */ + public function setChildHost($val) + { + $this->_propDict["childHost"] = $val; + return $this; + } + + /** + * Gets the parentHost + * Host used to reach the childHost. + * + * @return Host|null The parentHost + */ + public function getParentHost() + { + if (array_key_exists("parentHost", $this->_propDict)) { + if (is_a($this->_propDict["parentHost"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["parentHost"])) { + return $this->_propDict["parentHost"]; + } else { + $this->_propDict["parentHost"] = new Host($this->_propDict["parentHost"]); + return $this->_propDict["parentHost"]; + } + } + return null; + } + + /** + * Sets the parentHost + * Host used to reach the childHost. + * + * @param Host $val The parentHost + * + * @return HostPair + */ + public function setParentHost($val) + { + $this->_propDict["parentHost"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php new file mode 100644 index 00000000000..60eed7fade3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificate.php @@ -0,0 +1,179 @@ +_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 HostSslCertificate + */ + 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 HostSslCertificate + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + + /** + * Gets the ports + * + * @return array|null The ports + */ + public function getPorts() + { + if (array_key_exists("ports", $this->_propDict)) { + return $this->_propDict["ports"]; + } else { + return null; + } + } + + /** + * Sets the ports + * + * @param HostSslCertificatePort[] $val The ports + * + * @return HostSslCertificate + */ + public function setPorts($val) + { + $this->_propDict["ports"] = $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 HostSslCertificate + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + + /** + * Gets the sslCertificate + * + * @return SslCertificate|null The sslCertificate + */ + public function getSslCertificate() + { + if (array_key_exists("sslCertificate", $this->_propDict)) { + if (is_a($this->_propDict["sslCertificate"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SslCertificate") || is_null($this->_propDict["sslCertificate"])) { + return $this->_propDict["sslCertificate"]; + } else { + $this->_propDict["sslCertificate"] = new SslCertificate($this->_propDict["sslCertificate"]); + return $this->_propDict["sslCertificate"]; + } + } + return null; + } + + /** + * Sets the sslCertificate + * + * @param SslCertificate $val The sslCertificate + * + * @return HostSslCertificate + */ + public function setSslCertificate($val) + { + $this->_propDict["sslCertificate"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php new file mode 100644 index 00000000000..83b997d779b --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/HostSslCertificatePort.php @@ -0,0 +1,114 @@ +_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 value to assign to the firstSeenDateTime + * + * @return HostSslCertificatePort The HostSslCertificatePort + */ + 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 value to assign to the lastSeenDateTime + * + * @return HostSslCertificatePort The HostSslCertificatePort + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + /** + * Gets the port + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * + * @param int $val The value of the port + * + * @return HostSslCertificatePort + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php index adaaee979b9..366f67d6fe6 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfile.php @@ -56,6 +56,7 @@ public function setAliases($val) /** * Gets the countriesOrRegionsOfOrigin + * The country/region of origin for the given actor or threat associated with this intelligenceProfile. * * @return array|null The countriesOrRegionsOfOrigin */ @@ -70,6 +71,7 @@ public function getCountriesOrRegionsOfOrigin() /** * Sets the countriesOrRegionsOfOrigin + * The country/region of origin for the given actor or threat associated with this intelligenceProfile. * * @param IntelligenceProfileCountryOrRegionOfOrigin[] $val The countriesOrRegionsOfOrigin * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php index b4f7fc657f3..d10948f56a2 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IntelligenceProfileCountryOrRegionOfOrigin.php @@ -25,6 +25,7 @@ class IntelligenceProfileCountryOrRegionOfOrigin extends \Beta\Microsoft\Graph\M { /** * Gets the code + * A codified representation for this country/region of origin. * * @return string|null The code */ @@ -39,6 +40,7 @@ public function getCode() /** * Sets the code + * A codified representation for this country/region of origin. * * @param string $val The value of the code * @@ -51,6 +53,7 @@ public function setCode($val) } /** * Gets the label + * A display label for this ountry/region of origin. * * @return string|null The label */ @@ -65,6 +68,7 @@ public function getLabel() /** * Sets the label + * A display label for this ountry/region of origin. * * @param string $val The value of the label * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php index 13208f783cf..d58eab7f9a3 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesClusterEvidence.php @@ -26,6 +26,7 @@ class KubernetesClusterEvidence extends AlertEvidence /** * Gets the cloudResource + * The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object. * * @return AlertEvidence|null The cloudResource */ @@ -44,6 +45,7 @@ public function getCloudResource() /** * Sets the cloudResource + * The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object. * * @param AlertEvidence $val The value to assign to the cloudResource * @@ -56,6 +58,7 @@ public function setCloudResource($val) } /** * Gets the distribution + * The distribution type of the cluster. * * @return string|null The distribution */ @@ -70,6 +73,7 @@ public function getDistribution() /** * Sets the distribution + * The distribution type of the cluster. * * @param string $val The value of the distribution * @@ -82,6 +86,7 @@ public function setDistribution($val) } /** * Gets the name + * The cluster name. * * @return string|null The name */ @@ -96,6 +101,7 @@ public function getName() /** * Sets the name + * The cluster name. * * @param string $val The value of the name * @@ -109,6 +115,7 @@ public function setName($val) /** * Gets the platform + * The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. * * @return KubernetesPlatform|null The platform */ @@ -127,6 +134,7 @@ public function getPlatform() /** * Sets the platform + * The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue. * * @param KubernetesPlatform $val The value to assign to the platform * @@ -139,6 +147,7 @@ public function setPlatform($val) } /** * Gets the version + * The kubernetes version of the cluster. * * @return string|null The version */ @@ -153,6 +162,7 @@ public function getVersion() /** * Sets the version + * The kubernetes version of the cluster. * * @param string $val The value of the version * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php index 20e8bcf0160..f74f324c2c1 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesControllerEvidence.php @@ -26,6 +26,7 @@ class KubernetesControllerEvidence extends AlertEvidence /** * Gets the labels + * The labels for the Kubernetes pod. * * @return Dictionary|null The labels */ @@ -44,6 +45,7 @@ public function getLabels() /** * Sets the labels + * The labels for the Kubernetes pod. * * @param Dictionary $val The value to assign to the labels * @@ -56,6 +58,7 @@ public function setLabels($val) } /** * Gets the name + * The controller name. * * @return string|null The name */ @@ -70,6 +73,7 @@ public function getName() /** * Sets the name + * The controller name. * * @param string $val The value of the name * @@ -83,6 +87,7 @@ public function setName($val) /** * Gets the namespace + * The service account namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -101,6 +106,7 @@ public function getNamespace() /** * Sets the namespace + * The service account namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -113,6 +119,7 @@ public function setNamespace($val) } /** * Gets the type + * The controller type. * * @return string|null The type */ @@ -127,6 +134,7 @@ public function getType() /** * Sets the type + * The controller type. * * @param string $val The value of the type * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php index 0b8855671b3..a0e2e98266f 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesNamespaceEvidence.php @@ -26,6 +26,7 @@ class KubernetesNamespaceEvidence extends AlertEvidence /** * Gets the cluster + * The namespace cluster. * * @return KubernetesClusterEvidence|null The cluster */ @@ -44,6 +45,7 @@ public function getCluster() /** * Sets the cluster + * The namespace cluster. * * @param KubernetesClusterEvidence $val The value to assign to the cluster * @@ -57,6 +59,7 @@ public function setCluster($val) /** * Gets the labels + * The labels for the Kubernetes pod. * * @return Dictionary|null The labels */ @@ -75,6 +78,7 @@ public function getLabels() /** * Sets the labels + * The labels for the Kubernetes pod. * * @param Dictionary $val The value to assign to the labels * @@ -87,6 +91,7 @@ public function setLabels($val) } /** * Gets the name + * The namespace name. * * @return string|null The name */ @@ -101,6 +106,7 @@ public function getName() /** * Sets the name + * The namespace name. * * @param string $val The value of the name * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php index 45d690a0f36..6f6251383ed 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesPodEvidence.php @@ -26,6 +26,7 @@ class KubernetesPodEvidence extends AlertEvidence /** * Gets the containers + * The list of pod containers which are not init or ephemeral containers. * * @return ContainerEvidence|null The containers */ @@ -44,6 +45,7 @@ public function getContainers() /** * Sets the containers + * The list of pod containers which are not init or ephemeral containers. * * @param ContainerEvidence $val The value to assign to the containers * @@ -57,6 +59,7 @@ public function setContainers($val) /** * Gets the controller + * The pod controller. * * @return KubernetesControllerEvidence|null The controller */ @@ -75,6 +78,7 @@ public function getController() /** * Sets the controller + * The pod controller. * * @param KubernetesControllerEvidence $val The value to assign to the controller * @@ -88,6 +92,7 @@ public function setController($val) /** * Gets the ephemeralContainers + * The list of pod ephemeral containers. * * @return ContainerEvidence|null The ephemeralContainers */ @@ -106,6 +111,7 @@ public function getEphemeralContainers() /** * Sets the ephemeralContainers + * The list of pod ephemeral containers. * * @param ContainerEvidence $val The value to assign to the ephemeralContainers * @@ -119,6 +125,7 @@ public function setEphemeralContainers($val) /** * Gets the initContainers + * The list of pod init containers. * * @return ContainerEvidence|null The initContainers */ @@ -137,6 +144,7 @@ public function getInitContainers() /** * Sets the initContainers + * The list of pod init containers. * * @param ContainerEvidence $val The value to assign to the initContainers * @@ -150,6 +158,7 @@ public function setInitContainers($val) /** * Gets the labels + * The pod labels. * * @return Dictionary|null The labels */ @@ -168,6 +177,7 @@ public function getLabels() /** * Sets the labels + * The pod labels. * * @param Dictionary $val The value to assign to the labels * @@ -180,6 +190,7 @@ public function setLabels($val) } /** * Gets the name + * The pod name. * * @return string|null The name */ @@ -194,6 +205,7 @@ public function getName() /** * Sets the name + * The pod name. * * @param string $val The value of the name * @@ -207,6 +219,7 @@ public function setName($val) /** * Gets the namespace + * The pod namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -225,6 +238,7 @@ public function getNamespace() /** * Sets the namespace + * The pod namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -238,6 +252,7 @@ public function setNamespace($val) /** * Gets the podIp + * The pod IP. * * @return IpEvidence|null The podIp */ @@ -256,6 +271,7 @@ public function getPodIp() /** * Sets the podIp + * The pod IP. * * @param IpEvidence $val The value to assign to the podIp * @@ -269,6 +285,7 @@ public function setPodIp($val) /** * Gets the serviceAccount + * The pod service account. * * @return KubernetesServiceAccountEvidence|null The serviceAccount */ @@ -287,6 +304,7 @@ public function getServiceAccount() /** * Sets the serviceAccount + * The pod service account. * * @param KubernetesServiceAccountEvidence $val The value to assign to the serviceAccount * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php index 39250086886..3608dcd6801 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesSecretEvidence.php @@ -25,6 +25,7 @@ class KubernetesSecretEvidence extends AlertEvidence { /** * Gets the name + * The secret name. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The secret name. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the namespace + * The secret namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -70,6 +73,7 @@ public function getNamespace() /** * Sets the namespace + * The secret namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -82,6 +86,7 @@ public function setNamespace($val) } /** * Gets the secretType + * The secret type can include both built-in types and custom ones. Examples of built-in types are: Opaque, kubernetes.io/service-account-token, kubernetes.io/dockercfg, kubernetes.io/dockerconfigjson, kubernetes.io/basic-auth, kubernetes.io/ssh-auth, kubernetes.io/tls, bootstrap.kubernetes.io/token. * * @return string|null The secretType */ @@ -96,6 +101,7 @@ public function getSecretType() /** * Sets the secretType + * The secret type can include both built-in types and custom ones. Examples of built-in types are: Opaque, kubernetes.io/service-account-token, kubernetes.io/dockercfg, kubernetes.io/dockerconfigjson, kubernetes.io/basic-auth, kubernetes.io/ssh-auth, kubernetes.io/tls, bootstrap.kubernetes.io/token. * * @param string $val The value of the secretType * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php index 318a3b161c6..f1a59c6e379 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceAccountEvidence.php @@ -25,6 +25,7 @@ class KubernetesServiceAccountEvidence extends AlertEvidence { /** * Gets the name + * The service account name. * * @return string|null The name */ @@ -39,6 +40,7 @@ public function getName() /** * Sets the name + * The service account name. * * @param string $val The value of the name * @@ -52,6 +54,7 @@ public function setName($val) /** * Gets the namespace + * The service account namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -70,6 +73,7 @@ public function getNamespace() /** * Sets the namespace + * The service account namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php index f96a596d5aa..3daea9684bb 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServiceEvidence.php @@ -26,6 +26,7 @@ class KubernetesServiceEvidence extends AlertEvidence /** * Gets the clusterIP + * The service cluster IP. * * @return IpEvidence|null The clusterIP */ @@ -44,6 +45,7 @@ public function getClusterIP() /** * Sets the clusterIP + * The service cluster IP. * * @param IpEvidence $val The value to assign to the clusterIP * @@ -57,6 +59,7 @@ public function setClusterIP($val) /** * Gets the externalIPs + * The service external IPs. * * @return IpEvidence|null The externalIPs */ @@ -75,6 +78,7 @@ public function getExternalIPs() /** * Sets the externalIPs + * The service external IPs. * * @param IpEvidence $val The value to assign to the externalIPs * @@ -88,6 +92,7 @@ public function setExternalIPs($val) /** * Gets the labels + * The service labels. * * @return Dictionary|null The labels */ @@ -106,6 +111,7 @@ public function getLabels() /** * Sets the labels + * The service labels. * * @param Dictionary $val The value to assign to the labels * @@ -118,6 +124,7 @@ public function setLabels($val) } /** * Gets the name + * The service name. * * @return string|null The name */ @@ -132,6 +139,7 @@ public function getName() /** * Sets the name + * The service name. * * @param string $val The value of the name * @@ -145,6 +153,7 @@ public function setName($val) /** * Gets the namespace + * The service namespace. * * @return KubernetesNamespaceEvidence|null The namespace */ @@ -163,6 +172,7 @@ public function getNamespace() /** * Sets the namespace + * The service namespace. * * @param KubernetesNamespaceEvidence $val The value to assign to the namespace * @@ -176,6 +186,7 @@ public function setNamespace($val) /** * Gets the selector + * The service selector. * * @return Dictionary|null The selector */ @@ -194,6 +205,7 @@ public function getSelector() /** * Sets the selector + * The service selector. * * @param Dictionary $val The value to assign to the selector * @@ -207,6 +219,7 @@ public function setSelector($val) /** * Gets the servicePorts + * The list of service ports. * * @return KubernetesServicePort|null The servicePorts */ @@ -225,6 +238,7 @@ public function getServicePorts() /** * Sets the servicePorts + * The list of service ports. * * @param KubernetesServicePort $val The value to assign to the servicePorts * @@ -238,6 +252,7 @@ public function setServicePorts($val) /** * Gets the serviceType + * The service type. * * @return KubernetesServiceType|null The serviceType */ @@ -256,6 +271,7 @@ public function getServiceType() /** * Sets the serviceType + * The service type. * * @param KubernetesServiceType $val The value to assign to the serviceType * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php index f1148b2e5b2..ba1574fa7bb 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/KubernetesServicePort.php @@ -25,6 +25,7 @@ class KubernetesServicePort extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the appProtocol + * The application protocol for this port. * * @return string|null The appProtocol */ @@ -39,6 +40,7 @@ public function getAppProtocol() /** * Sets the appProtocol + * The application protocol for this port. * * @param string $val The value of the appProtocol * @@ -51,6 +53,7 @@ public function setAppProtocol($val) } /** * Gets the name + * The name of this port within the service. * * @return string|null The name */ @@ -65,6 +68,7 @@ public function getName() /** * Sets the name + * The name of this port within the service. * * @param string $val The value of the name * @@ -77,6 +81,7 @@ public function setName($val) } /** * Gets the nodePort + * The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer. * * @return int|null The nodePort */ @@ -91,6 +96,7 @@ public function getNodePort() /** * Sets the nodePort + * The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer. * * @param int $val The value of the nodePort * @@ -103,6 +109,7 @@ public function setNodePort($val) } /** * Gets the port + * The port that this service exposes. * * @return int|null The port */ @@ -117,6 +124,7 @@ public function getPort() /** * Sets the port + * The port that this service exposes. * * @param int $val The value of the port * @@ -130,6 +138,7 @@ public function setPort($val) /** * Gets the protocol + * The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. * * @return ContainerPortProtocol|null The protocol */ @@ -148,6 +157,7 @@ public function getProtocol() /** * Sets the protocol + * The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. * * @param ContainerPortProtocol $val The value to assign to the protocol * @@ -160,6 +170,7 @@ public function setProtocol($val) } /** * Gets the targetPort + * The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME. * * @return string|null The targetPort */ @@ -174,6 +185,7 @@ public function getTargetPort() /** * Sets the targetPort + * The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME. * * @param string $val The value of the targetPort * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php index d3626683b4e..ca1d4f35229 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php @@ -25,6 +25,7 @@ class RegistryValueEvidence extends AlertEvidence { /** * Gets the mdeDeviceId + * A unique identifier assigned to a device by Microsoft Defender for Endpoint. * * @return string|null The mdeDeviceId */ @@ -39,6 +40,7 @@ public function getMdeDeviceId() /** * Sets the mdeDeviceId + * A unique identifier assigned to a device by Microsoft Defender for Endpoint. * * @param string $val The value of the mdeDeviceId * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php new file mode 100644 index 00000000000..9fc741d15bb --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificate.php @@ -0,0 +1,322 @@ +_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 SslCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the fingerprint + * + * @return string|null The fingerprint + */ + public function getFingerprint() + { + if (array_key_exists("fingerprint", $this->_propDict)) { + return $this->_propDict["fingerprint"]; + } else { + return null; + } + } + + /** + * Sets the fingerprint + * + * @param string $val The fingerprint + * + * @return SslCertificate + */ + public function setFingerprint($val) + { + $this->_propDict["fingerprint"] = $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 SslCertificate + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the issueDateTime + * + * @return \DateTime|null The issueDateTime + */ + public function getIssueDateTime() + { + if (array_key_exists("issueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["issueDateTime"], "\DateTime") || is_null($this->_propDict["issueDateTime"])) { + return $this->_propDict["issueDateTime"]; + } else { + $this->_propDict["issueDateTime"] = new \DateTime($this->_propDict["issueDateTime"]); + return $this->_propDict["issueDateTime"]; + } + } + return null; + } + + /** + * Sets the issueDateTime + * + * @param \DateTime $val The issueDateTime + * + * @return SslCertificate + */ + public function setIssueDateTime($val) + { + $this->_propDict["issueDateTime"] = $val; + return $this; + } + + /** + * Gets the issuer + * + * @return SslCertificateEntity|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + if (is_a($this->_propDict["issuer"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["issuer"])) { + return $this->_propDict["issuer"]; + } else { + $this->_propDict["issuer"] = new SslCertificateEntity($this->_propDict["issuer"]); + return $this->_propDict["issuer"]; + } + } + return null; + } + + /** + * Sets the issuer + * + * @param SslCertificateEntity $val The issuer + * + * @return SslCertificate + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $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 SslCertificate + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * + * @param string $val The serialNumber + * + * @return SslCertificate + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the sha1 + * + * @return string|null The sha1 + */ + public function getSha1() + { + if (array_key_exists("sha1", $this->_propDict)) { + return $this->_propDict["sha1"]; + } else { + return null; + } + } + + /** + * Sets the sha1 + * + * @param string $val The sha1 + * + * @return SslCertificate + */ + public function setSha1($val) + { + $this->_propDict["sha1"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return SslCertificateEntity|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + if (is_a($this->_propDict["subject"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["subject"])) { + return $this->_propDict["subject"]; + } else { + $this->_propDict["subject"] = new SslCertificateEntity($this->_propDict["subject"]); + return $this->_propDict["subject"]; + } + } + return null; + } + + /** + * Sets the subject + * + * @param SslCertificateEntity $val The subject + * + * @return SslCertificate + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the relatedHosts + * + * @return array|null The relatedHosts + */ + public function getRelatedHosts() + { + if (array_key_exists("relatedHosts", $this->_propDict)) { + return $this->_propDict["relatedHosts"]; + } else { + return null; + } + } + + /** + * Sets the relatedHosts + * + * @param Host[] $val The relatedHosts + * + * @return SslCertificate + */ + public function setRelatedHosts($val) + { + $this->_propDict["relatedHosts"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php new file mode 100644 index 00000000000..60824bc7f2d --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SslCertificateEntity.php @@ -0,0 +1,265 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new \Beta\Microsoft\Graph\Model\PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param \Beta\Microsoft\Graph\Model\PhysicalAddress $val The value to assign to the address + * + * @return SslCertificateEntity The SslCertificateEntity + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the alternateNames + * + * @return string|null The alternateNames + */ + public function getAlternateNames() + { + if (array_key_exists("alternateNames", $this->_propDict)) { + return $this->_propDict["alternateNames"]; + } else { + return null; + } + } + + /** + * Sets the alternateNames + * + * @param string $val The value of the alternateNames + * + * @return SslCertificateEntity + */ + public function setAlternateNames($val) + { + $this->_propDict["alternateNames"] = $val; + return $this; + } + /** + * Gets the commonName + * + * @return string|null The commonName + */ + public function getCommonName() + { + if (array_key_exists("commonName", $this->_propDict)) { + return $this->_propDict["commonName"]; + } else { + return null; + } + } + + /** + * Sets the commonName + * + * @param string $val The value of the commonName + * + * @return SslCertificateEntity + */ + public function setCommonName($val) + { + $this->_propDict["commonName"] = $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 value of the email + * + * @return SslCertificateEntity + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the givenName + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * + * @param string $val The value of the givenName + * + * @return SslCertificateEntity + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + /** + * Gets the organizationName + * + * @return string|null The organizationName + */ + public function getOrganizationName() + { + if (array_key_exists("organizationName", $this->_propDict)) { + return $this->_propDict["organizationName"]; + } else { + return null; + } + } + + /** + * Sets the organizationName + * + * @param string $val The value of the organizationName + * + * @return SslCertificateEntity + */ + public function setOrganizationName($val) + { + $this->_propDict["organizationName"] = $val; + return $this; + } + /** + * Gets the organizationUnitName + * + * @return string|null The organizationUnitName + */ + public function getOrganizationUnitName() + { + if (array_key_exists("organizationUnitName", $this->_propDict)) { + return $this->_propDict["organizationUnitName"]; + } else { + return null; + } + } + + /** + * Sets the organizationUnitName + * + * @param string $val The value of the organizationUnitName + * + * @return SslCertificateEntity + */ + public function setOrganizationUnitName($val) + { + $this->_propDict["organizationUnitName"] = $val; + return $this; + } + /** + * Gets the serialNumber + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * + * @param string $val The value of the serialNumber + * + * @return SslCertificateEntity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + /** + * Gets the surname + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * + * @param string $val The value of the surname + * + * @return SslCertificateEntity + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php index e24099228b5..a282e78883c 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ThreatIntelligence.php @@ -145,6 +145,36 @@ public function setHostCookies($val) } + /** + * Gets the hostPairs + * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. + * + * @return array|null The hostPairs + */ + public function getHostPairs() + { + if (array_key_exists("hostPairs", $this->_propDict)) { + return $this->_propDict["hostPairs"]; + } else { + return null; + } + } + + /** + * Sets the hostPairs + * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. + * + * @param HostPair[] $val The hostPairs + * + * @return ThreatIntelligence + */ + public function setHostPairs($val) + { + $this->_propDict["hostPairs"] = $val; + return $this; + } + + /** * Gets the hosts * Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. @@ -175,6 +205,34 @@ public function setHosts($val) } + /** + * Gets the hostSslCertificates + * + * @return array|null The hostSslCertificates + */ + public function getHostSslCertificates() + { + if (array_key_exists("hostSslCertificates", $this->_propDict)) { + return $this->_propDict["hostSslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the hostSslCertificates + * + * @param HostSslCertificate[] $val The hostSslCertificates + * + * @return ThreatIntelligence + */ + public function setHostSslCertificates($val) + { + $this->_propDict["hostSslCertificates"] = $val; + return $this; + } + + /** * Gets the hostTrackers * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. @@ -293,6 +351,34 @@ public function setPassiveDnsRecords($val) } + /** + * Gets the sslCertificates + * + * @return array|null The sslCertificates + */ + public function getSslCertificates() + { + if (array_key_exists("sslCertificates", $this->_propDict)) { + return $this->_propDict["sslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the sslCertificates + * + * @param SslCertificate[] $val The sslCertificates + * + * @return ThreatIntelligence + */ + public function setSslCertificates($val) + { + $this->_propDict["sslCertificates"] = $val; + return $this; + } + + /** * Gets the subdomains * Retrieve details about the microsoft.graph.security.subdomain.Note: List retrieval is not yet supported. @@ -352,4 +438,32 @@ public function setVulnerabilities($val) return $this; } + + /** + * Gets the whoisRecords + * + * @return array|null The whoisRecords + */ + public function getWhoisRecords() + { + if (array_key_exists("whoisRecords", $this->_propDict)) { + return $this->_propDict["whoisRecords"]; + } else { + return null; + } + } + + /** + * Sets the whoisRecords + * + * @param WhoisRecord[] $val The whoisRecords + * + * @return ThreatIntelligence + */ + public function setWhoisRecords($val) + { + $this->_propDict["whoisRecords"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php new file mode 100644 index 00000000000..88a50195822 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisContact.php @@ -0,0 +1,187 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new \Beta\Microsoft\Graph\Model\PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param \Beta\Microsoft\Graph\Model\PhysicalAddress $val The value to assign to the address + * + * @return WhoisContact The WhoisContact + */ + public function setAddress($val) + { + $this->_propDict["address"] = $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 value of the email + * + * @return WhoisContact + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the fax + * + * @return string|null The fax + */ + public function getFax() + { + if (array_key_exists("fax", $this->_propDict)) { + return $this->_propDict["fax"]; + } else { + return null; + } + } + + /** + * Sets the fax + * + * @param string $val The value of the fax + * + * @return WhoisContact + */ + public function setFax($val) + { + $this->_propDict["fax"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return WhoisContact + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the organization + * + * @return string|null The organization + */ + public function getOrganization() + { + if (array_key_exists("organization", $this->_propDict)) { + return $this->_propDict["organization"]; + } else { + return null; + } + } + + /** + * Sets the organization + * + * @param string $val The value of the organization + * + * @return WhoisContact + */ + public function setOrganization($val) + { + $this->_propDict["organization"] = $val; + return $this; + } + /** + * Gets the telephone + * + * @return string|null The telephone + */ + public function getTelephone() + { + if (array_key_exists("telephone", $this->_propDict)) { + return $this->_propDict["telephone"]; + } else { + return null; + } + } + + /** + * Sets the telephone + * + * @param string $val The value of the telephone + * + * @return WhoisContact + */ + public function setTelephone($val) + { + $this->_propDict["telephone"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php new file mode 100644 index 00000000000..a54e8cb0a21 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisDomainStatus.php @@ -0,0 +1,38 @@ +_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 value to assign to the firstSeenDateTime + * + * @return WhoisNameserver The WhoisNameserver + */ + 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 value to assign to the lastSeenDateTime + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $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 value to assign to the host + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.php new file mode 100644 index 00000000000..c07cfd2d285 --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WhoisRecord.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 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 + * + * @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 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) + { + $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 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 + * + * @param Host $val The host + * + * @return WhoisRecord + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + +}