From 9c1be2f6a2e8c5fd7ec83ecfe00898bae132ec9c Mon Sep 17 00:00:00 2001 From: Michael Mainer Date: Fri, 19 May 2023 15:51:14 -0700 Subject: [PATCH 01/10] Update CODEOWNERS with msgraph-devx-php-write I've removed all individual access grants. All write access now goes through https://github.com/orgs/microsoftgraph/teams/msgraph-devx-php-write team. Please manage code owners through this team. Admin settings now require JIT admin grant elevation through the Open Source Management Portal. --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index db0fd320e72..ae11c44abc0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @ddyett @MichaelMainer @nikithauc @zengin @silaskenneth @Ndiritu @shemogumbe +* @microsoftgraph/msgraph-devx-php-write From 7bd2db3c957615b1690273f2e59ed1bde0d85919 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Tue, 30 May 2023 15:18:44 +0300 Subject: [PATCH 02/10] Replace deprecated unwrap method in promises namespace --- tests/Http/GraphRequestTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Http/GraphRequestTest.php b/tests/Http/GraphRequestTest.php index 480b07a3935..d16eaa1f7cc 100644 --- a/tests/Http/GraphRequestTest.php +++ b/tests/Http/GraphRequestTest.php @@ -1,4 +1,6 @@ requests[2] ->executeAsync($this->client); - $response = \GuzzleHttp\Promise\unwrap(array($promise)); + $response = Utils::unwrap(array($promise)); foreach ($response as $responseItem) { $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $responseItem); } From 49db31c4a07e6dc16bfa9f06f04b5954fbef8ed9 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Tue, 30 May 2023 15:28:38 +0300 Subject: [PATCH 03/10] Specify guzzle promises version as dev dependency --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8b48071d5da..1c80750ac97 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,8 @@ "require-dev": { "phpunit/phpunit": "^8.0 || ^9.0", "mikey179/vfsstream": "^1.2", - "phpstan/phpstan": "^0.12.90 || ^1.0.0" + "phpstan/phpstan": "^0.12.90 || ^1.0.0", + "guzzlehttp/promises": "^1.0 || ^2.0" }, "autoload": { "psr-4": { From ac9ccb484574ce1f79795b8bbc2598352e8f41ed Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 6 Jun 2023 10:11:30 +0000 Subject: [PATCH 04/10] Update generated files with build 116509 --- .../Graph/CallRecords/Model/MediaStream.php | 4 +- .../Model/LifecycleTaskCategory.php | 1 + .../Model/LifecycleWorkflowCategory.php | 1 + .../Model/Workflow.php | 2 +- .../WorkflowTriggerTimeBasedAttribute.php | 1 + .../Model/AndroidManagedAppProtection.php | 33 ++ .../Model/AppKeyCredentialRestrictionType.php | 1 + .../Microsoft/Graph/Model/Application.php | 31 ++ .../AppliedAuthenticationEventListener.php | 8 +- src/Beta/Microsoft/Graph/Model/Approval.php | 2 + .../Graph/Model/AttackSimulationUser.php | 6 +- .../Graph/Model/AttributeDefinition.php | 12 +- .../Model/AttributeDefinitionMetadata.php | 41 +++ .../AttributeDefinitionMetadataEntry.php | 87 +++++ ...nAttributeCollectionInputConfiguration.php | 316 ++++++++++++++++++ ...enticationAttributeCollectionInputType.php | 37 ++ ...ttributeCollectionOptionConfiguration.php} | 36 +- .../AuthenticationAttributeCollectionPage.php | 85 +++++ ...tributeCollectionPageViewConfiguration.php | 115 +++++++ .../Graph/Model/AuthenticationBehaviors.php | 78 +++++ .../Graph/Model/AuthenticationEventsFlow.php | 147 ++++++++ .../Microsoft/Graph/Model/CallRecording.php | 89 +++++ .../Model/CertificateAuthorityAsEntity.php | 139 ++++++++ .../Graph/Model/CertificateAuthorityPath.php | 55 +++ ...rtificateBasedApplicationConfiguration.php | 81 +++++ ...PremisesConnectionHealthCheckErrorType.php | 2 + src/Beta/Microsoft/Graph/Model/Connector.php | 27 ++ .../Graph/Model/ContentCustomization.php | 83 +++++ .../Model/ContinuousAccessEvaluationMode.php | 1 + .../Graph/Model/ConversationMember.php | 4 +- ...TenantAccessPolicyConfigurationDefault.php | 2 + ...TenantAccessPolicyConfigurationPartner.php | 2 + .../Model/CrossTenantAccessPolicyTarget.php | 4 +- ...ssTenantAccessPolicyTenantRestrictions.php | 2 + .../Microsoft/Graph/Model/CustomAppScope.php | 2 + .../CustomSecurityAttributeDefinition.php | 16 +- .../Model/DefaultManagedAppProtection.php | 33 ++ .../Model/DefaultUserRolePermissions.php | 12 +- .../Model/DelegatedAdminRelationship.php | 4 +- ...ationChoiceSettingCollectionDefinition.php | 8 +- ...ementConfigurationSettingApplicability.php | 4 +- ...rationSettingGroupCollectionDefinition.php | 8 +- ...entConfigurationSettingGroupDefinition.php | 4 +- ...ntConfigurationSimpleSettingDefinition.php | 16 +- .../Microsoft/Graph/Model/DevicesFilter.php | 4 + src/Beta/Microsoft/Graph/Model/Directory.php | 31 ++ .../Graph/Model/EducationSubmission.php | 4 +- .../Microsoft/Graph/Model/EscrowBehavior.php | 34 ++ .../Graph/Model/ExtensionProperty.php | 2 + ...ternalUsersSelfServiceSignUpEventsFlow.php | 159 +++++++++ src/Beta/Microsoft/Graph/Model/Group.php | 4 +- .../Graph/Model/IdentityContainer.php | 30 ++ .../Graph/Model/IpApplicationSegment.php | 27 ++ .../Microsoft/Graph/Model/KeyCredential.php | 4 +- .../Model/KeyCredentialConfiguration.php | 26 ++ .../Microsoft/Graph/Model/KeyValuePair.php | 8 +- .../Graph/Model/LicenseUnitsDetail.php | 26 ++ .../Graph/Model/ObjectDefinition.php | 8 +- .../Graph/Model/ObjectDefinitionMetadata.php | 39 +++ .../Model/ObjectDefinitionMetadataEntry.php | 87 +++++ .../Microsoft/Graph/Model/ObjectMapping.php | 8 +- .../Graph/Model/ObjectMappingMetadata.php | 39 +++ .../Model/ObjectMappingMetadataEntry.php | 87 +++++ ...llectionExternalUsersSelfServiceSignUp.php | 101 ++++++ .../Model/OnAttributeCollectionHandler.php | 26 ++ .../Model/OnAttributeCollectionListener.php | 60 ++++ ...oadStartExternalUsersSelfServiceSignUp.php | 68 ++++ ...OnAuthenticationMethodLoadStartHandler.php | 26 ++ ...nAuthenticationMethodLoadStartListener.php | 60 ++++ ...lowStartExternalUsersSelfServiceSignUp.php | 65 ++++ .../OnInteractiveAuthFlowStartHandler.php | 26 ++ .../OnInteractiveAuthFlowStartListener.php | 60 ++++ .../Graph/Model/OnPremisesPublishing.php | 26 ++ ...ateStartExternalUsersSelfServiceSignUp.php | 70 ++++ .../Graph/Model/OnUserCreateStartHandler.php | 26 ++ .../Graph/Model/OnUserCreateStartListener.php | 60 ++++ .../Microsoft/Graph/Model/OnlineMeeting.php | 59 ++++ .../Graph/Model/OrganizationSettings.php | 126 +++---- .../OrganizationalBrandingProperties.php | 31 ++ .../Microsoft/Graph/Model/OutlookCategory.php | 4 +- .../Microsoft/Graph/Model/Participant.php | 27 ++ src/Beta/Microsoft/Graph/Model/Person.php | 4 +- .../Model/PlannerChecklistRequirement.php | 52 +++ .../Microsoft/Graph/Model/PlannerPlan.php | 2 + .../Graph/Model/PlannerPlanContainer.php | 4 +- .../Graph/Model/PlannerPlanContextDetails.php | 4 +- .../Graph/Model/PlannerPlanContextType.php | 1 + .../Model/PlannerSharedWithContainer.php | 2 + .../Microsoft/Graph/Model/PlannerTask.php | 31 ++ ...lannerTaskCompletionRequirementDetails.php | 57 ++++ .../PlannerTaskCompletionRequirements.php | 35 ++ .../Graph/Model/PlannerTaskDetails.php | 31 ++ .../Graph/Model/PlannerTaskPropertyRule.php | 26 ++ .../Graph/Model/RetentionSetting.php | 83 +++++ .../Microsoft/Graph/Model/RiskDetection.php | 4 +- .../Microsoft/Graph/Model/SearchRequest.php | 4 +- .../Graph/Model/SignInPreferences.php | 31 ++ .../Microsoft/Graph/Model/SolutionsRoot.php | 31 ++ .../Microsoft/Graph/Model/SubscribedSku.php | 81 +++++ .../Model/SynchronizationDisposition.php | 35 ++ .../Graph/Model/SynchronizationMetadata.php | 41 +++ .../Model/SynchronizationMetadataEntry.php | 87 +++++ .../Graph/Model/SynchronizationTemplate.php | 2 +- ...rustedCertificateAuthorityAsEntityBase.php | 55 +++ .../Graph/Model/UnifiedRbacApplication.php | 2 + .../UserDefaultAuthenticationMethodType.php | 39 +++ src/Beta/Microsoft/Graph/Model/UserType.php | 35 ++ .../Microsoft/Graph/Model/VirtualEvent.php | 277 +++++++++++++++ ...VirtualEventAttendeeRegistrationStatus.php | 38 +++ .../Graph/Model/VirtualEventPresenter.php | 122 +++++++ .../Model/VirtualEventPresenterDetails.php | 199 +++++++++++ .../Graph/Model/VirtualEventPresenterInfo.php | 57 ++++ .../Graph/Model/VirtualEventRegistrant.php | 272 +++++++++++++++ .../Graph/Model/VirtualEventRegistration.php | 145 ++++++++ .../VirtualEventRegistrationQuestion.php | 147 ++++++++ ...VirtualEventRegistrationQuestionAnswer.php | 166 +++++++++ ...entRegistrationQuestionAnswerInputType.php | 38 +++ .../Graph/Model/VirtualEventSession.php | 27 ++ .../Graph/Model/VirtualEventStatus.php | 36 ++ .../Graph/Model/VirtualEventWebinar.php | 123 +++++++ .../Graph/Model/VirtualEventsRoot.php | 83 +++++ .../WindowsAppXAppAssignmentSettings.php | 4 +- .../Networkaccess/Model/NetworkAccessRoot.php | 107 ++++++ .../Graph/SecurityNamespace/Model/Alert.php | 8 +- .../SecurityNamespace/Model/AlertEvidence.php | 38 ++- .../Model/AmazonResourceEvidence.php | 138 ++++++++ .../Model/AzureResourceEvidence.php | 110 ++++++ .../Model/DetectionSource.php | 1 + .../Model/DeviceEvidence.php | 26 ++ .../Model/GoogleCloudLocationType.php | 37 ++ .../Model/GoogleCloudResourceEvidence.php | 199 +++++++++++ .../Model/IncidentStatus.php | 1 + .../Model/RegistryValueEvidence.php | 26 ++ .../SecurityNamespace/Model/ServiceSource.php | 1 + .../SecurityNamespace/Model/UserAccount.php | 10 +- 135 files changed, 6222 insertions(+), 183 deletions(-) create mode 100644 src/Beta/Microsoft/Graph/Model/AttributeDefinitionMetadata.php create mode 100644 src/Beta/Microsoft/Graph/Model/AttributeDefinitionMetadataEntry.php create mode 100644 src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputType.php rename src/Beta/Microsoft/Graph/Model/{MetadataEntry.php => AuthenticationAttributeCollectionOptionConfiguration.php} (58%) create mode 100644 src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPage.php create mode 100644 src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPageViewConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php create mode 100644 src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php create mode 100644 src/Beta/Microsoft/Graph/Model/CallRecording.php create mode 100644 src/Beta/Microsoft/Graph/Model/CertificateAuthorityAsEntity.php create mode 100644 src/Beta/Microsoft/Graph/Model/CertificateAuthorityPath.php create mode 100644 src/Beta/Microsoft/Graph/Model/CertificateBasedApplicationConfiguration.php create mode 100644 src/Beta/Microsoft/Graph/Model/ContentCustomization.php create mode 100644 src/Beta/Microsoft/Graph/Model/EscrowBehavior.php create mode 100644 src/Beta/Microsoft/Graph/Model/ExternalUsersSelfServiceSignUpEventsFlow.php create mode 100644 src/Beta/Microsoft/Graph/Model/ObjectDefinitionMetadata.php create mode 100644 src/Beta/Microsoft/Graph/Model/ObjectDefinitionMetadataEntry.php create mode 100644 src/Beta/Microsoft/Graph/Model/ObjectMappingMetadata.php create mode 100644 src/Beta/Microsoft/Graph/Model/ObjectMappingMetadataEntry.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnAttributeCollectionExternalUsersSelfServiceSignUp.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnAttributeCollectionHandler.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnAttributeCollectionListener.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartHandler.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartListener.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartHandler.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartListener.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnUserCreateStartExternalUsersSelfServiceSignUp.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnUserCreateStartHandler.php create mode 100644 src/Beta/Microsoft/Graph/Model/OnUserCreateStartListener.php create mode 100644 src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php create mode 100644 src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php create mode 100644 src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirements.php create mode 100644 src/Beta/Microsoft/Graph/Model/RetentionSetting.php create mode 100644 src/Beta/Microsoft/Graph/Model/SynchronizationDisposition.php create mode 100644 src/Beta/Microsoft/Graph/Model/SynchronizationMetadata.php create mode 100644 src/Beta/Microsoft/Graph/Model/SynchronizationMetadataEntry.php create mode 100644 src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php create mode 100644 src/Beta/Microsoft/Graph/Model/UserDefaultAuthenticationMethodType.php create mode 100644 src/Beta/Microsoft/Graph/Model/UserType.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEvent.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventAttendeeRegistrationStatus.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventPresenter.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventPresenterDetails.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventPresenterInfo.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestion.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswer.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswerInputType.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventSession.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventStatus.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventWebinar.php create mode 100644 src/Beta/Microsoft/Graph/Model/VirtualEventsRoot.php create mode 100644 src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/AmazonResourceEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/AzureResourceEvidence.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/GoogleCloudLocationType.php create mode 100644 src/Beta/Microsoft/Graph/SecurityNamespace/Model/GoogleCloudResourceEvidence.php diff --git a/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php b/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php index 41bdd158562..69aa0a50a31 100644 --- a/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php +++ b/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php @@ -26,7 +26,7 @@ class MediaStream extends \Beta\Microsoft\Graph\Model\Entity /** * Gets the audioCodec - * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue. + * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. * * @return AudioCodec|null The audioCodec */ @@ -45,7 +45,7 @@ public function getAudioCodec() /** * Sets the audioCodec - * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue. + * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. * * @param AudioCodec $val The value to assign to the audioCodec * diff --git a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleTaskCategory.php b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleTaskCategory.php index 997aeb28d2d..10941ce4772 100644 --- a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleTaskCategory.php +++ b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleTaskCategory.php @@ -32,4 +32,5 @@ class LifecycleTaskCategory extends Enum const JOINER = "joiner"; const LEAVER = "leaver"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const MOVER = "mover"; } diff --git a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleWorkflowCategory.php b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleWorkflowCategory.php index 74a27fcb973..a455fa26bc1 100644 --- a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleWorkflowCategory.php +++ b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/LifecycleWorkflowCategory.php @@ -32,4 +32,5 @@ class LifecycleWorkflowCategory extends Enum const JOINER = "joiner"; const LEAVER = "leaver"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const MOVER = "mover"; } diff --git a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/Workflow.php b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/Workflow.php index 0bb83ca8807..578ad875b6f 100644 --- a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/Workflow.php +++ b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/Workflow.php @@ -168,7 +168,7 @@ public function getExecutionScope() * Sets the executionScope * The unique identifier of the Azure AD identity that last modified the workflow object. * - * @param \Beta\Microsoft\Graph\Model\User[] $val The executionScope + * @param UserProcessingResult[] $val The executionScope * * @return Workflow */ diff --git a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/WorkflowTriggerTimeBasedAttribute.php b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/WorkflowTriggerTimeBasedAttribute.php index e9b96de8ea7..1b7dcdf1db4 100644 --- a/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/WorkflowTriggerTimeBasedAttribute.php +++ b/src/Beta/Microsoft/Graph/IdentityGovernanceNamespace/Model/WorkflowTriggerTimeBasedAttribute.php @@ -32,4 +32,5 @@ class WorkflowTriggerTimeBasedAttribute extends Enum const EMPLOYEE_HIRE_DATE = "employeeHireDate"; const EMPLOYEE_LEAVE_DATE_TIME = "employeeLeaveDateTime"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const CREATED_DATE_TIME = "createdDateTime"; } diff --git a/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php b/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php index 906733942fd..557ca51ef89 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php @@ -82,6 +82,39 @@ public function setAllowedAndroidDeviceModels($val) return $this; } + /** + * Gets the appActionIfAccountIsClockedOut + * Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). + * + * @return ManagedAppRemediationAction|null The appActionIfAccountIsClockedOut + */ + public function getAppActionIfAccountIsClockedOut() + { + if (array_key_exists("appActionIfAccountIsClockedOut", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAccountIsClockedOut"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAccountIsClockedOut"])) { + return $this->_propDict["appActionIfAccountIsClockedOut"]; + } else { + $this->_propDict["appActionIfAccountIsClockedOut"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAccountIsClockedOut"]); + return $this->_propDict["appActionIfAccountIsClockedOut"]; + } + } + return null; + } + + /** + * Sets the appActionIfAccountIsClockedOut + * Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). + * + * @param ManagedAppRemediationAction $val The appActionIfAccountIsClockedOut + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfAccountIsClockedOut($val) + { + $this->_propDict["appActionIfAccountIsClockedOut"] = $val; + return $this; + } + /** * Gets the appActionIfAndroidDeviceManufacturerNotAllowed * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. Possible values are: block, wipe, warn. diff --git a/src/Beta/Microsoft/Graph/Model/AppKeyCredentialRestrictionType.php b/src/Beta/Microsoft/Graph/Model/AppKeyCredentialRestrictionType.php index e2ddc235b8d..6f9a0b17c9b 100644 --- a/src/Beta/Microsoft/Graph/Model/AppKeyCredentialRestrictionType.php +++ b/src/Beta/Microsoft/Graph/Model/AppKeyCredentialRestrictionType.php @@ -30,5 +30,6 @@ class AppKeyCredentialRestrictionType extends Enum * The Enum AppKeyCredentialRestrictionType */ const ASYMMETRIC_KEY_LIFETIME = "asymmetricKeyLifetime"; + const TRUSTED_CERTIFICATE_AUTHORITY = "trustedCertificateAuthority"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/Application.php b/src/Beta/Microsoft/Graph/Model/Application.php index 8fe7289c32c..12bc17a0b43 100644 --- a/src/Beta/Microsoft/Graph/Model/Application.php +++ b/src/Beta/Microsoft/Graph/Model/Application.php @@ -116,6 +116,37 @@ public function setAppRoles($val) return $this; } + /** + * Gets the authenticationBehaviors + * + * @return AuthenticationBehaviors|null The authenticationBehaviors + */ + public function getAuthenticationBehaviors() + { + if (array_key_exists("authenticationBehaviors", $this->_propDict)) { + if (is_a($this->_propDict["authenticationBehaviors"], "\Beta\Microsoft\Graph\Model\AuthenticationBehaviors") || is_null($this->_propDict["authenticationBehaviors"])) { + return $this->_propDict["authenticationBehaviors"]; + } else { + $this->_propDict["authenticationBehaviors"] = new AuthenticationBehaviors($this->_propDict["authenticationBehaviors"]); + return $this->_propDict["authenticationBehaviors"]; + } + } + return null; + } + + /** + * Sets the authenticationBehaviors + * + * @param AuthenticationBehaviors $val The authenticationBehaviors + * + * @return Application + */ + public function setAuthenticationBehaviors($val) + { + $this->_propDict["authenticationBehaviors"] = $val; + return $this; + } + /** * Gets the certification * Specifies the certification status of the application. diff --git a/src/Beta/Microsoft/Graph/Model/AppliedAuthenticationEventListener.php b/src/Beta/Microsoft/Graph/Model/AppliedAuthenticationEventListener.php index 9ed54e7172d..639083898d4 100644 --- a/src/Beta/Microsoft/Graph/Model/AppliedAuthenticationEventListener.php +++ b/src/Beta/Microsoft/Graph/Model/AppliedAuthenticationEventListener.php @@ -26,7 +26,7 @@ class AppliedAuthenticationEventListener extends Entity /** * Gets the eventType - * The type of authentication event that triggered the custom extension request. The possible values are: tokenIssuanceStart, pageRenderStart, unknownFutureValue. + * The type of authentication event that triggered the custom authentication extension request. The possible values are: tokenIssuanceStart, pageRenderStart, unknownFutureValue. * * @return AuthenticationEventType|null The eventType */ @@ -45,7 +45,7 @@ public function getEventType() /** * Sets the eventType - * The type of authentication event that triggered the custom extension request. The possible values are: tokenIssuanceStart, pageRenderStart, unknownFutureValue. + * The type of authentication event that triggered the custom authentication extension request. The possible values are: tokenIssuanceStart, pageRenderStart, unknownFutureValue. * * @param AuthenticationEventType $val The value to assign to the eventType * @@ -58,7 +58,7 @@ public function setEventType($val) } /** * Gets the executedListenerId - * ID of the Event Listener that was executed. + * ID of the authentication event listener that was executed. * * @return string|null The executedListenerId */ @@ -73,7 +73,7 @@ public function getExecutedListenerId() /** * Sets the executedListenerId - * ID of the Event Listener that was executed. + * ID of the authentication event listener that was executed. * * @param string $val The value of the executedListenerId * diff --git a/src/Beta/Microsoft/Graph/Model/Approval.php b/src/Beta/Microsoft/Graph/Model/Approval.php index 157d91bea56..4a37f3f6ed5 100644 --- a/src/Beta/Microsoft/Graph/Model/Approval.php +++ b/src/Beta/Microsoft/Graph/Model/Approval.php @@ -27,6 +27,7 @@ class Approval extends Entity /** * Gets the steps + * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * * @return array|null The steps */ @@ -41,6 +42,7 @@ public function getSteps() /** * Sets the steps + * Used to represent the decision associated with a single step in the approval process configured in approvalStage. * * @param ApprovalStep[] $val The steps * diff --git a/src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php b/src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php index 07b74b4f157..c8f677a40cd 100644 --- a/src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php +++ b/src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php @@ -81,6 +81,7 @@ public function setEmail($val) } /** * Gets the outOfOfficeDays + * Number of days the user is OOF during a simulation journey/course of a campaign. * * @return int|null The outOfOfficeDays */ @@ -95,6 +96,7 @@ public function getOutOfOfficeDays() /** * Sets the outOfOfficeDays + * Number of days the user is OOF during a simulation journey/course of a campaign. * * @param int $val The value of the outOfOfficeDays * @@ -107,7 +109,7 @@ public function setOutOfOfficeDays($val) } /** * Gets the userId - * id property value of the user resource that represents the user in the Azure Active Directory tenant. + * The id property value of the user resource that represents the user in the Azure Active Directory tenant. * * @return string|null The userId */ @@ -122,7 +124,7 @@ public function getUserId() /** * Sets the userId - * id property value of the user resource that represents the user in the Azure Active Directory tenant. + * The id property value of the user resource that represents the user in the Azure Active Directory tenant. * * @param string $val The value of the userId * diff --git a/src/Beta/Microsoft/Graph/Model/AttributeDefinition.php b/src/Beta/Microsoft/Graph/Model/AttributeDefinition.php index c7f1df4c80a..a916bd68d7f 100644 --- a/src/Beta/Microsoft/Graph/Model/AttributeDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/AttributeDefinition.php @@ -167,17 +167,17 @@ public function setFlowNullValues($val) /** * Gets the metadata - * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * Metadata for the given object. * - * @return MetadataEntry|null The metadata + * @return AttributeDefinitionMetadataEntry|null The metadata */ public function getMetadata() { if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry") || is_null($this->_propDict["metadata"])) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\AttributeDefinitionMetadataEntry") || is_null($this->_propDict["metadata"])) { return $this->_propDict["metadata"]; } else { - $this->_propDict["metadata"] = new MetadataEntry($this->_propDict["metadata"]); + $this->_propDict["metadata"] = new AttributeDefinitionMetadataEntry($this->_propDict["metadata"]); return $this->_propDict["metadata"]; } } @@ -186,9 +186,9 @@ public function getMetadata() /** * Sets the metadata - * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * Metadata for the given object. * - * @param MetadataEntry $val The value to assign to the metadata + * @param AttributeDefinitionMetadataEntry $val The value to assign to the metadata * * @return AttributeDefinition The AttributeDefinition */ diff --git a/src/Beta/Microsoft/Graph/Model/AttributeDefinitionMetadata.php b/src/Beta/Microsoft/Graph/Model/AttributeDefinitionMetadata.php new file mode 100644 index 00000000000..e2a480a1efe --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AttributeDefinitionMetadata.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Beta\Microsoft\Graph\Model\AttributeDefinitionMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new AttributeDefinitionMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * Possible values are: BaseAttributeName, ComplexObjectDefinition, IsContainer, IsCustomerDefined, IsDomainQualified, LinkPropertyNames, LinkTypeName, MaximumLength, ReferencedProperty. + * + * @param AttributeDefinitionMetadata $val The value to assign to the key + * + * @return AttributeDefinitionMetadataEntry The AttributeDefinitionMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Value of the metadata property. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the metadata property. + * + * @param string $val The value of the value + * + * @return AttributeDefinitionMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php new file mode 100644 index 00000000000..8c57f382ab1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php @@ -0,0 +1,316 @@ +_propDict)) { + return $this->_propDict["attribute"]; + } else { + return null; + } + } + + /** + * Sets the attribute + * The built-in or custom attribute for which a value is being collected. + * + * @param string $val The value of the attribute + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setAttribute($val) + { + $this->_propDict["attribute"] = $val; + return $this; + } + /** + * Gets the defaultValue + * The default value of the attribute displayed to the end user. + * + * @return string|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * The default value of the attribute displayed to the end user. + * + * @param string $val The value of the defaultValue + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + /** + * Gets the editable + * Whether the attribute is editable by the end user. + * + * @return bool|null The editable + */ + public function getEditable() + { + if (array_key_exists("editable", $this->_propDict)) { + return $this->_propDict["editable"]; + } else { + return null; + } + } + + /** + * Sets the editable + * Whether the attribute is editable by the end user. + * + * @param bool $val The value of the editable + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setEditable($val) + { + $this->_propDict["editable"] = $val; + return $this; + } + /** + * Gets the hidden + * Whether the attribute is displayed to the end user. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * Whether the attribute is displayed to the end user. + * + * @param bool $val The value of the hidden + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = $val; + return $this; + } + + /** + * Gets the inputType + * The type of input field. The possible values are: text, radioSingleSelect, checkboxMultiSelect, boolean, checkboxSingleSelect, unknownFutureValue. + * + * @return AuthenticationAttributeCollectionInputType|null The inputType + */ + public function getInputType() + { + if (array_key_exists("inputType", $this->_propDict)) { + if (is_a($this->_propDict["inputType"], "\Beta\Microsoft\Graph\Model\AuthenticationAttributeCollectionInputType") || is_null($this->_propDict["inputType"])) { + return $this->_propDict["inputType"]; + } else { + $this->_propDict["inputType"] = new AuthenticationAttributeCollectionInputType($this->_propDict["inputType"]); + return $this->_propDict["inputType"]; + } + } + return null; + } + + /** + * Sets the inputType + * The type of input field. The possible values are: text, radioSingleSelect, checkboxMultiSelect, boolean, checkboxSingleSelect, unknownFutureValue. + * + * @param AuthenticationAttributeCollectionInputType $val The value to assign to the inputType + * + * @return AuthenticationAttributeCollectionInputConfiguration The AuthenticationAttributeCollectionInputConfiguration + */ + public function setInputType($val) + { + $this->_propDict["inputType"] = $val; + return $this; + } + /** + * Gets the label + * The label of the attribute field that will be displayed to end user, unless overridden. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * The label of the attribute field that will be displayed to end user, unless overridden. + * + * @param string $val The value of the label + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the options + * The option values for certain multiple-option input types. + * + * @return AuthenticationAttributeCollectionOptionConfiguration|null The options + */ + public function getOptions() + { + if (array_key_exists("options", $this->_propDict)) { + if (is_a($this->_propDict["options"], "\Beta\Microsoft\Graph\Model\AuthenticationAttributeCollectionOptionConfiguration") || is_null($this->_propDict["options"])) { + return $this->_propDict["options"]; + } else { + $this->_propDict["options"] = new AuthenticationAttributeCollectionOptionConfiguration($this->_propDict["options"]); + return $this->_propDict["options"]; + } + } + return null; + } + + /** + * Sets the options + * The option values for certain multiple-option input types. + * + * @param AuthenticationAttributeCollectionOptionConfiguration $val The value to assign to the options + * + * @return AuthenticationAttributeCollectionInputConfiguration The AuthenticationAttributeCollectionInputConfiguration + */ + public function setOptions($val) + { + $this->_propDict["options"] = $val; + return $this; + } + /** + * Gets the required + * Whether the field is required. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Whether the field is required. + * + * @param bool $val The value of the required + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setRequired($val) + { + $this->_propDict["required"] = $val; + return $this; + } + /** + * Gets the validationRegEx + * The regex for the value of the field. + * + * @return string|null The validationRegEx + */ + public function getValidationRegEx() + { + if (array_key_exists("validationRegEx", $this->_propDict)) { + return $this->_propDict["validationRegEx"]; + } else { + return null; + } + } + + /** + * Sets the validationRegEx + * The regex for the value of the field. + * + * @param string $val The value of the validationRegEx + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setValidationRegEx($val) + { + $this->_propDict["validationRegEx"] = $val; + return $this; + } + /** + * Gets the writeToDirectory + * Whether the value collected will be stored. + * + * @return bool|null The writeToDirectory + */ + public function getWriteToDirectory() + { + if (array_key_exists("writeToDirectory", $this->_propDict)) { + return $this->_propDict["writeToDirectory"]; + } else { + return null; + } + } + + /** + * Sets the writeToDirectory + * Whether the value collected will be stored. + * + * @param bool $val The value of the writeToDirectory + * + * @return AuthenticationAttributeCollectionInputConfiguration + */ + public function setWriteToDirectory($val) + { + $this->_propDict["writeToDirectory"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputType.php b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputType.php new file mode 100644 index 00000000000..12153c19ac8 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputType.php @@ -0,0 +1,37 @@ +_propDict)) { - return $this->_propDict["key"]; + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; } else { return null; } } /** - * Sets the key - * Name of the metadata property. + * Sets the label + * The label of the option that will be displayed to user, unless overridden. * - * @param string $val The value of the key + * @param string $val The value of the label * - * @return MetadataEntry + * @return AuthenticationAttributeCollectionOptionConfiguration */ - public function setKey($val) + public function setLabel($val) { - $this->_propDict["key"] = $val; + $this->_propDict["label"] = $val; return $this; } /** * Gets the value - * Value of the metadata property. + * The value of the option that will be stored. * * @return string|null The value */ @@ -68,11 +68,11 @@ public function getValue() /** * Sets the value - * Value of the metadata property. + * The value of the option that will be stored. * * @param string $val The value of the value * - * @return MetadataEntry + * @return AuthenticationAttributeCollectionOptionConfiguration */ public function setValue($val) { diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPage.php b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPage.php new file mode 100644 index 00000000000..b8ebfb393aa --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPage.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["customStringsFileId"]; + } else { + return null; + } + } + + /** + * Sets the customStringsFileId + * + * @param string $val The value of the customStringsFileId + * + * @return AuthenticationAttributeCollectionPage + */ + public function setCustomStringsFileId($val) + { + $this->_propDict["customStringsFileId"] = $val; + return $this; + } + + /** + * Gets the views + * A collection of displays of the attribute collection page. + * + * @return AuthenticationAttributeCollectionPageViewConfiguration|null The views + */ + public function getViews() + { + if (array_key_exists("views", $this->_propDict)) { + if (is_a($this->_propDict["views"], "\Beta\Microsoft\Graph\Model\AuthenticationAttributeCollectionPageViewConfiguration") || is_null($this->_propDict["views"])) { + return $this->_propDict["views"]; + } else { + $this->_propDict["views"] = new AuthenticationAttributeCollectionPageViewConfiguration($this->_propDict["views"]); + return $this->_propDict["views"]; + } + } + return null; + } + + /** + * Sets the views + * A collection of displays of the attribute collection page. + * + * @param AuthenticationAttributeCollectionPageViewConfiguration $val The value to assign to the views + * + * @return AuthenticationAttributeCollectionPage The AuthenticationAttributeCollectionPage + */ + public function setViews($val) + { + $this->_propDict["views"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPageViewConfiguration.php b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPageViewConfiguration.php new file mode 100644 index 00000000000..b77191be01b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionPageViewConfiguration.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the page. + * + * @param string $val The value of the description + * + * @return AuthenticationAttributeCollectionPageViewConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the inputs + * The display configuration of attributes being collected on the attribute collection page. + * + * @return AuthenticationAttributeCollectionInputConfiguration|null The inputs + */ + public function getInputs() + { + if (array_key_exists("inputs", $this->_propDict)) { + if (is_a($this->_propDict["inputs"], "\Beta\Microsoft\Graph\Model\AuthenticationAttributeCollectionInputConfiguration") || is_null($this->_propDict["inputs"])) { + return $this->_propDict["inputs"]; + } else { + $this->_propDict["inputs"] = new AuthenticationAttributeCollectionInputConfiguration($this->_propDict["inputs"]); + return $this->_propDict["inputs"]; + } + } + return null; + } + + /** + * Sets the inputs + * The display configuration of attributes being collected on the attribute collection page. + * + * @param AuthenticationAttributeCollectionInputConfiguration $val The value to assign to the inputs + * + * @return AuthenticationAttributeCollectionPageViewConfiguration The AuthenticationAttributeCollectionPageViewConfiguration + */ + public function setInputs($val) + { + $this->_propDict["inputs"] = $val; + return $this; + } + /** + * Gets the title + * The title of the attribute collection page. + * + * @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 + * The title of the attribute collection page. + * + * @param string $val The value of the title + * + * @return AuthenticationAttributeCollectionPageViewConfiguration + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php b/src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php new file mode 100644 index 00000000000..5c2b0771083 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationBehaviors.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["removeUnverifiedEmailClaim"]; + } else { + return null; + } + } + + /** + * Sets the removeUnverifiedEmailClaim + * + * @param bool $val The value of the removeUnverifiedEmailClaim + * + * @return AuthenticationBehaviors + */ + public function setRemoveUnverifiedEmailClaim($val) + { + $this->_propDict["removeUnverifiedEmailClaim"] = $val; + return $this; + } + /** + * Gets the requireClientServicePrincipal + * + * @return bool|null The requireClientServicePrincipal + */ + public function getRequireClientServicePrincipal() + { + if (array_key_exists("requireClientServicePrincipal", $this->_propDict)) { + return $this->_propDict["requireClientServicePrincipal"]; + } else { + return null; + } + } + + /** + * Sets the requireClientServicePrincipal + * + * @param bool $val The value of the requireClientServicePrincipal + * + * @return AuthenticationBehaviors + */ + public function setRequireClientServicePrincipal($val) + { + $this->_propDict["requireClientServicePrincipal"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php b/src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php new file mode 100644 index 00000000000..ad8747469f2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\AuthenticationConditions") || is_null($this->_propDict["conditions"])) { + return $this->_propDict["conditions"]; + } else { + $this->_propDict["conditions"] = new AuthenticationConditions($this->_propDict["conditions"]); + return $this->_propDict["conditions"]; + } + } + return null; + } + + /** + * Sets the conditions + * The conditions representing the context of the authentication request which will be used to decide whether the events policy will be invoked. + * + * @param AuthenticationConditions $val The conditions + * + * @return AuthenticationEventsFlow + */ + public function setConditions($val) + { + $this->_propDict["conditions"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the events policy. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the events policy. + * + * @param string $val The description + * + * @return AuthenticationEventsFlow + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Required. The display name for the events policy. + * + * @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 + * Required. The display name for the events policy. + * + * @param string $val The displayName + * + * @return AuthenticationEventsFlow + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the priority + * The priority to use for each individual event of the events policy. If multiple competing listeners for an event have the same priority, one is chosen and an error is silently logged. Defaults to 500. + * + * @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 + * The priority to use for each individual event of the events policy. If multiple competing listeners for an event have the same priority, one is chosen and an error is silently logged. Defaults to 500. + * + * @param int $val The priority + * + * @return AuthenticationEventsFlow + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CallRecording.php b/src/Beta/Microsoft/Graph/Model/CallRecording.php new file mode 100644 index 00000000000..eca1d98dd7e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CallRecording.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return CallRecording + */ + public function setContent($val) + { + $this->_propDict["content"] = $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 CallRecording + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CertificateAuthorityAsEntity.php b/src/Beta/Microsoft/Graph/Model/CertificateAuthorityAsEntity.php new file mode 100644 index 00000000000..1b77767358f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CertificateAuthorityAsEntity.php @@ -0,0 +1,139 @@ +_propDict)) { + if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["certificate"])) { + return $this->_propDict["certificate"]; + } else { + $this->_propDict["certificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["certificate"]); + return $this->_propDict["certificate"]; + } + } + return null; + } + + /** + * Sets the certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The certificate + * + * @return CertificateAuthorityAsEntity + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + + /** + * Gets the isRootAuthority + * + * @return bool|null The isRootAuthority + */ + public function getIsRootAuthority() + { + if (array_key_exists("isRootAuthority", $this->_propDict)) { + return $this->_propDict["isRootAuthority"]; + } else { + return null; + } + } + + /** + * Sets the isRootAuthority + * + * @param bool $val The isRootAuthority + * + * @return CertificateAuthorityAsEntity + */ + public function setIsRootAuthority($val) + { + $this->_propDict["isRootAuthority"] = boolval($val); + return $this; + } + + /** + * Gets the issuer + * + * @return string|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * + * @param string $val The issuer + * + * @return CertificateAuthorityAsEntity + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + + /** + * Gets the issuerSubjectKeyIdentifier + * + * @return string|null The issuerSubjectKeyIdentifier + */ + public function getIssuerSubjectKeyIdentifier() + { + if (array_key_exists("issuerSubjectKeyIdentifier", $this->_propDict)) { + return $this->_propDict["issuerSubjectKeyIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the issuerSubjectKeyIdentifier + * + * @param string $val The issuerSubjectKeyIdentifier + * + * @return CertificateAuthorityAsEntity + */ + public function setIssuerSubjectKeyIdentifier($val) + { + $this->_propDict["issuerSubjectKeyIdentifier"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CertificateAuthorityPath.php b/src/Beta/Microsoft/Graph/Model/CertificateAuthorityPath.php new file mode 100644 index 00000000000..462d4990ca1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CertificateAuthorityPath.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["certificateBasedApplicationConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the certificateBasedApplicationConfigurations + * + * @param CertificateBasedApplicationConfiguration[] $val The certificateBasedApplicationConfigurations + * + * @return CertificateAuthorityPath + */ + public function setCertificateBasedApplicationConfigurations($val) + { + $this->_propDict["certificateBasedApplicationConfigurations"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CertificateBasedApplicationConfiguration.php b/src/Beta/Microsoft/Graph/Model/CertificateBasedApplicationConfiguration.php new file mode 100644 index 00000000000..b9d74673a0a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CertificateBasedApplicationConfiguration.php @@ -0,0 +1,81 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return CertificateBasedApplicationConfiguration + */ + 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 CertificateBasedApplicationConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php b/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php index 7063ea3d3b1..6a6516eda7a 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php @@ -83,6 +83,8 @@ class CloudPcOnPremisesConnectionHealthCheckErrorType extends Enum const PERMISSION_CHECK_TRANSIENT_SERVICE_ERROR = "permissionCheckTransientServiceError"; const PERMISSION_CHECK_UNKNOWN_ERROR = "permissionCheckUnknownError"; const UDP_CONNECTIVITY_CHECK_STUN_URL_NOT_ALLOW_LISTED = "udpConnectivityCheckStunUrlNotAllowListed"; + const UDP_CONNECTIVITY_CHECK_TURN_URL_NOT_ALLOW_LISTED = "udpConnectivityCheckTurnUrlNotAllowListed"; + const UDP_CONNECTIVITY_CHECK_URLS_NOT_ALLOW_LISTED = "udpConnectivityCheckUrlsNotAllowListed"; const UDP_CONNECTIVITY_CHECK_UNKNOWN_ERROR = "udpConnectivityCheckUnknownError"; const INTERNAL_SERVER_ERROR_DEPLOYMENT_CANCELED = "internalServerErrorDeploymentCanceled"; const INTERNAL_SERVER_ERROR_ALLOCATE_RESOURCE_FAILED = "internalServerErrorAllocateResourceFailed"; diff --git a/src/Beta/Microsoft/Graph/Model/Connector.php b/src/Beta/Microsoft/Graph/Model/Connector.php index bf73b625b12..0c11f3eb350 100644 --- a/src/Beta/Microsoft/Graph/Model/Connector.php +++ b/src/Beta/Microsoft/Graph/Model/Connector.php @@ -115,6 +115,33 @@ public function setStatus($val) return $this; } + /** + * Gets the version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param string $val The version + * + * @return Connector + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + /** * Gets the memberOf diff --git a/src/Beta/Microsoft/Graph/Model/ContentCustomization.php b/src/Beta/Microsoft/Graph/Model/ContentCustomization.php new file mode 100644 index 00000000000..82a7eeb8cd8 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/ContentCustomization.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["attributeCollection"], "\Beta\Microsoft\Graph\Model\KeyValue") || is_null($this->_propDict["attributeCollection"])) { + return $this->_propDict["attributeCollection"]; + } else { + $this->_propDict["attributeCollection"] = new KeyValue($this->_propDict["attributeCollection"]); + return $this->_propDict["attributeCollection"]; + } + } + return null; + } + + /** + * Sets the attributeCollection + * + * @param KeyValue $val The value to assign to the attributeCollection + * + * @return ContentCustomization The ContentCustomization + */ + public function setAttributeCollection($val) + { + $this->_propDict["attributeCollection"] = $val; + return $this; + } + /** + * Gets the attributeCollectionRelativeUrl + * + * @return string|null The attributeCollectionRelativeUrl + */ + public function getAttributeCollectionRelativeUrl() + { + if (array_key_exists("attributeCollectionRelativeUrl", $this->_propDict)) { + return $this->_propDict["attributeCollectionRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the attributeCollectionRelativeUrl + * + * @param string $val The value of the attributeCollectionRelativeUrl + * + * @return ContentCustomization + */ + public function setAttributeCollectionRelativeUrl($val) + { + $this->_propDict["attributeCollectionRelativeUrl"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationMode.php b/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationMode.php index 1216005b717..f0c9b4092b9 100644 --- a/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationMode.php +++ b/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationMode.php @@ -32,4 +32,5 @@ class ContinuousAccessEvaluationMode extends Enum const STRICT_ENFORCEMENT = "strictEnforcement"; const DISABLED = "disabled"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const STRICT_LOCATION = "strictLocation"; } diff --git a/src/Beta/Microsoft/Graph/Model/ConversationMember.php b/src/Beta/Microsoft/Graph/Model/ConversationMember.php index 41c0f9c4488..6eeccf9188e 100644 --- a/src/Beta/Microsoft/Graph/Model/ConversationMember.php +++ b/src/Beta/Microsoft/Graph/Model/ConversationMember.php @@ -55,7 +55,7 @@ public function setDisplayName($val) /** * Gets the roles - * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. + * The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. * * @return array|null The roles */ @@ -70,7 +70,7 @@ public function getRoles() /** * Sets the roles - * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. + * The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. * * @param string[] $val The roles * diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationDefault.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationDefault.php index dbec41f70ac..e901c6e234f 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationDefault.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationDefault.php @@ -253,6 +253,7 @@ public function setIsServiceDefault($val) /** * Gets the tenantRestrictions + * Defines the default tenant restrictions configuration for your organization users accessing an external organization on your network or devices. * * @return CrossTenantAccessPolicyTenantRestrictions|null The tenantRestrictions */ @@ -271,6 +272,7 @@ public function getTenantRestrictions() /** * Sets the tenantRestrictions + * Defines the default tenant restrictions configuration for your organization users accessing an external organization on your network or devices. * * @param CrossTenantAccessPolicyTenantRestrictions $val The tenantRestrictions * diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php index b5ced4fea2f..42ba845c4e9 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php @@ -313,6 +313,7 @@ public function setTenantId($val) /** * Gets the tenantRestrictions + * Defines the partner-specific tenant restrictions configuration for your organization users accessing a partner organization using partner supplied idenities on your network or devices. * * @return CrossTenantAccessPolicyTenantRestrictions|null The tenantRestrictions */ @@ -331,6 +332,7 @@ public function getTenantRestrictions() /** * Sets the tenantRestrictions + * Defines the partner-specific tenant restrictions configuration for your organization users accessing a partner organization using partner supplied idenities on your network or devices. * * @param CrossTenantAccessPolicyTenantRestrictions $val The tenantRestrictions * diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php index db5aabd699b..bb7e89d2c4b 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php @@ -25,7 +25,7 @@ class CrossTenantAccessPolicyTarget extends Entity { /** * Gets the target - * The unique identifier of the user, group, or application; one of the following keywords: AllUsers and AllApplications; or for targets that are applications, you may use reserved values. + * Can be one of the following values: The unique identifier of the user, group, or application AllUsers AllApplications - Refers to any Microsoft cloud application. Office365 - Includes the applications mentioned as part of the Office365 suite. * * @return string|null The target */ @@ -40,7 +40,7 @@ public function getTarget() /** * Sets the target - * The unique identifier of the user, group, or application; one of the following keywords: AllUsers and AllApplications; or for targets that are applications, you may use reserved values. + * Can be one of the following values: The unique identifier of the user, group, or application AllUsers AllApplications - Refers to any Microsoft cloud application. Office365 - Includes the applications mentioned as part of the Office365 suite. * * @param string $val The value of the target * diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTenantRestrictions.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTenantRestrictions.php index 72a0ac66f85..cdb826c1190 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTenantRestrictions.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTenantRestrictions.php @@ -26,6 +26,7 @@ class CrossTenantAccessPolicyTenantRestrictions extends CrossTenantAccessPolicyB /** * Gets the devices + * Defines the rule for filtering devices and whether devices satisfying the rule should be allowed or blocked. Not implemented. * * @return DevicesFilter|null The devices */ @@ -44,6 +45,7 @@ public function getDevices() /** * Sets the devices + * Defines the rule for filtering devices and whether devices satisfying the rule should be allowed or blocked. Not implemented. * * @param DevicesFilter $val The value to assign to the devices * diff --git a/src/Beta/Microsoft/Graph/Model/CustomAppScope.php b/src/Beta/Microsoft/Graph/Model/CustomAppScope.php index 07a574e4113..6224d2ca86a 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomAppScope.php +++ b/src/Beta/Microsoft/Graph/Model/CustomAppScope.php @@ -26,6 +26,7 @@ class CustomAppScope extends AppScope { /** * Gets the customAttributes + * An open dictionary type that holds workload-specific properties for the scope object. * * @return CustomAppScopeAttributesDictionary|null The customAttributes */ @@ -44,6 +45,7 @@ public function getCustomAttributes() /** * Sets the customAttributes + * An open dictionary type that holds workload-specific properties for the scope object. * * @param CustomAppScopeAttributesDictionary $val The customAttributes * diff --git a/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php b/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php index 9154c5b1a30..ede46552013 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php @@ -113,7 +113,7 @@ public function setIsCollection($val) /** * Gets the isSearchable - * Indicates whether custom security attribute values will be indexed for searching on objects that are assigned attribute values. Cannot be changed later. + * Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values. Cannot be changed later. * * @return bool|null The isSearchable */ @@ -128,7 +128,7 @@ public function getIsSearchable() /** * Sets the isSearchable - * Indicates whether custom security attribute values will be indexed for searching on objects that are assigned attribute values. Cannot be changed later. + * Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values. Cannot be changed later. * * @param bool $val The isSearchable * @@ -171,7 +171,7 @@ public function setName($val) /** * Gets the status - * Specifies whether the custom security attribute is active or deactivated. Acceptable values are Available and Deprecated. Can be changed later. + * Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and Deprecated. Can be changed later. * * @return string|null The status */ @@ -186,7 +186,7 @@ public function getStatus() /** * Sets the status - * Specifies whether the custom security attribute is active or deactivated. Acceptable values are Available and Deprecated. Can be changed later. + * Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and Deprecated. Can be changed later. * * @param string $val The status * @@ -200,7 +200,7 @@ public function setStatus($val) /** * Gets the type - * Data type for the custom security attribute values. Supported types are Boolean, Integer, and String. Cannot be changed later. + * Data type for the custom security attribute values. Supported types are: Boolean, Integer, and String. Cannot be changed later. * * @return string|null The type */ @@ -215,7 +215,7 @@ public function getType() /** * Sets the type - * Data type for the custom security attribute values. Supported types are Boolean, Integer, and String. Cannot be changed later. + * Data type for the custom security attribute values. Supported types are: Boolean, Integer, and String. Cannot be changed later. * * @param string $val The type * @@ -259,7 +259,7 @@ public function setUsePreDefinedValuesOnly($val) /** * Gets the allowedValues - * Values that are predefined for this custom security attribute.This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. + * Values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. * * @return array|null The allowedValues */ @@ -274,7 +274,7 @@ public function getAllowedValues() /** * Sets the allowedValues - * Values that are predefined for this custom security attribute.This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. + * Values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. * * @param AllowedValue[] $val The allowedValues * diff --git a/src/Beta/Microsoft/Graph/Model/DefaultManagedAppProtection.php b/src/Beta/Microsoft/Graph/Model/DefaultManagedAppProtection.php index d1fafbc1543..e827d6f70db 100644 --- a/src/Beta/Microsoft/Graph/Model/DefaultManagedAppProtection.php +++ b/src/Beta/Microsoft/Graph/Model/DefaultManagedAppProtection.php @@ -111,6 +111,39 @@ public function setAllowedIosDeviceModels($val) return $this; } + /** + * Gets the appActionIfAccountIsClockedOut + * Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). + * + * @return ManagedAppRemediationAction|null The appActionIfAccountIsClockedOut + */ + public function getAppActionIfAccountIsClockedOut() + { + if (array_key_exists("appActionIfAccountIsClockedOut", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAccountIsClockedOut"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAccountIsClockedOut"])) { + return $this->_propDict["appActionIfAccountIsClockedOut"]; + } else { + $this->_propDict["appActionIfAccountIsClockedOut"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAccountIsClockedOut"]); + return $this->_propDict["appActionIfAccountIsClockedOut"]; + } + } + return null; + } + + /** + * Sets the appActionIfAccountIsClockedOut + * Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). + * + * @param ManagedAppRemediationAction $val The appActionIfAccountIsClockedOut + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfAccountIsClockedOut($val) + { + $this->_propDict["appActionIfAccountIsClockedOut"] = $val; + return $this; + } + /** * Gets the appActionIfAndroidDeviceManufacturerNotAllowed * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only). Possible values are: block, wipe, warn. diff --git a/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php b/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php index 998086ae575..84318b9a2a6 100644 --- a/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php +++ b/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php @@ -25,7 +25,7 @@ class DefaultUserRolePermissions extends Entity { /** * Gets the allowedToCreateApps - * Indicates whether the default user role can create applications. + * Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Azure portal. * * @return bool|null The allowedToCreateApps */ @@ -40,7 +40,7 @@ public function getAllowedToCreateApps() /** * Sets the allowedToCreateApps - * Indicates whether the default user role can create applications. + * Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Azure portal. * * @param bool $val The value of the allowedToCreateApps * @@ -53,7 +53,7 @@ public function setAllowedToCreateApps($val) } /** * Gets the allowedToCreateSecurityGroups - * Indicates whether the default user role can create security groups. + * Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Azure portal: The Users can create security groups in Azure portals, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu. * * @return bool|null The allowedToCreateSecurityGroups */ @@ -68,7 +68,7 @@ public function getAllowedToCreateSecurityGroups() /** * Sets the allowedToCreateSecurityGroups - * Indicates whether the default user role can create security groups. + * Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Azure portal: The Users can create security groups in Azure portals, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu. * * @param bool $val The value of the allowedToCreateSecurityGroups * @@ -81,7 +81,7 @@ public function setAllowedToCreateSecurityGroups($val) } /** * Gets the allowedToCreateTenants - * Indicates whether the default user role can create tenants. + * Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Azure portal. When this setting is false, users assigned the Tenant Creator role can still create tenants. * * @return bool|null The allowedToCreateTenants */ @@ -96,7 +96,7 @@ public function getAllowedToCreateTenants() /** * Sets the allowedToCreateTenants - * Indicates whether the default user role can create tenants. + * Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Azure portal. When this setting is false, users assigned the Tenant Creator role can still create tenants. * * @param bool $val The value of the allowedToCreateTenants * diff --git a/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationship.php b/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationship.php index 66e424aa1ab..215997d7f4c 100644 --- a/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationship.php +++ b/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationship.php @@ -26,7 +26,7 @@ class DelegatedAdminRelationship extends Entity { /** * Gets the accessDetails - * The access details containing the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. + * The access details that contain the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. * * @return DelegatedAdminAccessDetails|null The accessDetails */ @@ -45,7 +45,7 @@ public function getAccessDetails() /** * Sets the accessDetails - * The access details containing the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. + * The access details that contain the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. * * @param DelegatedAdminAccessDetails $val The accessDetails * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index 1dd8ea6b20b..772f407516e 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of choices in the collection. Valid values 1 to 100 + * Maximum number of choices in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of choices in the collection. Valid values 1 to 100 + * Maximum number of choices in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of choices in the collection. Valid values 1 to 100 + * Minimum number of choices in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of choices in the collection. Valid values 1 to 100 + * Minimum number of choices in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php index 45dc217d3c7..6e68147cf20 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php @@ -120,7 +120,7 @@ public function setPlatform($val) /** * Gets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. * * @return DeviceManagementConfigurationTechnologies|null The technologies */ @@ -139,7 +139,7 @@ public function getTechnologies() /** * Sets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. * * @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php index 10e62e20a65..84d921c2cdd 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi { /** * Gets the maximumCount - * Maximum number of setting group count in the collection + * Maximum number of setting group count in the collection. Valid values 1 to 100 * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of setting group count in the collection + * Maximum number of setting group count in the collection. Valid values 1 to 100 * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of setting group count in the collection + * Minimum number of setting group count in the collection. Valid values 1 to 100 * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of setting group count in the collection + * Minimum number of setting group count in the collection. Valid values 1 to 100 * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php index 9a6c46313c3..0563d36dd58 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupDefinition extends DeviceManageme { /** * Gets the childIds - * Dependent child settings to this group of settings + * Dependent child settings to this group of settings. * * @return array|null The childIds */ @@ -41,7 +41,7 @@ public function getChildIds() /** * Sets the childIds - * Dependent child settings to this group of settings + * Dependent child settings to this group of settings. * * @param string[] $val The childIds * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php index cfb59dc09c9..245b38ef0d2 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem { /** * Gets the defaultValue - * Default setting value for this setting. + * Default setting value for this setting * * @return DeviceManagementConfigurationSettingValue|null The defaultValue */ @@ -45,7 +45,7 @@ public function getDefaultValue() /** * Sets the defaultValue - * Default setting value for this setting. + * Default setting value for this setting * * @param DeviceManagementConfigurationSettingValue $val The defaultValue * @@ -60,7 +60,7 @@ public function setDefaultValue($val) /** * Gets the dependedOnBy - * list of child settings that depend on this setting. + * list of child settings that depend on this setting * * @return array|null The dependedOnBy */ @@ -75,7 +75,7 @@ public function getDependedOnBy() /** * Sets the dependedOnBy - * list of child settings that depend on this setting. + * list of child settings that depend on this setting * * @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy * @@ -90,7 +90,7 @@ public function setDependedOnBy($val) /** * Gets the dependentOn - * list of parent settings this setting is dependent on. + * list of parent settings this setting is dependent on * * @return array|null The dependentOn */ @@ -105,7 +105,7 @@ public function getDependentOn() /** * Sets the dependentOn - * list of parent settings this setting is dependent on. + * list of parent settings this setting is dependent on * * @param DeviceManagementConfigurationDependentOn[] $val The dependentOn * @@ -119,7 +119,7 @@ public function setDependentOn($val) /** * Gets the valueDefinition - * Definition of the value for this setting. + * Definition of the value for this setting * * @return DeviceManagementConfigurationSettingValueDefinition|null The valueDefinition */ @@ -138,7 +138,7 @@ public function getValueDefinition() /** * Sets the valueDefinition - * Definition of the value for this setting. + * Definition of the value for this setting * * @param DeviceManagementConfigurationSettingValueDefinition $val The valueDefinition * diff --git a/src/Beta/Microsoft/Graph/Model/DevicesFilter.php b/src/Beta/Microsoft/Graph/Model/DevicesFilter.php index bd42d36a6a3..40a9371f99b 100644 --- a/src/Beta/Microsoft/Graph/Model/DevicesFilter.php +++ b/src/Beta/Microsoft/Graph/Model/DevicesFilter.php @@ -26,6 +26,7 @@ class DevicesFilter extends Entity /** * Gets the mode + * Determines whether devices satisfying the rule should be allowed or blocked.The possible values are: allowed, blocked, unknownFutureValue.Not implemented yet * * @return CrossTenantAccessPolicyTargetConfigurationAccessType|null The mode */ @@ -44,6 +45,7 @@ public function getMode() /** * Sets the mode + * Determines whether devices satisfying the rule should be allowed or blocked.The possible values are: allowed, blocked, unknownFutureValue.Not implemented yet * * @param CrossTenantAccessPolicyTargetConfigurationAccessType $val The value to assign to the mode * @@ -56,6 +58,7 @@ public function setMode($val) } /** * Gets the rule + * Defines the rule to filter the devices. An example would be device.deviceAttribute2 -eq 'PrivilegedAccessWorkstation' Not implemented yet * * @return string|null The rule */ @@ -70,6 +73,7 @@ public function getRule() /** * Sets the rule + * Defines the rule to filter the devices. An example would be device.deviceAttribute2 -eq 'PrivilegedAccessWorkstation' Not implemented yet * * @param string $val The value of the rule * diff --git a/src/Beta/Microsoft/Graph/Model/Directory.php b/src/Beta/Microsoft/Graph/Model/Directory.php index e2b9826c7bb..fee13129741 100644 --- a/src/Beta/Microsoft/Graph/Model/Directory.php +++ b/src/Beta/Microsoft/Graph/Model/Directory.php @@ -142,6 +142,37 @@ public function setAttributeSets($val) return $this; } + /** + * Gets the certificateAuthorities + * + * @return CertificateAuthorityPath|null The certificateAuthorities + */ + public function getCertificateAuthorities() + { + if (array_key_exists("certificateAuthorities", $this->_propDict)) { + if (is_a($this->_propDict["certificateAuthorities"], "\Beta\Microsoft\Graph\Model\CertificateAuthorityPath") || is_null($this->_propDict["certificateAuthorities"])) { + return $this->_propDict["certificateAuthorities"]; + } else { + $this->_propDict["certificateAuthorities"] = new CertificateAuthorityPath($this->_propDict["certificateAuthorities"]); + return $this->_propDict["certificateAuthorities"]; + } + } + return null; + } + + /** + * Sets the certificateAuthorities + * + * @param CertificateAuthorityPath $val The certificateAuthorities + * + * @return Directory + */ + public function setCertificateAuthorities($val) + { + $this->_propDict["certificateAuthorities"] = $val; + return $this; + } + /** * Gets the customSecurityAttributeDefinitions diff --git a/src/Beta/Microsoft/Graph/Model/EducationSubmission.php b/src/Beta/Microsoft/Graph/Model/EducationSubmission.php index 25b884f3d35..0c83ac3bb35 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationSubmission.php +++ b/src/Beta/Microsoft/Graph/Model/EducationSubmission.php @@ -220,7 +220,7 @@ public function setReturnedDateTime($val) /** * Gets the status - * Read-only. Possible values are: working, submitted, released, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. + * Read-only. Possible values are: working, submitted, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. * * @return EducationSubmissionStatus|null The status */ @@ -239,7 +239,7 @@ public function getStatus() /** * Sets the status - * Read-only. Possible values are: working, submitted, released, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. + * Read-only. Possible values are: working, submitted, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. * * @param EducationSubmissionStatus $val The status * diff --git a/src/Beta/Microsoft/Graph/Model/EscrowBehavior.php b/src/Beta/Microsoft/Graph/Model/EscrowBehavior.php new file mode 100644 index 00000000000..44a0788e1d2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EscrowBehavior.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["onAttributeCollection"], "\Beta\Microsoft\Graph\Model\OnAttributeCollectionHandler") || is_null($this->_propDict["onAttributeCollection"])) { + return $this->_propDict["onAttributeCollection"]; + } else { + $this->_propDict["onAttributeCollection"] = new OnAttributeCollectionHandler($this->_propDict["onAttributeCollection"]); + return $this->_propDict["onAttributeCollection"]; + } + } + return null; + } + + /** + * Sets the onAttributeCollection + * The configuration for what to invoke when attributes are ready to be collected from the user. + * + * @param OnAttributeCollectionHandler $val The onAttributeCollection + * + * @return ExternalUsersSelfServiceSignUpEventsFlow + */ + public function setOnAttributeCollection($val) + { + $this->_propDict["onAttributeCollection"] = $val; + return $this; + } + + /** + * Gets the onAuthenticationMethodLoadStart + * Required. The configuration for what to invoke when authentication methods are ready to be presented to the user. Must have at least one identity provider linked. + * + * @return OnAuthenticationMethodLoadStartHandler|null The onAuthenticationMethodLoadStart + */ + public function getOnAuthenticationMethodLoadStart() + { + if (array_key_exists("onAuthenticationMethodLoadStart", $this->_propDict)) { + if (is_a($this->_propDict["onAuthenticationMethodLoadStart"], "\Beta\Microsoft\Graph\Model\OnAuthenticationMethodLoadStartHandler") || is_null($this->_propDict["onAuthenticationMethodLoadStart"])) { + return $this->_propDict["onAuthenticationMethodLoadStart"]; + } else { + $this->_propDict["onAuthenticationMethodLoadStart"] = new OnAuthenticationMethodLoadStartHandler($this->_propDict["onAuthenticationMethodLoadStart"]); + return $this->_propDict["onAuthenticationMethodLoadStart"]; + } + } + return null; + } + + /** + * Sets the onAuthenticationMethodLoadStart + * Required. The configuration for what to invoke when authentication methods are ready to be presented to the user. Must have at least one identity provider linked. + * + * @param OnAuthenticationMethodLoadStartHandler $val The onAuthenticationMethodLoadStart + * + * @return ExternalUsersSelfServiceSignUpEventsFlow + */ + public function setOnAuthenticationMethodLoadStart($val) + { + $this->_propDict["onAuthenticationMethodLoadStart"] = $val; + return $this; + } + + /** + * Gets the onInteractiveAuthFlowStart + * Required. The configuration for what to invoke when an authentication flow is ready to be initiated. + * + * @return OnInteractiveAuthFlowStartHandler|null The onInteractiveAuthFlowStart + */ + public function getOnInteractiveAuthFlowStart() + { + if (array_key_exists("onInteractiveAuthFlowStart", $this->_propDict)) { + if (is_a($this->_propDict["onInteractiveAuthFlowStart"], "\Beta\Microsoft\Graph\Model\OnInteractiveAuthFlowStartHandler") || is_null($this->_propDict["onInteractiveAuthFlowStart"])) { + return $this->_propDict["onInteractiveAuthFlowStart"]; + } else { + $this->_propDict["onInteractiveAuthFlowStart"] = new OnInteractiveAuthFlowStartHandler($this->_propDict["onInteractiveAuthFlowStart"]); + return $this->_propDict["onInteractiveAuthFlowStart"]; + } + } + return null; + } + + /** + * Sets the onInteractiveAuthFlowStart + * Required. The configuration for what to invoke when an authentication flow is ready to be initiated. + * + * @param OnInteractiveAuthFlowStartHandler $val The onInteractiveAuthFlowStart + * + * @return ExternalUsersSelfServiceSignUpEventsFlow + */ + public function setOnInteractiveAuthFlowStart($val) + { + $this->_propDict["onInteractiveAuthFlowStart"] = $val; + return $this; + } + + /** + * Gets the onUserCreateStart + * The configuration for what to invoke during user creation. + * + * @return OnUserCreateStartHandler|null The onUserCreateStart + */ + public function getOnUserCreateStart() + { + if (array_key_exists("onUserCreateStart", $this->_propDict)) { + if (is_a($this->_propDict["onUserCreateStart"], "\Beta\Microsoft\Graph\Model\OnUserCreateStartHandler") || is_null($this->_propDict["onUserCreateStart"])) { + return $this->_propDict["onUserCreateStart"]; + } else { + $this->_propDict["onUserCreateStart"] = new OnUserCreateStartHandler($this->_propDict["onUserCreateStart"]); + return $this->_propDict["onUserCreateStart"]; + } + } + return null; + } + + /** + * Sets the onUserCreateStart + * The configuration for what to invoke during user creation. + * + * @param OnUserCreateStartHandler $val The onUserCreateStart + * + * @return ExternalUsersSelfServiceSignUpEventsFlow + */ + public function setOnUserCreateStart($val) + { + $this->_propDict["onUserCreateStart"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/Group.php b/src/Beta/Microsoft/Graph/Model/Group.php index fae5f3788f8..d45b77b697c 100644 --- a/src/Beta/Microsoft/Graph/Model/Group.php +++ b/src/Beta/Microsoft/Graph/Model/Group.php @@ -235,7 +235,7 @@ public function setDisplayName($val) /** * Gets the expirationDateTime - * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Timestamp of when the group is set to expire. Is null for security groups but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * * @return \DateTime|null The expirationDateTime */ @@ -254,7 +254,7 @@ public function getExpirationDateTime() /** * Sets the expirationDateTime - * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Timestamp of when the group is set to expire. Is null for security groups but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * * @param \DateTime $val The expirationDateTime * diff --git a/src/Beta/Microsoft/Graph/Model/IdentityContainer.php b/src/Beta/Microsoft/Graph/Model/IdentityContainer.php index d8a2a1e2a68..1a82d4fd3fd 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentityContainer.php +++ b/src/Beta/Microsoft/Graph/Model/IdentityContainer.php @@ -114,6 +114,36 @@ public function setAuthenticationEventListeners($val) } + /** + * Gets the authenticationEventsFlows + * Represents the entry point for self-service sign up and sign in user flows in both Azure AD workforce and customer tenants. + * + * @return array|null The authenticationEventsFlows + */ + public function getAuthenticationEventsFlows() + { + if (array_key_exists("authenticationEventsFlows", $this->_propDict)) { + return $this->_propDict["authenticationEventsFlows"]; + } else { + return null; + } + } + + /** + * Sets the authenticationEventsFlows + * Represents the entry point for self-service sign up and sign in user flows in both Azure AD workforce and customer tenants. + * + * @param AuthenticationEventsFlow[] $val The authenticationEventsFlows + * + * @return IdentityContainer + */ + public function setAuthenticationEventsFlows($val) + { + $this->_propDict["authenticationEventsFlows"] = $val; + return $this; + } + + /** * Gets the b2cUserFlows * Represents entry point for B2C identity userflows. diff --git a/src/Beta/Microsoft/Graph/Model/IpApplicationSegment.php b/src/Beta/Microsoft/Graph/Model/IpApplicationSegment.php index c2f891135eb..0ef4757ce19 100644 --- a/src/Beta/Microsoft/Graph/Model/IpApplicationSegment.php +++ b/src/Beta/Microsoft/Graph/Model/IpApplicationSegment.php @@ -78,4 +78,31 @@ public function setPort($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 string[] $val The ports + * + * @return IpApplicationSegment + */ + public function setPorts($val) + { + $this->_propDict["ports"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/KeyCredential.php b/src/Beta/Microsoft/Graph/Model/KeyCredential.php index 4e650585966..f07015a93e2 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyCredential.php +++ b/src/Beta/Microsoft/Graph/Model/KeyCredential.php @@ -120,7 +120,7 @@ public function setEndDateTime($val) /** * Gets the key - * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. * * @return \GuzzleHttp\Psr7\Stream|null The key */ @@ -139,7 +139,7 @@ public function getKey() /** * Sets the key - * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key * diff --git a/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php b/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php index 81f0bbad48f..bd7af503024 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php @@ -23,6 +23,32 @@ */ class KeyCredentialConfiguration extends Entity { + /** + * Gets the certificateBasedApplicationConfigurationIds + * + * @return string|null The certificateBasedApplicationConfigurationIds + */ + public function getCertificateBasedApplicationConfigurationIds() + { + if (array_key_exists("certificateBasedApplicationConfigurationIds", $this->_propDict)) { + return $this->_propDict["certificateBasedApplicationConfigurationIds"]; + } else { + return null; + } + } + + /** + * Sets the certificateBasedApplicationConfigurationIds + * + * @param string $val The value of the certificateBasedApplicationConfigurationIds + * + * @return KeyCredentialConfiguration + */ + public function setCertificateBasedApplicationConfigurationIds($val) + { + $this->_propDict["certificateBasedApplicationConfigurationIds"] = $val; + return $this; + } /** * Gets the maxLifetime diff --git a/src/Beta/Microsoft/Graph/Model/KeyValuePair.php b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php index 7ba63886b10..e82157217f0 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValuePair.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValuePair.php @@ -25,7 +25,7 @@ class KeyValuePair extends Entity { /** * Gets the name - * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. + * Name for this key-value pair * * @return string|null The name */ @@ -40,7 +40,7 @@ public function getName() /** * Sets the name - * Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. + * Name for this key-value pair * * @param string $val The value of the name * @@ -53,7 +53,7 @@ public function setName($val) } /** * Gets the value - * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. + * Value for this key-value pair * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. + * Value for this key-value pair * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php b/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php index 5242cdac855..0a5ea2701b6 100644 --- a/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php +++ b/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php @@ -52,6 +52,32 @@ public function setEnabled($val) return $this; } /** + * Gets the lockedOut + * + * @return int|null The lockedOut + */ + public function getLockedOut() + { + if (array_key_exists("lockedOut", $this->_propDict)) { + return $this->_propDict["lockedOut"]; + } else { + return null; + } + } + + /** + * Sets the lockedOut + * + * @param int $val The value of the lockedOut + * + * @return LicenseUnitsDetail + */ + public function setLockedOut($val) + { + $this->_propDict["lockedOut"] = $val; + return $this; + } + /** * Gets the suspended * The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. * diff --git a/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php b/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php index 7365e0c1581..79f4e785f4d 100644 --- a/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php @@ -58,15 +58,15 @@ public function setAttributes($val) /** * Gets the metadata * - * @return MetadataEntry|null The metadata + * @return ObjectDefinitionMetadataEntry|null The metadata */ public function getMetadata() { if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry") || is_null($this->_propDict["metadata"])) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\ObjectDefinitionMetadataEntry") || is_null($this->_propDict["metadata"])) { return $this->_propDict["metadata"]; } else { - $this->_propDict["metadata"] = new MetadataEntry($this->_propDict["metadata"]); + $this->_propDict["metadata"] = new ObjectDefinitionMetadataEntry($this->_propDict["metadata"]); return $this->_propDict["metadata"]; } } @@ -76,7 +76,7 @@ public function getMetadata() /** * Sets the metadata * - * @param MetadataEntry $val The value to assign to the metadata + * @param ObjectDefinitionMetadataEntry $val The value to assign to the metadata * * @return ObjectDefinition The ObjectDefinition */ diff --git a/src/Beta/Microsoft/Graph/Model/ObjectDefinitionMetadata.php b/src/Beta/Microsoft/Graph/Model/ObjectDefinitionMetadata.php new file mode 100644 index 00000000000..2ccc97e4c4a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/ObjectDefinitionMetadata.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Beta\Microsoft\Graph\Model\ObjectDefinitionMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new ObjectDefinitionMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * Possible values are: PropertyNameAccountEnabled, PropertyNameSoftDeleted, IsSoftDeletionSupported, IsSynchronizeAllSupported, ConnectorDataStorageRequired, Extensions, LinkTypeName. + * + * @param ObjectDefinitionMetadata $val The value to assign to the key + * + * @return ObjectDefinitionMetadataEntry The ObjectDefinitionMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Value of the metadata property. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the metadata property. + * + * @param string $val The value of the value + * + * @return ObjectDefinitionMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/ObjectMapping.php b/src/Beta/Microsoft/Graph/Model/ObjectMapping.php index 1a56649e219..c647c1f6f2f 100644 --- a/src/Beta/Microsoft/Graph/Model/ObjectMapping.php +++ b/src/Beta/Microsoft/Graph/Model/ObjectMapping.php @@ -122,15 +122,15 @@ public function setFlowTypes($val) * Gets the metadata * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. * - * @return MetadataEntry|null The metadata + * @return ObjectMappingMetadataEntry|null The metadata */ public function getMetadata() { if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry") || is_null($this->_propDict["metadata"])) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\ObjectMappingMetadataEntry") || is_null($this->_propDict["metadata"])) { return $this->_propDict["metadata"]; } else { - $this->_propDict["metadata"] = new MetadataEntry($this->_propDict["metadata"]); + $this->_propDict["metadata"] = new ObjectMappingMetadataEntry($this->_propDict["metadata"]); return $this->_propDict["metadata"]; } } @@ -141,7 +141,7 @@ public function getMetadata() * Sets the metadata * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. * - * @param MetadataEntry $val The value to assign to the metadata + * @param ObjectMappingMetadataEntry $val The value to assign to the metadata * * @return ObjectMapping The ObjectMapping */ diff --git a/src/Beta/Microsoft/Graph/Model/ObjectMappingMetadata.php b/src/Beta/Microsoft/Graph/Model/ObjectMappingMetadata.php new file mode 100644 index 00000000000..1a6ef905889 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/ObjectMappingMetadata.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Beta\Microsoft\Graph\Model\ObjectMappingMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new ObjectMappingMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * Possible values are: EscrowBehavior, DisableMonitoringForChanges, OriginalJoiningProperty, Disposition, IsCustomerDefined, ExcludeFromReporting, Unsynchronized. + * + * @param ObjectMappingMetadata $val The value to assign to the key + * + * @return ObjectMappingMetadataEntry The ObjectMappingMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Value of the metadata property. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the metadata property. + * + * @param string $val The value of the value + * + * @return ObjectMappingMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionExternalUsersSelfServiceSignUp.php b/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionExternalUsersSelfServiceSignUp.php new file mode 100644 index 00000000000..83c9be80fea --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionExternalUsersSelfServiceSignUp.php @@ -0,0 +1,101 @@ +setODataType("#microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp"); + } + + + /** + * Gets the attributeCollectionPage + * Required. The configuration for how attributes are displayed in the sign up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. + * + * @return AuthenticationAttributeCollectionPage|null The attributeCollectionPage + */ + public function getAttributeCollectionPage() + { + if (array_key_exists("attributeCollectionPage", $this->_propDict)) { + if (is_a($this->_propDict["attributeCollectionPage"], "\Beta\Microsoft\Graph\Model\AuthenticationAttributeCollectionPage") || is_null($this->_propDict["attributeCollectionPage"])) { + return $this->_propDict["attributeCollectionPage"]; + } else { + $this->_propDict["attributeCollectionPage"] = new AuthenticationAttributeCollectionPage($this->_propDict["attributeCollectionPage"]); + return $this->_propDict["attributeCollectionPage"]; + } + } + return null; + } + + /** + * Sets the attributeCollectionPage + * Required. The configuration for how attributes are displayed in the sign up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. + * + * @param AuthenticationAttributeCollectionPage $val The value to assign to the attributeCollectionPage + * + * @return OnAttributeCollectionExternalUsersSelfServiceSignUp The OnAttributeCollectionExternalUsersSelfServiceSignUp + */ + public function setAttributeCollectionPage($val) + { + $this->_propDict["attributeCollectionPage"] = $val; + return $this; + } + + /** + * Gets the attributes + * + * @return IdentityUserFlowAttribute|null The attributes + */ + public function getAttributes() + { + if (array_key_exists("attributes", $this->_propDict)) { + if (is_a($this->_propDict["attributes"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttribute") || is_null($this->_propDict["attributes"])) { + return $this->_propDict["attributes"]; + } else { + $this->_propDict["attributes"] = new IdentityUserFlowAttribute($this->_propDict["attributes"]); + return $this->_propDict["attributes"]; + } + } + return null; + } + + /** + * Sets the attributes + * + * @param IdentityUserFlowAttribute $val The value to assign to the attributes + * + * @return OnAttributeCollectionExternalUsersSelfServiceSignUp The OnAttributeCollectionExternalUsersSelfServiceSignUp + */ + public function setAttributes($val) + { + $this->_propDict["attributes"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionHandler.php b/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionHandler.php new file mode 100644 index 00000000000..b6c7fbd6a7d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionHandler.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["handler"], "\Beta\Microsoft\Graph\Model\OnAttributeCollectionHandler") || is_null($this->_propDict["handler"])) { + return $this->_propDict["handler"]; + } else { + $this->_propDict["handler"] = new OnAttributeCollectionHandler($this->_propDict["handler"]); + return $this->_propDict["handler"]; + } + } + return null; + } + + /** + * Sets the handler + * Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. + * + * @param OnAttributeCollectionHandler $val The handler + * + * @return OnAttributeCollectionListener + */ + public function setHandler($val) + { + $this->_propDict["handler"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp.php b/src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp.php new file mode 100644 index 00000000000..2a328af709f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp.php @@ -0,0 +1,68 @@ +setODataType("#microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp"); + } + + + /** + * Gets the identityProviders + * + * @return IdentityProviderBase|null The identityProviders + */ + public function getIdentityProviders() + { + if (array_key_exists("identityProviders", $this->_propDict)) { + if (is_a($this->_propDict["identityProviders"], "\Beta\Microsoft\Graph\Model\IdentityProviderBase") || is_null($this->_propDict["identityProviders"])) { + return $this->_propDict["identityProviders"]; + } else { + $this->_propDict["identityProviders"] = new IdentityProviderBase($this->_propDict["identityProviders"]); + return $this->_propDict["identityProviders"]; + } + } + return null; + } + + /** + * Sets the identityProviders + * + * @param IdentityProviderBase $val The value to assign to the identityProviders + * + * @return OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp The OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp + */ + public function setIdentityProviders($val) + { + $this->_propDict["identityProviders"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartHandler.php b/src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartHandler.php new file mode 100644 index 00000000000..7b342ce1d89 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnAuthenticationMethodLoadStartHandler.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["handler"], "\Beta\Microsoft\Graph\Model\OnAuthenticationMethodLoadStartHandler") || is_null($this->_propDict["handler"])) { + return $this->_propDict["handler"]; + } else { + $this->_propDict["handler"] = new OnAuthenticationMethodLoadStartHandler($this->_propDict["handler"]); + return $this->_propDict["handler"]; + } + } + return null; + } + + /** + * Sets the handler + * Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. + * + * @param OnAuthenticationMethodLoadStartHandler $val The handler + * + * @return OnAuthenticationMethodLoadStartListener + */ + public function setHandler($val) + { + $this->_propDict["handler"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp.php b/src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp.php new file mode 100644 index 00000000000..3aa358f74d9 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.onInteractiveAuthFlowStartExternalUsersSelfServiceSignUp"); + } + + /** + * Gets the isSignUpAllowed + * Optional. Specifes whether the authentication flow includes an option to sign up (create account) as well as sign in. Default value is false meaning only sign in is enabled. + * + * @return bool|null The isSignUpAllowed + */ + public function getIsSignUpAllowed() + { + if (array_key_exists("isSignUpAllowed", $this->_propDict)) { + return $this->_propDict["isSignUpAllowed"]; + } else { + return null; + } + } + + /** + * Sets the isSignUpAllowed + * Optional. Specifes whether the authentication flow includes an option to sign up (create account) as well as sign in. Default value is false meaning only sign in is enabled. + * + * @param bool $val The value of the isSignUpAllowed + * + * @return OnInteractiveAuthFlowStartExternalUsersSelfServiceSignUp + */ + public function setIsSignUpAllowed($val) + { + $this->_propDict["isSignUpAllowed"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartHandler.php b/src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartHandler.php new file mode 100644 index 00000000000..f78db0022e2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnInteractiveAuthFlowStartHandler.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["handler"], "\Beta\Microsoft\Graph\Model\OnInteractiveAuthFlowStartHandler") || is_null($this->_propDict["handler"])) { + return $this->_propDict["handler"]; + } else { + $this->_propDict["handler"] = new OnInteractiveAuthFlowStartHandler($this->_propDict["handler"]); + return $this->_propDict["handler"]; + } + } + return null; + } + + /** + * Sets the handler + * Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. + * + * @param OnInteractiveAuthFlowStartHandler $val The handler + * + * @return OnInteractiveAuthFlowStartListener + */ + public function setHandler($val) + { + $this->_propDict["handler"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php b/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php index dd1cd9ec282..a9f96032d8b 100644 --- a/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php +++ b/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php @@ -197,6 +197,32 @@ public function setInternalUrl($val) return $this; } /** + * Gets the isAccessibleViaZTNAClient + * + * @return bool|null The isAccessibleViaZTNAClient + */ + public function getIsAccessibleViaZTNAClient() + { + if (array_key_exists("isAccessibleViaZTNAClient", $this->_propDict)) { + return $this->_propDict["isAccessibleViaZTNAClient"]; + } else { + return null; + } + } + + /** + * Sets the isAccessibleViaZTNAClient + * + * @param bool $val The value of the isAccessibleViaZTNAClient + * + * @return OnPremisesPublishing + */ + public function setIsAccessibleViaZTNAClient($val) + { + $this->_propDict["isAccessibleViaZTNAClient"] = $val; + return $this; + } + /** * Gets the isBackendCertificateValidationEnabled * Indicates whether backend SSL certificate validation is enabled for the application. For all new Application Proxy apps, the property will be set to true by default. For all existing apps, the property will be set to false. * diff --git a/src/Beta/Microsoft/Graph/Model/OnUserCreateStartExternalUsersSelfServiceSignUp.php b/src/Beta/Microsoft/Graph/Model/OnUserCreateStartExternalUsersSelfServiceSignUp.php new file mode 100644 index 00000000000..73d0b18502c --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnUserCreateStartExternalUsersSelfServiceSignUp.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.onUserCreateStartExternalUsersSelfServiceSignUp"); + } + + + /** + * Gets the userTypeToCreate + * The type of user object to create. The possible values are: member, guest, unknownFutureValue. + * + * @return UserType|null The userTypeToCreate + */ + public function getUserTypeToCreate() + { + if (array_key_exists("userTypeToCreate", $this->_propDict)) { + if (is_a($this->_propDict["userTypeToCreate"], "\Beta\Microsoft\Graph\Model\UserType") || is_null($this->_propDict["userTypeToCreate"])) { + return $this->_propDict["userTypeToCreate"]; + } else { + $this->_propDict["userTypeToCreate"] = new UserType($this->_propDict["userTypeToCreate"]); + return $this->_propDict["userTypeToCreate"]; + } + } + return null; + } + + /** + * Sets the userTypeToCreate + * The type of user object to create. The possible values are: member, guest, unknownFutureValue. + * + * @param UserType $val The value to assign to the userTypeToCreate + * + * @return OnUserCreateStartExternalUsersSelfServiceSignUp The OnUserCreateStartExternalUsersSelfServiceSignUp + */ + public function setUserTypeToCreate($val) + { + $this->_propDict["userTypeToCreate"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OnUserCreateStartHandler.php b/src/Beta/Microsoft/Graph/Model/OnUserCreateStartHandler.php new file mode 100644 index 00000000000..05f1c744ffd --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/OnUserCreateStartHandler.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["handler"], "\Beta\Microsoft\Graph\Model\OnUserCreateStartHandler") || is_null($this->_propDict["handler"])) { + return $this->_propDict["handler"]; + } else { + $this->_propDict["handler"] = new OnUserCreateStartHandler($this->_propDict["handler"]); + return $this->_propDict["handler"]; + } + } + return null; + } + + /** + * Sets the handler + * Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. + * + * @param OnUserCreateStartHandler $val The handler + * + * @return OnUserCreateStartListener + */ + public function setHandler($val) + { + $this->_propDict["handler"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php index 2e3d0ade4f2..630cade647e 100644 --- a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php +++ b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php @@ -387,6 +387,37 @@ public function setAudioConferencing($val) return $this; } + /** + * Gets the broadcastRecording + * + * @return \GuzzleHttp\Psr7\Stream|null The broadcastRecording + */ + public function getBroadcastRecording() + { + if (array_key_exists("broadcastRecording", $this->_propDict)) { + if (is_a($this->_propDict["broadcastRecording"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["broadcastRecording"])) { + return $this->_propDict["broadcastRecording"]; + } else { + $this->_propDict["broadcastRecording"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["broadcastRecording"]); + return $this->_propDict["broadcastRecording"]; + } + } + return null; + } + + /** + * Sets the broadcastRecording + * + * @param \GuzzleHttp\Psr7\Stream $val The broadcastRecording + * + * @return OnlineMeeting + */ + public function setBroadcastRecording($val) + { + $this->_propDict["broadcastRecording"] = $val; + return $this; + } + /** * Gets the broadcastSettings * Settings related to a live event. @@ -1167,6 +1198,34 @@ public function setRegistration($val) } + /** + * Gets the recordings + * + * @return array|null The recordings + */ + public function getRecordings() + { + if (array_key_exists("recordings", $this->_propDict)) { + return $this->_propDict["recordings"]; + } else { + return null; + } + } + + /** + * Sets the recordings + * + * @param CallRecording[] $val The recordings + * + * @return OnlineMeeting + */ + public function setRecordings($val) + { + $this->_propDict["recordings"] = $val; + return $this; + } + + /** * Gets the transcripts * The transcripts of an online meeting. Read-only. diff --git a/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php b/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php index 5a49ba5b016..debde68a3b9 100644 --- a/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php +++ b/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php @@ -55,6 +55,69 @@ public function setMicrosoftApplicationDataAccess($val) return $this; } + + /** + * Gets the profileCardProperties + * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. + * + * @return array|null The profileCardProperties + */ + public function getProfileCardProperties() + { + if (array_key_exists("profileCardProperties", $this->_propDict)) { + return $this->_propDict["profileCardProperties"]; + } else { + return null; + } + } + + /** + * Sets the profileCardProperties + * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. + * + * @param ProfileCardProperty[] $val The profileCardProperties + * + * @return OrganizationSettings + */ + public function setProfileCardProperties($val) + { + $this->_propDict["profileCardProperties"] = $val; + return $this; + } + + /** + * Gets the pronouns + * Represents administrator settings that manage the support of pronouns in an organization. + * + * @return PronounsSettings|null The pronouns + */ + public function getPronouns() + { + if (array_key_exists("pronouns", $this->_propDict)) { + if (is_a($this->_propDict["pronouns"], "\Beta\Microsoft\Graph\Model\PronounsSettings") || is_null($this->_propDict["pronouns"])) { + return $this->_propDict["pronouns"]; + } else { + $this->_propDict["pronouns"] = new PronounsSettings($this->_propDict["pronouns"]); + return $this->_propDict["pronouns"]; + } + } + return null; + } + + /** + * Sets the pronouns + * Represents administrator settings that manage the support of pronouns in an organization. + * + * @param PronounsSettings $val The pronouns + * + * @return OrganizationSettings + */ + public function setPronouns($val) + { + $this->_propDict["pronouns"] = $val; + return $this; + } + /** * Gets the contactInsights * Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. @@ -154,67 +217,4 @@ public function setPeopleInsights($val) return $this; } - - /** - * Gets the profileCardProperties - * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. - * - * @return array|null The profileCardProperties - */ - public function getProfileCardProperties() - { - if (array_key_exists("profileCardProperties", $this->_propDict)) { - return $this->_propDict["profileCardProperties"]; - } else { - return null; - } - } - - /** - * Sets the profileCardProperties - * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. - * - * @param ProfileCardProperty[] $val The profileCardProperties - * - * @return OrganizationSettings - */ - public function setProfileCardProperties($val) - { - $this->_propDict["profileCardProperties"] = $val; - return $this; - } - - /** - * Gets the pronouns - * Represents administrator settings that manage the support of pronouns in an organization. - * - * @return PronounsSettings|null The pronouns - */ - public function getPronouns() - { - if (array_key_exists("pronouns", $this->_propDict)) { - if (is_a($this->_propDict["pronouns"], "\Beta\Microsoft\Graph\Model\PronounsSettings") || is_null($this->_propDict["pronouns"])) { - return $this->_propDict["pronouns"]; - } else { - $this->_propDict["pronouns"] = new PronounsSettings($this->_propDict["pronouns"]); - return $this->_propDict["pronouns"]; - } - } - return null; - } - - /** - * Sets the pronouns - * Represents administrator settings that manage the support of pronouns in an organization. - * - * @param PronounsSettings $val The pronouns - * - * @return OrganizationSettings - */ - public function setPronouns($val) - { - $this->_propDict["pronouns"] = $val; - return $this; - } - } diff --git a/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingProperties.php b/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingProperties.php index 2c338d773ec..b97eab747e0 100644 --- a/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingProperties.php +++ b/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingProperties.php @@ -206,6 +206,37 @@ public function setCdnList($val) return $this; } + /** + * Gets the contentCustomization + * + * @return ContentCustomization|null The contentCustomization + */ + public function getContentCustomization() + { + if (array_key_exists("contentCustomization", $this->_propDict)) { + if (is_a($this->_propDict["contentCustomization"], "\Beta\Microsoft\Graph\Model\ContentCustomization") || is_null($this->_propDict["contentCustomization"])) { + return $this->_propDict["contentCustomization"]; + } else { + $this->_propDict["contentCustomization"] = new ContentCustomization($this->_propDict["contentCustomization"]); + return $this->_propDict["contentCustomization"]; + } + } + return null; + } + + /** + * Sets the contentCustomization + * + * @param ContentCustomization $val The contentCustomization + * + * @return OrganizationalBrandingProperties + */ + public function setContentCustomization($val) + { + $this->_propDict["contentCustomization"] = $val; + return $this; + } + /** * Gets the customAccountResetCredentialsUrl * A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. diff --git a/src/Beta/Microsoft/Graph/Model/OutlookCategory.php b/src/Beta/Microsoft/Graph/Model/OutlookCategory.php index f67ad1db870..69dccbf912f 100644 --- a/src/Beta/Microsoft/Graph/Model/OutlookCategory.php +++ b/src/Beta/Microsoft/Graph/Model/OutlookCategory.php @@ -26,7 +26,7 @@ class OutlookCategory extends Entity { /** * Gets the color - * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. + * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. For more details, see the following note. * * @return CategoryColor|null The color */ @@ -45,7 +45,7 @@ public function getColor() /** * Sets the color - * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. + * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. For more details, see the following note. * * @param CategoryColor $val The color * diff --git a/src/Beta/Microsoft/Graph/Model/Participant.php b/src/Beta/Microsoft/Graph/Model/Participant.php index 34cff56a983..620e6cdcc38 100644 --- a/src/Beta/Microsoft/Graph/Model/Participant.php +++ b/src/Beta/Microsoft/Graph/Model/Participant.php @@ -201,6 +201,33 @@ public function setMetadata($val) return $this; } + /** + * Gets the preferredDisplayName + * + * @return string|null The preferredDisplayName + */ + public function getPreferredDisplayName() + { + if (array_key_exists("preferredDisplayName", $this->_propDict)) { + return $this->_propDict["preferredDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the preferredDisplayName + * + * @param string $val The preferredDisplayName + * + * @return Participant + */ + public function setPreferredDisplayName($val) + { + $this->_propDict["preferredDisplayName"] = $val; + return $this; + } + /** * Gets the recordingInfo * Information on whether the participant has recording capability. diff --git a/src/Beta/Microsoft/Graph/Model/Person.php b/src/Beta/Microsoft/Graph/Model/Person.php index c03d5921ffb..5b2dcf90f2d 100644 --- a/src/Beta/Microsoft/Graph/Model/Person.php +++ b/src/Beta/Microsoft/Graph/Model/Person.php @@ -201,7 +201,7 @@ public function setGivenName($val) /** * Gets the isFavorite - * true if the user has flagged this person as a favorite. + * True if the user has flagged this person as a favorite. * * @return bool|null The isFavorite */ @@ -216,7 +216,7 @@ public function getIsFavorite() /** * Sets the isFavorite - * true if the user has flagged this person as a favorite. + * True if the user has flagged this person as a favorite. * * @param bool $val The isFavorite * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php b/src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php new file mode 100644 index 00000000000..c12c8fcb97a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["requiredChecklistItemIds"]; + } else { + return null; + } + } + + /** + * Sets the requiredChecklistItemIds + * + * @param string $val The value of the requiredChecklistItemIds + * + * @return PlannerChecklistRequirement + */ + public function setRequiredChecklistItemIds($val) + { + $this->_propDict["requiredChecklistItemIds"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/PlannerPlan.php b/src/Beta/Microsoft/Graph/Model/PlannerPlan.php index e00ed794ad7..15a45ccb73b 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerPlan.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerPlan.php @@ -219,6 +219,7 @@ public function setOwner($val) /** * Gets the sharedWithContainers + * List of containers the plan is shared with. * * @return array|null The sharedWithContainers */ @@ -233,6 +234,7 @@ public function getSharedWithContainers() /** * Sets the sharedWithContainers + * List of containers the plan is shared with. * * @param PlannerSharedWithContainer[] $val The sharedWithContainers * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php b/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php index aaf0999bbbf..504a702dca1 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php @@ -54,7 +54,7 @@ public function setContainerId($val) /** * Gets the type - * The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, and project. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project. Optional. + * The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, project and driveItem. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project, driveItem. Optional. * * @return PlannerContainerType|null The type */ @@ -73,7 +73,7 @@ public function getType() /** * Sets the type - * The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, and project. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project. Optional. + * The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, project and driveItem. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project, driveItem. Optional. * * @param PlannerContainerType $val The value to assign to the type * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetails.php b/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetails.php index 78f1593737c..5ef7dd9c80f 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetails.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetails.php @@ -54,7 +54,7 @@ public function setCustomLinkText($val) /** * Gets the displayLinkType - * Specifies how an application should display the link to the associated plannerPlanContext. Applications may choose to provide customized text, description, icons, or other experiences based on the type of the link. Possible values are: teamsTab, sharePointPage, meetingNotes, other, unknownFutureValue. + * Specifies how an application should display the link to the associated plannerPlanContext. Applications may choose to provide customized text, description, icons, or other experiences based on the type of the link. Possible values are: teamsTab, sharePointPage, meetingNotes, loopPage, project, other, unknownFutureValue. * * @return PlannerPlanContextType|null The displayLinkType */ @@ -73,7 +73,7 @@ public function getDisplayLinkType() /** * Sets the displayLinkType - * Specifies how an application should display the link to the associated plannerPlanContext. Applications may choose to provide customized text, description, icons, or other experiences based on the type of the link. Possible values are: teamsTab, sharePointPage, meetingNotes, other, unknownFutureValue. + * Specifies how an application should display the link to the associated plannerPlanContext. Applications may choose to provide customized text, description, icons, or other experiences based on the type of the link. Possible values are: teamsTab, sharePointPage, meetingNotes, loopPage, project, other, unknownFutureValue. * * @param PlannerPlanContextType $val The value to assign to the displayLinkType * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerPlanContextType.php b/src/Beta/Microsoft/Graph/Model/PlannerPlanContextType.php index ec265323873..7e1e0d32610 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerPlanContextType.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerPlanContextType.php @@ -35,4 +35,5 @@ class PlannerPlanContextType extends Enum const OTHER = "other"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const LOOP_PAGE = "loopPage"; + const PROJECT = "project"; } diff --git a/src/Beta/Microsoft/Graph/Model/PlannerSharedWithContainer.php b/src/Beta/Microsoft/Graph/Model/PlannerSharedWithContainer.php index 9e6e7f7b6cf..fa5a20dee30 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerSharedWithContainer.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerSharedWithContainer.php @@ -26,6 +26,7 @@ class PlannerSharedWithContainer extends PlannerPlanContainer /** * Gets the accessLevel + * The maxmimum access level the shared container can provide to the plan. The possible values are: readAccess, readWriteAccess, fullAccess, unknownFutureValue. * * @return PlannerPlanAccessLevel|null The accessLevel */ @@ -44,6 +45,7 @@ public function getAccessLevel() /** * Sets the accessLevel + * The maxmimum access level the shared container can provide to the plan. The possible values are: readAccess, readWriteAccess, fullAccess, unknownFutureValue. * * @param PlannerPlanAccessLevel $val The value to assign to the accessLevel * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTask.php b/src/Beta/Microsoft/Graph/Model/PlannerTask.php index 84f90e473ef..d165f41ea9f 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerTask.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerTask.php @@ -673,6 +673,37 @@ public function setReferenceCount($val) return $this; } + /** + * Gets the specifiedCompletionRequirements + * + * @return PlannerTaskCompletionRequirements|null The specifiedCompletionRequirements + */ + public function getSpecifiedCompletionRequirements() + { + if (array_key_exists("specifiedCompletionRequirements", $this->_propDict)) { + if (is_a($this->_propDict["specifiedCompletionRequirements"], "\Beta\Microsoft\Graph\Model\PlannerTaskCompletionRequirements") || is_null($this->_propDict["specifiedCompletionRequirements"])) { + return $this->_propDict["specifiedCompletionRequirements"]; + } else { + $this->_propDict["specifiedCompletionRequirements"] = new PlannerTaskCompletionRequirements($this->_propDict["specifiedCompletionRequirements"]); + return $this->_propDict["specifiedCompletionRequirements"]; + } + } + return null; + } + + /** + * Sets the specifiedCompletionRequirements + * + * @param PlannerTaskCompletionRequirements $val The specifiedCompletionRequirements + * + * @return PlannerTask + */ + public function setSpecifiedCompletionRequirements($val) + { + $this->_propDict["specifiedCompletionRequirements"] = $val; + return $this; + } + /** * Gets the startDateTime * Date and time at which the task starts. 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 diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php b/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php new file mode 100644 index 00000000000..7d52ee19135 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["checklistRequirement"], "\Beta\Microsoft\Graph\Model\PlannerChecklistRequirement") || is_null($this->_propDict["checklistRequirement"])) { + return $this->_propDict["checklistRequirement"]; + } else { + $this->_propDict["checklistRequirement"] = new PlannerChecklistRequirement($this->_propDict["checklistRequirement"]); + return $this->_propDict["checklistRequirement"]; + } + } + return null; + } + + /** + * Sets the checklistRequirement + * + * @param PlannerChecklistRequirement $val The value to assign to the checklistRequirement + * + * @return PlannerTaskCompletionRequirementDetails The PlannerTaskCompletionRequirementDetails + */ + public function setChecklistRequirement($val) + { + $this->_propDict["checklistRequirement"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirements.php b/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirements.php new file mode 100644 index 00000000000..f16e2133b5b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirements.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["completionRequirements"], "\Beta\Microsoft\Graph\Model\PlannerTaskCompletionRequirementDetails") || is_null($this->_propDict["completionRequirements"])) { + return $this->_propDict["completionRequirements"]; + } else { + $this->_propDict["completionRequirements"] = new PlannerTaskCompletionRequirementDetails($this->_propDict["completionRequirements"]); + return $this->_propDict["completionRequirements"]; + } + } + return null; + } + + /** + * Sets the completionRequirements + * + * @param PlannerTaskCompletionRequirementDetails $val The completionRequirements + * + * @return PlannerTaskDetails + */ + public function setCompletionRequirements($val) + { + $this->_propDict["completionRequirements"] = $val; + return $this; + } + /** * Gets the description * Description of the task. diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php b/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php index 359368c1906..b5a89b86033 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php @@ -123,6 +123,32 @@ public function setCheckLists($val) return $this; } /** + * Gets the completionRequirements + * + * @return string|null The completionRequirements + */ + public function getCompletionRequirements() + { + if (array_key_exists("completionRequirements", $this->_propDict)) { + return $this->_propDict["completionRequirements"]; + } else { + return null; + } + } + + /** + * Sets the completionRequirements + * + * @param string $val The value of the completionRequirements + * + * @return PlannerTaskPropertyRule + */ + public function setCompletionRequirements($val) + { + $this->_propDict["completionRequirements"] = $val; + return $this; + } + /** * Gets the delete * Rules and restrictions for deleting the task. Accepted values are allow and block. * diff --git a/src/Beta/Microsoft/Graph/Model/RetentionSetting.php b/src/Beta/Microsoft/Graph/Model/RetentionSetting.php new file mode 100644 index 00000000000..9e0d6e94dd2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/RetentionSetting.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["interval"]; + } else { + return null; + } + } + + /** + * Sets the interval + * + * @param string $val The value of the interval + * + * @return RetentionSetting + */ + public function setInterval($val) + { + $this->_propDict["interval"] = $val; + return $this; + } + + /** + * Gets the period + * + * @return \DateInterval|null The period + */ + public function getPeriod() + { + if (array_key_exists("period", $this->_propDict)) { + if (is_a($this->_propDict["period"], "\DateInterval") || is_null($this->_propDict["period"])) { + return $this->_propDict["period"]; + } else { + $this->_propDict["period"] = new \DateInterval($this->_propDict["period"]); + return $this->_propDict["period"]; + } + } + return null; + } + + /** + * Sets the period + * + * @param \DateInterval $val The value to assign to the period + * + * @return RetentionSetting The RetentionSetting + */ + public function setPeriod($val) + { + $this->_propDict["period"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/RiskDetection.php b/src/Beta/Microsoft/Graph/Model/RiskDetection.php index b796b215d4d..3fe18c32192 100644 --- a/src/Beta/Microsoft/Graph/Model/RiskDetection.php +++ b/src/Beta/Microsoft/Graph/Model/RiskDetection.php @@ -373,7 +373,7 @@ public function setRiskDetail($val) /** * Gets the riskEventType - * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and anomalousUserActivity. For more information about each value, see riskEventType values. + * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, anomalousUserActivity, userReportedSuspiciousActivity. For more information about each value, see riskEventType values. * * @return string|null The riskEventType */ @@ -388,7 +388,7 @@ public function getRiskEventType() /** * Sets the riskEventType - * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and anomalousUserActivity. For more information about each value, see riskEventType values. + * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, anomalousUserActivity, userReportedSuspiciousActivity. For more information about each value, see riskEventType values. * * @param string $val The riskEventType * diff --git a/src/Beta/Microsoft/Graph/Model/SearchRequest.php b/src/Beta/Microsoft/Graph/Model/SearchRequest.php index 9b436363199..afd3db20f1a 100644 --- a/src/Beta/Microsoft/Graph/Model/SearchRequest.php +++ b/src/Beta/Microsoft/Graph/Model/SearchRequest.php @@ -424,7 +424,7 @@ public function setSharePointOneDriveOptions($val) } /** * Gets the size - * The size of the page to be retrieved. Optional. + * The size of the page to be retrieved. The maximum value is 500. Optional. * * @return int|null The size */ @@ -439,7 +439,7 @@ public function getSize() /** * Sets the size - * The size of the page to be retrieved. Optional. + * The size of the page to be retrieved. The maximum value is 500. Optional. * * @param int $val The value of the size * diff --git a/src/Beta/Microsoft/Graph/Model/SignInPreferences.php b/src/Beta/Microsoft/Graph/Model/SignInPreferences.php index 91119bde86f..a0e2f7de137 100644 --- a/src/Beta/Microsoft/Graph/Model/SignInPreferences.php +++ b/src/Beta/Microsoft/Graph/Model/SignInPreferences.php @@ -51,4 +51,35 @@ public function setIsSystemPreferredAuthenticationMethodEnabled($val) $this->_propDict["isSystemPreferredAuthenticationMethodEnabled"] = $val; return $this; } + + /** + * Gets the userPreferredMethodForSecondaryAuthentication + * + * @return UserDefaultAuthenticationMethodType|null The userPreferredMethodForSecondaryAuthentication + */ + public function getUserPreferredMethodForSecondaryAuthentication() + { + if (array_key_exists("userPreferredMethodForSecondaryAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["userPreferredMethodForSecondaryAuthentication"], "\Beta\Microsoft\Graph\Model\UserDefaultAuthenticationMethodType") || is_null($this->_propDict["userPreferredMethodForSecondaryAuthentication"])) { + return $this->_propDict["userPreferredMethodForSecondaryAuthentication"]; + } else { + $this->_propDict["userPreferredMethodForSecondaryAuthentication"] = new UserDefaultAuthenticationMethodType($this->_propDict["userPreferredMethodForSecondaryAuthentication"]); + return $this->_propDict["userPreferredMethodForSecondaryAuthentication"]; + } + } + return null; + } + + /** + * Sets the userPreferredMethodForSecondaryAuthentication + * + * @param UserDefaultAuthenticationMethodType $val The value to assign to the userPreferredMethodForSecondaryAuthentication + * + * @return SignInPreferences The SignInPreferences + */ + public function setUserPreferredMethodForSecondaryAuthentication($val) + { + $this->_propDict["userPreferredMethodForSecondaryAuthentication"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SolutionsRoot.php b/src/Beta/Microsoft/Graph/Model/SolutionsRoot.php index 4cf2fcd2b53..e433841bac3 100644 --- a/src/Beta/Microsoft/Graph/Model/SolutionsRoot.php +++ b/src/Beta/Microsoft/Graph/Model/SolutionsRoot.php @@ -83,6 +83,37 @@ public function setBusinessScenarios($val) return $this; } + /** + * Gets the virtualEvents + * + * @return VirtualEventsRoot|null The virtualEvents + */ + public function getVirtualEvents() + { + if (array_key_exists("virtualEvents", $this->_propDict)) { + if (is_a($this->_propDict["virtualEvents"], "\Beta\Microsoft\Graph\Model\VirtualEventsRoot") || is_null($this->_propDict["virtualEvents"])) { + return $this->_propDict["virtualEvents"]; + } else { + $this->_propDict["virtualEvents"] = new VirtualEventsRoot($this->_propDict["virtualEvents"]); + return $this->_propDict["virtualEvents"]; + } + } + return null; + } + + /** + * Sets the virtualEvents + * + * @param VirtualEventsRoot $val The virtualEvents + * + * @return SolutionsRoot + */ + public function setVirtualEvents($val) + { + $this->_propDict["virtualEvents"] = $val; + return $this; + } + /** * Gets the ODataType * diff --git a/src/Beta/Microsoft/Graph/Model/SubscribedSku.php b/src/Beta/Microsoft/Graph/Model/SubscribedSku.php index 7978820e8f8..865819e25c3 100644 --- a/src/Beta/Microsoft/Graph/Model/SubscribedSku.php +++ b/src/Beta/Microsoft/Graph/Model/SubscribedSku.php @@ -24,6 +24,60 @@ */ class SubscribedSku extends Entity { + /** + * Gets the accountId + * + * @return string|null The accountId + */ + public function getAccountId() + { + if (array_key_exists("accountId", $this->_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return SubscribedSku + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the accountName + * + * @return string|null The accountName + */ + public function getAccountName() + { + if (array_key_exists("accountName", $this->_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * + * @param string $val The accountName + * + * @return SubscribedSku + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + /** * Gets the appliesTo * For example, 'User' or 'Company'. @@ -232,4 +286,31 @@ public function setSkuPartNumber($val) return $this; } + /** + * Gets the subscriptionIds + * + * @return array|null The subscriptionIds + */ + public function getSubscriptionIds() + { + if (array_key_exists("subscriptionIds", $this->_propDict)) { + return $this->_propDict["subscriptionIds"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionIds + * + * @param string[] $val The subscriptionIds + * + * @return SubscribedSku + */ + public function setSubscriptionIds($val) + { + $this->_propDict["subscriptionIds"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/SynchronizationDisposition.php b/src/Beta/Microsoft/Graph/Model/SynchronizationDisposition.php new file mode 100644 index 00000000000..63e66dcd485 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/SynchronizationDisposition.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Beta\Microsoft\Graph\Model\SynchronizationMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new SynchronizationMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * Possible values are: GalleryApplicationIdentifier, GalleryApplicationKey, IsOAuthEnabled, IsSynchronizationAgentAssignmentRequired, IsSynchronizationAgentRequired, IsSynchronizationInPreview, OAuthSettings, SynchronizationLearnMoreIbizaFwLink, ConfigurationFields. + * + * @param SynchronizationMetadata $val The value to assign to the key + * + * @return SynchronizationMetadataEntry The SynchronizationMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Value of the metadata property. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the metadata property. + * + * @param string $val The value of the value + * + * @return SynchronizationMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/SynchronizationTemplate.php b/src/Beta/Microsoft/Graph/Model/SynchronizationTemplate.php index 88089ff4d0c..b777683a6d2 100644 --- a/src/Beta/Microsoft/Graph/Model/SynchronizationTemplate.php +++ b/src/Beta/Microsoft/Graph/Model/SynchronizationTemplate.php @@ -189,7 +189,7 @@ public function getMetadata() * Sets the metadata * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. * - * @param MetadataEntry[] $val The metadata + * @param SynchronizationMetadataEntry[] $val The metadata * * @return SynchronizationTemplate */ diff --git a/src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php b/src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php new file mode 100644 index 00000000000..d0ec4d8774d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["trustedCertificateAuthorities"]; + } else { + return null; + } + } + + /** + * Sets the trustedCertificateAuthorities + * + * @param CertificateAuthorityAsEntity[] $val The trustedCertificateAuthorities + * + * @return TrustedCertificateAuthorityAsEntityBase + */ + public function setTrustedCertificateAuthorities($val) + { + $this->_propDict["trustedCertificateAuthorities"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php b/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php index 1d86cd34e05..03897f03947 100644 --- a/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php +++ b/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php @@ -27,6 +27,7 @@ class UnifiedRbacApplication extends Entity /** * Gets the customAppScopes + * Workload-specific scope object that represents the resources for which the principal has been granted access. * * @return array|null The customAppScopes */ @@ -41,6 +42,7 @@ public function getCustomAppScopes() /** * Sets the customAppScopes + * Workload-specific scope object that represents the resources for which the principal has been granted access. * * @param CustomAppScope[] $val The customAppScopes * diff --git a/src/Beta/Microsoft/Graph/Model/UserDefaultAuthenticationMethodType.php b/src/Beta/Microsoft/Graph/Model/UserDefaultAuthenticationMethodType.php new file mode 100644 index 00000000000..97b7cf9e0b6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/UserDefaultAuthenticationMethodType.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\CommunicationsIdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new CommunicationsIdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity information of who created the virtual event. Inherited from virtualEvent. + * + * @param CommunicationsIdentitySet $val The createdBy + * + * @return VirtualEvent + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the virtual event. + * + * @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 + * Description of the virtual event. + * + * @param string $val The description + * + * @return VirtualEvent + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the virtual event + * + * @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 + * Display name of the virtual event + * + * @param string $val The displayName + * + * @return VirtualEvent + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * End time of the virtual event. + * + * @return DateTimeTimeZone|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new DateTimeTimeZone($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * End time of the virtual event. + * + * @param DateTimeTimeZone $val The endDateTime + * + * @return VirtualEvent + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Start time of the virtual event. + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Start time of the virtual event. + * + * @param DateTimeTimeZone $val The startDateTime + * + * @return VirtualEvent + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the virtual event. The possible values are: draft, published, canceled, unknownFutureValue. + * + * @return VirtualEventStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\VirtualEventStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new VirtualEventStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the virtual event. The possible values are: draft, published, canceled, unknownFutureValue. + * + * @param VirtualEventStatus $val The status + * + * @return VirtualEvent + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the presenters + * Presenters' information of the virtual event. + * + * @return array|null The presenters + */ + public function getPresenters() + { + if (array_key_exists("presenters", $this->_propDict)) { + return $this->_propDict["presenters"]; + } else { + return null; + } + } + + /** + * Sets the presenters + * Presenters' information of the virtual event. + * + * @param VirtualEventPresenter[] $val The presenters + * + * @return VirtualEvent + */ + public function setPresenters($val) + { + $this->_propDict["presenters"] = $val; + return $this; + } + + + /** + * Gets the sessions + * Sessions of the virtual event. + * + * @return array|null The sessions + */ + public function getSessions() + { + if (array_key_exists("sessions", $this->_propDict)) { + return $this->_propDict["sessions"]; + } else { + return null; + } + } + + /** + * Sets the sessions + * Sessions of the virtual event. + * + * @param VirtualEventSession[] $val The sessions + * + * @return VirtualEvent + */ + public function setSessions($val) + { + $this->_propDict["sessions"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventAttendeeRegistrationStatus.php b/src/Beta/Microsoft/Graph/Model/VirtualEventAttendeeRegistrationStatus.php new file mode 100644 index 00000000000..bf1204563e5 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventAttendeeRegistrationStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email address of the presenter. + * + * @param string $val The email + * + * @return VirtualEventPresenter + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the identity + * Identity information of the presenter. + * + * @return CommunicationsUserIdentity|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\CommunicationsUserIdentity") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new CommunicationsUserIdentity($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * Identity information of the presenter. + * + * @param CommunicationsUserIdentity $val The identity + * + * @return VirtualEventPresenter + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + + /** + * Gets the presenterDetails + * Other detail information of the presenter. + * + * @return VirtualEventPresenterDetails|null The presenterDetails + */ + public function getPresenterDetails() + { + if (array_key_exists("presenterDetails", $this->_propDict)) { + if (is_a($this->_propDict["presenterDetails"], "\Beta\Microsoft\Graph\Model\VirtualEventPresenterDetails") || is_null($this->_propDict["presenterDetails"])) { + return $this->_propDict["presenterDetails"]; + } else { + $this->_propDict["presenterDetails"] = new VirtualEventPresenterDetails($this->_propDict["presenterDetails"]); + return $this->_propDict["presenterDetails"]; + } + } + return null; + } + + /** + * Sets the presenterDetails + * Other detail information of the presenter. + * + * @param VirtualEventPresenterDetails $val The presenterDetails + * + * @return VirtualEventPresenter + */ + public function setPresenterDetails($val) + { + $this->_propDict["presenterDetails"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventPresenterDetails.php b/src/Beta/Microsoft/Graph/Model/VirtualEventPresenterDetails.php new file mode 100644 index 00000000000..ec329da1925 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventPresenterDetails.php @@ -0,0 +1,199 @@ +_propDict)) { + if (is_a($this->_propDict["bio"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["bio"])) { + return $this->_propDict["bio"]; + } else { + $this->_propDict["bio"] = new ItemBody($this->_propDict["bio"]); + return $this->_propDict["bio"]; + } + } + return null; + } + + /** + * Sets the bio + * Bio of the presenter. + * + * @param ItemBody $val The value to assign to the bio + * + * @return VirtualEventPresenterDetails The VirtualEventPresenterDetails + */ + public function setBio($val) + { + $this->_propDict["bio"] = $val; + return $this; + } + /** + * Gets the company + * The presenter's company name. + * + * @return string|null The company + */ + public function getCompany() + { + if (array_key_exists("company", $this->_propDict)) { + return $this->_propDict["company"]; + } else { + return null; + } + } + + /** + * Sets the company + * The presenter's company name. + * + * @param string $val The value of the company + * + * @return VirtualEventPresenterDetails + */ + public function setCompany($val) + { + $this->_propDict["company"] = $val; + return $this; + } + /** + * Gets the jobTitle + * The presenter's job title. + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * The presenter's job title. + * + * @param string $val The value of the jobTitle + * + * @return VirtualEventPresenterDetails + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + /** + * Gets the linkedInProfileWebUrl + * The presenter's LinkedIn profile URL. + * + * @return string|null The linkedInProfileWebUrl + */ + public function getLinkedInProfileWebUrl() + { + if (array_key_exists("linkedInProfileWebUrl", $this->_propDict)) { + return $this->_propDict["linkedInProfileWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the linkedInProfileWebUrl + * The presenter's LinkedIn profile URL. + * + * @param string $val The value of the linkedInProfileWebUrl + * + * @return VirtualEventPresenterDetails + */ + public function setLinkedInProfileWebUrl($val) + { + $this->_propDict["linkedInProfileWebUrl"] = $val; + return $this; + } + /** + * Gets the personalSiteWebUrl + * The presenter's personal website URL. + * + * @return string|null The personalSiteWebUrl + */ + public function getPersonalSiteWebUrl() + { + if (array_key_exists("personalSiteWebUrl", $this->_propDict)) { + return $this->_propDict["personalSiteWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the personalSiteWebUrl + * The presenter's personal website URL. + * + * @param string $val The value of the personalSiteWebUrl + * + * @return VirtualEventPresenterDetails + */ + public function setPersonalSiteWebUrl($val) + { + $this->_propDict["personalSiteWebUrl"] = $val; + return $this; + } + /** + * Gets the twitterProfileWebUrl + * The presenter's Twitter profile URL. + * + * @return string|null The twitterProfileWebUrl + */ + public function getTwitterProfileWebUrl() + { + if (array_key_exists("twitterProfileWebUrl", $this->_propDict)) { + return $this->_propDict["twitterProfileWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the twitterProfileWebUrl + * The presenter's Twitter profile URL. + * + * @param string $val The value of the twitterProfileWebUrl + * + * @return VirtualEventPresenterDetails + */ + public function setTwitterProfileWebUrl($val) + { + $this->_propDict["twitterProfileWebUrl"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventPresenterInfo.php b/src/Beta/Microsoft/Graph/Model/VirtualEventPresenterInfo.php new file mode 100644 index 00000000000..b675a90acc5 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventPresenterInfo.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["presenterDetails"], "\Beta\Microsoft\Graph\Model\VirtualEventPresenterDetails") || is_null($this->_propDict["presenterDetails"])) { + return $this->_propDict["presenterDetails"]; + } else { + $this->_propDict["presenterDetails"] = new VirtualEventPresenterDetails($this->_propDict["presenterDetails"]); + return $this->_propDict["presenterDetails"]; + } + } + return null; + } + + /** + * Sets the presenterDetails + * + * @param VirtualEventPresenterDetails $val The value to assign to the presenterDetails + * + * @return VirtualEventPresenterInfo The VirtualEventPresenterInfo + */ + public function setPresenterDetails($val) + { + $this->_propDict["presenterDetails"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php new file mode 100644 index 00000000000..02c81346577 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrant.php @@ -0,0 +1,272 @@ +_propDict)) { + if (is_a($this->_propDict["cancelationDateTime"], "\DateTime") || is_null($this->_propDict["cancelationDateTime"])) { + return $this->_propDict["cancelationDateTime"]; + } else { + $this->_propDict["cancelationDateTime"] = new \DateTime($this->_propDict["cancelationDateTime"]); + return $this->_propDict["cancelationDateTime"]; + } + } + return null; + } + + /** + * Sets the cancelationDateTime + * Time in UTC when the registrant cancels their registration for the virtual event. Only appears when applicable. + * + * @param \DateTime $val The cancelationDateTime + * + * @return VirtualEventRegistrant + */ + public function setCancelationDateTime($val) + { + $this->_propDict["cancelationDateTime"] = $val; + return $this; + } + + /** + * Gets the email + * Email address of the registrant. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email address of the registrant. + * + * @param string $val The email + * + * @return VirtualEventRegistrant + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the firstName + * First name of the registrant. + * + * @return string|null The firstName + */ + public function getFirstName() + { + if (array_key_exists("firstName", $this->_propDict)) { + return $this->_propDict["firstName"]; + } else { + return null; + } + } + + /** + * Sets the firstName + * First name of the registrant. + * + * @param string $val The firstName + * + * @return VirtualEventRegistrant + */ + public function setFirstName($val) + { + $this->_propDict["firstName"] = $val; + return $this; + } + + /** + * Gets the lastName + * Last name of the registrant. + * + * @return string|null The lastName + */ + public function getLastName() + { + if (array_key_exists("lastName", $this->_propDict)) { + return $this->_propDict["lastName"]; + } else { + return null; + } + } + + /** + * Sets the lastName + * Last name of the registrant. + * + * @param string $val The lastName + * + * @return VirtualEventRegistrant + */ + public function setLastName($val) + { + $this->_propDict["lastName"] = $val; + return $this; + } + + /** + * Gets the registrationDateTime + * Time in UTC when the registrant registers for the virtual event. + * + * @return \DateTime|null The registrationDateTime + */ + public function getRegistrationDateTime() + { + if (array_key_exists("registrationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { + return $this->_propDict["registrationDateTime"]; + } else { + $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); + return $this->_propDict["registrationDateTime"]; + } + } + return null; + } + + /** + * Sets the registrationDateTime + * Time in UTC when the registrant registers for the virtual event. + * + * @param \DateTime $val The registrationDateTime + * + * @return VirtualEventRegistrant + */ + public function setRegistrationDateTime($val) + { + $this->_propDict["registrationDateTime"] = $val; + return $this; + } + + + /** + * Gets the registrationQuestionAnswers + * The registrant's answer to the registration questions. + * + * @return array|null The registrationQuestionAnswers + */ + public function getRegistrationQuestionAnswers() + { + if (array_key_exists("registrationQuestionAnswers", $this->_propDict)) { + return $this->_propDict["registrationQuestionAnswers"]; + } else { + return null; + } + } + + /** + * Sets the registrationQuestionAnswers + * The registrant's answer to the registration questions. + * + * @param VirtualEventRegistrationQuestionAnswer[] $val The registrationQuestionAnswers + * + * @return VirtualEventRegistrant + */ + public function setRegistrationQuestionAnswers($val) + { + $this->_propDict["registrationQuestionAnswers"] = $val; + return $this; + } + + /** + * Gets the status + * Registration status of the registrant. Read-only. + * + * @return VirtualEventAttendeeRegistrationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\VirtualEventAttendeeRegistrationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new VirtualEventAttendeeRegistrationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Registration status of the registrant. Read-only. + * + * @param VirtualEventAttendeeRegistrationStatus $val The status + * + * @return VirtualEventRegistrant + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userId + * The registrant's AAD user ID. Only appears when the registrant is registered in AAD. + * + * @return string|null The userId + */ + public function getUserId() + { + if (array_key_exists("userId", $this->_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * The registrant's AAD user ID. Only appears when the registrant is registered in AAD. + * + * @param string $val The userId + * + * @return VirtualEventRegistrant + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php new file mode 100644 index 00000000000..40a2b186c46 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistration.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["capacity"]; + } else { + return null; + } + } + + /** + * Sets the capacity + * Total capacity of the virtual event. + * + * @param int $val The capacity + * + * @return VirtualEventRegistration + */ + public function setCapacity($val) + { + $this->_propDict["capacity"] = intval($val); + return $this; + } + + /** + * Gets the registrationWebUrl + * Registration URL of the virtual event. + * + * @return string|null The registrationWebUrl + */ + public function getRegistrationWebUrl() + { + if (array_key_exists("registrationWebUrl", $this->_propDict)) { + return $this->_propDict["registrationWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the registrationWebUrl + * Registration URL of the virtual event. + * + * @param string $val The registrationWebUrl + * + * @return VirtualEventRegistration + */ + public function setRegistrationWebUrl($val) + { + $this->_propDict["registrationWebUrl"] = $val; + return $this; + } + + + /** + * Gets the questions + * Registration questions. + * + * @return array|null The questions + */ + public function getQuestions() + { + if (array_key_exists("questions", $this->_propDict)) { + return $this->_propDict["questions"]; + } else { + return null; + } + } + + /** + * Sets the questions + * Registration questions. + * + * @param VirtualEventRegistrationQuestion[] $val The questions + * + * @return VirtualEventRegistration + */ + public function setQuestions($val) + { + $this->_propDict["questions"] = $val; + return $this; + } + + + /** + * Gets the registrants + * Information of attendees who have registered for the virtual event. + * + * @return array|null The registrants + */ + public function getRegistrants() + { + if (array_key_exists("registrants", $this->_propDict)) { + return $this->_propDict["registrants"]; + } else { + return null; + } + } + + /** + * Sets the registrants + * Information of attendees who have registered for the virtual event. + * + * @param VirtualEventRegistrant[] $val The registrants + * + * @return VirtualEventRegistration + */ + public function setRegistrants($val) + { + $this->_propDict["registrants"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestion.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestion.php new file mode 100644 index 00000000000..ae8dc3397c7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestion.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["answerChoices"]; + } else { + return null; + } + } + + /** + * Sets the answerChoices + * Answer choices when answerInputType is singleChoice or multiChoice. + * + * @param string[] $val The answerChoices + * + * @return VirtualEventRegistrationQuestion + */ + public function setAnswerChoices($val) + { + $this->_propDict["answerChoices"] = $val; + return $this; + } + + /** + * Gets the answerInputType + * Input type of the registration question answer. + * + * @return VirtualEventRegistrationQuestionAnswerInputType|null The answerInputType + */ + public function getAnswerInputType() + { + if (array_key_exists("answerInputType", $this->_propDict)) { + if (is_a($this->_propDict["answerInputType"], "\Beta\Microsoft\Graph\Model\VirtualEventRegistrationQuestionAnswerInputType") || is_null($this->_propDict["answerInputType"])) { + return $this->_propDict["answerInputType"]; + } else { + $this->_propDict["answerInputType"] = new VirtualEventRegistrationQuestionAnswerInputType($this->_propDict["answerInputType"]); + return $this->_propDict["answerInputType"]; + } + } + return null; + } + + /** + * Sets the answerInputType + * Input type of the registration question answer. + * + * @param VirtualEventRegistrationQuestionAnswerInputType $val The answerInputType + * + * @return VirtualEventRegistrationQuestion + */ + public function setAnswerInputType($val) + { + $this->_propDict["answerInputType"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the registration question. + * + * @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 + * Display name of the registration question. + * + * @param string $val The displayName + * + * @return VirtualEventRegistrationQuestion + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isRequired + * Indicates whether the question is required to answer. Default value is false. + * + * @return bool|null The isRequired + */ + public function getIsRequired() + { + if (array_key_exists("isRequired", $this->_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Indicates whether the question is required to answer. Default value is false. + * + * @param bool $val The isRequired + * + * @return VirtualEventRegistrationQuestion + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = boolval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswer.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswer.php new file mode 100644 index 00000000000..9bc181bb9e5 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswer.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["booleanValue"]; + } else { + return null; + } + } + + /** + * Sets the booleanValue + * Boolean answer of the virtualEventRegistrationQuestion. Only appears when answerInputType is boolean. + * + * @param bool $val The value of the booleanValue + * + * @return VirtualEventRegistrationQuestionAnswer + */ + public function setBooleanValue($val) + { + $this->_propDict["booleanValue"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name of the registration question. + * + * @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 + * Display name of the registration question. + * + * @param string $val The value of the displayName + * + * @return VirtualEventRegistrationQuestionAnswer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the multiChoiceValues + * Collection of text answer of the virtualEventRegistrationQuestion. Only appears when answerInputType is multiChoice. + * + * @return string|null The multiChoiceValues + */ + public function getMultiChoiceValues() + { + if (array_key_exists("multiChoiceValues", $this->_propDict)) { + return $this->_propDict["multiChoiceValues"]; + } else { + return null; + } + } + + /** + * Sets the multiChoiceValues + * Collection of text answer of the virtualEventRegistrationQuestion. Only appears when answerInputType is multiChoice. + * + * @param string $val The value of the multiChoiceValues + * + * @return VirtualEventRegistrationQuestionAnswer + */ + public function setMultiChoiceValues($val) + { + $this->_propDict["multiChoiceValues"] = $val; + return $this; + } + /** + * Gets the questionId + * id of the virtualEventRegistrationQuestion. + * + * @return string|null The questionId + */ + public function getQuestionId() + { + if (array_key_exists("questionId", $this->_propDict)) { + return $this->_propDict["questionId"]; + } else { + return null; + } + } + + /** + * Sets the questionId + * id of the virtualEventRegistrationQuestion. + * + * @param string $val The value of the questionId + * + * @return VirtualEventRegistrationQuestionAnswer + */ + public function setQuestionId($val) + { + $this->_propDict["questionId"] = $val; + return $this; + } + /** + * Gets the value + * Text answer of the virtualEventRegistrationQuestion. Appears when answerInputType is text, multilineText or singleChoice. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Text answer of the virtualEventRegistrationQuestion. Appears when answerInputType is text, multilineText or singleChoice. + * + * @param string $val The value of the value + * + * @return VirtualEventRegistrationQuestionAnswer + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswerInputType.php b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswerInputType.php new file mode 100644 index 00000000000..79abf7e3f56 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventRegistrationQuestionAnswerInputType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["audience"], "\Beta\Microsoft\Graph\Model\MeetingAudience") || is_null($this->_propDict["audience"])) { + return $this->_propDict["audience"]; + } else { + $this->_propDict["audience"] = new MeetingAudience($this->_propDict["audience"]); + return $this->_propDict["audience"]; + } + } + return null; + } + + /** + * Sets the audience + * To whom the webinar is visible. + * + * @param MeetingAudience $val The audience + * + * @return VirtualEventWebinar + */ + public function setAudience($val) + { + $this->_propDict["audience"] = $val; + return $this; + } + + + /** + * Gets the coOrganizers + * Identity information of co-organizers of the webinar. + * + * @return array|null The coOrganizers + */ + public function getCoOrganizers() + { + if (array_key_exists("coOrganizers", $this->_propDict)) { + return $this->_propDict["coOrganizers"]; + } else { + return null; + } + } + + /** + * Sets the coOrganizers + * Identity information of co-organizers of the webinar. + * + * @param CommunicationsUserIdentity[] $val The coOrganizers + * + * @return VirtualEventWebinar + */ + public function setCoOrganizers($val) + { + $this->_propDict["coOrganizers"] = $val; + return $this; + } + + /** + * Gets the registration + * Registration configuration of the webinar. + * + * @return VirtualEventRegistration|null The registration + */ + public function getRegistration() + { + if (array_key_exists("registration", $this->_propDict)) { + if (is_a($this->_propDict["registration"], "\Beta\Microsoft\Graph\Model\VirtualEventRegistration") || is_null($this->_propDict["registration"])) { + return $this->_propDict["registration"]; + } else { + $this->_propDict["registration"] = new VirtualEventRegistration($this->_propDict["registration"]); + return $this->_propDict["registration"]; + } + } + return null; + } + + /** + * Sets the registration + * Registration configuration of the webinar. + * + * @param VirtualEventRegistration $val The registration + * + * @return VirtualEventWebinar + */ + public function setRegistration($val) + { + $this->_propDict["registration"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEventsRoot.php b/src/Beta/Microsoft/Graph/Model/VirtualEventsRoot.php new file mode 100644 index 00000000000..8ce63ff0c48 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/VirtualEventsRoot.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * + * @param VirtualEvent[] $val The events + * + * @return VirtualEventsRoot + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + + + /** + * Gets the webinars + * + * @return array|null The webinars + */ + public function getWebinars() + { + if (array_key_exists("webinars", $this->_propDict)) { + return $this->_propDict["webinars"]; + } else { + return null; + } + } + + /** + * Sets the webinars + * + * @param VirtualEventWebinar[] $val The webinars + * + * @return VirtualEventsRoot + */ + public function setWebinars($val) + { + $this->_propDict["webinars"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php index c0565626007..35c1517fa90 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @return bool|null The useDeviceContext */ @@ -51,7 +51,7 @@ public function getUseDeviceContext() /** * Sets the useDeviceContext - * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + * Whether or not to use device execution context for Windows AppX mobile app. * * @param bool $val The value of the useDeviceContext * diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php new file mode 100644 index 00000000000..f0e6787b692 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php @@ -0,0 +1,107 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the NetworkAccessRoot + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return NetworkAccessRoot + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php index e330f52ae93..32e91b3727b 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Alert.php @@ -267,7 +267,7 @@ public function setDescription($val) /** * Gets the detectionSource - * Detection technology or sensor that identified the notable component or activity. + * Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @return DetectionSource|null The detectionSource */ @@ -286,7 +286,7 @@ public function getDetectionSource() /** * Sets the detectionSource - * Detection technology or sensor that identified the notable component or activity. + * Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @param DetectionSource $val The detectionSource * @@ -669,7 +669,7 @@ public function setResolvedDateTime($val) /** * Gets the serviceSource - * The service or product that created this alert. Possible values are: microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftCloudAppSecurity, microsoftDefenderForOffice365, microsoft365Defender, aadIdentityProtection, appGovernance, dataLossPrevention. + * The service or product that created this alert. Possible values are: unknown, microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftDefenderForCloudApps, microsoftDefenderForOffice365, microsoft365Defender, azureAdIdentityProtection, microsoftAppGovernance, dataLossPrevention, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @return ServiceSource|null The serviceSource */ @@ -688,7 +688,7 @@ public function getServiceSource() /** * Sets the serviceSource - * The service or product that created this alert. Possible values are: microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftCloudAppSecurity, microsoftDefenderForOffice365, microsoft365Defender, aadIdentityProtection, appGovernance, dataLossPrevention. + * The service or product that created this alert. Possible values are: unknown, microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftDefenderForCloudApps, microsoftDefenderForOffice365, microsoft365Defender, azureAdIdentityProtection, microsoftAppGovernance, dataLossPrevention, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @param ServiceSource $val The serviceSource * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php index 611ce03e3d1..0d4e7374ed4 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AlertEvidence.php @@ -26,7 +26,7 @@ class AlertEvidence extends \Beta\Microsoft\Graph\Model\Entity /** * Gets the createdDateTime - * The time the evidence was created and added to the alert. + * The date and time when the evidence was created and added to the alert. 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. * * @return \DateTime|null The createdDateTime */ @@ -45,7 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The time the evidence was created and added to the alert. + * The date and time when the evidence was created and added to the alert. 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. * * @param \DateTime $val The value to assign to the createdDateTime * @@ -56,6 +56,32 @@ public function setCreatedDateTime($val) $this->_propDict["createdDateTime"] = $val; return $this; } + /** + * Gets the detailedRoles + * + * @return string|null The detailedRoles + */ + public function getDetailedRoles() + { + if (array_key_exists("detailedRoles", $this->_propDict)) { + return $this->_propDict["detailedRoles"]; + } else { + return null; + } + } + + /** + * Sets the detailedRoles + * + * @param string $val The value of the detailedRoles + * + * @return AlertEvidence + */ + public function setDetailedRoles($val) + { + $this->_propDict["detailedRoles"] = $val; + return $this; + } /** * Gets the remediationStatus @@ -120,7 +146,7 @@ public function setRemediationStatusDetails($val) /** * Gets the roles - * 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'. + * 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. * * @return EvidenceRole|null The roles */ @@ -139,7 +165,7 @@ public function getRoles() /** * Sets the roles - * 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'. + * 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. * * @param EvidenceRole $val The value to assign to the roles * @@ -152,7 +178,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, high value assets, etc. + * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. * * @return string|null The tags */ @@ -167,7 +193,7 @@ public function getTags() /** * Sets the tags - * Array of custom tags associated with an evidence instance, for example to denote a group of devices, high value assets, etc. + * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. * * @param string $val The value of the tags * diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AmazonResourceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AmazonResourceEvidence.php new file mode 100644 index 00000000000..a926d65ce6e --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AmazonResourceEvidence.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["amazonAccountId"]; + } else { + return null; + } + } + + /** + * Sets the amazonAccountId + * The unique identifier for the Amazon account. + * + * @param string $val The value of the amazonAccountId + * + * @return AmazonResourceEvidence + */ + public function setAmazonAccountId($val) + { + $this->_propDict["amazonAccountId"] = $val; + return $this; + } + /** + * Gets the amazonResourceId + * The Amazon resource identifier (ARN) for the cloud resource. + * + * @return string|null The amazonResourceId + */ + public function getAmazonResourceId() + { + if (array_key_exists("amazonResourceId", $this->_propDict)) { + return $this->_propDict["amazonResourceId"]; + } else { + return null; + } + } + + /** + * Sets the amazonResourceId + * The Amazon resource identifier (ARN) for the cloud resource. + * + * @param string $val The value of the amazonResourceId + * + * @return AmazonResourceEvidence + */ + public function setAmazonResourceId($val) + { + $this->_propDict["amazonResourceId"] = $val; + return $this; + } + /** + * Gets the resourceName + * The name of the resource. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * The name of the resource. + * + * @param string $val The value of the resourceName + * + * @return AmazonResourceEvidence + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + /** + * Gets the resourceType + * The type of the resource. + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * The type of the resource. + * + * @param string $val The value of the resourceType + * + * @return AmazonResourceEvidence + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AzureResourceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AzureResourceEvidence.php new file mode 100644 index 00000000000..42655108a2d --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AzureResourceEvidence.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The unique identifier for the Azure resource. + * + * @param string $val The value of the resourceId + * + * @return AzureResourceEvidence + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + /** + * Gets the resourceName + * The name of the resource. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * The name of the resource. + * + * @param string $val The value of the resourceName + * + * @return AzureResourceEvidence + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + /** + * Gets the resourceType + * The type of the resource. + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * The type of the resource. + * + * @param string $val The value of the resourceType + * + * @return AzureResourceEvidence + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionSource.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionSource.php index c0301f43e3b..bb9cfd77894 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionSource.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DetectionSource.php @@ -47,4 +47,5 @@ class DetectionSource extends Enum const APP_GOVERNANCE_POLICY = "appGovernancePolicy"; const APP_GOVERNANCE_DETECTION = "appGovernanceDetection"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const MICROSOFT_DEFENDER_FOR_CLOUD = "microsoftDefenderForCloud"; } diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php index 2fc59f6119d..e4d123ef704 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DeviceEvidence.php @@ -178,6 +178,32 @@ public function setHealthStatus($val) $this->_propDict["healthStatus"] = $val; return $this; } + /** + * Gets the ipInterfaces + * + * @return string|null The ipInterfaces + */ + public function getIpInterfaces() + { + if (array_key_exists("ipInterfaces", $this->_propDict)) { + return $this->_propDict["ipInterfaces"]; + } else { + return null; + } + } + + /** + * Sets the ipInterfaces + * + * @param string $val The value of the ipInterfaces + * + * @return DeviceEvidence + */ + public function setIpInterfaces($val) + { + $this->_propDict["ipInterfaces"] = $val; + return $this; + } /** * Gets the loggedOnUsers diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/GoogleCloudLocationType.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/GoogleCloudLocationType.php new file mode 100644 index 00000000000..ade3754077d --- /dev/null +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/GoogleCloudLocationType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["location"]; + } else { + return null; + } + } + + /** + * Sets the location + * The zone or region where the resource is located. + * + * @param string $val The value of the location + * + * @return GoogleCloudResourceEvidence + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the locationType + * The type of location. Possible values are: unknown, regional, zonal, global, unknownFutureValue. + * + * @return GoogleCloudLocationType|null The locationType + */ + public function getLocationType() + { + if (array_key_exists("locationType", $this->_propDict)) { + if (is_a($this->_propDict["locationType"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\GoogleCloudLocationType") || is_null($this->_propDict["locationType"])) { + return $this->_propDict["locationType"]; + } else { + $this->_propDict["locationType"] = new GoogleCloudLocationType($this->_propDict["locationType"]); + return $this->_propDict["locationType"]; + } + } + return null; + } + + /** + * Sets the locationType + * The type of location. Possible values are: unknown, regional, zonal, global, unknownFutureValue. + * + * @param GoogleCloudLocationType $val The value to assign to the locationType + * + * @return GoogleCloudResourceEvidence The GoogleCloudResourceEvidence + */ + public function setLocationType($val) + { + $this->_propDict["locationType"] = $val; + return $this; + } + /** + * Gets the projectId + * The Google project ID as defined by the user. + * + * @return string|null The projectId + */ + public function getProjectId() + { + if (array_key_exists("projectId", $this->_propDict)) { + return $this->_propDict["projectId"]; + } else { + return null; + } + } + + /** + * Sets the projectId + * The Google project ID as defined by the user. + * + * @param string $val The value of the projectId + * + * @return GoogleCloudResourceEvidence + */ + public function setProjectId($val) + { + $this->_propDict["projectId"] = $val; + return $this; + } + /** + * Gets the projectNumber + * The project number assigned by Google. + * + * @return int|null The projectNumber + */ + public function getProjectNumber() + { + if (array_key_exists("projectNumber", $this->_propDict)) { + return $this->_propDict["projectNumber"]; + } else { + return null; + } + } + + /** + * Sets the projectNumber + * The project number assigned by Google. + * + * @param int $val The value of the projectNumber + * + * @return GoogleCloudResourceEvidence + */ + public function setProjectNumber($val) + { + $this->_propDict["projectNumber"] = $val; + return $this; + } + /** + * Gets the resourceName + * The name of the resource. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * The name of the resource. + * + * @param string $val The value of the resourceName + * + * @return GoogleCloudResourceEvidence + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + /** + * Gets the resourceType + * The type of the resource. + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * The type of the resource. + * + * @param string $val The value of the resourceType + * + * @return GoogleCloudResourceEvidence + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IncidentStatus.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IncidentStatus.php index 36a2dd121b2..03438220c75 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IncidentStatus.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/IncidentStatus.php @@ -34,4 +34,5 @@ class IncidentStatus extends Enum const IN_PROGRESS = "inProgress"; const REDIRECTED = "redirected"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const AWAITING_ACTION = "awaitingAction"; } diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php index 605f6427994..d3626683b4e 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RegistryValueEvidence.php @@ -23,6 +23,32 @@ */ class RegistryValueEvidence extends AlertEvidence { + /** + * Gets the mdeDeviceId + * + * @return string|null The mdeDeviceId + */ + public function getMdeDeviceId() + { + if (array_key_exists("mdeDeviceId", $this->_propDict)) { + return $this->_propDict["mdeDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the mdeDeviceId + * + * @param string $val The value of the mdeDeviceId + * + * @return RegistryValueEvidence + */ + public function setMdeDeviceId($val) + { + $this->_propDict["mdeDeviceId"] = $val; + return $this; + } /** * Gets the registryHive * Registry hive of the key that the recorded action was applied to. diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ServiceSource.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ServiceSource.php index e7fd040b0ea..eb3a99314e7 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ServiceSource.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ServiceSource.php @@ -39,4 +39,5 @@ class ServiceSource extends Enum const MICROSOFT_APP_GOVERNANCE = "microsoftAppGovernance"; const DATA_LOSS_PREVENTION = "dataLossPrevention"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const MICROSOFT_DEFENDER_FOR_CLOUD = "microsoftDefenderForCloud"; } diff --git a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAccount.php b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAccount.php index 9554065b874..9d2dfd2695b 100644 --- a/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAccount.php +++ b/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserAccount.php @@ -25,7 +25,7 @@ class UserAccount extends \Beta\Microsoft\Graph\Model\Entity { /** * Gets the accountName - * The user account's displayed name. + * The displayed name of the user account. * * @return string|null The accountName */ @@ -40,7 +40,7 @@ public function getAccountName() /** * Sets the accountName - * The user account's displayed name. + * The displayed name of the user account. * * @param string $val The value of the accountName * @@ -53,7 +53,7 @@ public function setAccountName($val) } /** * Gets the azureAdUserId - * The user object identifier in Azure AD. + * The user object identifier in Azure Active Directory (Azure AD). * * @return string|null The azureAdUserId */ @@ -68,7 +68,7 @@ public function getAzureAdUserId() /** * Sets the azureAdUserId - * The user object identifier in Azure AD. + * The user object identifier in Azure Active Directory (Azure AD). * * @param string $val The value of the azureAdUserId * @@ -81,6 +81,7 @@ public function setAzureAdUserId($val) } /** * Gets the displayName + * The user display name in Azure AD. * * @return string|null The displayName */ @@ -95,6 +96,7 @@ public function getDisplayName() /** * Sets the displayName + * The user display name in Azure AD. * * @param string $val The value of the displayName * From cc170f2c18350dcf3c7434e9afdb93c6dd1c6645 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 6 Jun 2023 10:14:47 +0000 Subject: [PATCH 05/10] Update generated files with build 116509 --- src/CallRecords/Model/MediaStream.php | 4 +- src/Model/AllowedValue.php | 2 + src/Model/Application.php | 31 + src/Model/AttributeDefinition.php | 363 +++++++++++ src/Model/AttributeDefinitionMetadata.php | 41 ++ .../AttributeDefinitionMetadataEntry.php | 83 +++ src/Model/AttributeFlowBehavior.php | 34 ++ src/Model/AttributeFlowType.php | 37 ++ src/Model/AttributeMapping.php | 223 +++++++ src/Model/AttributeMappingFunctionSchema.php | 55 ++ src/Model/AttributeMappingParameterSchema.php | 135 +++++ src/Model/AttributeMappingSource.php | 140 +++++ src/Model/AttributeMappingSourceType.php | 35 ++ src/Model/AttributeSet.php | 4 + src/Model/AttributeType.php | 38 ++ src/Model/ChatMessage.php | 2 + src/Model/ChatMessageHistoryItem.php | 6 + src/Model/CollapseProperty.php | 82 +++ src/Model/ContainerFilter.php | 52 ++ src/Model/ConversationMember.php | 4 +- .../CustomSecurityAttributeDefinition.php | 18 + src/Model/DefaultUserRolePermissions.php | 36 +- src/Model/DelegatedAdminRelationship.php | 4 +- src/Model/Directory.php | 4 + src/Model/DirectoryDefinition.php | 198 ++++++ .../DirectoryDefinitionDiscoverabilities.php | 38 ++ src/Model/EducationSubmission.php | 4 +- src/Model/EntityType.php | 2 + src/Model/EntryExportStatus.php | 37 ++ src/Model/EntrySyncOperation.php | 36 ++ src/Model/EscrowBehavior.php | 34 ++ src/Model/ExpressionInputObject.php | 88 +++ src/Model/Filter.php | 119 ++++ src/Model/FilterClause.php | 109 ++++ src/Model/FilterGroup.php | 83 +++ src/Model/FilterOperand.php | 52 ++ src/Model/FilterOperatorSchema.php | 117 ++++ src/Model/Group.php | 4 +- src/Model/GroupFilter.php | 52 ++ src/Model/KeyCredential.php | 4 +- src/Model/LayoutTemplateType.php | 35 ++ src/Model/LoginPageLayoutConfiguration.php | 109 ++++ src/Model/LoginPageTextVisibilitySettings.php | 182 ++++++ src/Model/Mutability.php | 36 ++ src/Model/ObjectDefinition.php | 140 +++++ src/Model/ObjectDefinitionMetadata.php | 39 ++ src/Model/ObjectDefinitionMetadataEntry.php | 83 +++ src/Model/ObjectFlowTypes.php | 36 ++ src/Model/ObjectMapping.php | 254 ++++++++ src/Model/ObjectMappingMetadata.php | 39 ++ src/Model/ObjectMappingMetadataEntry.php | 83 +++ ...ineMeetingContentSharingDisabledReason.php | 34 ++ src/Model/OnlineMeetingRestricted.php | 92 +++ .../OnlineMeetingVideoDisabledReason.php | 34 ++ .../OrganizationalBrandingProperties.php | 564 ++++++++++++++++++ src/Model/OutlookCategory.php | 4 +- src/Model/ParseExpressionResponse.php | 166 ++++++ src/Model/Participant.php | 33 + src/Model/Person.php | 4 +- src/Model/PublicErrorResponse.php | 57 ++ src/Model/QuarantineReason.php | 40 ++ src/Model/ReferencedObject.php | 78 +++ ...ScopeOperatorMultiValuedComparisonType.php | 34 ++ src/Model/ScopeOperatorType.php | 34 ++ src/Model/SearchHit.php | 28 + src/Model/SearchRequest.php | 31 + src/Model/SecureScoreControlProfile.php | 4 +- src/Model/ServicePrincipal.php | 31 + ...ringKeyAttributeMappingSourceValuePair.php | 83 +++ src/Model/StringKeyLongValuePair.php | 78 +++ src/Model/StringKeyObjectValuePair.php | 52 ++ src/Model/StringKeyStringValuePair.php | 78 +++ src/Model/SubscribedSku.php | 81 +++ src/Model/Synchronization.php | 111 ++++ src/Model/SynchronizationDisposition.php | 35 ++ src/Model/SynchronizationError.php | 104 ++++ src/Model/SynchronizationJob.php | 175 ++++++ ...ynchronizationJobApplicationParameters.php | 83 +++ .../SynchronizationJobRestartCriteria.php | 57 ++ src/Model/SynchronizationJobRestartScope.php | 39 ++ src/Model/SynchronizationJobSubject.php | 109 ++++ src/Model/SynchronizationLinkedObjects.php | 119 ++++ src/Model/SynchronizationMetadata.php | 41 ++ src/Model/SynchronizationMetadataEntry.php | 83 +++ src/Model/SynchronizationProgress.php | 135 +++++ src/Model/SynchronizationQuarantine.php | 207 +++++++ src/Model/SynchronizationRule.php | 306 ++++++++++ src/Model/SynchronizationSchedule.php | 119 ++++ src/Model/SynchronizationScheduleState.php | 35 ++ src/Model/SynchronizationSchema.php | 110 ++++ src/Model/SynchronizationSecret.php | 77 +++ ...ynchronizationSecretKeyStringValuePair.php | 83 +++ src/Model/SynchronizationStatus.php | 383 ++++++++++++ src/Model/SynchronizationStatusCode.php | 37 ++ src/Model/SynchronizationTaskExecution.php | 410 +++++++++++++ .../SynchronizationTaskExecutionResult.php | 35 ++ src/Model/SynchronizationTemplate.php | 221 +++++++ src/SecurityNamespace/Model/Alert.php | 8 +- src/SecurityNamespace/Model/AlertEvidence.php | 38 +- .../Model/AmazonResourceEvidence.php | 138 +++++ .../Model/AzureResourceEvidence.php | 110 ++++ .../Model/DetectionSource.php | 1 + .../Model/DeviceEvidence.php | 26 + .../Model/GoogleCloudLocationType.php | 37 ++ .../Model/GoogleCloudResourceEvidence.php | 199 ++++++ .../Model/IncidentStatus.php | 1 + .../Model/RegistryValueEvidence.php | 26 + src/SecurityNamespace/Model/ServiceSource.php | 1 + src/SecurityNamespace/Model/UserAccount.php | 10 +- 109 files changed, 8759 insertions(+), 36 deletions(-) create mode 100644 src/Model/AttributeDefinition.php create mode 100644 src/Model/AttributeDefinitionMetadata.php create mode 100644 src/Model/AttributeDefinitionMetadataEntry.php create mode 100644 src/Model/AttributeFlowBehavior.php create mode 100644 src/Model/AttributeFlowType.php create mode 100644 src/Model/AttributeMapping.php create mode 100644 src/Model/AttributeMappingFunctionSchema.php create mode 100644 src/Model/AttributeMappingParameterSchema.php create mode 100644 src/Model/AttributeMappingSource.php create mode 100644 src/Model/AttributeMappingSourceType.php create mode 100644 src/Model/AttributeType.php create mode 100644 src/Model/CollapseProperty.php create mode 100644 src/Model/ContainerFilter.php create mode 100644 src/Model/DirectoryDefinition.php create mode 100644 src/Model/DirectoryDefinitionDiscoverabilities.php create mode 100644 src/Model/EntryExportStatus.php create mode 100644 src/Model/EntrySyncOperation.php create mode 100644 src/Model/EscrowBehavior.php create mode 100644 src/Model/ExpressionInputObject.php create mode 100644 src/Model/Filter.php create mode 100644 src/Model/FilterClause.php create mode 100644 src/Model/FilterGroup.php create mode 100644 src/Model/FilterOperand.php create mode 100644 src/Model/FilterOperatorSchema.php create mode 100644 src/Model/GroupFilter.php create mode 100644 src/Model/LayoutTemplateType.php create mode 100644 src/Model/LoginPageLayoutConfiguration.php create mode 100644 src/Model/LoginPageTextVisibilitySettings.php create mode 100644 src/Model/Mutability.php create mode 100644 src/Model/ObjectDefinition.php create mode 100644 src/Model/ObjectDefinitionMetadata.php create mode 100644 src/Model/ObjectDefinitionMetadataEntry.php create mode 100644 src/Model/ObjectFlowTypes.php create mode 100644 src/Model/ObjectMapping.php create mode 100644 src/Model/ObjectMappingMetadata.php create mode 100644 src/Model/ObjectMappingMetadataEntry.php create mode 100644 src/Model/OnlineMeetingContentSharingDisabledReason.php create mode 100644 src/Model/OnlineMeetingRestricted.php create mode 100644 src/Model/OnlineMeetingVideoDisabledReason.php create mode 100644 src/Model/ParseExpressionResponse.php create mode 100644 src/Model/PublicErrorResponse.php create mode 100644 src/Model/QuarantineReason.php create mode 100644 src/Model/ReferencedObject.php create mode 100644 src/Model/ScopeOperatorMultiValuedComparisonType.php create mode 100644 src/Model/ScopeOperatorType.php create mode 100644 src/Model/StringKeyAttributeMappingSourceValuePair.php create mode 100644 src/Model/StringKeyLongValuePair.php create mode 100644 src/Model/StringKeyObjectValuePair.php create mode 100644 src/Model/StringKeyStringValuePair.php create mode 100644 src/Model/Synchronization.php create mode 100644 src/Model/SynchronizationDisposition.php create mode 100644 src/Model/SynchronizationError.php create mode 100644 src/Model/SynchronizationJob.php create mode 100644 src/Model/SynchronizationJobApplicationParameters.php create mode 100644 src/Model/SynchronizationJobRestartCriteria.php create mode 100644 src/Model/SynchronizationJobRestartScope.php create mode 100644 src/Model/SynchronizationJobSubject.php create mode 100644 src/Model/SynchronizationLinkedObjects.php create mode 100644 src/Model/SynchronizationMetadata.php create mode 100644 src/Model/SynchronizationMetadataEntry.php create mode 100644 src/Model/SynchronizationProgress.php create mode 100644 src/Model/SynchronizationQuarantine.php create mode 100644 src/Model/SynchronizationRule.php create mode 100644 src/Model/SynchronizationSchedule.php create mode 100644 src/Model/SynchronizationScheduleState.php create mode 100644 src/Model/SynchronizationSchema.php create mode 100644 src/Model/SynchronizationSecret.php create mode 100644 src/Model/SynchronizationSecretKeyStringValuePair.php create mode 100644 src/Model/SynchronizationStatus.php create mode 100644 src/Model/SynchronizationStatusCode.php create mode 100644 src/Model/SynchronizationTaskExecution.php create mode 100644 src/Model/SynchronizationTaskExecutionResult.php create mode 100644 src/Model/SynchronizationTemplate.php create mode 100644 src/SecurityNamespace/Model/AmazonResourceEvidence.php create mode 100644 src/SecurityNamespace/Model/AzureResourceEvidence.php create mode 100644 src/SecurityNamespace/Model/GoogleCloudLocationType.php create mode 100644 src/SecurityNamespace/Model/GoogleCloudResourceEvidence.php diff --git a/src/CallRecords/Model/MediaStream.php b/src/CallRecords/Model/MediaStream.php index d1721ba0205..580992a931d 100644 --- a/src/CallRecords/Model/MediaStream.php +++ b/src/CallRecords/Model/MediaStream.php @@ -26,7 +26,7 @@ class MediaStream extends \Microsoft\Graph\Model\Entity /** * Gets the audioCodec - * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue. + * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. * * @return AudioCodec|null The audioCodec */ @@ -45,7 +45,7 @@ public function getAudioCodec() /** * Sets the audioCodec - * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue. + * Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue. * * @param AudioCodec $val The value to assign to the audioCodec * diff --git a/src/Model/AllowedValue.php b/src/Model/AllowedValue.php index c48b94ecb36..e92a15686cd 100644 --- a/src/Model/AllowedValue.php +++ b/src/Model/AllowedValue.php @@ -26,6 +26,7 @@ class AllowedValue extends Entity { /** * Gets the isActive + * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. * * @return bool|null The isActive */ @@ -40,6 +41,7 @@ public function getIsActive() /** * Sets the isActive + * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. * * @param bool $val The isActive * diff --git a/src/Model/Application.php b/src/Model/Application.php index 9df4ba352ab..acbe13a3edc 100644 --- a/src/Model/Application.php +++ b/src/Model/Application.php @@ -1325,4 +1325,35 @@ public function setTokenLifetimePolicies($val) return $this; } + /** + * Gets the synchronization + * + * @return Synchronization|null The synchronization + */ + public function getSynchronization() + { + if (array_key_exists("synchronization", $this->_propDict)) { + if (is_a($this->_propDict["synchronization"], "\Microsoft\Graph\Model\Synchronization") || is_null($this->_propDict["synchronization"])) { + return $this->_propDict["synchronization"]; + } else { + $this->_propDict["synchronization"] = new Synchronization($this->_propDict["synchronization"]); + return $this->_propDict["synchronization"]; + } + } + return null; + } + + /** + * Sets the synchronization + * + * @param Synchronization $val The synchronization + * + * @return Application + */ + public function setSynchronization($val) + { + $this->_propDict["synchronization"] = $val; + return $this; + } + } diff --git a/src/Model/AttributeDefinition.php b/src/Model/AttributeDefinition.php new file mode 100644 index 00000000000..2cd1b44ef03 --- /dev/null +++ b/src/Model/AttributeDefinition.php @@ -0,0 +1,363 @@ +_propDict)) { + return $this->_propDict["anchor"]; + } else { + return null; + } + } + + /** + * Sets the anchor + * + * @param bool $val The value of the anchor + * + * @return AttributeDefinition + */ + public function setAnchor($val) + { + $this->_propDict["anchor"] = $val; + return $this; + } + + /** + * Gets the apiExpressions + * + * @return StringKeyStringValuePair|null The apiExpressions + */ + public function getApiExpressions() + { + if (array_key_exists("apiExpressions", $this->_propDict)) { + if (is_a($this->_propDict["apiExpressions"], "\Microsoft\Graph\Model\StringKeyStringValuePair") || is_null($this->_propDict["apiExpressions"])) { + return $this->_propDict["apiExpressions"]; + } else { + $this->_propDict["apiExpressions"] = new StringKeyStringValuePair($this->_propDict["apiExpressions"]); + return $this->_propDict["apiExpressions"]; + } + } + return null; + } + + /** + * Sets the apiExpressions + * + * @param StringKeyStringValuePair $val The value to assign to the apiExpressions + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setApiExpressions($val) + { + $this->_propDict["apiExpressions"] = $val; + return $this; + } + /** + * Gets the caseExact + * + * @return bool|null The caseExact + */ + public function getCaseExact() + { + if (array_key_exists("caseExact", $this->_propDict)) { + return $this->_propDict["caseExact"]; + } else { + return null; + } + } + + /** + * Sets the caseExact + * + * @param bool $val The value of the caseExact + * + * @return AttributeDefinition + */ + public function setCaseExact($val) + { + $this->_propDict["caseExact"] = $val; + return $this; + } + /** + * Gets the defaultValue + * + * @return string|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * + * @param string $val The value of the defaultValue + * + * @return AttributeDefinition + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + /** + * Gets the flowNullValues + * + * @return bool|null The flowNullValues + */ + public function getFlowNullValues() + { + if (array_key_exists("flowNullValues", $this->_propDict)) { + return $this->_propDict["flowNullValues"]; + } else { + return null; + } + } + + /** + * Sets the flowNullValues + * + * @param bool $val The value of the flowNullValues + * + * @return AttributeDefinition + */ + public function setFlowNullValues($val) + { + $this->_propDict["flowNullValues"] = $val; + return $this; + } + + /** + * Gets the metadata + * + * @return AttributeDefinitionMetadataEntry|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Microsoft\Graph\Model\AttributeDefinitionMetadataEntry") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new AttributeDefinitionMetadataEntry($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * + * @param AttributeDefinitionMetadataEntry $val The value to assign to the metadata + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + /** + * Gets the multivalued + * + * @return bool|null The multivalued + */ + public function getMultivalued() + { + if (array_key_exists("multivalued", $this->_propDict)) { + return $this->_propDict["multivalued"]; + } else { + return null; + } + } + + /** + * Sets the multivalued + * + * @param bool $val The value of the multivalued + * + * @return AttributeDefinition + */ + public function setMultivalued($val) + { + $this->_propDict["multivalued"] = $val; + return $this; + } + + /** + * Gets the mutability + * + * @return Mutability|null The mutability + */ + public function getMutability() + { + if (array_key_exists("mutability", $this->_propDict)) { + if (is_a($this->_propDict["mutability"], "\Microsoft\Graph\Model\Mutability") || is_null($this->_propDict["mutability"])) { + return $this->_propDict["mutability"]; + } else { + $this->_propDict["mutability"] = new Mutability($this->_propDict["mutability"]); + return $this->_propDict["mutability"]; + } + } + return null; + } + + /** + * Sets the mutability + * + * @param Mutability $val The value to assign to the mutability + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setMutability($val) + { + $this->_propDict["mutability"] = $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 AttributeDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the referencedObjects + * + * @return ReferencedObject|null The referencedObjects + */ + public function getReferencedObjects() + { + if (array_key_exists("referencedObjects", $this->_propDict)) { + if (is_a($this->_propDict["referencedObjects"], "\Microsoft\Graph\Model\ReferencedObject") || is_null($this->_propDict["referencedObjects"])) { + return $this->_propDict["referencedObjects"]; + } else { + $this->_propDict["referencedObjects"] = new ReferencedObject($this->_propDict["referencedObjects"]); + return $this->_propDict["referencedObjects"]; + } + } + return null; + } + + /** + * Sets the referencedObjects + * + * @param ReferencedObject $val The value to assign to the referencedObjects + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setReferencedObjects($val) + { + $this->_propDict["referencedObjects"] = $val; + return $this; + } + /** + * Gets the required + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * + * @param bool $val The value of the required + * + * @return AttributeDefinition + */ + public function setRequired($val) + { + $this->_propDict["required"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return AttributeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AttributeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttributeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param AttributeType $val The value to assign to the type + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/src/Model/AttributeDefinitionMetadata.php b/src/Model/AttributeDefinitionMetadata.php new file mode 100644 index 00000000000..b6366a854e8 --- /dev/null +++ b/src/Model/AttributeDefinitionMetadata.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Microsoft\Graph\Model\AttributeDefinitionMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new AttributeDefinitionMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * + * @param AttributeDefinitionMetadata $val The value to assign to the key + * + * @return AttributeDefinitionMetadataEntry The AttributeDefinitionMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return AttributeDefinitionMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/AttributeFlowBehavior.php b/src/Model/AttributeFlowBehavior.php new file mode 100644 index 00000000000..55969873a2a --- /dev/null +++ b/src/Model/AttributeFlowBehavior.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * + * @param string $val The value of the defaultValue + * + * @return AttributeMapping + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + /** + * Gets the exportMissingReferences + * + * @return bool|null The exportMissingReferences + */ + public function getExportMissingReferences() + { + if (array_key_exists("exportMissingReferences", $this->_propDict)) { + return $this->_propDict["exportMissingReferences"]; + } else { + return null; + } + } + + /** + * Sets the exportMissingReferences + * + * @param bool $val The value of the exportMissingReferences + * + * @return AttributeMapping + */ + public function setExportMissingReferences($val) + { + $this->_propDict["exportMissingReferences"] = $val; + return $this; + } + + /** + * Gets the flowBehavior + * + * @return AttributeFlowBehavior|null The flowBehavior + */ + public function getFlowBehavior() + { + if (array_key_exists("flowBehavior", $this->_propDict)) { + if (is_a($this->_propDict["flowBehavior"], "\Microsoft\Graph\Model\AttributeFlowBehavior") || is_null($this->_propDict["flowBehavior"])) { + return $this->_propDict["flowBehavior"]; + } else { + $this->_propDict["flowBehavior"] = new AttributeFlowBehavior($this->_propDict["flowBehavior"]); + return $this->_propDict["flowBehavior"]; + } + } + return null; + } + + /** + * Sets the flowBehavior + * + * @param AttributeFlowBehavior $val The value to assign to the flowBehavior + * + * @return AttributeMapping The AttributeMapping + */ + public function setFlowBehavior($val) + { + $this->_propDict["flowBehavior"] = $val; + return $this; + } + + /** + * Gets the flowType + * + * @return AttributeFlowType|null The flowType + */ + public function getFlowType() + { + if (array_key_exists("flowType", $this->_propDict)) { + if (is_a($this->_propDict["flowType"], "\Microsoft\Graph\Model\AttributeFlowType") || is_null($this->_propDict["flowType"])) { + return $this->_propDict["flowType"]; + } else { + $this->_propDict["flowType"] = new AttributeFlowType($this->_propDict["flowType"]); + return $this->_propDict["flowType"]; + } + } + return null; + } + + /** + * Sets the flowType + * + * @param AttributeFlowType $val The value to assign to the flowType + * + * @return AttributeMapping The AttributeMapping + */ + public function setFlowType($val) + { + $this->_propDict["flowType"] = $val; + return $this; + } + /** + * Gets the matchingPriority + * + * @return int|null The matchingPriority + */ + public function getMatchingPriority() + { + if (array_key_exists("matchingPriority", $this->_propDict)) { + return $this->_propDict["matchingPriority"]; + } else { + return null; + } + } + + /** + * Sets the matchingPriority + * + * @param int $val The value of the matchingPriority + * + * @return AttributeMapping + */ + public function setMatchingPriority($val) + { + $this->_propDict["matchingPriority"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return AttributeMappingSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\AttributeMappingSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new AttributeMappingSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param AttributeMappingSource $val The value to assign to the source + * + * @return AttributeMapping The AttributeMapping + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + /** + * Gets the targetAttributeName + * + * @return string|null The targetAttributeName + */ + public function getTargetAttributeName() + { + if (array_key_exists("targetAttributeName", $this->_propDict)) { + return $this->_propDict["targetAttributeName"]; + } else { + return null; + } + } + + /** + * Sets the targetAttributeName + * + * @param string $val The value of the targetAttributeName + * + * @return AttributeMapping + */ + public function setTargetAttributeName($val) + { + $this->_propDict["targetAttributeName"] = $val; + return $this; + } +} diff --git a/src/Model/AttributeMappingFunctionSchema.php b/src/Model/AttributeMappingFunctionSchema.php new file mode 100644 index 00000000000..41e19c7135c --- /dev/null +++ b/src/Model/AttributeMappingFunctionSchema.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["parameters"]; + } else { + return null; + } + } + + /** + * Sets the parameters + * + * @param AttributeMappingParameterSchema[] $val The parameters + * + * @return AttributeMappingFunctionSchema + */ + public function setParameters($val) + { + $this->_propDict["parameters"] = $val; + return $this; + } + +} diff --git a/src/Model/AttributeMappingParameterSchema.php b/src/Model/AttributeMappingParameterSchema.php new file mode 100644 index 00000000000..9769b1e5540 --- /dev/null +++ b/src/Model/AttributeMappingParameterSchema.php @@ -0,0 +1,135 @@ +_propDict)) { + return $this->_propDict["allowMultipleOccurrences"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleOccurrences + * + * @param bool $val The value of the allowMultipleOccurrences + * + * @return AttributeMappingParameterSchema + */ + public function setAllowMultipleOccurrences($val) + { + $this->_propDict["allowMultipleOccurrences"] = $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 AttributeMappingParameterSchema + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the required + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * + * @param bool $val The value of the required + * + * @return AttributeMappingParameterSchema + */ + public function setRequired($val) + { + $this->_propDict["required"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return AttributeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AttributeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttributeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param AttributeType $val The value to assign to the type + * + * @return AttributeMappingParameterSchema The AttributeMappingParameterSchema + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/src/Model/AttributeMappingSource.php b/src/Model/AttributeMappingSource.php new file mode 100644 index 00000000000..0435f4cfac0 --- /dev/null +++ b/src/Model/AttributeMappingSource.php @@ -0,0 +1,140 @@ +_propDict)) { + return $this->_propDict["expression"]; + } else { + return null; + } + } + + /** + * Sets the expression + * + * @param string $val The value of the expression + * + * @return AttributeMappingSource + */ + public function setExpression($val) + { + $this->_propDict["expression"] = $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 AttributeMappingSource + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parameters + * + * @return StringKeyAttributeMappingSourceValuePair|null The parameters + */ + public function getParameters() + { + if (array_key_exists("parameters", $this->_propDict)) { + if (is_a($this->_propDict["parameters"], "\Microsoft\Graph\Model\StringKeyAttributeMappingSourceValuePair") || is_null($this->_propDict["parameters"])) { + return $this->_propDict["parameters"]; + } else { + $this->_propDict["parameters"] = new StringKeyAttributeMappingSourceValuePair($this->_propDict["parameters"]); + return $this->_propDict["parameters"]; + } + } + return null; + } + + /** + * Sets the parameters + * + * @param StringKeyAttributeMappingSourceValuePair $val The value to assign to the parameters + * + * @return AttributeMappingSource The AttributeMappingSource + */ + public function setParameters($val) + { + $this->_propDict["parameters"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return AttributeMappingSourceType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AttributeMappingSourceType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttributeMappingSourceType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param AttributeMappingSourceType $val The value to assign to the type + * + * @return AttributeMappingSource The AttributeMappingSource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/src/Model/AttributeMappingSourceType.php b/src/Model/AttributeMappingSourceType.php new file mode 100644 index 00000000000..6783713ce8f --- /dev/null +++ b/src/Model/AttributeMappingSourceType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["fields"]; + } else { + return null; + } + } + + /** + * Sets the fields + * Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties. Required. + * + * @param string $val The value of the fields + * + * @return CollapseProperty + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + /** + * Gets the limit + * Defines a maximum limit count for this field. This numeric value must be a positive integer. Required. + * + * @return int|null The limit + */ + public function getLimit() + { + if (array_key_exists("limit", $this->_propDict)) { + return $this->_propDict["limit"]; + } else { + return null; + } + } + + /** + * Sets the limit + * Defines a maximum limit count for this field. This numeric value must be a positive integer. Required. + * + * @param int $val The value of the limit + * + * @return CollapseProperty + */ + public function setLimit($val) + { + $this->_propDict["limit"] = $val; + return $this; + } +} diff --git a/src/Model/ContainerFilter.php b/src/Model/ContainerFilter.php new file mode 100644 index 00000000000..9cf70952ae3 --- /dev/null +++ b/src/Model/ContainerFilter.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["includedContainers"]; + } else { + return null; + } + } + + /** + * Sets the includedContainers + * + * @param string $val The value of the includedContainers + * + * @return ContainerFilter + */ + public function setIncludedContainers($val) + { + $this->_propDict["includedContainers"] = $val; + return $this; + } +} diff --git a/src/Model/ConversationMember.php b/src/Model/ConversationMember.php index 94c9cb27afb..4346eefc9f8 100644 --- a/src/Model/ConversationMember.php +++ b/src/Model/ConversationMember.php @@ -55,7 +55,7 @@ public function setDisplayName($val) /** * Gets the roles - * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. + * The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. * * @return array|null The roles */ @@ -70,7 +70,7 @@ public function getRoles() /** * Sets the roles - * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. + * The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. * * @param string[] $val The roles * diff --git a/src/Model/CustomSecurityAttributeDefinition.php b/src/Model/CustomSecurityAttributeDefinition.php index ceeffa74039..ef67aebba6f 100644 --- a/src/Model/CustomSecurityAttributeDefinition.php +++ b/src/Model/CustomSecurityAttributeDefinition.php @@ -26,6 +26,7 @@ class CustomSecurityAttributeDefinition extends Entity { /** * Gets the attributeSet + * Name of the attribute set. Case insensitive. * * @return string|null The attributeSet */ @@ -40,6 +41,7 @@ public function getAttributeSet() /** * Sets the attributeSet + * Name of the attribute set. Case insensitive. * * @param string $val The attributeSet * @@ -53,6 +55,7 @@ public function setAttributeSet($val) /** * Gets the description + * Description of the custom security attribute. Can be up to 128 characters long and include Unicode characters. Can be changed later. * * @return string|null The description */ @@ -67,6 +70,7 @@ public function getDescription() /** * Sets the description + * Description of the custom security attribute. Can be up to 128 characters long and include Unicode characters. Can be changed later. * * @param string $val The description * @@ -80,6 +84,7 @@ public function setDescription($val) /** * Gets the isCollection + * Indicates whether multiple values can be assigned to the custom security attribute. Cannot be changed later. If type is set to Boolean, isCollection cannot be set to true. * * @return bool|null The isCollection */ @@ -94,6 +99,7 @@ public function getIsCollection() /** * Sets the isCollection + * Indicates whether multiple values can be assigned to the custom security attribute. Cannot be changed later. If type is set to Boolean, isCollection cannot be set to true. * * @param bool $val The isCollection * @@ -107,6 +113,7 @@ public function setIsCollection($val) /** * Gets the isSearchable + * Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values. Cannot be changed later. * * @return bool|null The isSearchable */ @@ -121,6 +128,7 @@ public function getIsSearchable() /** * Sets the isSearchable + * Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values. Cannot be changed later. * * @param bool $val The isSearchable * @@ -134,6 +142,7 @@ public function setIsSearchable($val) /** * Gets the name + * Name of the custom security attribute. Must be unique within an attribute set. Can be up to 32 characters long and include Unicode characters. Cannot contain spaces or special characters. Cannot be changed later. Case insensitive. * * @return string|null The name */ @@ -148,6 +157,7 @@ public function getName() /** * Sets the name + * Name of the custom security attribute. Must be unique within an attribute set. Can be up to 32 characters long and include Unicode characters. Cannot contain spaces or special characters. Cannot be changed later. Case insensitive. * * @param string $val The name * @@ -161,6 +171,7 @@ public function setName($val) /** * Gets the status + * Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and Deprecated. Can be changed later. * * @return string|null The status */ @@ -175,6 +186,7 @@ public function getStatus() /** * Sets the status + * Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and Deprecated. Can be changed later. * * @param string $val The status * @@ -188,6 +200,7 @@ public function setStatus($val) /** * Gets the type + * Data type for the custom security attribute values. Supported types are: Boolean, Integer, and String. Cannot be changed later. * * @return string|null The type */ @@ -202,6 +215,7 @@ public function getType() /** * Sets the type + * Data type for the custom security attribute values. Supported types are: Boolean, Integer, and String. Cannot be changed later. * * @param string $val The type * @@ -215,6 +229,7 @@ public function setType($val) /** * Gets the usePreDefinedValuesOnly + * Indicates whether only predefined values can be assigned to the custom security attribute. If set to false, free-form values are allowed. Can later be changed from true to false, but cannot be changed from false to true. If type is set to Boolean, usePreDefinedValuesOnly cannot be set to true. * * @return bool|null The usePreDefinedValuesOnly */ @@ -229,6 +244,7 @@ public function getUsePreDefinedValuesOnly() /** * Sets the usePreDefinedValuesOnly + * Indicates whether only predefined values can be assigned to the custom security attribute. If set to false, free-form values are allowed. Can later be changed from true to false, but cannot be changed from false to true. If type is set to Boolean, usePreDefinedValuesOnly cannot be set to true. * * @param bool $val The usePreDefinedValuesOnly * @@ -243,6 +259,7 @@ public function setUsePreDefinedValuesOnly($val) /** * Gets the allowedValues + * Values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. * * @return array|null The allowedValues */ @@ -257,6 +274,7 @@ public function getAllowedValues() /** * Sets the allowedValues + * Values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. * * @param AllowedValue[] $val The allowedValues * diff --git a/src/Model/DefaultUserRolePermissions.php b/src/Model/DefaultUserRolePermissions.php index d05480daa1b..6cc8441acde 100644 --- a/src/Model/DefaultUserRolePermissions.php +++ b/src/Model/DefaultUserRolePermissions.php @@ -25,7 +25,7 @@ class DefaultUserRolePermissions extends Entity { /** * Gets the allowedToCreateApps - * Indicates whether the default user role can create applications. + * Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Azure portal. * * @return bool|null The allowedToCreateApps */ @@ -40,7 +40,7 @@ public function getAllowedToCreateApps() /** * Sets the allowedToCreateApps - * Indicates whether the default user role can create applications. + * Indicates whether the default user role can create applications. This setting corresponds to the Users can register applications setting in the User settings menu in the Azure portal. * * @param bool $val The value of the allowedToCreateApps * @@ -53,7 +53,7 @@ public function setAllowedToCreateApps($val) } /** * Gets the allowedToCreateSecurityGroups - * Indicates whether the default user role can create security groups. This setting corresponds to the The Users can create security groups in Azure portals, API or PowerShell setting in the group settings menu in the Azure portal. + * Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Azure portal: The Users can create security groups in Azure portals, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu. * * @return bool|null The allowedToCreateSecurityGroups */ @@ -68,7 +68,7 @@ public function getAllowedToCreateSecurityGroups() /** * Sets the allowedToCreateSecurityGroups - * Indicates whether the default user role can create security groups. This setting corresponds to the The Users can create security groups in Azure portals, API or PowerShell setting in the group settings menu in the Azure portal. + * Indicates whether the default user role can create security groups. This setting corresponds to the following menus in the Azure portal: The Users can create security groups in Azure portals, API or PowerShell setting in the Group settings menu. Users can create security groups setting in the User settings menu. * * @param bool $val The value of the allowedToCreateSecurityGroups * @@ -80,6 +80,34 @@ public function setAllowedToCreateSecurityGroups($val) return $this; } /** + * Gets the allowedToCreateTenants + * Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Azure portal. When this setting is false, users assigned the Tenant Creator role can still create tenants. + * + * @return bool|null The allowedToCreateTenants + */ + public function getAllowedToCreateTenants() + { + if (array_key_exists("allowedToCreateTenants", $this->_propDict)) { + return $this->_propDict["allowedToCreateTenants"]; + } else { + return null; + } + } + + /** + * Sets the allowedToCreateTenants + * Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users from creating tenants setting in the User settings menu in the Azure portal. When this setting is false, users assigned the Tenant Creator role can still create tenants. + * + * @param bool $val The value of the allowedToCreateTenants + * + * @return DefaultUserRolePermissions + */ + public function setAllowedToCreateTenants($val) + { + $this->_propDict["allowedToCreateTenants"] = $val; + return $this; + } + /** * Gets the allowedToReadBitlockerKeysForOwnedDevice * Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role. * diff --git a/src/Model/DelegatedAdminRelationship.php b/src/Model/DelegatedAdminRelationship.php index f7e3bb1f2c2..892bfd165b4 100644 --- a/src/Model/DelegatedAdminRelationship.php +++ b/src/Model/DelegatedAdminRelationship.php @@ -26,7 +26,7 @@ class DelegatedAdminRelationship extends Entity { /** * Gets the accessDetails - * The access details containing the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. + * The access details that contain the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. * * @return DelegatedAdminAccessDetails|null The accessDetails */ @@ -45,7 +45,7 @@ public function getAccessDetails() /** * Sets the accessDetails - * The access details containing the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. + * The access details that contain the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. * * @param DelegatedAdminAccessDetails $val The accessDetails * diff --git a/src/Model/Directory.php b/src/Model/Directory.php index 5cda8a306da..21839f34cbd 100644 --- a/src/Model/Directory.php +++ b/src/Model/Directory.php @@ -57,6 +57,7 @@ public function setAdministrativeUnits($val) /** * Gets the attributeSets + * Group of related custom security attribute definitions. * * @return array|null The attributeSets */ @@ -71,6 +72,7 @@ public function getAttributeSets() /** * Sets the attributeSets + * Group of related custom security attribute definitions. * * @param AttributeSet[] $val The attributeSets * @@ -85,6 +87,7 @@ public function setAttributeSets($val) /** * Gets the customSecurityAttributeDefinitions + * Schema of a custom security attributes (key-value pairs). * * @return array|null The customSecurityAttributeDefinitions */ @@ -99,6 +102,7 @@ public function getCustomSecurityAttributeDefinitions() /** * Sets the customSecurityAttributeDefinitions + * Schema of a custom security attributes (key-value pairs). * * @param CustomSecurityAttributeDefinition[] $val The customSecurityAttributeDefinitions * diff --git a/src/Model/DirectoryDefinition.php b/src/Model/DirectoryDefinition.php new file mode 100644 index 00000000000..796ab316030 --- /dev/null +++ b/src/Model/DirectoryDefinition.php @@ -0,0 +1,198 @@ +_propDict)) { + if (is_a($this->_propDict["discoverabilities"], "\Microsoft\Graph\Model\DirectoryDefinitionDiscoverabilities") || is_null($this->_propDict["discoverabilities"])) { + return $this->_propDict["discoverabilities"]; + } else { + $this->_propDict["discoverabilities"] = new DirectoryDefinitionDiscoverabilities($this->_propDict["discoverabilities"]); + return $this->_propDict["discoverabilities"]; + } + } + return null; + } + + /** + * Sets the discoverabilities + * + * @param DirectoryDefinitionDiscoverabilities $val The discoverabilities + * + * @return DirectoryDefinition + */ + public function setDiscoverabilities($val) + { + $this->_propDict["discoverabilities"] = $val; + return $this; + } + + /** + * Gets the discoveryDateTime + * + * @return \DateTime|null The discoveryDateTime + */ + public function getDiscoveryDateTime() + { + if (array_key_exists("discoveryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["discoveryDateTime"], "\DateTime") || is_null($this->_propDict["discoveryDateTime"])) { + return $this->_propDict["discoveryDateTime"]; + } else { + $this->_propDict["discoveryDateTime"] = new \DateTime($this->_propDict["discoveryDateTime"]); + return $this->_propDict["discoveryDateTime"]; + } + } + return null; + } + + /** + * Sets the discoveryDateTime + * + * @param \DateTime $val The discoveryDateTime + * + * @return DirectoryDefinition + */ + public function setDiscoveryDateTime($val) + { + $this->_propDict["discoveryDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return DirectoryDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the objects + * + * @return array|null The objects + */ + public function getObjects() + { + if (array_key_exists("objects", $this->_propDict)) { + return $this->_propDict["objects"]; + } else { + return null; + } + } + + /** + * Sets the objects + * + * @param ObjectDefinition[] $val The objects + * + * @return DirectoryDefinition + */ + public function setObjects($val) + { + $this->_propDict["objects"] = $val; + return $this; + } + + /** + * Gets the readOnly + * + * @return bool|null The readOnly + */ + public function getReadOnly() + { + if (array_key_exists("readOnly", $this->_propDict)) { + return $this->_propDict["readOnly"]; + } else { + return null; + } + } + + /** + * Sets the readOnly + * + * @param bool $val The readOnly + * + * @return DirectoryDefinition + */ + public function setReadOnly($val) + { + $this->_propDict["readOnly"] = boolval($val); + return $this; + } + + /** + * Gets the version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param string $val The version + * + * @return DirectoryDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/src/Model/DirectoryDefinitionDiscoverabilities.php b/src/Model/DirectoryDefinitionDiscoverabilities.php new file mode 100644 index 00000000000..f16db59daba --- /dev/null +++ b/src/Model/DirectoryDefinitionDiscoverabilities.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["definition"], "\Microsoft\Graph\Model\ObjectDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new ObjectDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * + * @param ObjectDefinition $val The value to assign to the definition + * + * @return ExpressionInputObject The ExpressionInputObject + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + /** + * Gets the expressionInputObjectProperties + * + * @return StringKeyObjectValuePair|null The expressionInputObjectProperties + */ + public function getExpressionInputObjectProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Microsoft\Graph\Model\StringKeyObjectValuePair") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new StringKeyObjectValuePair($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the expressionInputObjectProperties + * + * @param StringKeyObjectValuePair $val The value to assign to the properties + * + * @return ExpressionInputObject The ExpressionInputObject + */ + public function setExpressionInputObjectProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } +} diff --git a/src/Model/Filter.php b/src/Model/Filter.php new file mode 100644 index 00000000000..e8dbc8b0170 --- /dev/null +++ b/src/Model/Filter.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["categoryFilterGroups"], "\Microsoft\Graph\Model\FilterGroup") || is_null($this->_propDict["categoryFilterGroups"])) { + return $this->_propDict["categoryFilterGroups"]; + } else { + $this->_propDict["categoryFilterGroups"] = new FilterGroup($this->_propDict["categoryFilterGroups"]); + return $this->_propDict["categoryFilterGroups"]; + } + } + return null; + } + + /** + * Sets the categoryFilterGroups + * + * @param FilterGroup $val The value to assign to the categoryFilterGroups + * + * @return Filter The Filter + */ + public function setCategoryFilterGroups($val) + { + $this->_propDict["categoryFilterGroups"] = $val; + return $this; + } + + /** + * Gets the groups + * + * @return FilterGroup|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + if (is_a($this->_propDict["groups"], "\Microsoft\Graph\Model\FilterGroup") || is_null($this->_propDict["groups"])) { + return $this->_propDict["groups"]; + } else { + $this->_propDict["groups"] = new FilterGroup($this->_propDict["groups"]); + return $this->_propDict["groups"]; + } + } + return null; + } + + /** + * Sets the groups + * + * @param FilterGroup $val The value to assign to the groups + * + * @return Filter The Filter + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + /** + * Gets the inputFilterGroups + * + * @return FilterGroup|null The inputFilterGroups + */ + public function getInputFilterGroups() + { + if (array_key_exists("inputFilterGroups", $this->_propDict)) { + if (is_a($this->_propDict["inputFilterGroups"], "\Microsoft\Graph\Model\FilterGroup") || is_null($this->_propDict["inputFilterGroups"])) { + return $this->_propDict["inputFilterGroups"]; + } else { + $this->_propDict["inputFilterGroups"] = new FilterGroup($this->_propDict["inputFilterGroups"]); + return $this->_propDict["inputFilterGroups"]; + } + } + return null; + } + + /** + * Sets the inputFilterGroups + * + * @param FilterGroup $val The value to assign to the inputFilterGroups + * + * @return Filter The Filter + */ + public function setInputFilterGroups($val) + { + $this->_propDict["inputFilterGroups"] = $val; + return $this; + } +} diff --git a/src/Model/FilterClause.php b/src/Model/FilterClause.php new file mode 100644 index 00000000000..566fc7ff754 --- /dev/null +++ b/src/Model/FilterClause.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["operatorName"]; + } else { + return null; + } + } + + /** + * Sets the operatorName + * + * @param string $val The value of the operatorName + * + * @return FilterClause + */ + public function setOperatorName($val) + { + $this->_propDict["operatorName"] = $val; + return $this; + } + /** + * Gets the sourceOperandName + * + * @return string|null The sourceOperandName + */ + public function getSourceOperandName() + { + if (array_key_exists("sourceOperandName", $this->_propDict)) { + return $this->_propDict["sourceOperandName"]; + } else { + return null; + } + } + + /** + * Sets the sourceOperandName + * + * @param string $val The value of the sourceOperandName + * + * @return FilterClause + */ + public function setSourceOperandName($val) + { + $this->_propDict["sourceOperandName"] = $val; + return $this; + } + + /** + * Gets the targetOperand + * + * @return FilterOperand|null The targetOperand + */ + public function getTargetOperand() + { + if (array_key_exists("targetOperand", $this->_propDict)) { + if (is_a($this->_propDict["targetOperand"], "\Microsoft\Graph\Model\FilterOperand") || is_null($this->_propDict["targetOperand"])) { + return $this->_propDict["targetOperand"]; + } else { + $this->_propDict["targetOperand"] = new FilterOperand($this->_propDict["targetOperand"]); + return $this->_propDict["targetOperand"]; + } + } + return null; + } + + /** + * Sets the targetOperand + * + * @param FilterOperand $val The value to assign to the targetOperand + * + * @return FilterClause The FilterClause + */ + public function setTargetOperand($val) + { + $this->_propDict["targetOperand"] = $val; + return $this; + } +} diff --git a/src/Model/FilterGroup.php b/src/Model/FilterGroup.php new file mode 100644 index 00000000000..87c60b6c3e2 --- /dev/null +++ b/src/Model/FilterGroup.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["clauses"], "\Microsoft\Graph\Model\FilterClause") || is_null($this->_propDict["clauses"])) { + return $this->_propDict["clauses"]; + } else { + $this->_propDict["clauses"] = new FilterClause($this->_propDict["clauses"]); + return $this->_propDict["clauses"]; + } + } + return null; + } + + /** + * Sets the clauses + * + * @param FilterClause $val The value to assign to the clauses + * + * @return FilterGroup The FilterGroup + */ + public function setClauses($val) + { + $this->_propDict["clauses"] = $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 FilterGroup + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/src/Model/FilterOperand.php b/src/Model/FilterOperand.php new file mode 100644 index 00000000000..68159043f84 --- /dev/null +++ b/src/Model/FilterOperand.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * + * @param string $val The value of the values + * + * @return FilterOperand + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } +} diff --git a/src/Model/FilterOperatorSchema.php b/src/Model/FilterOperatorSchema.php new file mode 100644 index 00000000000..07b5bd45f81 --- /dev/null +++ b/src/Model/FilterOperatorSchema.php @@ -0,0 +1,117 @@ +_propDict)) { + if (is_a($this->_propDict["arity"], "\Microsoft\Graph\Model\ScopeOperatorType") || is_null($this->_propDict["arity"])) { + return $this->_propDict["arity"]; + } else { + $this->_propDict["arity"] = new ScopeOperatorType($this->_propDict["arity"]); + return $this->_propDict["arity"]; + } + } + return null; + } + + /** + * Sets the arity + * + * @param ScopeOperatorType $val The arity + * + * @return FilterOperatorSchema + */ + public function setArity($val) + { + $this->_propDict["arity"] = $val; + return $this; + } + + /** + * Gets the multivaluedComparisonType + * + * @return ScopeOperatorMultiValuedComparisonType|null The multivaluedComparisonType + */ + public function getMultivaluedComparisonType() + { + if (array_key_exists("multivaluedComparisonType", $this->_propDict)) { + if (is_a($this->_propDict["multivaluedComparisonType"], "\Microsoft\Graph\Model\ScopeOperatorMultiValuedComparisonType") || is_null($this->_propDict["multivaluedComparisonType"])) { + return $this->_propDict["multivaluedComparisonType"]; + } else { + $this->_propDict["multivaluedComparisonType"] = new ScopeOperatorMultiValuedComparisonType($this->_propDict["multivaluedComparisonType"]); + return $this->_propDict["multivaluedComparisonType"]; + } + } + return null; + } + + /** + * Sets the multivaluedComparisonType + * + * @param ScopeOperatorMultiValuedComparisonType $val The multivaluedComparisonType + * + * @return FilterOperatorSchema + */ + public function setMultivaluedComparisonType($val) + { + $this->_propDict["multivaluedComparisonType"] = $val; + return $this; + } + + + /** + * Gets the supportedAttributeTypes + * + * @return array|null The supportedAttributeTypes + */ + public function getSupportedAttributeTypes() + { + if (array_key_exists("supportedAttributeTypes", $this->_propDict)) { + return $this->_propDict["supportedAttributeTypes"]; + } else { + return null; + } + } + + /** + * Sets the supportedAttributeTypes + * + * @param AttributeType[] $val The supportedAttributeTypes + * + * @return FilterOperatorSchema + */ + public function setSupportedAttributeTypes($val) + { + $this->_propDict["supportedAttributeTypes"] = $val; + return $this; + } + +} diff --git a/src/Model/Group.php b/src/Model/Group.php index 0bff434e5c6..864418a477d 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -206,7 +206,7 @@ public function setDisplayName($val) /** * Gets the expirationDateTime - * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Timestamp of when the group is set to expire. Is null for security groups but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * * @return \DateTime|null The expirationDateTime */ @@ -225,7 +225,7 @@ public function getExpirationDateTime() /** * Sets the expirationDateTime - * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * Timestamp of when the group is set to expire. Is null for security groups but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. * * @param \DateTime $val The expirationDateTime * diff --git a/src/Model/GroupFilter.php b/src/Model/GroupFilter.php new file mode 100644 index 00000000000..00a2fc6c531 --- /dev/null +++ b/src/Model/GroupFilter.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["includedGroups"]; + } else { + return null; + } + } + + /** + * Sets the includedGroups + * + * @param string $val The value of the includedGroups + * + * @return GroupFilter + */ + public function setIncludedGroups($val) + { + $this->_propDict["includedGroups"] = $val; + return $this; + } +} diff --git a/src/Model/KeyCredential.php b/src/Model/KeyCredential.php index 1e8053554af..fa537a6a4f2 100644 --- a/src/Model/KeyCredential.php +++ b/src/Model/KeyCredential.php @@ -120,7 +120,7 @@ public function setEndDateTime($val) /** * Gets the key - * The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. * * @return \GuzzleHttp\Psr7\Stream|null The key */ @@ -139,7 +139,7 @@ public function getKey() /** * Sets the key - * The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key * diff --git a/src/Model/LayoutTemplateType.php b/src/Model/LayoutTemplateType.php new file mode 100644 index 00000000000..12dfd203c78 --- /dev/null +++ b/src/Model/LayoutTemplateType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["isFooterShown"]; + } else { + return null; + } + } + + /** + * Sets the isFooterShown + * + * @param bool $val The value of the isFooterShown + * + * @return LoginPageLayoutConfiguration + */ + public function setIsFooterShown($val) + { + $this->_propDict["isFooterShown"] = $val; + return $this; + } + /** + * Gets the isHeaderShown + * + * @return bool|null The isHeaderShown + */ + public function getIsHeaderShown() + { + if (array_key_exists("isHeaderShown", $this->_propDict)) { + return $this->_propDict["isHeaderShown"]; + } else { + return null; + } + } + + /** + * Sets the isHeaderShown + * + * @param bool $val The value of the isHeaderShown + * + * @return LoginPageLayoutConfiguration + */ + public function setIsHeaderShown($val) + { + $this->_propDict["isHeaderShown"] = $val; + return $this; + } + + /** + * Gets the layoutTemplateType + * + * @return LayoutTemplateType|null The layoutTemplateType + */ + public function getLayoutTemplateType() + { + if (array_key_exists("layoutTemplateType", $this->_propDict)) { + if (is_a($this->_propDict["layoutTemplateType"], "\Microsoft\Graph\Model\LayoutTemplateType") || is_null($this->_propDict["layoutTemplateType"])) { + return $this->_propDict["layoutTemplateType"]; + } else { + $this->_propDict["layoutTemplateType"] = new LayoutTemplateType($this->_propDict["layoutTemplateType"]); + return $this->_propDict["layoutTemplateType"]; + } + } + return null; + } + + /** + * Sets the layoutTemplateType + * + * @param LayoutTemplateType $val The value to assign to the layoutTemplateType + * + * @return LoginPageLayoutConfiguration The LoginPageLayoutConfiguration + */ + public function setLayoutTemplateType($val) + { + $this->_propDict["layoutTemplateType"] = $val; + return $this; + } +} diff --git a/src/Model/LoginPageTextVisibilitySettings.php b/src/Model/LoginPageTextVisibilitySettings.php new file mode 100644 index 00000000000..97c7a5c96f2 --- /dev/null +++ b/src/Model/LoginPageTextVisibilitySettings.php @@ -0,0 +1,182 @@ +_propDict)) { + return $this->_propDict["hideAccountResetCredentials"]; + } else { + return null; + } + } + + /** + * Sets the hideAccountResetCredentials + * + * @param bool $val The value of the hideAccountResetCredentials + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideAccountResetCredentials($val) + { + $this->_propDict["hideAccountResetCredentials"] = $val; + return $this; + } + /** + * Gets the hideCannotAccessYourAccount + * + * @return bool|null The hideCannotAccessYourAccount + */ + public function getHideCannotAccessYourAccount() + { + if (array_key_exists("hideCannotAccessYourAccount", $this->_propDict)) { + return $this->_propDict["hideCannotAccessYourAccount"]; + } else { + return null; + } + } + + /** + * Sets the hideCannotAccessYourAccount + * + * @param bool $val The value of the hideCannotAccessYourAccount + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideCannotAccessYourAccount($val) + { + $this->_propDict["hideCannotAccessYourAccount"] = $val; + return $this; + } + /** + * Gets the hideForgotMyPassword + * + * @return bool|null The hideForgotMyPassword + */ + public function getHideForgotMyPassword() + { + if (array_key_exists("hideForgotMyPassword", $this->_propDict)) { + return $this->_propDict["hideForgotMyPassword"]; + } else { + return null; + } + } + + /** + * Sets the hideForgotMyPassword + * + * @param bool $val The value of the hideForgotMyPassword + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideForgotMyPassword($val) + { + $this->_propDict["hideForgotMyPassword"] = $val; + return $this; + } + /** + * Gets the hidePrivacyAndCookies + * + * @return bool|null The hidePrivacyAndCookies + */ + public function getHidePrivacyAndCookies() + { + if (array_key_exists("hidePrivacyAndCookies", $this->_propDict)) { + return $this->_propDict["hidePrivacyAndCookies"]; + } else { + return null; + } + } + + /** + * Sets the hidePrivacyAndCookies + * + * @param bool $val The value of the hidePrivacyAndCookies + * + * @return LoginPageTextVisibilitySettings + */ + public function setHidePrivacyAndCookies($val) + { + $this->_propDict["hidePrivacyAndCookies"] = $val; + return $this; + } + /** + * Gets the hideResetItNow + * + * @return bool|null The hideResetItNow + */ + public function getHideResetItNow() + { + if (array_key_exists("hideResetItNow", $this->_propDict)) { + return $this->_propDict["hideResetItNow"]; + } else { + return null; + } + } + + /** + * Sets the hideResetItNow + * + * @param bool $val The value of the hideResetItNow + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideResetItNow($val) + { + $this->_propDict["hideResetItNow"] = $val; + return $this; + } + /** + * Gets the hideTermsOfUse + * + * @return bool|null The hideTermsOfUse + */ + public function getHideTermsOfUse() + { + if (array_key_exists("hideTermsOfUse", $this->_propDict)) { + return $this->_propDict["hideTermsOfUse"]; + } else { + return null; + } + } + + /** + * Sets the hideTermsOfUse + * + * @param bool $val The value of the hideTermsOfUse + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideTermsOfUse($val) + { + $this->_propDict["hideTermsOfUse"] = $val; + return $this; + } +} diff --git a/src/Model/Mutability.php b/src/Model/Mutability.php new file mode 100644 index 00000000000..9ec93554597 --- /dev/null +++ b/src/Model/Mutability.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["attributes"], "\Microsoft\Graph\Model\AttributeDefinition") || is_null($this->_propDict["attributes"])) { + return $this->_propDict["attributes"]; + } else { + $this->_propDict["attributes"] = new AttributeDefinition($this->_propDict["attributes"]); + return $this->_propDict["attributes"]; + } + } + return null; + } + + /** + * Sets the attributes + * + * @param AttributeDefinition $val The value to assign to the attributes + * + * @return ObjectDefinition The ObjectDefinition + */ + public function setAttributes($val) + { + $this->_propDict["attributes"] = $val; + return $this; + } + + /** + * Gets the metadata + * + * @return ObjectDefinitionMetadataEntry|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Microsoft\Graph\Model\ObjectDefinitionMetadataEntry") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new ObjectDefinitionMetadataEntry($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * + * @param ObjectDefinitionMetadataEntry $val The value to assign to the metadata + * + * @return ObjectDefinition The ObjectDefinition + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $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 ObjectDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the supportedApis + * + * @return string|null The supportedApis + */ + public function getSupportedApis() + { + if (array_key_exists("supportedApis", $this->_propDict)) { + return $this->_propDict["supportedApis"]; + } else { + return null; + } + } + + /** + * Sets the supportedApis + * + * @param string $val The value of the supportedApis + * + * @return ObjectDefinition + */ + public function setSupportedApis($val) + { + $this->_propDict["supportedApis"] = $val; + return $this; + } +} diff --git a/src/Model/ObjectDefinitionMetadata.php b/src/Model/ObjectDefinitionMetadata.php new file mode 100644 index 00000000000..648a4dcf088 --- /dev/null +++ b/src/Model/ObjectDefinitionMetadata.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Microsoft\Graph\Model\ObjectDefinitionMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new ObjectDefinitionMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * + * @param ObjectDefinitionMetadata $val The value to assign to the key + * + * @return ObjectDefinitionMetadataEntry The ObjectDefinitionMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return ObjectDefinitionMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/ObjectFlowTypes.php b/src/Model/ObjectFlowTypes.php new file mode 100644 index 00000000000..365d9c8f4be --- /dev/null +++ b/src/Model/ObjectFlowTypes.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["attributeMappings"], "\Microsoft\Graph\Model\AttributeMapping") || is_null($this->_propDict["attributeMappings"])) { + return $this->_propDict["attributeMappings"]; + } else { + $this->_propDict["attributeMappings"] = new AttributeMapping($this->_propDict["attributeMappings"]); + return $this->_propDict["attributeMappings"]; + } + } + return null; + } + + /** + * Sets the attributeMappings + * + * @param AttributeMapping $val The value to assign to the attributeMappings + * + * @return ObjectMapping The ObjectMapping + */ + public function setAttributeMappings($val) + { + $this->_propDict["attributeMappings"] = $val; + return $this; + } + /** + * Gets the enabled + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * + * @param bool $val The value of the enabled + * + * @return ObjectMapping + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + + /** + * Gets the flowTypes + * + * @return ObjectFlowTypes|null The flowTypes + */ + public function getFlowTypes() + { + if (array_key_exists("flowTypes", $this->_propDict)) { + if (is_a($this->_propDict["flowTypes"], "\Microsoft\Graph\Model\ObjectFlowTypes") || is_null($this->_propDict["flowTypes"])) { + return $this->_propDict["flowTypes"]; + } else { + $this->_propDict["flowTypes"] = new ObjectFlowTypes($this->_propDict["flowTypes"]); + return $this->_propDict["flowTypes"]; + } + } + return null; + } + + /** + * Sets the flowTypes + * + * @param ObjectFlowTypes $val The value to assign to the flowTypes + * + * @return ObjectMapping The ObjectMapping + */ + public function setFlowTypes($val) + { + $this->_propDict["flowTypes"] = $val; + return $this; + } + + /** + * Gets the metadata + * + * @return ObjectMappingMetadataEntry|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Microsoft\Graph\Model\ObjectMappingMetadataEntry") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new ObjectMappingMetadataEntry($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * + * @param ObjectMappingMetadataEntry $val The value to assign to the metadata + * + * @return ObjectMapping The ObjectMapping + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $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 ObjectMapping + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the scope + * + * @return Filter|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Microsoft\Graph\Model\Filter") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new Filter($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * + * @param Filter $val The value to assign to the scope + * + * @return ObjectMapping The ObjectMapping + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + /** + * Gets the sourceObjectName + * + * @return string|null The sourceObjectName + */ + public function getSourceObjectName() + { + if (array_key_exists("sourceObjectName", $this->_propDict)) { + return $this->_propDict["sourceObjectName"]; + } else { + return null; + } + } + + /** + * Sets the sourceObjectName + * + * @param string $val The value of the sourceObjectName + * + * @return ObjectMapping + */ + public function setSourceObjectName($val) + { + $this->_propDict["sourceObjectName"] = $val; + return $this; + } + /** + * Gets the targetObjectName + * + * @return string|null The targetObjectName + */ + public function getTargetObjectName() + { + if (array_key_exists("targetObjectName", $this->_propDict)) { + return $this->_propDict["targetObjectName"]; + } else { + return null; + } + } + + /** + * Sets the targetObjectName + * + * @param string $val The value of the targetObjectName + * + * @return ObjectMapping + */ + public function setTargetObjectName($val) + { + $this->_propDict["targetObjectName"] = $val; + return $this; + } +} diff --git a/src/Model/ObjectMappingMetadata.php b/src/Model/ObjectMappingMetadata.php new file mode 100644 index 00000000000..6155f26d88d --- /dev/null +++ b/src/Model/ObjectMappingMetadata.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Microsoft\Graph\Model\ObjectMappingMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new ObjectMappingMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * + * @param ObjectMappingMetadata $val The value to assign to the key + * + * @return ObjectMappingMetadataEntry The ObjectMappingMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return ObjectMappingMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/OnlineMeetingContentSharingDisabledReason.php b/src/Model/OnlineMeetingContentSharingDisabledReason.php new file mode 100644 index 00000000000..6aaec2e65a5 --- /dev/null +++ b/src/Model/OnlineMeetingContentSharingDisabledReason.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["contentSharingDisabled"], "\Microsoft\Graph\Model\OnlineMeetingContentSharingDisabledReason") || is_null($this->_propDict["contentSharingDisabled"])) { + return $this->_propDict["contentSharingDisabled"]; + } else { + $this->_propDict["contentSharingDisabled"] = new OnlineMeetingContentSharingDisabledReason($this->_propDict["contentSharingDisabled"]); + return $this->_propDict["contentSharingDisabled"]; + } + } + return null; + } + + /** + * Sets the contentSharingDisabled + * Specifies the reason shared content from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue. + * + * @param OnlineMeetingContentSharingDisabledReason $val The value to assign to the contentSharingDisabled + * + * @return OnlineMeetingRestricted The OnlineMeetingRestricted + */ + public function setContentSharingDisabled($val) + { + $this->_propDict["contentSharingDisabled"] = $val; + return $this; + } + + /** + * Gets the videoDisabled + * Specifies the reason video from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue. + * + * @return OnlineMeetingVideoDisabledReason|null The videoDisabled + */ + public function getVideoDisabled() + { + if (array_key_exists("videoDisabled", $this->_propDict)) { + if (is_a($this->_propDict["videoDisabled"], "\Microsoft\Graph\Model\OnlineMeetingVideoDisabledReason") || is_null($this->_propDict["videoDisabled"])) { + return $this->_propDict["videoDisabled"]; + } else { + $this->_propDict["videoDisabled"] = new OnlineMeetingVideoDisabledReason($this->_propDict["videoDisabled"]); + return $this->_propDict["videoDisabled"]; + } + } + return null; + } + + /** + * Sets the videoDisabled + * Specifies the reason video from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue. + * + * @param OnlineMeetingVideoDisabledReason $val The value to assign to the videoDisabled + * + * @return OnlineMeetingRestricted The OnlineMeetingRestricted + */ + public function setVideoDisabled($val) + { + $this->_propDict["videoDisabled"] = $val; + return $this; + } +} diff --git a/src/Model/OnlineMeetingVideoDisabledReason.php b/src/Model/OnlineMeetingVideoDisabledReason.php new file mode 100644 index 00000000000..a22a0795f75 --- /dev/null +++ b/src/Model/OnlineMeetingVideoDisabledReason.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["customAccountResetCredentialsUrl"]; + } else { + return null; + } + } + + /** + * Sets the customAccountResetCredentialsUrl + * + * @param string $val The customAccountResetCredentialsUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomAccountResetCredentialsUrl($val) + { + $this->_propDict["customAccountResetCredentialsUrl"] = $val; + return $this; + } + + /** + * Gets the customCannotAccessYourAccountText + * + * @return string|null The customCannotAccessYourAccountText + */ + public function getCustomCannotAccessYourAccountText() + { + if (array_key_exists("customCannotAccessYourAccountText", $this->_propDict)) { + return $this->_propDict["customCannotAccessYourAccountText"]; + } else { + return null; + } + } + + /** + * Sets the customCannotAccessYourAccountText + * + * @param string $val The customCannotAccessYourAccountText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomCannotAccessYourAccountText($val) + { + $this->_propDict["customCannotAccessYourAccountText"] = $val; + return $this; + } + + /** + * Gets the customCannotAccessYourAccountUrl + * + * @return string|null The customCannotAccessYourAccountUrl + */ + public function getCustomCannotAccessYourAccountUrl() + { + if (array_key_exists("customCannotAccessYourAccountUrl", $this->_propDict)) { + return $this->_propDict["customCannotAccessYourAccountUrl"]; + } else { + return null; + } + } + + /** + * Sets the customCannotAccessYourAccountUrl + * + * @param string $val The customCannotAccessYourAccountUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomCannotAccessYourAccountUrl($val) + { + $this->_propDict["customCannotAccessYourAccountUrl"] = $val; + return $this; + } + + /** + * Gets the customCSS + * + * @return \GuzzleHttp\Psr7\Stream|null The customCSS + */ + public function getCustomCSS() + { + if (array_key_exists("customCSS", $this->_propDict)) { + if (is_a($this->_propDict["customCSS"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customCSS"])) { + return $this->_propDict["customCSS"]; + } else { + $this->_propDict["customCSS"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customCSS"]); + return $this->_propDict["customCSS"]; + } + } + return null; + } + + /** + * Sets the customCSS + * + * @param \GuzzleHttp\Psr7\Stream $val The customCSS + * + * @return OrganizationalBrandingProperties + */ + public function setCustomCSS($val) + { + $this->_propDict["customCSS"] = $val; + return $this; + } + + /** + * Gets the customCSSRelativeUrl + * + * @return string|null The customCSSRelativeUrl + */ + public function getCustomCSSRelativeUrl() + { + if (array_key_exists("customCSSRelativeUrl", $this->_propDict)) { + return $this->_propDict["customCSSRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the customCSSRelativeUrl + * + * @param string $val The customCSSRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomCSSRelativeUrl($val) + { + $this->_propDict["customCSSRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the customForgotMyPasswordText + * + * @return string|null The customForgotMyPasswordText + */ + public function getCustomForgotMyPasswordText() + { + if (array_key_exists("customForgotMyPasswordText", $this->_propDict)) { + return $this->_propDict["customForgotMyPasswordText"]; + } else { + return null; + } + } + + /** + * Sets the customForgotMyPasswordText + * + * @param string $val The customForgotMyPasswordText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomForgotMyPasswordText($val) + { + $this->_propDict["customForgotMyPasswordText"] = $val; + return $this; + } + + /** + * Gets the customPrivacyAndCookiesText + * + * @return string|null The customPrivacyAndCookiesText + */ + public function getCustomPrivacyAndCookiesText() + { + if (array_key_exists("customPrivacyAndCookiesText", $this->_propDict)) { + return $this->_propDict["customPrivacyAndCookiesText"]; + } else { + return null; + } + } + + /** + * Sets the customPrivacyAndCookiesText + * + * @param string $val The customPrivacyAndCookiesText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomPrivacyAndCookiesText($val) + { + $this->_propDict["customPrivacyAndCookiesText"] = $val; + return $this; + } + + /** + * Gets the customPrivacyAndCookiesUrl + * + * @return string|null The customPrivacyAndCookiesUrl + */ + public function getCustomPrivacyAndCookiesUrl() + { + if (array_key_exists("customPrivacyAndCookiesUrl", $this->_propDict)) { + return $this->_propDict["customPrivacyAndCookiesUrl"]; + } else { + return null; + } + } + + /** + * Sets the customPrivacyAndCookiesUrl + * + * @param string $val The customPrivacyAndCookiesUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomPrivacyAndCookiesUrl($val) + { + $this->_propDict["customPrivacyAndCookiesUrl"] = $val; + return $this; + } + + /** + * Gets the customResetItNowText + * + * @return string|null The customResetItNowText + */ + public function getCustomResetItNowText() + { + if (array_key_exists("customResetItNowText", $this->_propDict)) { + return $this->_propDict["customResetItNowText"]; + } else { + return null; + } + } + + /** + * Sets the customResetItNowText + * + * @param string $val The customResetItNowText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomResetItNowText($val) + { + $this->_propDict["customResetItNowText"] = $val; + return $this; + } + + /** + * Gets the customTermsOfUseText + * + * @return string|null The customTermsOfUseText + */ + public function getCustomTermsOfUseText() + { + if (array_key_exists("customTermsOfUseText", $this->_propDict)) { + return $this->_propDict["customTermsOfUseText"]; + } else { + return null; + } + } + + /** + * Sets the customTermsOfUseText + * + * @param string $val The customTermsOfUseText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomTermsOfUseText($val) + { + $this->_propDict["customTermsOfUseText"] = $val; + return $this; + } + + /** + * Gets the customTermsOfUseUrl + * + * @return string|null The customTermsOfUseUrl + */ + public function getCustomTermsOfUseUrl() + { + if (array_key_exists("customTermsOfUseUrl", $this->_propDict)) { + return $this->_propDict["customTermsOfUseUrl"]; + } else { + return null; + } + } + + /** + * Sets the customTermsOfUseUrl + * + * @param string $val The customTermsOfUseUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomTermsOfUseUrl($val) + { + $this->_propDict["customTermsOfUseUrl"] = $val; + return $this; + } + + /** + * Gets the favicon + * + * @return \GuzzleHttp\Psr7\Stream|null The favicon + */ + public function getFavicon() + { + if (array_key_exists("favicon", $this->_propDict)) { + if (is_a($this->_propDict["favicon"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["favicon"])) { + return $this->_propDict["favicon"]; + } else { + $this->_propDict["favicon"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["favicon"]); + return $this->_propDict["favicon"]; + } + } + return null; + } + + /** + * Sets the favicon + * + * @param \GuzzleHttp\Psr7\Stream $val The favicon + * + * @return OrganizationalBrandingProperties + */ + public function setFavicon($val) + { + $this->_propDict["favicon"] = $val; + return $this; + } + + /** + * Gets the faviconRelativeUrl + * + * @return string|null The faviconRelativeUrl + */ + public function getFaviconRelativeUrl() + { + if (array_key_exists("faviconRelativeUrl", $this->_propDict)) { + return $this->_propDict["faviconRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the faviconRelativeUrl + * + * @param string $val The faviconRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setFaviconRelativeUrl($val) + { + $this->_propDict["faviconRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the headerBackgroundColor + * + * @return string|null The headerBackgroundColor + */ + public function getHeaderBackgroundColor() + { + if (array_key_exists("headerBackgroundColor", $this->_propDict)) { + return $this->_propDict["headerBackgroundColor"]; + } else { + return null; + } + } + + /** + * Sets the headerBackgroundColor + * + * @param string $val The headerBackgroundColor + * + * @return OrganizationalBrandingProperties + */ + public function setHeaderBackgroundColor($val) + { + $this->_propDict["headerBackgroundColor"] = $val; + return $this; + } + + /** + * Gets the headerLogo + * + * @return \GuzzleHttp\Psr7\Stream|null The headerLogo + */ + public function getHeaderLogo() + { + if (array_key_exists("headerLogo", $this->_propDict)) { + if (is_a($this->_propDict["headerLogo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["headerLogo"])) { + return $this->_propDict["headerLogo"]; + } else { + $this->_propDict["headerLogo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["headerLogo"]); + return $this->_propDict["headerLogo"]; + } + } + return null; + } + + /** + * Sets the headerLogo + * + * @param \GuzzleHttp\Psr7\Stream $val The headerLogo + * + * @return OrganizationalBrandingProperties + */ + public function setHeaderLogo($val) + { + $this->_propDict["headerLogo"] = $val; + return $this; + } + + /** + * Gets the headerLogoRelativeUrl + * + * @return string|null The headerLogoRelativeUrl + */ + public function getHeaderLogoRelativeUrl() + { + if (array_key_exists("headerLogoRelativeUrl", $this->_propDict)) { + return $this->_propDict["headerLogoRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the headerLogoRelativeUrl + * + * @param string $val The headerLogoRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setHeaderLogoRelativeUrl($val) + { + $this->_propDict["headerLogoRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the loginPageLayoutConfiguration + * + * @return LoginPageLayoutConfiguration|null The loginPageLayoutConfiguration + */ + public function getLoginPageLayoutConfiguration() + { + if (array_key_exists("loginPageLayoutConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["loginPageLayoutConfiguration"], "\Microsoft\Graph\Model\LoginPageLayoutConfiguration") || is_null($this->_propDict["loginPageLayoutConfiguration"])) { + return $this->_propDict["loginPageLayoutConfiguration"]; + } else { + $this->_propDict["loginPageLayoutConfiguration"] = new LoginPageLayoutConfiguration($this->_propDict["loginPageLayoutConfiguration"]); + return $this->_propDict["loginPageLayoutConfiguration"]; + } + } + return null; + } + + /** + * Sets the loginPageLayoutConfiguration + * + * @param LoginPageLayoutConfiguration $val The loginPageLayoutConfiguration + * + * @return OrganizationalBrandingProperties + */ + public function setLoginPageLayoutConfiguration($val) + { + $this->_propDict["loginPageLayoutConfiguration"] = $val; + return $this; + } + + /** + * Gets the loginPageTextVisibilitySettings + * + * @return LoginPageTextVisibilitySettings|null The loginPageTextVisibilitySettings + */ + public function getLoginPageTextVisibilitySettings() + { + if (array_key_exists("loginPageTextVisibilitySettings", $this->_propDict)) { + if (is_a($this->_propDict["loginPageTextVisibilitySettings"], "\Microsoft\Graph\Model\LoginPageTextVisibilitySettings") || is_null($this->_propDict["loginPageTextVisibilitySettings"])) { + return $this->_propDict["loginPageTextVisibilitySettings"]; + } else { + $this->_propDict["loginPageTextVisibilitySettings"] = new LoginPageTextVisibilitySettings($this->_propDict["loginPageTextVisibilitySettings"]); + return $this->_propDict["loginPageTextVisibilitySettings"]; + } + } + return null; + } + + /** + * Sets the loginPageTextVisibilitySettings + * + * @param LoginPageTextVisibilitySettings $val The loginPageTextVisibilitySettings + * + * @return OrganizationalBrandingProperties + */ + public function setLoginPageTextVisibilitySettings($val) + { + $this->_propDict["loginPageTextVisibilitySettings"] = $val; + return $this; + } + /** * Gets the signInPageText * Text that appears at the bottom of the sign-in box. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode and not exceed 1024 characters. @@ -268,6 +774,64 @@ public function setSquareLogo($val) return $this; } + /** + * Gets the squareLogoDark + * + * @return \GuzzleHttp\Psr7\Stream|null The squareLogoDark + */ + public function getSquareLogoDark() + { + if (array_key_exists("squareLogoDark", $this->_propDict)) { + if (is_a($this->_propDict["squareLogoDark"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["squareLogoDark"])) { + return $this->_propDict["squareLogoDark"]; + } else { + $this->_propDict["squareLogoDark"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["squareLogoDark"]); + return $this->_propDict["squareLogoDark"]; + } + } + return null; + } + + /** + * Sets the squareLogoDark + * + * @param \GuzzleHttp\Psr7\Stream $val The squareLogoDark + * + * @return OrganizationalBrandingProperties + */ + public function setSquareLogoDark($val) + { + $this->_propDict["squareLogoDark"] = $val; + return $this; + } + + /** + * Gets the squareLogoDarkRelativeUrl + * + * @return string|null The squareLogoDarkRelativeUrl + */ + public function getSquareLogoDarkRelativeUrl() + { + if (array_key_exists("squareLogoDarkRelativeUrl", $this->_propDict)) { + return $this->_propDict["squareLogoDarkRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the squareLogoDarkRelativeUrl + * + * @param string $val The squareLogoDarkRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setSquareLogoDarkRelativeUrl($val) + { + $this->_propDict["squareLogoDarkRelativeUrl"] = $val; + return $this; + } + /** * Gets the squareLogoRelativeUrl * A relative url for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. diff --git a/src/Model/OutlookCategory.php b/src/Model/OutlookCategory.php index a6490315513..1e168c162ad 100644 --- a/src/Model/OutlookCategory.php +++ b/src/Model/OutlookCategory.php @@ -26,7 +26,7 @@ class OutlookCategory extends Entity { /** * Gets the color - * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. + * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. For more details, see the following note. * * @return CategoryColor|null The color */ @@ -45,7 +45,7 @@ public function getColor() /** * Sets the color - * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. + * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. For more details, see the following note. * * @param CategoryColor $val The color * diff --git a/src/Model/ParseExpressionResponse.php b/src/Model/ParseExpressionResponse.php new file mode 100644 index 00000000000..95629062689 --- /dev/null +++ b/src/Model/ParseExpressionResponse.php @@ -0,0 +1,166 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param PublicError $val The value to assign to the error + * + * @return ParseExpressionResponse The ParseExpressionResponse + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the evaluationResult + * + * @return string|null The evaluationResult + */ + public function getEvaluationResult() + { + if (array_key_exists("evaluationResult", $this->_propDict)) { + return $this->_propDict["evaluationResult"]; + } else { + return null; + } + } + + /** + * Sets the evaluationResult + * + * @param string $val The value of the evaluationResult + * + * @return ParseExpressionResponse + */ + public function setEvaluationResult($val) + { + $this->_propDict["evaluationResult"] = $val; + return $this; + } + /** + * Gets the evaluationSucceeded + * + * @return bool|null The evaluationSucceeded + */ + public function getEvaluationSucceeded() + { + if (array_key_exists("evaluationSucceeded", $this->_propDict)) { + return $this->_propDict["evaluationSucceeded"]; + } else { + return null; + } + } + + /** + * Sets the evaluationSucceeded + * + * @param bool $val The value of the evaluationSucceeded + * + * @return ParseExpressionResponse + */ + public function setEvaluationSucceeded($val) + { + $this->_propDict["evaluationSucceeded"] = $val; + return $this; + } + + /** + * Gets the parsedExpression + * + * @return AttributeMappingSource|null The parsedExpression + */ + public function getParsedExpression() + { + if (array_key_exists("parsedExpression", $this->_propDict)) { + if (is_a($this->_propDict["parsedExpression"], "\Microsoft\Graph\Model\AttributeMappingSource") || is_null($this->_propDict["parsedExpression"])) { + return $this->_propDict["parsedExpression"]; + } else { + $this->_propDict["parsedExpression"] = new AttributeMappingSource($this->_propDict["parsedExpression"]); + return $this->_propDict["parsedExpression"]; + } + } + return null; + } + + /** + * Sets the parsedExpression + * + * @param AttributeMappingSource $val The value to assign to the parsedExpression + * + * @return ParseExpressionResponse The ParseExpressionResponse + */ + public function setParsedExpression($val) + { + $this->_propDict["parsedExpression"] = $val; + return $this; + } + /** + * Gets the parsingSucceeded + * + * @return bool|null The parsingSucceeded + */ + public function getParsingSucceeded() + { + if (array_key_exists("parsingSucceeded", $this->_propDict)) { + return $this->_propDict["parsingSucceeded"]; + } else { + return null; + } + } + + /** + * Sets the parsingSucceeded + * + * @param bool $val The value of the parsingSucceeded + * + * @return ParseExpressionResponse + */ + public function setParsingSucceeded($val) + { + $this->_propDict["parsingSucceeded"] = $val; + return $this; + } +} diff --git a/src/Model/Participant.php b/src/Model/Participant.php index b505a19f365..6e8fbdbc4fa 100644 --- a/src/Model/Participant.php +++ b/src/Model/Participant.php @@ -207,4 +207,37 @@ public function setRecordingInfo($val) return $this; } + /** + * Gets the restrictedExperience + * Indicates the reason or reasons media content from this participant is restricted. + * + * @return OnlineMeetingRestricted|null The restrictedExperience + */ + public function getRestrictedExperience() + { + if (array_key_exists("restrictedExperience", $this->_propDict)) { + if (is_a($this->_propDict["restrictedExperience"], "\Microsoft\Graph\Model\OnlineMeetingRestricted") || is_null($this->_propDict["restrictedExperience"])) { + return $this->_propDict["restrictedExperience"]; + } else { + $this->_propDict["restrictedExperience"] = new OnlineMeetingRestricted($this->_propDict["restrictedExperience"]); + return $this->_propDict["restrictedExperience"]; + } + } + return null; + } + + /** + * Sets the restrictedExperience + * Indicates the reason or reasons media content from this participant is restricted. + * + * @param OnlineMeetingRestricted $val The restrictedExperience + * + * @return Participant + */ + public function setRestrictedExperience($val) + { + $this->_propDict["restrictedExperience"] = $val; + return $this; + } + } diff --git a/src/Model/Person.php b/src/Model/Person.php index 53161e3a525..a4087b49711 100644 --- a/src/Model/Person.php +++ b/src/Model/Person.php @@ -200,7 +200,7 @@ public function setImAddress($val) /** * Gets the isFavorite - * true if the user has flagged this person as a favorite. + * True if the user has flagged this person as a favorite. * * @return bool|null The isFavorite */ @@ -215,7 +215,7 @@ public function getIsFavorite() /** * Sets the isFavorite - * true if the user has flagged this person as a favorite. + * True if the user has flagged this person as a favorite. * * @param bool $val The isFavorite * diff --git a/src/Model/PublicErrorResponse.php b/src/Model/PublicErrorResponse.php new file mode 100644 index 00000000000..0b7538d1d0a --- /dev/null +++ b/src/Model/PublicErrorResponse.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param PublicError $val The value to assign to the error + * + * @return PublicErrorResponse The PublicErrorResponse + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } +} diff --git a/src/Model/QuarantineReason.php b/src/Model/QuarantineReason.php new file mode 100644 index 00000000000..2dad9d5fa75 --- /dev/null +++ b/src/Model/QuarantineReason.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["referencedObjectName"]; + } else { + return null; + } + } + + /** + * Sets the referencedObjectName + * + * @param string $val The value of the referencedObjectName + * + * @return ReferencedObject + */ + public function setReferencedObjectName($val) + { + $this->_propDict["referencedObjectName"] = $val; + return $this; + } + /** + * Gets the referencedProperty + * + * @return string|null The referencedProperty + */ + public function getReferencedProperty() + { + if (array_key_exists("referencedProperty", $this->_propDict)) { + return $this->_propDict["referencedProperty"]; + } else { + return null; + } + } + + /** + * Sets the referencedProperty + * + * @param string $val The value of the referencedProperty + * + * @return ReferencedObject + */ + public function setReferencedProperty($val) + { + $this->_propDict["referencedProperty"] = $val; + return $this; + } +} diff --git a/src/Model/ScopeOperatorMultiValuedComparisonType.php b/src/Model/ScopeOperatorMultiValuedComparisonType.php new file mode 100644 index 00000000000..5343df1ce95 --- /dev/null +++ b/src/Model/ScopeOperatorMultiValuedComparisonType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["isCollapsed"]; + } else { + return null; + } + } + + /** + * Sets the isCollapsed + * Indicates whether the current result is collapsed when the collapseProperties property is used. + * + * @param bool $val The value of the isCollapsed + * + * @return SearchHit + */ + public function setIsCollapsed($val) + { + $this->_propDict["isCollapsed"] = $val; + return $this; + } + /** * Gets the rank * The rank or the order of the result. * diff --git a/src/Model/SearchRequest.php b/src/Model/SearchRequest.php index fdd6b4cca6c..ecea9521155 100644 --- a/src/Model/SearchRequest.php +++ b/src/Model/SearchRequest.php @@ -80,6 +80,37 @@ public function setAggregations($val) $this->_propDict["aggregations"] = $val; return $this; } + + /** + * Gets the collapseProperties + * + * @return CollapseProperty|null The collapseProperties + */ + public function getCollapseProperties() + { + if (array_key_exists("collapseProperties", $this->_propDict)) { + if (is_a($this->_propDict["collapseProperties"], "\Microsoft\Graph\Model\CollapseProperty") || is_null($this->_propDict["collapseProperties"])) { + return $this->_propDict["collapseProperties"]; + } else { + $this->_propDict["collapseProperties"] = new CollapseProperty($this->_propDict["collapseProperties"]); + return $this->_propDict["collapseProperties"]; + } + } + return null; + } + + /** + * Sets the collapseProperties + * + * @param CollapseProperty $val The value to assign to the collapseProperties + * + * @return SearchRequest The SearchRequest + */ + public function setCollapseProperties($val) + { + $this->_propDict["collapseProperties"] = $val; + return $this; + } /** * Gets the contentSources * diff --git a/src/Model/SecureScoreControlProfile.php b/src/Model/SecureScoreControlProfile.php index e21180720c4..270f9085631 100644 --- a/src/Model/SecureScoreControlProfile.php +++ b/src/Model/SecureScoreControlProfile.php @@ -438,7 +438,7 @@ public function setService($val) /** * Gets the threats - * List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage, + * List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage, * * @return array|null The threats */ @@ -453,7 +453,7 @@ public function getThreats() /** * Sets the threats - * List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage, + * List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage, * * @param string[] $val The threats * diff --git a/src/Model/ServicePrincipal.php b/src/Model/ServicePrincipal.php index 0b52426f01d..bd9103e658a 100644 --- a/src/Model/ServicePrincipal.php +++ b/src/Model/ServicePrincipal.php @@ -1473,4 +1473,35 @@ public function setTransitiveMemberOf($val) return $this; } + /** + * Gets the synchronization + * + * @return Synchronization|null The synchronization + */ + public function getSynchronization() + { + if (array_key_exists("synchronization", $this->_propDict)) { + if (is_a($this->_propDict["synchronization"], "\Microsoft\Graph\Model\Synchronization") || is_null($this->_propDict["synchronization"])) { + return $this->_propDict["synchronization"]; + } else { + $this->_propDict["synchronization"] = new Synchronization($this->_propDict["synchronization"]); + return $this->_propDict["synchronization"]; + } + } + return null; + } + + /** + * Sets the synchronization + * + * @param Synchronization $val The synchronization + * + * @return ServicePrincipal + */ + public function setSynchronization($val) + { + $this->_propDict["synchronization"] = $val; + return $this; + } + } diff --git a/src/Model/StringKeyAttributeMappingSourceValuePair.php b/src/Model/StringKeyAttributeMappingSourceValuePair.php new file mode 100644 index 00000000000..6105e674c00 --- /dev/null +++ b/src/Model/StringKeyAttributeMappingSourceValuePair.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * + * @param string $val The value of the key + * + * @return StringKeyAttributeMappingSourceValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + + /** + * Gets the value + * + * @return AttributeMappingSource|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\Microsoft\Graph\Model\AttributeMappingSource") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new AttributeMappingSource($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * + * @param AttributeMappingSource $val The value to assign to the value + * + * @return StringKeyAttributeMappingSourceValuePair The StringKeyAttributeMappingSourceValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/StringKeyLongValuePair.php b/src/Model/StringKeyLongValuePair.php new file mode 100644 index 00000000000..4a4984c9ef4 --- /dev/null +++ b/src/Model/StringKeyLongValuePair.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * + * @param string $val The value of the key + * + * @return StringKeyLongValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param int $val The value of the value + * + * @return StringKeyLongValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/StringKeyObjectValuePair.php b/src/Model/StringKeyObjectValuePair.php new file mode 100644 index 00000000000..f2466571852 --- /dev/null +++ b/src/Model/StringKeyObjectValuePair.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * + * @param string $val The value of the key + * + * @return StringKeyObjectValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } +} diff --git a/src/Model/StringKeyStringValuePair.php b/src/Model/StringKeyStringValuePair.php new file mode 100644 index 00000000000..a703b76f52d --- /dev/null +++ b/src/Model/StringKeyStringValuePair.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * + * @param string $val The value of the key + * + * @return StringKeyStringValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return StringKeyStringValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/SubscribedSku.php b/src/Model/SubscribedSku.php index ceb26c1f1cc..bf9ad49b525 100644 --- a/src/Model/SubscribedSku.php +++ b/src/Model/SubscribedSku.php @@ -24,6 +24,60 @@ */ class SubscribedSku extends Entity { + /** + * Gets the accountId + * + * @return string|null The accountId + */ + public function getAccountId() + { + if (array_key_exists("accountId", $this->_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return SubscribedSku + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the accountName + * + * @return string|null The accountName + */ + public function getAccountName() + { + if (array_key_exists("accountName", $this->_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * + * @param string $val The accountName + * + * @return SubscribedSku + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + /** * Gets the appliesTo * For example, 'User' or 'Company'. @@ -232,4 +286,31 @@ public function setSkuPartNumber($val) return $this; } + /** + * Gets the subscriptionIds + * + * @return array|null The subscriptionIds + */ + public function getSubscriptionIds() + { + if (array_key_exists("subscriptionIds", $this->_propDict)) { + return $this->_propDict["subscriptionIds"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionIds + * + * @param string[] $val The subscriptionIds + * + * @return SubscribedSku + */ + public function setSubscriptionIds($val) + { + $this->_propDict["subscriptionIds"] = $val; + return $this; + } + } diff --git a/src/Model/Synchronization.php b/src/Model/Synchronization.php new file mode 100644 index 00000000000..be427949847 --- /dev/null +++ b/src/Model/Synchronization.php @@ -0,0 +1,111 @@ +_propDict)) { + return $this->_propDict["secrets"]; + } else { + return null; + } + } + + /** + * Sets the secrets + * + * @param SynchronizationSecretKeyStringValuePair[] $val The secrets + * + * @return Synchronization + */ + public function setSecrets($val) + { + $this->_propDict["secrets"] = $val; + return $this; + } + + + /** + * Gets the jobs + * + * @return array|null The jobs + */ + public function getJobs() + { + if (array_key_exists("jobs", $this->_propDict)) { + return $this->_propDict["jobs"]; + } else { + return null; + } + } + + /** + * Sets the jobs + * + * @param SynchronizationJob[] $val The jobs + * + * @return Synchronization + */ + public function setJobs($val) + { + $this->_propDict["jobs"] = $val; + return $this; + } + + + /** + * Gets the templates + * + * @return array|null The templates + */ + public function getTemplates() + { + if (array_key_exists("templates", $this->_propDict)) { + return $this->_propDict["templates"]; + } else { + return null; + } + } + + /** + * Sets the templates + * + * @param SynchronizationTemplate[] $val The templates + * + * @return Synchronization + */ + public function setTemplates($val) + { + $this->_propDict["templates"] = $val; + return $this; + } + +} diff --git a/src/Model/SynchronizationDisposition.php b/src/Model/SynchronizationDisposition.php new file mode 100644 index 00000000000..73b9a8c5971 --- /dev/null +++ b/src/Model/SynchronizationDisposition.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The value of the code + * + * @return SynchronizationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * + * @param string $val The value of the message + * + * @return SynchronizationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the tenantActionable + * + * @return bool|null The tenantActionable + */ + public function getTenantActionable() + { + if (array_key_exists("tenantActionable", $this->_propDict)) { + return $this->_propDict["tenantActionable"]; + } else { + return null; + } + } + + /** + * Sets the tenantActionable + * + * @param bool $val The value of the tenantActionable + * + * @return SynchronizationError + */ + public function setTenantActionable($val) + { + $this->_propDict["tenantActionable"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationJob.php b/src/Model/SynchronizationJob.php new file mode 100644 index 00000000000..50cbad121d2 --- /dev/null +++ b/src/Model/SynchronizationJob.php @@ -0,0 +1,175 @@ +_propDict)) { + if (is_a($this->_propDict["schedule"], "\Microsoft\Graph\Model\SynchronizationSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new SynchronizationSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * + * @param SynchronizationSchedule $val The schedule + * + * @return SynchronizationJob + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return SynchronizationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SynchronizationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SynchronizationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param SynchronizationStatus $val The status + * + * @return SynchronizationJob + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the synchronizationJobSettings + * + * @return array|null The synchronizationJobSettings + */ + public function getSynchronizationJobSettings() + { + if (array_key_exists("synchronizationJobSettings", $this->_propDict)) { + return $this->_propDict["synchronizationJobSettings"]; + } else { + return null; + } + } + + /** + * Sets the synchronizationJobSettings + * + * @param KeyValuePair[] $val The synchronizationJobSettings + * + * @return SynchronizationJob + */ + public function setSynchronizationJobSettings($val) + { + $this->_propDict["synchronizationJobSettings"] = $val; + return $this; + } + + /** + * Gets the templateId + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * + * @param string $val The templateId + * + * @return SynchronizationJob + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + /** + * Gets the schema + * + * @return SynchronizationSchema|null The schema + */ + public function getSchema() + { + if (array_key_exists("schema", $this->_propDict)) { + if (is_a($this->_propDict["schema"], "\Microsoft\Graph\Model\SynchronizationSchema") || is_null($this->_propDict["schema"])) { + return $this->_propDict["schema"]; + } else { + $this->_propDict["schema"] = new SynchronizationSchema($this->_propDict["schema"]); + return $this->_propDict["schema"]; + } + } + return null; + } + + /** + * Sets the schema + * + * @param SynchronizationSchema $val The schema + * + * @return SynchronizationJob + */ + public function setSchema($val) + { + $this->_propDict["schema"] = $val; + return $this; + } + +} diff --git a/src/Model/SynchronizationJobApplicationParameters.php b/src/Model/SynchronizationJobApplicationParameters.php new file mode 100644 index 00000000000..a7ac622e007 --- /dev/null +++ b/src/Model/SynchronizationJobApplicationParameters.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["ruleId"]; + } else { + return null; + } + } + + /** + * Sets the ruleId + * + * @param string $val The value of the ruleId + * + * @return SynchronizationJobApplicationParameters + */ + public function setRuleId($val) + { + $this->_propDict["ruleId"] = $val; + return $this; + } + + /** + * Gets the subjects + * + * @return SynchronizationJobSubject|null The subjects + */ + public function getSubjects() + { + if (array_key_exists("subjects", $this->_propDict)) { + if (is_a($this->_propDict["subjects"], "\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["subjects"])) { + return $this->_propDict["subjects"]; + } else { + $this->_propDict["subjects"] = new SynchronizationJobSubject($this->_propDict["subjects"]); + return $this->_propDict["subjects"]; + } + } + return null; + } + + /** + * Sets the subjects + * + * @param SynchronizationJobSubject $val The value to assign to the subjects + * + * @return SynchronizationJobApplicationParameters The SynchronizationJobApplicationParameters + */ + public function setSubjects($val) + { + $this->_propDict["subjects"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationJobRestartCriteria.php b/src/Model/SynchronizationJobRestartCriteria.php new file mode 100644 index 00000000000..71cd165917a --- /dev/null +++ b/src/Model/SynchronizationJobRestartCriteria.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["resetScope"], "\Microsoft\Graph\Model\SynchronizationJobRestartScope") || is_null($this->_propDict["resetScope"])) { + return $this->_propDict["resetScope"]; + } else { + $this->_propDict["resetScope"] = new SynchronizationJobRestartScope($this->_propDict["resetScope"]); + return $this->_propDict["resetScope"]; + } + } + return null; + } + + /** + * Sets the resetScope + * + * @param SynchronizationJobRestartScope $val The value to assign to the resetScope + * + * @return SynchronizationJobRestartCriteria The SynchronizationJobRestartCriteria + */ + public function setResetScope($val) + { + $this->_propDict["resetScope"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationJobRestartScope.php b/src/Model/SynchronizationJobRestartScope.php new file mode 100644 index 00000000000..6969d2dee12 --- /dev/null +++ b/src/Model/SynchronizationJobRestartScope.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\SynchronizationLinkedObjects") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new SynchronizationLinkedObjects($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * + * @param SynchronizationLinkedObjects $val The value to assign to the links + * + * @return SynchronizationJobSubject The SynchronizationJobSubject + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + /** + * Gets the objectId + * + * @return string|null The objectId + */ + public function getObjectId() + { + if (array_key_exists("objectId", $this->_propDict)) { + return $this->_propDict["objectId"]; + } else { + return null; + } + } + + /** + * Sets the objectId + * + * @param string $val The value of the objectId + * + * @return SynchronizationJobSubject + */ + public function setObjectId($val) + { + $this->_propDict["objectId"] = $val; + return $this; + } + /** + * Gets the objectTypeName + * + * @return string|null The objectTypeName + */ + public function getObjectTypeName() + { + if (array_key_exists("objectTypeName", $this->_propDict)) { + return $this->_propDict["objectTypeName"]; + } else { + return null; + } + } + + /** + * Sets the objectTypeName + * + * @param string $val The value of the objectTypeName + * + * @return SynchronizationJobSubject + */ + public function setObjectTypeName($val) + { + $this->_propDict["objectTypeName"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationLinkedObjects.php b/src/Model/SynchronizationLinkedObjects.php new file mode 100644 index 00000000000..12677d0b583 --- /dev/null +++ b/src/Model/SynchronizationLinkedObjects.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["manager"], "\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["manager"])) { + return $this->_propDict["manager"]; + } else { + $this->_propDict["manager"] = new SynchronizationJobSubject($this->_propDict["manager"]); + return $this->_propDict["manager"]; + } + } + return null; + } + + /** + * Sets the manager + * + * @param SynchronizationJobSubject $val The value to assign to the manager + * + * @return SynchronizationLinkedObjects The SynchronizationLinkedObjects + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + /** + * Gets the members + * + * @return SynchronizationJobSubject|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new SynchronizationJobSubject($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * + * @param SynchronizationJobSubject $val The value to assign to the members + * + * @return SynchronizationLinkedObjects The SynchronizationLinkedObjects + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + /** + * Gets the owners + * + * @return SynchronizationJobSubject|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + if (is_a($this->_propDict["owners"], "\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["owners"])) { + return $this->_propDict["owners"]; + } else { + $this->_propDict["owners"] = new SynchronizationJobSubject($this->_propDict["owners"]); + return $this->_propDict["owners"]; + } + } + return null; + } + + /** + * Sets the owners + * + * @param SynchronizationJobSubject $val The value to assign to the owners + * + * @return SynchronizationLinkedObjects The SynchronizationLinkedObjects + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationMetadata.php b/src/Model/SynchronizationMetadata.php new file mode 100644 index 00000000000..c43949a9c38 --- /dev/null +++ b/src/Model/SynchronizationMetadata.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Microsoft\Graph\Model\SynchronizationMetadata") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new SynchronizationMetadata($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * + * @param SynchronizationMetadata $val The value to assign to the key + * + * @return SynchronizationMetadataEntry The SynchronizationMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return SynchronizationMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationProgress.php b/src/Model/SynchronizationProgress.php new file mode 100644 index 00000000000..c2f8a7509d9 --- /dev/null +++ b/src/Model/SynchronizationProgress.php @@ -0,0 +1,135 @@ +_propDict)) { + return $this->_propDict["completedUnits"]; + } else { + return null; + } + } + + /** + * Sets the completedUnits + * + * @param int $val The value of the completedUnits + * + * @return SynchronizationProgress + */ + public function setCompletedUnits($val) + { + $this->_propDict["completedUnits"] = $val; + return $this; + } + + /** + * Gets the progressObservationDateTime + * + * @return \DateTime|null The progressObservationDateTime + */ + public function getProgressObservationDateTime() + { + if (array_key_exists("progressObservationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["progressObservationDateTime"], "\DateTime") || is_null($this->_propDict["progressObservationDateTime"])) { + return $this->_propDict["progressObservationDateTime"]; + } else { + $this->_propDict["progressObservationDateTime"] = new \DateTime($this->_propDict["progressObservationDateTime"]); + return $this->_propDict["progressObservationDateTime"]; + } + } + return null; + } + + /** + * Sets the progressObservationDateTime + * + * @param \DateTime $val The value to assign to the progressObservationDateTime + * + * @return SynchronizationProgress The SynchronizationProgress + */ + public function setProgressObservationDateTime($val) + { + $this->_propDict["progressObservationDateTime"] = $val; + return $this; + } + /** + * Gets the totalUnits + * + * @return int|null The totalUnits + */ + public function getTotalUnits() + { + if (array_key_exists("totalUnits", $this->_propDict)) { + return $this->_propDict["totalUnits"]; + } else { + return null; + } + } + + /** + * Sets the totalUnits + * + * @param int $val The value of the totalUnits + * + * @return SynchronizationProgress + */ + public function setTotalUnits($val) + { + $this->_propDict["totalUnits"] = $val; + return $this; + } + /** + * Gets the units + * + * @return string|null The units + */ + public function getUnits() + { + if (array_key_exists("units", $this->_propDict)) { + return $this->_propDict["units"]; + } else { + return null; + } + } + + /** + * Sets the units + * + * @param string $val The value of the units + * + * @return SynchronizationProgress + */ + public function setUnits($val) + { + $this->_propDict["units"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationQuarantine.php b/src/Model/SynchronizationQuarantine.php new file mode 100644 index 00000000000..255af4e22d0 --- /dev/null +++ b/src/Model/SynchronizationQuarantine.php @@ -0,0 +1,207 @@ +_propDict)) { + if (is_a($this->_propDict["currentBegan"], "\DateTime") || is_null($this->_propDict["currentBegan"])) { + return $this->_propDict["currentBegan"]; + } else { + $this->_propDict["currentBegan"] = new \DateTime($this->_propDict["currentBegan"]); + return $this->_propDict["currentBegan"]; + } + } + return null; + } + + /** + * Sets the currentBegan + * + * @param \DateTime $val The value to assign to the currentBegan + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setCurrentBegan($val) + { + $this->_propDict["currentBegan"] = $val; + return $this; + } + + /** + * Gets the error + * + * @return SynchronizationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\SynchronizationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new SynchronizationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param SynchronizationError $val The value to assign to the error + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the nextAttempt + * + * @return \DateTime|null The nextAttempt + */ + public function getNextAttempt() + { + if (array_key_exists("nextAttempt", $this->_propDict)) { + if (is_a($this->_propDict["nextAttempt"], "\DateTime") || is_null($this->_propDict["nextAttempt"])) { + return $this->_propDict["nextAttempt"]; + } else { + $this->_propDict["nextAttempt"] = new \DateTime($this->_propDict["nextAttempt"]); + return $this->_propDict["nextAttempt"]; + } + } + return null; + } + + /** + * Sets the nextAttempt + * + * @param \DateTime $val The value to assign to the nextAttempt + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setNextAttempt($val) + { + $this->_propDict["nextAttempt"] = $val; + return $this; + } + + /** + * Gets the reason + * + * @return QuarantineReason|null The reason + */ + public function getReason() + { + if (array_key_exists("reason", $this->_propDict)) { + if (is_a($this->_propDict["reason"], "\Microsoft\Graph\Model\QuarantineReason") || is_null($this->_propDict["reason"])) { + return $this->_propDict["reason"]; + } else { + $this->_propDict["reason"] = new QuarantineReason($this->_propDict["reason"]); + return $this->_propDict["reason"]; + } + } + return null; + } + + /** + * Sets the reason + * + * @param QuarantineReason $val The value to assign to the reason + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the seriesBegan + * + * @return \DateTime|null The seriesBegan + */ + public function getSeriesBegan() + { + if (array_key_exists("seriesBegan", $this->_propDict)) { + if (is_a($this->_propDict["seriesBegan"], "\DateTime") || is_null($this->_propDict["seriesBegan"])) { + return $this->_propDict["seriesBegan"]; + } else { + $this->_propDict["seriesBegan"] = new \DateTime($this->_propDict["seriesBegan"]); + return $this->_propDict["seriesBegan"]; + } + } + return null; + } + + /** + * Sets the seriesBegan + * + * @param \DateTime $val The value to assign to the seriesBegan + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setSeriesBegan($val) + { + $this->_propDict["seriesBegan"] = $val; + return $this; + } + /** + * Gets the seriesCount + * + * @return int|null The seriesCount + */ + public function getSeriesCount() + { + if (array_key_exists("seriesCount", $this->_propDict)) { + return $this->_propDict["seriesCount"]; + } else { + return null; + } + } + + /** + * Sets the seriesCount + * + * @param int $val The value of the seriesCount + * + * @return SynchronizationQuarantine + */ + public function setSeriesCount($val) + { + $this->_propDict["seriesCount"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationRule.php b/src/Model/SynchronizationRule.php new file mode 100644 index 00000000000..6adf34ecdd7 --- /dev/null +++ b/src/Model/SynchronizationRule.php @@ -0,0 +1,306 @@ +_propDict)) { + if (is_a($this->_propDict["containerFilter"], "\Microsoft\Graph\Model\ContainerFilter") || is_null($this->_propDict["containerFilter"])) { + return $this->_propDict["containerFilter"]; + } else { + $this->_propDict["containerFilter"] = new ContainerFilter($this->_propDict["containerFilter"]); + return $this->_propDict["containerFilter"]; + } + } + return null; + } + + /** + * Sets the containerFilter + * + * @param ContainerFilter $val The value to assign to the containerFilter + * + * @return SynchronizationRule The SynchronizationRule + */ + public function setContainerFilter($val) + { + $this->_propDict["containerFilter"] = $val; + return $this; + } + /** + * Gets the editable + * + * @return bool|null The editable + */ + public function getEditable() + { + if (array_key_exists("editable", $this->_propDict)) { + return $this->_propDict["editable"]; + } else { + return null; + } + } + + /** + * Sets the editable + * + * @param bool $val The value of the editable + * + * @return SynchronizationRule + */ + public function setEditable($val) + { + $this->_propDict["editable"] = $val; + return $this; + } + + /** + * Gets the groupFilter + * + * @return GroupFilter|null The groupFilter + */ + public function getGroupFilter() + { + if (array_key_exists("groupFilter", $this->_propDict)) { + if (is_a($this->_propDict["groupFilter"], "\Microsoft\Graph\Model\GroupFilter") || is_null($this->_propDict["groupFilter"])) { + return $this->_propDict["groupFilter"]; + } else { + $this->_propDict["groupFilter"] = new GroupFilter($this->_propDict["groupFilter"]); + return $this->_propDict["groupFilter"]; + } + } + return null; + } + + /** + * Sets the groupFilter + * + * @param GroupFilter $val The value to assign to the groupFilter + * + * @return SynchronizationRule The SynchronizationRule + */ + public function setGroupFilter($val) + { + $this->_propDict["groupFilter"] = $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 SynchronizationRule + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the metadata + * + * @return StringKeyStringValuePair|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Microsoft\Graph\Model\StringKeyStringValuePair") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new StringKeyStringValuePair($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * + * @param StringKeyStringValuePair $val The value to assign to the metadata + * + * @return SynchronizationRule The SynchronizationRule + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $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 SynchronizationRule + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the objectMappings + * + * @return ObjectMapping|null The objectMappings + */ + public function getObjectMappings() + { + if (array_key_exists("objectMappings", $this->_propDict)) { + if (is_a($this->_propDict["objectMappings"], "\Microsoft\Graph\Model\ObjectMapping") || is_null($this->_propDict["objectMappings"])) { + return $this->_propDict["objectMappings"]; + } else { + $this->_propDict["objectMappings"] = new ObjectMapping($this->_propDict["objectMappings"]); + return $this->_propDict["objectMappings"]; + } + } + return null; + } + + /** + * Sets the objectMappings + * + * @param ObjectMapping $val The value to assign to the objectMappings + * + * @return SynchronizationRule The SynchronizationRule + */ + public function setObjectMappings($val) + { + $this->_propDict["objectMappings"] = $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 value of the priority + * + * @return SynchronizationRule + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + /** + * Gets the sourceDirectoryName + * + * @return string|null The sourceDirectoryName + */ + public function getSourceDirectoryName() + { + if (array_key_exists("sourceDirectoryName", $this->_propDict)) { + return $this->_propDict["sourceDirectoryName"]; + } else { + return null; + } + } + + /** + * Sets the sourceDirectoryName + * + * @param string $val The value of the sourceDirectoryName + * + * @return SynchronizationRule + */ + public function setSourceDirectoryName($val) + { + $this->_propDict["sourceDirectoryName"] = $val; + return $this; + } + /** + * Gets the targetDirectoryName + * + * @return string|null The targetDirectoryName + */ + public function getTargetDirectoryName() + { + if (array_key_exists("targetDirectoryName", $this->_propDict)) { + return $this->_propDict["targetDirectoryName"]; + } else { + return null; + } + } + + /** + * Sets the targetDirectoryName + * + * @param string $val The value of the targetDirectoryName + * + * @return SynchronizationRule + */ + public function setTargetDirectoryName($val) + { + $this->_propDict["targetDirectoryName"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationSchedule.php b/src/Model/SynchronizationSchedule.php new file mode 100644 index 00000000000..f7c27215f1a --- /dev/null +++ b/src/Model/SynchronizationSchedule.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["expiration"], "\DateTime") || is_null($this->_propDict["expiration"])) { + return $this->_propDict["expiration"]; + } else { + $this->_propDict["expiration"] = new \DateTime($this->_propDict["expiration"]); + return $this->_propDict["expiration"]; + } + } + return null; + } + + /** + * Sets the expiration + * + * @param \DateTime $val The value to assign to the expiration + * + * @return SynchronizationSchedule The SynchronizationSchedule + */ + public function setExpiration($val) + { + $this->_propDict["expiration"] = $val; + return $this; + } + + /** + * Gets the interval + * + * @return \DateInterval|null The interval + */ + public function getInterval() + { + if (array_key_exists("interval", $this->_propDict)) { + if (is_a($this->_propDict["interval"], "\DateInterval") || is_null($this->_propDict["interval"])) { + return $this->_propDict["interval"]; + } else { + $this->_propDict["interval"] = new \DateInterval($this->_propDict["interval"]); + return $this->_propDict["interval"]; + } + } + return null; + } + + /** + * Sets the interval + * + * @param \DateInterval $val The value to assign to the interval + * + * @return SynchronizationSchedule The SynchronizationSchedule + */ + public function setInterval($val) + { + $this->_propDict["interval"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return SynchronizationScheduleState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\SynchronizationScheduleState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new SynchronizationScheduleState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param SynchronizationScheduleState $val The value to assign to the state + * + * @return SynchronizationSchedule The SynchronizationSchedule + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationScheduleState.php b/src/Model/SynchronizationScheduleState.php new file mode 100644 index 00000000000..861509cddf4 --- /dev/null +++ b/src/Model/SynchronizationScheduleState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["synchronizationRules"]; + } else { + return null; + } + } + + /** + * Sets the synchronizationRules + * + * @param SynchronizationRule[] $val The synchronizationRules + * + * @return SynchronizationSchema + */ + public function setSynchronizationRules($val) + { + $this->_propDict["synchronizationRules"] = $val; + return $this; + } + + /** + * Gets the version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param string $val The version + * + * @return SynchronizationSchema + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the directories + * + * @return array|null The directories + */ + public function getDirectories() + { + if (array_key_exists("directories", $this->_propDict)) { + return $this->_propDict["directories"]; + } else { + return null; + } + } + + /** + * Sets the directories + * + * @param DirectoryDefinition[] $val The directories + * + * @return SynchronizationSchema + */ + public function setDirectories($val) + { + $this->_propDict["directories"] = $val; + return $this; + } + +} diff --git a/src/Model/SynchronizationSecret.php b/src/Model/SynchronizationSecret.php new file mode 100644 index 00000000000..a02c733b543 --- /dev/null +++ b/src/Model/SynchronizationSecret.php @@ -0,0 +1,77 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Microsoft\Graph\Model\SynchronizationSecret") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new SynchronizationSecret($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * + * @param SynchronizationSecret $val The value to assign to the key + * + * @return SynchronizationSecretKeyStringValuePair The SynchronizationSecretKeyStringValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return SynchronizationSecretKeyStringValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationStatus.php b/src/Model/SynchronizationStatus.php new file mode 100644 index 00000000000..3a9e40b095f --- /dev/null +++ b/src/Model/SynchronizationStatus.php @@ -0,0 +1,383 @@ +_propDict)) { + if (is_a($this->_propDict["code"], "\Microsoft\Graph\Model\SynchronizationStatusCode") || is_null($this->_propDict["code"])) { + return $this->_propDict["code"]; + } else { + $this->_propDict["code"] = new SynchronizationStatusCode($this->_propDict["code"]); + return $this->_propDict["code"]; + } + } + return null; + } + + /** + * Sets the code + * + * @param SynchronizationStatusCode $val The value to assign to the code + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the countSuccessiveCompleteFailures + * + * @return int|null The countSuccessiveCompleteFailures + */ + public function getCountSuccessiveCompleteFailures() + { + if (array_key_exists("countSuccessiveCompleteFailures", $this->_propDict)) { + return $this->_propDict["countSuccessiveCompleteFailures"]; + } else { + return null; + } + } + + /** + * Sets the countSuccessiveCompleteFailures + * + * @param int $val The value of the countSuccessiveCompleteFailures + * + * @return SynchronizationStatus + */ + public function setCountSuccessiveCompleteFailures($val) + { + $this->_propDict["countSuccessiveCompleteFailures"] = $val; + return $this; + } + /** + * Gets the escrowsPruned + * + * @return bool|null The escrowsPruned + */ + public function getEscrowsPruned() + { + if (array_key_exists("escrowsPruned", $this->_propDict)) { + return $this->_propDict["escrowsPruned"]; + } else { + return null; + } + } + + /** + * Sets the escrowsPruned + * + * @param bool $val The value of the escrowsPruned + * + * @return SynchronizationStatus + */ + public function setEscrowsPruned($val) + { + $this->_propDict["escrowsPruned"] = $val; + return $this; + } + + /** + * Gets the lastExecution + * + * @return SynchronizationTaskExecution|null The lastExecution + */ + public function getLastExecution() + { + if (array_key_exists("lastExecution", $this->_propDict)) { + if (is_a($this->_propDict["lastExecution"], "\Microsoft\Graph\Model\SynchronizationTaskExecution") || is_null($this->_propDict["lastExecution"])) { + return $this->_propDict["lastExecution"]; + } else { + $this->_propDict["lastExecution"] = new SynchronizationTaskExecution($this->_propDict["lastExecution"]); + return $this->_propDict["lastExecution"]; + } + } + return null; + } + + /** + * Sets the lastExecution + * + * @param SynchronizationTaskExecution $val The value to assign to the lastExecution + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setLastExecution($val) + { + $this->_propDict["lastExecution"] = $val; + return $this; + } + + /** + * Gets the lastSuccessfulExecution + * + * @return SynchronizationTaskExecution|null The lastSuccessfulExecution + */ + public function getLastSuccessfulExecution() + { + if (array_key_exists("lastSuccessfulExecution", $this->_propDict)) { + if (is_a($this->_propDict["lastSuccessfulExecution"], "\Microsoft\Graph\Model\SynchronizationTaskExecution") || is_null($this->_propDict["lastSuccessfulExecution"])) { + return $this->_propDict["lastSuccessfulExecution"]; + } else { + $this->_propDict["lastSuccessfulExecution"] = new SynchronizationTaskExecution($this->_propDict["lastSuccessfulExecution"]); + return $this->_propDict["lastSuccessfulExecution"]; + } + } + return null; + } + + /** + * Sets the lastSuccessfulExecution + * + * @param SynchronizationTaskExecution $val The value to assign to the lastSuccessfulExecution + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setLastSuccessfulExecution($val) + { + $this->_propDict["lastSuccessfulExecution"] = $val; + return $this; + } + + /** + * Gets the lastSuccessfulExecutionWithExports + * + * @return SynchronizationTaskExecution|null The lastSuccessfulExecutionWithExports + */ + public function getLastSuccessfulExecutionWithExports() + { + if (array_key_exists("lastSuccessfulExecutionWithExports", $this->_propDict)) { + if (is_a($this->_propDict["lastSuccessfulExecutionWithExports"], "\Microsoft\Graph\Model\SynchronizationTaskExecution") || is_null($this->_propDict["lastSuccessfulExecutionWithExports"])) { + return $this->_propDict["lastSuccessfulExecutionWithExports"]; + } else { + $this->_propDict["lastSuccessfulExecutionWithExports"] = new SynchronizationTaskExecution($this->_propDict["lastSuccessfulExecutionWithExports"]); + return $this->_propDict["lastSuccessfulExecutionWithExports"]; + } + } + return null; + } + + /** + * Sets the lastSuccessfulExecutionWithExports + * + * @param SynchronizationTaskExecution $val The value to assign to the lastSuccessfulExecutionWithExports + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setLastSuccessfulExecutionWithExports($val) + { + $this->_propDict["lastSuccessfulExecutionWithExports"] = $val; + return $this; + } + + /** + * Gets the progress + * + * @return SynchronizationProgress|null The progress + */ + public function getProgress() + { + if (array_key_exists("progress", $this->_propDict)) { + if (is_a($this->_propDict["progress"], "\Microsoft\Graph\Model\SynchronizationProgress") || is_null($this->_propDict["progress"])) { + return $this->_propDict["progress"]; + } else { + $this->_propDict["progress"] = new SynchronizationProgress($this->_propDict["progress"]); + return $this->_propDict["progress"]; + } + } + return null; + } + + /** + * Sets the progress + * + * @param SynchronizationProgress $val The value to assign to the progress + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setProgress($val) + { + $this->_propDict["progress"] = $val; + return $this; + } + + /** + * Gets the quarantine + * + * @return SynchronizationQuarantine|null The quarantine + */ + public function getQuarantine() + { + if (array_key_exists("quarantine", $this->_propDict)) { + if (is_a($this->_propDict["quarantine"], "\Microsoft\Graph\Model\SynchronizationQuarantine") || is_null($this->_propDict["quarantine"])) { + return $this->_propDict["quarantine"]; + } else { + $this->_propDict["quarantine"] = new SynchronizationQuarantine($this->_propDict["quarantine"]); + return $this->_propDict["quarantine"]; + } + } + return null; + } + + /** + * Sets the quarantine + * + * @param SynchronizationQuarantine $val The value to assign to the quarantine + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setQuarantine($val) + { + $this->_propDict["quarantine"] = $val; + return $this; + } + + /** + * Gets the steadyStateFirstAchievedTime + * + * @return \DateTime|null The steadyStateFirstAchievedTime + */ + public function getSteadyStateFirstAchievedTime() + { + if (array_key_exists("steadyStateFirstAchievedTime", $this->_propDict)) { + if (is_a($this->_propDict["steadyStateFirstAchievedTime"], "\DateTime") || is_null($this->_propDict["steadyStateFirstAchievedTime"])) { + return $this->_propDict["steadyStateFirstAchievedTime"]; + } else { + $this->_propDict["steadyStateFirstAchievedTime"] = new \DateTime($this->_propDict["steadyStateFirstAchievedTime"]); + return $this->_propDict["steadyStateFirstAchievedTime"]; + } + } + return null; + } + + /** + * Sets the steadyStateFirstAchievedTime + * + * @param \DateTime $val The value to assign to the steadyStateFirstAchievedTime + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setSteadyStateFirstAchievedTime($val) + { + $this->_propDict["steadyStateFirstAchievedTime"] = $val; + return $this; + } + + /** + * Gets the steadyStateLastAchievedTime + * + * @return \DateTime|null The steadyStateLastAchievedTime + */ + public function getSteadyStateLastAchievedTime() + { + if (array_key_exists("steadyStateLastAchievedTime", $this->_propDict)) { + if (is_a($this->_propDict["steadyStateLastAchievedTime"], "\DateTime") || is_null($this->_propDict["steadyStateLastAchievedTime"])) { + return $this->_propDict["steadyStateLastAchievedTime"]; + } else { + $this->_propDict["steadyStateLastAchievedTime"] = new \DateTime($this->_propDict["steadyStateLastAchievedTime"]); + return $this->_propDict["steadyStateLastAchievedTime"]; + } + } + return null; + } + + /** + * Sets the steadyStateLastAchievedTime + * + * @param \DateTime $val The value to assign to the steadyStateLastAchievedTime + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setSteadyStateLastAchievedTime($val) + { + $this->_propDict["steadyStateLastAchievedTime"] = $val; + return $this; + } + + /** + * Gets the synchronizedEntryCountByType + * + * @return StringKeyLongValuePair|null The synchronizedEntryCountByType + */ + public function getSynchronizedEntryCountByType() + { + if (array_key_exists("synchronizedEntryCountByType", $this->_propDict)) { + if (is_a($this->_propDict["synchronizedEntryCountByType"], "\Microsoft\Graph\Model\StringKeyLongValuePair") || is_null($this->_propDict["synchronizedEntryCountByType"])) { + return $this->_propDict["synchronizedEntryCountByType"]; + } else { + $this->_propDict["synchronizedEntryCountByType"] = new StringKeyLongValuePair($this->_propDict["synchronizedEntryCountByType"]); + return $this->_propDict["synchronizedEntryCountByType"]; + } + } + return null; + } + + /** + * Sets the synchronizedEntryCountByType + * + * @param StringKeyLongValuePair $val The value to assign to the synchronizedEntryCountByType + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setSynchronizedEntryCountByType($val) + { + $this->_propDict["synchronizedEntryCountByType"] = $val; + return $this; + } + /** + * Gets the troubleshootingUrl + * + * @return string|null The troubleshootingUrl + */ + public function getTroubleshootingUrl() + { + if (array_key_exists("troubleshootingUrl", $this->_propDict)) { + return $this->_propDict["troubleshootingUrl"]; + } else { + return null; + } + } + + /** + * Sets the troubleshootingUrl + * + * @param string $val The value of the troubleshootingUrl + * + * @return SynchronizationStatus + */ + public function setTroubleshootingUrl($val) + { + $this->_propDict["troubleshootingUrl"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationStatusCode.php b/src/Model/SynchronizationStatusCode.php new file mode 100644 index 00000000000..f9aed2ec0d8 --- /dev/null +++ b/src/Model/SynchronizationStatusCode.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["activityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the activityIdentifier + * + * @param string $val The value of the activityIdentifier + * + * @return SynchronizationTaskExecution + */ + public function setActivityIdentifier($val) + { + $this->_propDict["activityIdentifier"] = $val; + return $this; + } + /** + * Gets the countEntitled + * + * @return int|null The countEntitled + */ + public function getCountEntitled() + { + if (array_key_exists("countEntitled", $this->_propDict)) { + return $this->_propDict["countEntitled"]; + } else { + return null; + } + } + + /** + * Sets the countEntitled + * + * @param int $val The value of the countEntitled + * + * @return SynchronizationTaskExecution + */ + public function setCountEntitled($val) + { + $this->_propDict["countEntitled"] = $val; + return $this; + } + /** + * Gets the countEntitledForProvisioning + * + * @return int|null The countEntitledForProvisioning + */ + public function getCountEntitledForProvisioning() + { + if (array_key_exists("countEntitledForProvisioning", $this->_propDict)) { + return $this->_propDict["countEntitledForProvisioning"]; + } else { + return null; + } + } + + /** + * Sets the countEntitledForProvisioning + * + * @param int $val The value of the countEntitledForProvisioning + * + * @return SynchronizationTaskExecution + */ + public function setCountEntitledForProvisioning($val) + { + $this->_propDict["countEntitledForProvisioning"] = $val; + return $this; + } + /** + * Gets the countEscrowed + * + * @return int|null The countEscrowed + */ + public function getCountEscrowed() + { + if (array_key_exists("countEscrowed", $this->_propDict)) { + return $this->_propDict["countEscrowed"]; + } else { + return null; + } + } + + /** + * Sets the countEscrowed + * + * @param int $val The value of the countEscrowed + * + * @return SynchronizationTaskExecution + */ + public function setCountEscrowed($val) + { + $this->_propDict["countEscrowed"] = $val; + return $this; + } + /** + * Gets the countEscrowedRaw + * + * @return int|null The countEscrowedRaw + */ + public function getCountEscrowedRaw() + { + if (array_key_exists("countEscrowedRaw", $this->_propDict)) { + return $this->_propDict["countEscrowedRaw"]; + } else { + return null; + } + } + + /** + * Sets the countEscrowedRaw + * + * @param int $val The value of the countEscrowedRaw + * + * @return SynchronizationTaskExecution + */ + public function setCountEscrowedRaw($val) + { + $this->_propDict["countEscrowedRaw"] = $val; + return $this; + } + /** + * Gets the countExported + * + * @return int|null The countExported + */ + public function getCountExported() + { + if (array_key_exists("countExported", $this->_propDict)) { + return $this->_propDict["countExported"]; + } else { + return null; + } + } + + /** + * Sets the countExported + * + * @param int $val The value of the countExported + * + * @return SynchronizationTaskExecution + */ + public function setCountExported($val) + { + $this->_propDict["countExported"] = $val; + return $this; + } + /** + * Gets the countExports + * + * @return int|null The countExports + */ + public function getCountExports() + { + if (array_key_exists("countExports", $this->_propDict)) { + return $this->_propDict["countExports"]; + } else { + return null; + } + } + + /** + * Sets the countExports + * + * @param int $val The value of the countExports + * + * @return SynchronizationTaskExecution + */ + public function setCountExports($val) + { + $this->_propDict["countExports"] = $val; + return $this; + } + /** + * Gets the countImported + * + * @return int|null The countImported + */ + public function getCountImported() + { + if (array_key_exists("countImported", $this->_propDict)) { + return $this->_propDict["countImported"]; + } else { + return null; + } + } + + /** + * Sets the countImported + * + * @param int $val The value of the countImported + * + * @return SynchronizationTaskExecution + */ + public function setCountImported($val) + { + $this->_propDict["countImported"] = $val; + return $this; + } + /** + * Gets the countImportedDeltas + * + * @return int|null The countImportedDeltas + */ + public function getCountImportedDeltas() + { + if (array_key_exists("countImportedDeltas", $this->_propDict)) { + return $this->_propDict["countImportedDeltas"]; + } else { + return null; + } + } + + /** + * Sets the countImportedDeltas + * + * @param int $val The value of the countImportedDeltas + * + * @return SynchronizationTaskExecution + */ + public function setCountImportedDeltas($val) + { + $this->_propDict["countImportedDeltas"] = $val; + return $this; + } + /** + * Gets the countImportedReferenceDeltas + * + * @return int|null The countImportedReferenceDeltas + */ + public function getCountImportedReferenceDeltas() + { + if (array_key_exists("countImportedReferenceDeltas", $this->_propDict)) { + return $this->_propDict["countImportedReferenceDeltas"]; + } else { + return null; + } + } + + /** + * Sets the countImportedReferenceDeltas + * + * @param int $val The value of the countImportedReferenceDeltas + * + * @return SynchronizationTaskExecution + */ + public function setCountImportedReferenceDeltas($val) + { + $this->_propDict["countImportedReferenceDeltas"] = $val; + return $this; + } + + /** + * Gets the error + * + * @return SynchronizationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\SynchronizationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new SynchronizationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param SynchronizationError $val The value to assign to the error + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return SynchronizationTaskExecutionResult|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\SynchronizationTaskExecutionResult") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new SynchronizationTaskExecutionResult($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param SynchronizationTaskExecutionResult $val The value to assign to the state + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the timeBegan + * + * @return \DateTime|null The timeBegan + */ + public function getTimeBegan() + { + if (array_key_exists("timeBegan", $this->_propDict)) { + if (is_a($this->_propDict["timeBegan"], "\DateTime") || is_null($this->_propDict["timeBegan"])) { + return $this->_propDict["timeBegan"]; + } else { + $this->_propDict["timeBegan"] = new \DateTime($this->_propDict["timeBegan"]); + return $this->_propDict["timeBegan"]; + } + } + return null; + } + + /** + * Sets the timeBegan + * + * @param \DateTime $val The value to assign to the timeBegan + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setTimeBegan($val) + { + $this->_propDict["timeBegan"] = $val; + return $this; + } + + /** + * Gets the timeEnded + * + * @return \DateTime|null The timeEnded + */ + public function getTimeEnded() + { + if (array_key_exists("timeEnded", $this->_propDict)) { + if (is_a($this->_propDict["timeEnded"], "\DateTime") || is_null($this->_propDict["timeEnded"])) { + return $this->_propDict["timeEnded"]; + } else { + $this->_propDict["timeEnded"] = new \DateTime($this->_propDict["timeEnded"]); + return $this->_propDict["timeEnded"]; + } + } + return null; + } + + /** + * Sets the timeEnded + * + * @param \DateTime $val The value to assign to the timeEnded + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setTimeEnded($val) + { + $this->_propDict["timeEnded"] = $val; + return $this; + } +} diff --git a/src/Model/SynchronizationTaskExecutionResult.php b/src/Model/SynchronizationTaskExecutionResult.php new file mode 100644 index 00000000000..d491d339d26 --- /dev/null +++ b/src/Model/SynchronizationTaskExecutionResult.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * + * @param string $val The applicationId + * + * @return SynchronizationTemplate + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + + /** + * Gets the default + * + * @return bool|null The default + */ + public function getDefault() + { + if (array_key_exists("default", $this->_propDict)) { + return $this->_propDict["default"]; + } else { + return null; + } + } + + /** + * Sets the default + * + * @param bool $val The default + * + * @return SynchronizationTemplate + */ + public function setDefault($val) + { + $this->_propDict["default"] = boolval($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 SynchronizationTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discoverable + * + * @return bool|null The discoverable + */ + public function getDiscoverable() + { + if (array_key_exists("discoverable", $this->_propDict)) { + return $this->_propDict["discoverable"]; + } else { + return null; + } + } + + /** + * Sets the discoverable + * + * @param bool $val The discoverable + * + * @return SynchronizationTemplate + */ + public function setDiscoverable($val) + { + $this->_propDict["discoverable"] = boolval($val); + return $this; + } + + /** + * Gets the factoryTag + * + * @return string|null The factoryTag + */ + public function getFactoryTag() + { + if (array_key_exists("factoryTag", $this->_propDict)) { + return $this->_propDict["factoryTag"]; + } else { + return null; + } + } + + /** + * Sets the factoryTag + * + * @param string $val The factoryTag + * + * @return SynchronizationTemplate + */ + public function setFactoryTag($val) + { + $this->_propDict["factoryTag"] = $val; + return $this; + } + + + /** + * Gets the metadata + * + * @return array|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + return $this->_propDict["metadata"]; + } else { + return null; + } + } + + /** + * Sets the metadata + * + * @param SynchronizationMetadataEntry[] $val The metadata + * + * @return SynchronizationTemplate + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + + /** + * Gets the schema + * + * @return SynchronizationSchema|null The schema + */ + public function getSchema() + { + if (array_key_exists("schema", $this->_propDict)) { + if (is_a($this->_propDict["schema"], "\Microsoft\Graph\Model\SynchronizationSchema") || is_null($this->_propDict["schema"])) { + return $this->_propDict["schema"]; + } else { + $this->_propDict["schema"] = new SynchronizationSchema($this->_propDict["schema"]); + return $this->_propDict["schema"]; + } + } + return null; + } + + /** + * Sets the schema + * + * @param SynchronizationSchema $val The schema + * + * @return SynchronizationTemplate + */ + public function setSchema($val) + { + $this->_propDict["schema"] = $val; + return $this; + } + +} diff --git a/src/SecurityNamespace/Model/Alert.php b/src/SecurityNamespace/Model/Alert.php index 520c73174d3..e43ad2104b5 100644 --- a/src/SecurityNamespace/Model/Alert.php +++ b/src/SecurityNamespace/Model/Alert.php @@ -267,7 +267,7 @@ public function setDescription($val) /** * Gets the detectionSource - * Detection technology or sensor that identified the notable component or activity. + * Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @return DetectionSource|null The detectionSource */ @@ -286,7 +286,7 @@ public function getDetectionSource() /** * Sets the detectionSource - * Detection technology or sensor that identified the notable component or activity. + * Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @param DetectionSource $val The detectionSource * @@ -669,7 +669,7 @@ public function setResolvedDateTime($val) /** * Gets the serviceSource - * The service or product that created this alert. Possible values are: microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftCloudAppSecurity, microsoftDefenderForOffice365, microsoft365Defender, aadIdentityProtection, appGovernance, dataLossPrevention. + * The service or product that created this alert. Possible values are: unknown, microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftDefenderForCloudApps, microsoftDefenderForOffice365, microsoft365Defender, azureAdIdentityProtection, microsoftAppGovernance, dataLossPrevention, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @return ServiceSource|null The serviceSource */ @@ -688,7 +688,7 @@ public function getServiceSource() /** * Sets the serviceSource - * The service or product that created this alert. Possible values are: microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftCloudAppSecurity, microsoftDefenderForOffice365, microsoft365Defender, aadIdentityProtection, appGovernance, dataLossPrevention. + * The service or product that created this alert. Possible values are: unknown, microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftDefenderForCloudApps, microsoftDefenderForOffice365, microsoft365Defender, azureAdIdentityProtection, microsoftAppGovernance, dataLossPrevention, unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. * * @param ServiceSource $val The serviceSource * diff --git a/src/SecurityNamespace/Model/AlertEvidence.php b/src/SecurityNamespace/Model/AlertEvidence.php index ce610d0b21b..63238847928 100644 --- a/src/SecurityNamespace/Model/AlertEvidence.php +++ b/src/SecurityNamespace/Model/AlertEvidence.php @@ -26,7 +26,7 @@ class AlertEvidence extends \Microsoft\Graph\Model\Entity /** * Gets the createdDateTime - * The time the evidence was created and added to the alert. + * The date and time when the evidence was created and added to the alert. 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. * * @return \DateTime|null The createdDateTime */ @@ -45,7 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The time the evidence was created and added to the alert. + * The date and time when the evidence was created and added to the alert. 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. * * @param \DateTime $val The value to assign to the createdDateTime * @@ -56,6 +56,32 @@ public function setCreatedDateTime($val) $this->_propDict["createdDateTime"] = $val; return $this; } + /** + * Gets the detailedRoles + * + * @return string|null The detailedRoles + */ + public function getDetailedRoles() + { + if (array_key_exists("detailedRoles", $this->_propDict)) { + return $this->_propDict["detailedRoles"]; + } else { + return null; + } + } + + /** + * Sets the detailedRoles + * + * @param string $val The value of the detailedRoles + * + * @return AlertEvidence + */ + public function setDetailedRoles($val) + { + $this->_propDict["detailedRoles"] = $val; + return $this; + } /** * Gets the remediationStatus @@ -120,7 +146,7 @@ public function setRemediationStatusDetails($val) /** * Gets the roles - * 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'. + * 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. * * @return EvidenceRole|null The roles */ @@ -139,7 +165,7 @@ public function getRoles() /** * Sets the roles - * 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'. + * 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. * * @param EvidenceRole $val The value to assign to the roles * @@ -152,7 +178,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, high value assets, etc. + * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. * * @return string|null The tags */ @@ -167,7 +193,7 @@ public function getTags() /** * Sets the tags - * Array of custom tags associated with an evidence instance, for example to denote a group of devices, high value assets, etc. + * Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value assets. * * @param string $val The value of the tags * diff --git a/src/SecurityNamespace/Model/AmazonResourceEvidence.php b/src/SecurityNamespace/Model/AmazonResourceEvidence.php new file mode 100644 index 00000000000..d6a1d9ff7b0 --- /dev/null +++ b/src/SecurityNamespace/Model/AmazonResourceEvidence.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["amazonAccountId"]; + } else { + return null; + } + } + + /** + * Sets the amazonAccountId + * The unique identifier for the Amazon account. + * + * @param string $val The value of the amazonAccountId + * + * @return AmazonResourceEvidence + */ + public function setAmazonAccountId($val) + { + $this->_propDict["amazonAccountId"] = $val; + return $this; + } + /** + * Gets the amazonResourceId + * The Amazon resource identifier (ARN) for the cloud resource. + * + * @return string|null The amazonResourceId + */ + public function getAmazonResourceId() + { + if (array_key_exists("amazonResourceId", $this->_propDict)) { + return $this->_propDict["amazonResourceId"]; + } else { + return null; + } + } + + /** + * Sets the amazonResourceId + * The Amazon resource identifier (ARN) for the cloud resource. + * + * @param string $val The value of the amazonResourceId + * + * @return AmazonResourceEvidence + */ + public function setAmazonResourceId($val) + { + $this->_propDict["amazonResourceId"] = $val; + return $this; + } + /** + * Gets the resourceName + * The name of the resource. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * The name of the resource. + * + * @param string $val The value of the resourceName + * + * @return AmazonResourceEvidence + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + /** + * Gets the resourceType + * The type of the resource. + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * The type of the resource. + * + * @param string $val The value of the resourceType + * + * @return AmazonResourceEvidence + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/AzureResourceEvidence.php b/src/SecurityNamespace/Model/AzureResourceEvidence.php new file mode 100644 index 00000000000..ea468e303ed --- /dev/null +++ b/src/SecurityNamespace/Model/AzureResourceEvidence.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The unique identifier for the Azure resource. + * + * @param string $val The value of the resourceId + * + * @return AzureResourceEvidence + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + /** + * Gets the resourceName + * The name of the resource. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * The name of the resource. + * + * @param string $val The value of the resourceName + * + * @return AzureResourceEvidence + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + /** + * Gets the resourceType + * The type of the resource. + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * The type of the resource. + * + * @param string $val The value of the resourceType + * + * @return AzureResourceEvidence + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/DetectionSource.php b/src/SecurityNamespace/Model/DetectionSource.php index 3a3f7f940e4..3a5ed55c5f4 100644 --- a/src/SecurityNamespace/Model/DetectionSource.php +++ b/src/SecurityNamespace/Model/DetectionSource.php @@ -47,4 +47,5 @@ class DetectionSource extends Enum const APP_GOVERNANCE_POLICY = "appGovernancePolicy"; const APP_GOVERNANCE_DETECTION = "appGovernanceDetection"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const MICROSOFT_DEFENDER_FOR_CLOUD = "microsoftDefenderForCloud"; } diff --git a/src/SecurityNamespace/Model/DeviceEvidence.php b/src/SecurityNamespace/Model/DeviceEvidence.php index cbcee99e254..564d1b3fe6d 100644 --- a/src/SecurityNamespace/Model/DeviceEvidence.php +++ b/src/SecurityNamespace/Model/DeviceEvidence.php @@ -178,6 +178,32 @@ public function setHealthStatus($val) $this->_propDict["healthStatus"] = $val; return $this; } + /** + * Gets the ipInterfaces + * + * @return string|null The ipInterfaces + */ + public function getIpInterfaces() + { + if (array_key_exists("ipInterfaces", $this->_propDict)) { + return $this->_propDict["ipInterfaces"]; + } else { + return null; + } + } + + /** + * Sets the ipInterfaces + * + * @param string $val The value of the ipInterfaces + * + * @return DeviceEvidence + */ + public function setIpInterfaces($val) + { + $this->_propDict["ipInterfaces"] = $val; + return $this; + } /** * Gets the loggedOnUsers diff --git a/src/SecurityNamespace/Model/GoogleCloudLocationType.php b/src/SecurityNamespace/Model/GoogleCloudLocationType.php new file mode 100644 index 00000000000..4e66675c845 --- /dev/null +++ b/src/SecurityNamespace/Model/GoogleCloudLocationType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["location"]; + } else { + return null; + } + } + + /** + * Sets the location + * The zone or region where the resource is located. + * + * @param string $val The value of the location + * + * @return GoogleCloudResourceEvidence + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the locationType + * The type of location. Possible values are: unknown, regional, zonal, global, unknownFutureValue. + * + * @return GoogleCloudLocationType|null The locationType + */ + public function getLocationType() + { + if (array_key_exists("locationType", $this->_propDict)) { + if (is_a($this->_propDict["locationType"], "\Microsoft\Graph\SecurityNamespace\Model\GoogleCloudLocationType") || is_null($this->_propDict["locationType"])) { + return $this->_propDict["locationType"]; + } else { + $this->_propDict["locationType"] = new GoogleCloudLocationType($this->_propDict["locationType"]); + return $this->_propDict["locationType"]; + } + } + return null; + } + + /** + * Sets the locationType + * The type of location. Possible values are: unknown, regional, zonal, global, unknownFutureValue. + * + * @param GoogleCloudLocationType $val The value to assign to the locationType + * + * @return GoogleCloudResourceEvidence The GoogleCloudResourceEvidence + */ + public function setLocationType($val) + { + $this->_propDict["locationType"] = $val; + return $this; + } + /** + * Gets the projectId + * The Google project ID as defined by the user. + * + * @return string|null The projectId + */ + public function getProjectId() + { + if (array_key_exists("projectId", $this->_propDict)) { + return $this->_propDict["projectId"]; + } else { + return null; + } + } + + /** + * Sets the projectId + * The Google project ID as defined by the user. + * + * @param string $val The value of the projectId + * + * @return GoogleCloudResourceEvidence + */ + public function setProjectId($val) + { + $this->_propDict["projectId"] = $val; + return $this; + } + /** + * Gets the projectNumber + * The project number assigned by Google. + * + * @return int|null The projectNumber + */ + public function getProjectNumber() + { + if (array_key_exists("projectNumber", $this->_propDict)) { + return $this->_propDict["projectNumber"]; + } else { + return null; + } + } + + /** + * Sets the projectNumber + * The project number assigned by Google. + * + * @param int $val The value of the projectNumber + * + * @return GoogleCloudResourceEvidence + */ + public function setProjectNumber($val) + { + $this->_propDict["projectNumber"] = $val; + return $this; + } + /** + * Gets the resourceName + * The name of the resource. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * The name of the resource. + * + * @param string $val The value of the resourceName + * + * @return GoogleCloudResourceEvidence + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + /** + * Gets the resourceType + * The type of the resource. + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * The type of the resource. + * + * @param string $val The value of the resourceType + * + * @return GoogleCloudResourceEvidence + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/IncidentStatus.php b/src/SecurityNamespace/Model/IncidentStatus.php index 84306fc2d16..3970ed970e1 100644 --- a/src/SecurityNamespace/Model/IncidentStatus.php +++ b/src/SecurityNamespace/Model/IncidentStatus.php @@ -34,4 +34,5 @@ class IncidentStatus extends Enum const IN_PROGRESS = "inProgress"; const REDIRECTED = "redirected"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const AWAITING_ACTION = "awaitingAction"; } diff --git a/src/SecurityNamespace/Model/RegistryValueEvidence.php b/src/SecurityNamespace/Model/RegistryValueEvidence.php index e711b3f04e0..548aaf1d176 100644 --- a/src/SecurityNamespace/Model/RegistryValueEvidence.php +++ b/src/SecurityNamespace/Model/RegistryValueEvidence.php @@ -23,6 +23,32 @@ */ class RegistryValueEvidence extends AlertEvidence { + /** + * Gets the mdeDeviceId + * + * @return string|null The mdeDeviceId + */ + public function getMdeDeviceId() + { + if (array_key_exists("mdeDeviceId", $this->_propDict)) { + return $this->_propDict["mdeDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the mdeDeviceId + * + * @param string $val The value of the mdeDeviceId + * + * @return RegistryValueEvidence + */ + public function setMdeDeviceId($val) + { + $this->_propDict["mdeDeviceId"] = $val; + return $this; + } /** * Gets the registryHive * Registry hive of the key that the recorded action was applied to. diff --git a/src/SecurityNamespace/Model/ServiceSource.php b/src/SecurityNamespace/Model/ServiceSource.php index 47b40a8bc16..a5ae0049322 100644 --- a/src/SecurityNamespace/Model/ServiceSource.php +++ b/src/SecurityNamespace/Model/ServiceSource.php @@ -39,4 +39,5 @@ class ServiceSource extends Enum const MICROSOFT_APP_GOVERNANCE = "microsoftAppGovernance"; const DATA_LOSS_PREVENTION = "dataLossPrevention"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const MICROSOFT_DEFENDER_FOR_CLOUD = "microsoftDefenderForCloud"; } diff --git a/src/SecurityNamespace/Model/UserAccount.php b/src/SecurityNamespace/Model/UserAccount.php index c80535c7bcc..64985e6b8e5 100644 --- a/src/SecurityNamespace/Model/UserAccount.php +++ b/src/SecurityNamespace/Model/UserAccount.php @@ -25,7 +25,7 @@ class UserAccount extends \Microsoft\Graph\Model\Entity { /** * Gets the accountName - * The user account's displayed name. + * The displayed name of the user account. * * @return string|null The accountName */ @@ -40,7 +40,7 @@ public function getAccountName() /** * Sets the accountName - * The user account's displayed name. + * The displayed name of the user account. * * @param string $val The value of the accountName * @@ -53,7 +53,7 @@ public function setAccountName($val) } /** * Gets the azureAdUserId - * The user object identifier in Azure AD. + * The user object identifier in Azure Active Directory (Azure AD). * * @return string|null The azureAdUserId */ @@ -68,7 +68,7 @@ public function getAzureAdUserId() /** * Sets the azureAdUserId - * The user object identifier in Azure AD. + * The user object identifier in Azure Active Directory (Azure AD). * * @param string $val The value of the azureAdUserId * @@ -81,6 +81,7 @@ public function setAzureAdUserId($val) } /** * Gets the displayName + * The user display name in Azure AD. * * @return string|null The displayName */ @@ -95,6 +96,7 @@ public function getDisplayName() /** * Sets the displayName + * The user display name in Azure AD. * * @param string $val The value of the displayName * From ba66685c2f3f4c85d395582d38bcdcb8b92c3168 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Tue, 6 Jun 2023 16:40:42 +0300 Subject: [PATCH 06/10] Update SDK version in GraphConstants.php --- src/Core/GraphConstants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index ff0a3deef82..ed523407b01 100644 --- a/src/Core/GraphConstants.php +++ b/src/Core/GraphConstants.php @@ -23,7 +23,7 @@ final class GraphConstants const REST_ENDPOINT = "https://graph.microsoft.com/"; // Define HTTP request constants - const SDK_VERSION = "1.98.0"; + const SDK_VERSION = "1.99.0"; // Define error constants const MAX_PAGE_SIZE = 999; From d5ff9221e918d4caed516858522760ef86af5e1e Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Tue, 6 Jun 2023 16:41:00 +0300 Subject: [PATCH 07/10] Update SDK version in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a139d92e169..797422ac2ea 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof ``` { "require": { - "microsoft/microsoft-graph": "^1.93.0" + "microsoft/microsoft-graph": "^1.99.0" } } ``` From 3ca79c6ef558ce824b08550b5810560656ea3047 Mon Sep 17 00:00:00 2001 From: Michael Mainer <8527305+MIchaelMainer@users.noreply.github.com> Date: Mon, 12 Jun 2023 11:26:41 -0700 Subject: [PATCH 08/10] chore: capture initial branch policy settings Capture current policy state so that we can make versioned changes to branch protection policies. This will enable policy history, auditing, review, standardization, and templatization. We will update policy in later PR. We can ignore the rule that states: `At least one value under RequiredStatusChecks must be specified when RequiresStrictStatusChecks is true.` or `RequiresStrictStatusChecks must be true when specifying RequiredStatusChecks.` This is getting removed. This is getting removed. * https://github.com/microsoft/GitOps.Branches/pull/73 * https://github.com/microsoft/GitOps.Branches/issues/72 This branch protection policy will not take effect until https://github.com/microsoftgraph/.github/blob/main/policies/branch-protection-sdks.yml has been removed. --- .../msgraph-sdk-php-branch-protection.yml | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .github/policies/msgraph-sdk-php-branch-protection.yml diff --git a/.github/policies/msgraph-sdk-php-branch-protection.yml b/.github/policies/msgraph-sdk-php-branch-protection.yml new file mode 100644 index 00000000000..d89fd42e75e --- /dev/null +++ b/.github/policies/msgraph-sdk-php-branch-protection.yml @@ -0,0 +1,73 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + +# File initially created using https://github.com/MIchaelMainer/policyservicetoolkit/blob/main/branch_protection_export.ps1. + +name: msgraph-sdk-php-branch-protection +description: Branch protection policy for the msgraph-sdk-php repository +resource: repository +configuration: + branchProtectionRules: + + - branchNamePattern: dev + # This branch pattern applies to the following branches as of 06/12/2023 10:31:17: + # dev + + # Specifies whether this branch can be deleted. boolean + allowsDeletions: false + # Specifies whether forced pushes are allowed on this branch. boolean + allowsForcePushes: false + # Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean + dismissStaleReviews: true + # Specifies whether admins can overwrite branch protection. boolean + isAdminEnforced: false + # Indicates whether "Require a pull request before merging" is enabled. boolean + requiresPullRequestBeforeMerging: true + # Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required + requiredApprovingReviewsCount: 1 + # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean + requireCodeOwnersReview: true + # Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines. + requiresCommitSignatures: false + # Are conversations required to be resolved before merging? boolean + requiresConversationResolution: true + # Are merge commits prohibited from being pushed to this branch. boolean + requiresLinearHistory: false + # Require branches to be up to date before merging. Requires requiredStatusChecks. boolean + requiresStrictStatusChecks: true + # Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush. + restrictsPushes: false + # Restrict who can dismiss pull request reviews. boolean + restrictsReviewDismissals: false + + - branchNamePattern: main + # This branch pattern applies to the following branches as of 06/12/2023 10:31:17: + # main + + # Specifies whether this branch can be deleted. boolean + allowsDeletions: false + # Specifies whether forced pushes are allowed on this branch. boolean + allowsForcePushes: false + # Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean + dismissStaleReviews: true + # Specifies whether admins can overwrite branch protection. boolean + isAdminEnforced: false + # Indicates whether "Require a pull request before merging" is enabled. boolean + requiresPullRequestBeforeMerging: true + # Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required + requiredApprovingReviewsCount: 1 + # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean + requireCodeOwnersReview: false + # Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines. + requiresCommitSignatures: false + # Are conversations required to be resolved before merging? boolean + requiresConversationResolution: true + # Are merge commits prohibited from being pushed to this branch. boolean + requiresLinearHistory: false + # Require branches to be up to date before merging. Requires requiredStatusChecks. boolean + requiresStrictStatusChecks: true + # Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush. + restrictsPushes: false + # Restrict who can dismiss pull request reviews. boolean + restrictsReviewDismissals: false + From 110b73176d760883ed538c0773989ff13973a231 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 13 Jun 2023 10:10:43 +0000 Subject: [PATCH 09/10] Update generated files with build 117217 --- src/Model/LearningProvider.php | 29 ++++++++++++++++++++++++++++ src/Model/LicenseUnitsDetail.php | 26 +++++++++++++++++++++++++ src/Model/ProvisioningStatusInfo.php | 2 ++ src/Model/User.php | 4 ++-- 4 files changed, 59 insertions(+), 2 deletions(-) diff --git a/src/Model/LearningProvider.php b/src/Model/LearningProvider.php index 39992e356cd..06e61fb9652 100644 --- a/src/Model/LearningProvider.php +++ b/src/Model/LearningProvider.php @@ -53,6 +53,35 @@ public function setDisplayName($val) return $this; } + /** + * Gets the isCourseActivitySyncEnabled + * Indicates whether a provider can ingest learning course activity records. The default value is false. Set to true to make learningCourseActivities available for this provider. + * + * @return bool|null The isCourseActivitySyncEnabled + */ + public function getIsCourseActivitySyncEnabled() + { + if (array_key_exists("isCourseActivitySyncEnabled", $this->_propDict)) { + return $this->_propDict["isCourseActivitySyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isCourseActivitySyncEnabled + * Indicates whether a provider can ingest learning course activity records. The default value is false. Set to true to make learningCourseActivities available for this provider. + * + * @param bool $val The isCourseActivitySyncEnabled + * + * @return LearningProvider + */ + public function setIsCourseActivitySyncEnabled($val) + { + $this->_propDict["isCourseActivitySyncEnabled"] = boolval($val); + return $this; + } + /** * Gets the loginWebUrl * Authentication URL to access the courses for the provider. Optional. diff --git a/src/Model/LicenseUnitsDetail.php b/src/Model/LicenseUnitsDetail.php index 89598fbfcd1..78953487e31 100644 --- a/src/Model/LicenseUnitsDetail.php +++ b/src/Model/LicenseUnitsDetail.php @@ -52,6 +52,32 @@ public function setEnabled($val) return $this; } /** + * Gets the lockedOut + * + * @return int|null The lockedOut + */ + public function getLockedOut() + { + if (array_key_exists("lockedOut", $this->_propDict)) { + return $this->_propDict["lockedOut"]; + } else { + return null; + } + } + + /** + * Sets the lockedOut + * + * @param int $val The value of the lockedOut + * + * @return LicenseUnitsDetail + */ + public function setLockedOut($val) + { + $this->_propDict["lockedOut"] = $val; + return $this; + } + /** * Gets the suspended * The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. * diff --git a/src/Model/ProvisioningStatusInfo.php b/src/Model/ProvisioningStatusInfo.php index 59890008930..8e7f5348868 100644 --- a/src/Model/ProvisioningStatusInfo.php +++ b/src/Model/ProvisioningStatusInfo.php @@ -26,6 +26,7 @@ class ProvisioningStatusInfo extends Entity /** * Gets the errorInformation + * If status is not success/ skipped details for the error are contained in this. * * @return ProvisioningErrorInfo|null The errorInformation */ @@ -44,6 +45,7 @@ public function getErrorInformation() /** * Sets the errorInformation + * If status is not success/ skipped details for the error are contained in this. * * @param ProvisioningErrorInfo $val The value to assign to the errorInformation * diff --git a/src/Model/User.php b/src/Model/User.php index 57e4607ed07..61e0e4b8289 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -1017,7 +1017,7 @@ public function setMailNickname($val) /** * Gets the mobilePhone - * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. * * @return string|null The mobilePhone */ @@ -1032,7 +1032,7 @@ public function getMobilePhone() /** * Sets the mobilePhone - * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. * * @param string $val The mobilePhone * From ecb1bebaee94fb83f1f9fdbeb52cbe9ba2156b30 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 13 Jun 2023 10:14:13 +0000 Subject: [PATCH 10/10] Update generated files with build 117217 --- src/Beta/Microsoft/Graph/Model/Account.php | 109 +++- .../Graph/Model/AdministrativeUnit.php | 2 + .../Graph/Model/AgedAccountsPayable.php | 136 ++++- .../Graph/Model/AgedAccountsReceivable.php | 136 ++++- .../Graph/Model/AttributeMappingSource.php | 8 + .../Graph/Model/CloudPcBulkAction.php | 143 +++++ .../Graph/Model/CloudPcBulkActionSummary.php | 156 ++++++ ...Onboarding.php => CloudPcBulkPowerOff.php} | 6 +- .../Graph/Model/CloudPcBulkPowerOn.php | 27 + ...CloudPcOnPremisesConnectionHealthCheck.php | 28 + ...PremisesConnectionHealthCheckErrorType.php | 2 + .../Graph/Model/CloudPcReportName.php | 1 + src/Beta/Microsoft/Graph/Model/Company.php | 109 +++- .../Graph/Model/CompanyInformation.php | 109 +++- .../Microsoft/Graph/Model/CountryRegion.php | 109 +++- src/Beta/Microsoft/Graph/Model/Currency.php | 109 +++- src/Beta/Microsoft/Graph/Model/Customer.php | 109 +++- .../Microsoft/Graph/Model/CustomerPayment.php | 109 +++- .../Graph/Model/CustomerPaymentJournal.php | 109 +++- .../Graph/Model/DepMacOSEnrollmentProfile.php | 29 + src/Beta/Microsoft/Graph/Model/Device.php | 2 + ...ntWindowsHelloForBusinessConfiguration.php | 29 + .../Graph/Model/DeviceHealthScript.php | 33 ++ ...viceHealthScriptRemediationHistoryData.php | 28 + ...ntyType.php => DeviceHealthScriptType.php} | 14 +- .../Graph/Model/DeviceManagement.php | 60 +++ ...ationChoiceSettingCollectionDefinition.php | 8 +- ...ntConfigurationChoiceSettingDefinition.php | 8 +- ...onfigurationReferredSettingInformation.php | 4 +- ...ementConfigurationSettingApplicability.php | 8 +- ...rationSettingGroupCollectionDefinition.php | 8 +- ...entConfigurationSettingGroupDefinition.php | 4 +- ...ntConfigurationSimpleSettingDefinition.php | 16 +- ...figurationStringSettingValueDefinition.php | 12 +- src/Beta/Microsoft/Graph/Model/Dimension.php | 109 +++- .../Microsoft/Graph/Model/DimensionValue.php | 109 +++- src/Beta/Microsoft/Graph/Model/Employee.php | 109 +++- src/Beta/Microsoft/Graph/Model/Financials.php | 27 + .../Graph/Model/GeneralLedgerEntry.php | 109 +++- src/Beta/Microsoft/Graph/Model/Group.php | 2 + src/Beta/Microsoft/Graph/Model/Identity.php | 8 +- .../Microsoft/Graph/Model/IdentitySet.php | 12 +- src/Beta/Microsoft/Graph/Model/Item.php | 109 +++- .../Microsoft/Graph/Model/ItemCategory.php | 109 +++- src/Beta/Microsoft/Graph/Model/Journal.php | 109 +++- .../Microsoft/Graph/Model/JournalLine.php | 109 +++- .../Graph/Model/LearningProvider.php | 29 + .../Microsoft/Graph/Model/MacOSPkgApp.php | 177 ++++++ src/Beta/Microsoft/Graph/Model/MobileApp.php | 93 ---- .../Model/MobileAppRelationshipState.php | 265 --------- .../Graph/Model/ObjectDefinition.php | 8 + .../Microsoft/Graph/Model/OemWarranty.php | 148 ------ .../Microsoft/Graph/Model/OnlineMeeting.php | 4 + .../OperatingSystemUpgradeEligibility.php | 1 + .../Graph/Model/OrganizationSettings.php | 66 +-- .../Microsoft/Graph/Model/PaymentMethod.php | 109 +++- .../Microsoft/Graph/Model/PaymentTerm.php | 109 +++- src/Beta/Microsoft/Graph/Model/Picture.php | 109 +++- .../Model/PlannerChecklistRequirement.php | 2 + .../Microsoft/Graph/Model/PlannerTask.php | 2 + ...lannerTaskCompletionRequirementDetails.php | 2 + .../Graph/Model/PlannerTaskDetails.php | 2 + .../Graph/Model/PlannerTaskPropertyRule.php | 6 +- .../Model/PrivilegeManagementElevation.php | 503 ++++++++++++++++++ .../PrivilegeManagementElevationType.php | 38 ++ .../Graph/Model/ProvisioningStatusInfo.php | 6 +- .../Microsoft/Graph/Model/PurchaseInvoice.php | 109 +++- .../Microsoft/Graph/Model/SalesCreditMemo.php | 109 +++- .../Microsoft/Graph/Model/SalesInvoice.php | 109 +++- src/Beta/Microsoft/Graph/Model/SalesOrder.php | 109 +++- src/Beta/Microsoft/Graph/Model/SalesQuote.php | 109 +++- .../Microsoft/Graph/Model/ShipmentMethod.php | 109 +++- .../Graph/Model/SignInPreferences.php | 2 + src/Beta/Microsoft/Graph/Model/TaxArea.php | 109 +++- .../Model/UnifiedRoleManagementPolicy.php | 4 +- .../UnifiedRoleManagementPolicyAssignment.php | 8 +- .../Microsoft/Graph/Model/UnitOfMeasure.php | 109 +++- src/Beta/Microsoft/Graph/Model/User.php | 6 +- ...nalyticsAnomalyCorrelationGroupFeature.php | 87 +++ ...alyticsAnomalyCorrelationGroupOverview.php | 322 +++++++++++ ...yticsAnomalyCorrelationGroupPrevalence.php | 36 ++ .../UserExperienceAnalyticsAnomalyDevice.php | 62 +++ ...ienceAnalyticsAnomalyDeviceFeatureType.php | 38 ++ ...alyticsAppHealthApplicationPerformance.php | 29 - ...alyticsAppHealthDeviceModelPerformance.php | 29 - ...nceAnalyticsAppHealthDevicePerformance.php | 29 - ...AnalyticsAppHealthOSVersionPerformance.php | 29 - .../UserExperienceAnalyticsDeviceStatus.php | 36 ++ ...UserExperienceAnalyticsInsightSeverity.php | 1 + ...nalyticsOperatingSystemRestartCategory.php | 1 + .../UserExperienceAnalyticsSummarizedBy.php | 1 + .../Graph/Model/UserRegistrationDetails.php | 2 + src/Beta/Microsoft/Graph/Model/Vendor.php | 109 +++- .../Microsoft/Graph/Model/VirtualEndpoint.php | 28 + .../Microsoft/Graph/Model/WarrantyOffer.php | 153 ------ .../Networkaccess/Model/NetworkAccessRoot.php | 82 +-- .../Networkaccess/Model/PolicyRuleDelta.php | 52 ++ 97 files changed, 5412 insertions(+), 986 deletions(-) create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkAction.php create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkActionSummary.php rename src/Beta/Microsoft/Graph/Model/{OemWarrantyInformationOnboarding.php => CloudPcBulkPowerOff.php} (83%) create mode 100644 src/Beta/Microsoft/Graph/Model/CloudPcBulkPowerOn.php rename src/Beta/Microsoft/Graph/Model/{WarrantyType.php => DeviceHealthScriptType.php} (72%) create mode 100644 src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php delete mode 100644 src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php delete mode 100644 src/Beta/Microsoft/Graph/Model/OemWarranty.php create mode 100644 src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php create mode 100644 src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevationType.php create mode 100644 src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupFeature.php create mode 100644 src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupOverview.php create mode 100644 src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence.php create mode 100644 src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyDeviceFeatureType.php create mode 100644 src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStatus.php delete mode 100644 src/Beta/Microsoft/Graph/Model/WarrantyOffer.php create mode 100644 src/Beta/Microsoft/Graph/Networkaccess/Model/PolicyRuleDelta.php diff --git a/src/Beta/Microsoft/Graph/Model/Account.php b/src/Beta/Microsoft/Graph/Model/Account.php index bcb30d12930..d0dbd64757b 100644 --- a/src/Beta/Microsoft/Graph/Model/Account.php +++ b/src/Beta/Microsoft/Graph/Model/Account.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Account extends Entity +class Account implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Account + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Account + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the blocked * @@ -105,6 +136,33 @@ public function setDisplayName($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 id + * + * @return Account + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -190,4 +248,53 @@ public function setSubCategory($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Account + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php b/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php index 1106764c5d4..861258b773e 100644 --- a/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php +++ b/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php @@ -84,6 +84,7 @@ public function setDisplayName($val) /** * Gets the isMemberManagementRestricted + * true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later. * * @return bool|null The isMemberManagementRestricted */ @@ -98,6 +99,7 @@ public function getIsMemberManagementRestricted() /** * Sets the isMemberManagementRestricted + * true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later. * * @param bool $val The isMemberManagementRestricted * diff --git a/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php b/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php index 11701bc9494..1fcaf9c4ad9 100644 --- a/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php +++ b/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class AgedAccountsPayable extends Entity +class AgedAccountsPayable implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new AgedAccountsPayable + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the AgedAccountsPayable + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the agedAsOfDate * @@ -144,6 +175,33 @@ public function setCurrentAmount($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 id + * + * @return AgedAccountsPayable + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the name * @@ -291,6 +349,33 @@ public function setPeriodLengthFilter($val) return $this; } + /** + * Gets the vendorId + * + * @return string|null The vendorId + */ + public function getVendorId() + { + if (array_key_exists("vendorId", $this->_propDict)) { + return $this->_propDict["vendorId"]; + } else { + return null; + } + } + + /** + * Sets the vendorId + * + * @param string $val The vendorId + * + * @return AgedAccountsPayable + */ + public function setVendorId($val) + { + $this->_propDict["vendorId"] = $val; + return $this; + } + /** * Gets the vendorNumber * @@ -318,4 +403,53 @@ public function setVendorNumber($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return AgedAccountsPayable + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php b/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php index fa499345a67..0b347d5dcea 100644 --- a/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php +++ b/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class AgedAccountsReceivable extends Entity +class AgedAccountsReceivable implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new AgedAccountsReceivable + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the AgedAccountsReceivable + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the agedAsOfDate * @@ -144,6 +175,33 @@ public function setCurrentAmount($val) return $this; } + /** + * Gets the customerId + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * + * @param string $val The customerId + * + * @return AgedAccountsReceivable + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + /** * Gets the customerNumber * @@ -171,6 +229,33 @@ public function setCustomerNumber($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 id + * + * @return AgedAccountsReceivable + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the name * @@ -318,4 +403,53 @@ public function setPeriodLengthFilter($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return AgedAccountsReceivable + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php b/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php index 4762af496f4..50d513e7691 100644 --- a/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php +++ b/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php @@ -25,6 +25,7 @@ class AttributeMappingSource extends Entity { /** * Gets the expression + * Equivalent expression representation of this attributeMappingSource object. * * @return string|null The expression */ @@ -39,6 +40,7 @@ public function getExpression() /** * Sets the expression + * Equivalent expression representation of this attributeMappingSource object. * * @param string $val The value of the expression * @@ -51,6 +53,7 @@ public function setExpression($val) } /** * Gets the name + * Name parameter of the mapping source. Depending on the type property value, this can be the name of the function, the name of the source attribute, or a constant value to be used. * * @return string|null The name */ @@ -65,6 +68,7 @@ public function getName() /** * Sets the name + * Name parameter of the mapping source. Depending on the type property value, this can be the name of the function, the name of the source attribute, or a constant value to be used. * * @param string $val The value of the name * @@ -78,6 +82,7 @@ public function setName($val) /** * Gets the parameters + * If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type is not Function, this property will be null/empty array. * * @return StringKeyAttributeMappingSourceValuePair|null The parameters */ @@ -96,6 +101,7 @@ public function getParameters() /** * Sets the parameters + * If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type is not Function, this property will be null/empty array. * * @param StringKeyAttributeMappingSourceValuePair $val The value to assign to the parameters * @@ -109,6 +115,7 @@ public function setParameters($val) /** * Gets the type + * The type of this attribute mapping source. Possible values are: Attribute, Constant, Function. Default is Attribute. * * @return AttributeMappingSourceType|null The type */ @@ -127,6 +134,7 @@ public function getType() /** * Sets the type + * The type of this attribute mapping source. Possible values are: Attribute, Constant, Function. Default is Attribute. * * @param AttributeMappingSourceType $val The value to assign to the type * diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcBulkAction.php b/src/Beta/Microsoft/Graph/Model/CloudPcBulkAction.php new file mode 100644 index 00000000000..189b82a955f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudPcBulkAction.php @@ -0,0 +1,143 @@ +_propDict)) { + if (is_a($this->_propDict["actionSummary"], "\Beta\Microsoft\Graph\Model\CloudPcBulkActionSummary") || is_null($this->_propDict["actionSummary"])) { + return $this->_propDict["actionSummary"]; + } else { + $this->_propDict["actionSummary"] = new CloudPcBulkActionSummary($this->_propDict["actionSummary"]); + return $this->_propDict["actionSummary"]; + } + } + return null; + } + + /** + * Sets the actionSummary + * + * @param CloudPcBulkActionSummary $val The actionSummary + * + * @return CloudPcBulkAction + */ + public function setActionSummary($val) + { + $this->_propDict["actionSummary"] = $val; + return $this; + } + + /** + * Gets the cloudPcIds + * + * @return array|null The cloudPcIds + */ + public function getCloudPcIds() + { + if (array_key_exists("cloudPcIds", $this->_propDict)) { + return $this->_propDict["cloudPcIds"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcIds + * + * @param string[] $val The cloudPcIds + * + * @return CloudPcBulkAction + */ + public function setCloudPcIds($val) + { + $this->_propDict["cloudPcIds"] = $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 CloudPcBulkAction + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $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 CloudPcBulkAction + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcBulkActionSummary.php b/src/Beta/Microsoft/Graph/Model/CloudPcBulkActionSummary.php new file mode 100644 index 00000000000..021ee618502 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudPcBulkActionSummary.php @@ -0,0 +1,156 @@ +_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * + * @param int $val The value of the failedCount + * + * @return CloudPcBulkActionSummary + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = $val; + return $this; + } + /** + * Gets the inProgressCount + * + * @return int|null The inProgressCount + */ + public function getInProgressCount() + { + if (array_key_exists("inProgressCount", $this->_propDict)) { + return $this->_propDict["inProgressCount"]; + } else { + return null; + } + } + + /** + * Sets the inProgressCount + * + * @param int $val The value of the inProgressCount + * + * @return CloudPcBulkActionSummary + */ + public function setInProgressCount($val) + { + $this->_propDict["inProgressCount"] = $val; + return $this; + } + /** + * Gets the notSupportedCount + * + * @return int|null The notSupportedCount + */ + public function getNotSupportedCount() + { + if (array_key_exists("notSupportedCount", $this->_propDict)) { + return $this->_propDict["notSupportedCount"]; + } else { + return null; + } + } + + /** + * Sets the notSupportedCount + * + * @param int $val The value of the notSupportedCount + * + * @return CloudPcBulkActionSummary + */ + public function setNotSupportedCount($val) + { + $this->_propDict["notSupportedCount"] = $val; + return $this; + } + /** + * Gets the pendingCount + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * + * @param int $val The value of the pendingCount + * + * @return CloudPcBulkActionSummary + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = $val; + return $this; + } + /** + * Gets the successfulCount + * + * @return int|null The successfulCount + */ + public function getSuccessfulCount() + { + if (array_key_exists("successfulCount", $this->_propDict)) { + return $this->_propDict["successfulCount"]; + } else { + return null; + } + } + + /** + * Sets the successfulCount + * + * @param int $val The value of the successfulCount + * + * @return CloudPcBulkActionSummary + */ + public function setSuccessfulCount($val) + { + $this->_propDict["successfulCount"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/OemWarrantyInformationOnboarding.php b/src/Beta/Microsoft/Graph/Model/CloudPcBulkPowerOff.php similarity index 83% rename from src/Beta/Microsoft/Graph/Model/OemWarrantyInformationOnboarding.php rename to src/Beta/Microsoft/Graph/Model/CloudPcBulkPowerOff.php index aebc9967147..7ed73832627 100644 --- a/src/Beta/Microsoft/Graph/Model/OemWarrantyInformationOnboarding.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcBulkPowerOff.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. * -* OemWarrantyInformationOnboarding File +* CloudPcBulkPowerOff File * PHP version 7 * * @category Library @@ -14,7 +14,7 @@ namespace Beta\Microsoft\Graph\Model; /** -* OemWarrantyInformationOnboarding class +* CloudPcBulkPowerOff class * * @category Model * @package Microsoft.Graph @@ -22,6 +22,6 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class OemWarrantyInformationOnboarding extends Entity +class CloudPcBulkPowerOff extends CloudPcBulkAction { } diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcBulkPowerOn.php b/src/Beta/Microsoft/Graph/Model/CloudPcBulkPowerOn.php new file mode 100644 index 00000000000..cb3d09e9a2f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CloudPcBulkPowerOn.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * The unique identifier of the health check item-related activities. This identifier can be useful in troubleshooting. + * + * @param string $val The value of the correlationId + * + * @return CloudPcOnPremisesConnectionHealthCheck + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + /** * Gets the displayName * The display name for this health check item. * diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php b/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php index 6a6516eda7a..0e4540490dd 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php @@ -80,6 +80,8 @@ class CloudPcOnPremisesConnectionHealthCheckErrorType extends Enum const PERMISSION_CHECK_NO_RESOURCE_GROUP_OWNER_ROLE = "permissionCheckNoResourceGroupOwnerRole"; const PERMISSION_CHECK_NO_V_NET_CONTRIBUTOR_ROLE = "permissionCheckNoVNetContributorRole"; const PERMISSION_CHECK_NO_RESOURCE_GROUP_NETWORK_CONTRIBUTOR_ROLE = "permissionCheckNoResourceGroupNetworkContributorRole"; + const PERMISSION_CHECK_NO_WINDOWS365_NETWORK_USER_ROLE = "permissionCheckNoWindows365NetworkUserRole"; + const PERMISSION_CHECK_NO_WINDOWS365_NETWORK_INTERFACE_CONTRIBUTOR_ROLE = "permissionCheckNoWindows365NetworkInterfaceContributorRole"; const PERMISSION_CHECK_TRANSIENT_SERVICE_ERROR = "permissionCheckTransientServiceError"; const PERMISSION_CHECK_UNKNOWN_ERROR = "permissionCheckUnknownError"; const UDP_CONNECTIVITY_CHECK_STUN_URL_NOT_ALLOW_LISTED = "udpConnectivityCheckStunUrlNotAllowListed"; diff --git a/src/Beta/Microsoft/Graph/Model/CloudPcReportName.php b/src/Beta/Microsoft/Graph/Model/CloudPcReportName.php index cb910c65d7a..08f37d11900 100644 --- a/src/Beta/Microsoft/Graph/Model/CloudPcReportName.php +++ b/src/Beta/Microsoft/Graph/Model/CloudPcReportName.php @@ -35,4 +35,5 @@ class CloudPcReportName extends Enum const SHARED_USE_LICENSE_USAGE_REPORT = "sharedUseLicenseUsageReport"; const SHARED_USE_LICENSE_USAGE_REAL_TIME_REPORT = "sharedUseLicenseUsageRealTimeReport"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const NO_LICENSE_AVAILABLE_CONNECTIVITY_FAILURE_REPORT = "noLicenseAvailableConnectivityFailureReport"; } diff --git a/src/Beta/Microsoft/Graph/Model/Company.php b/src/Beta/Microsoft/Graph/Model/Company.php index a6767c070bd..167f5e2de07 100644 --- a/src/Beta/Microsoft/Graph/Model/Company.php +++ b/src/Beta/Microsoft/Graph/Model/Company.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Company extends Entity +class Company implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Company + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Company + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the businessProfileId * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return Company + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the name * @@ -1112,4 +1170,53 @@ public function setVendors($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Company + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/CompanyInformation.php b/src/Beta/Microsoft/Graph/Model/CompanyInformation.php index 2a0db363af6..e724eb04a09 100644 --- a/src/Beta/Microsoft/Graph/Model/CompanyInformation.php +++ b/src/Beta/Microsoft/Graph/Model/CompanyInformation.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class CompanyInformation extends Entity +class CompanyInformation implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new CompanyInformation + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the CompanyInformation + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the address * @@ -194,6 +225,33 @@ public function setFaxNumber($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 id + * + * @return CompanyInformation + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the industry * @@ -364,4 +422,53 @@ public function setWebsite($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return CompanyInformation + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/CountryRegion.php b/src/Beta/Microsoft/Graph/Model/CountryRegion.php index 9826e7661e9..f2451f951aa 100644 --- a/src/Beta/Microsoft/Graph/Model/CountryRegion.php +++ b/src/Beta/Microsoft/Graph/Model/CountryRegion.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class CountryRegion extends Entity +class CountryRegion implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new CountryRegion + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the CountryRegion + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the addressFormat * @@ -105,6 +136,33 @@ public function setDisplayName($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 id + * + * @return CountryRegion + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -136,4 +194,53 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return CountryRegion + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/Currency.php b/src/Beta/Microsoft/Graph/Model/Currency.php index 1da66904258..0b0a5d6ca2c 100644 --- a/src/Beta/Microsoft/Graph/Model/Currency.php +++ b/src/Beta/Microsoft/Graph/Model/Currency.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Currency extends Entity +class Currency implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Currency + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Currency + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the amountDecimalPlaces * @@ -136,6 +167,33 @@ public function setDisplayName($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 id + * + * @return Currency + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -194,4 +252,53 @@ public function setSymbol($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Currency + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/Customer.php b/src/Beta/Microsoft/Graph/Model/Customer.php index 0be68761cba..db90d167c5b 100644 --- a/src/Beta/Microsoft/Graph/Model/Customer.php +++ b/src/Beta/Microsoft/Graph/Model/Customer.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Customer extends Entity +class Customer implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Customer + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Customer + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the address * @@ -190,6 +221,33 @@ public function setEmail($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 id + * + * @return Customer + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -670,4 +728,53 @@ public function setShipmentMethod($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Customer + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/CustomerPayment.php b/src/Beta/Microsoft/Graph/Model/CustomerPayment.php index e242d948bea..59deb793c5d 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomerPayment.php +++ b/src/Beta/Microsoft/Graph/Model/CustomerPayment.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class CustomerPayment extends Entity +class CustomerPayment implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new CustomerPayment + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the CustomerPayment + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the amount * @@ -298,6 +329,33 @@ public function setExternalDocumentNumber($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 id + * + * @return CustomerPayment + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the journalDisplayName * @@ -445,4 +503,53 @@ public function setCustomer($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return CustomerPayment + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php b/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php index 7d96bb998af..e8a8321a59b 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php +++ b/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class CustomerPaymentJournal extends Entity +class CustomerPaymentJournal implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new CustomerPaymentJournal + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the CustomerPaymentJournal + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the balancingAccountId * @@ -132,6 +163,33 @@ public function setDisplayName($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 id + * + * @return CustomerPaymentJournal + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -222,4 +280,53 @@ public function setCustomerPayments($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return CustomerPaymentJournal + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php b/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php index b0eddff05ae..bb2ac98a2af 100644 --- a/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php +++ b/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php @@ -488,6 +488,35 @@ public function setRegistrationDisabled($val) return $this; } + /** + * Gets the requestRequiresNetworkTether + * Indicates if the device is network-tethered to run the command + * + * @return bool|null The requestRequiresNetworkTether + */ + public function getRequestRequiresNetworkTether() + { + if (array_key_exists("requestRequiresNetworkTether", $this->_propDict)) { + return $this->_propDict["requestRequiresNetworkTether"]; + } else { + return null; + } + } + + /** + * Sets the requestRequiresNetworkTether + * Indicates if the device is network-tethered to run the command + * + * @param bool $val The requestRequiresNetworkTether + * + * @return DepMacOSEnrollmentProfile + */ + public function setRequestRequiresNetworkTether($val) + { + $this->_propDict["requestRequiresNetworkTether"] = boolval($val); + return $this; + } + /** * Gets the setPrimarySetupAccountAsRegularUser * Indicates whether Setup Assistant will set the account as a regular user diff --git a/src/Beta/Microsoft/Graph/Model/Device.php b/src/Beta/Microsoft/Graph/Model/Device.php index 5168fa06d47..16490557de6 100644 --- a/src/Beta/Microsoft/Graph/Model/Device.php +++ b/src/Beta/Microsoft/Graph/Model/Device.php @@ -532,6 +532,7 @@ public function setIsManaged($val) /** * Gets the isManagementRestricted + * true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. * * @return bool|null The isManagementRestricted */ @@ -546,6 +547,7 @@ public function getIsManagementRestricted() /** * Sets the isManagementRestricted + * true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. * * @param bool $val The isManagementRestricted * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentWindowsHelloForBusinessConfiguration.php b/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentWindowsHelloForBusinessConfiguration.php index 9cf4c6b00f0..72836655aa0 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentWindowsHelloForBusinessConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentWindowsHelloForBusinessConfiguration.php @@ -57,6 +57,35 @@ public function setEnhancedBiometricsState($val) return $this; } + /** + * Gets the enhancedSignInSecurity + * Setting to configure Enahcned sign-in security. Default is enabled on one secure modality (face or fingerprint) + * + * @return int|null The enhancedSignInSecurity + */ + public function getEnhancedSignInSecurity() + { + if (array_key_exists("enhancedSignInSecurity", $this->_propDict)) { + return $this->_propDict["enhancedSignInSecurity"]; + } else { + return null; + } + } + + /** + * Sets the enhancedSignInSecurity + * Setting to configure Enahcned sign-in security. Default is enabled on one secure modality (face or fingerprint) + * + * @param int $val The enhancedSignInSecurity + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setEnhancedSignInSecurity($val) + { + $this->_propDict["enhancedSignInSecurity"] = intval($val); + return $this; + } + /** * Gets the pinExpirationInDays * Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire diff --git a/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php b/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php index a2cc0d5c3e8..a8cca855087 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php @@ -149,6 +149,39 @@ public function setDetectionScriptParameters($val) return $this; } + /** + * Gets the deviceHealthScriptType + * DeviceHealthScriptType for the script policy + * + * @return DeviceHealthScriptType|null The deviceHealthScriptType + */ + public function getDeviceHealthScriptType() + { + if (array_key_exists("deviceHealthScriptType", $this->_propDict)) { + if (is_a($this->_propDict["deviceHealthScriptType"], "\Beta\Microsoft\Graph\Model\DeviceHealthScriptType") || is_null($this->_propDict["deviceHealthScriptType"])) { + return $this->_propDict["deviceHealthScriptType"]; + } else { + $this->_propDict["deviceHealthScriptType"] = new DeviceHealthScriptType($this->_propDict["deviceHealthScriptType"]); + return $this->_propDict["deviceHealthScriptType"]; + } + } + return null; + } + + /** + * Sets the deviceHealthScriptType + * DeviceHealthScriptType for the script policy + * + * @param DeviceHealthScriptType $val The deviceHealthScriptType + * + * @return DeviceHealthScript + */ + public function setDeviceHealthScriptType($val) + { + $this->_propDict["deviceHealthScriptType"] = $val; + return $this; + } + /** * Gets the displayName * Name of the device health script diff --git a/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php b/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php index 6db1eab545a..9d33d36a240 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php @@ -57,6 +57,34 @@ public function setDate($val) return $this; } /** + * Gets the detectFailedDeviceCount + * The number of devices for which the detection script found an issue. + * + * @return int|null The detectFailedDeviceCount + */ + public function getDetectFailedDeviceCount() + { + if (array_key_exists("detectFailedDeviceCount", $this->_propDict)) { + return $this->_propDict["detectFailedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the detectFailedDeviceCount + * The number of devices for which the detection script found an issue. + * + * @param int $val The value of the detectFailedDeviceCount + * + * @return DeviceHealthScriptRemediationHistoryData + */ + public function setDetectFailedDeviceCount($val) + { + $this->_propDict["detectFailedDeviceCount"] = $val; + return $this; + } + /** * Gets the noIssueDeviceCount * The number of devices that were found to have no issue by the device health script. * diff --git a/src/Beta/Microsoft/Graph/Model/WarrantyType.php b/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptType.php similarity index 72% rename from src/Beta/Microsoft/Graph/Model/WarrantyType.php rename to src/Beta/Microsoft/Graph/Model/DeviceHealthScriptType.php index 546fef086e7..91395331678 100644 --- a/src/Beta/Microsoft/Graph/Model/WarrantyType.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptType.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. * -* WarrantyType File +* DeviceHealthScriptType File * PHP version 7 * * @category Library @@ -16,7 +16,7 @@ use Microsoft\Graph\Core\Enum; /** -* WarrantyType class +* DeviceHealthScriptType class * * @category Model * @package Microsoft.Graph @@ -24,13 +24,11 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class WarrantyType extends Enum +class DeviceHealthScriptType extends Enum { /** - * The Enum WarrantyType + * The Enum DeviceHealthScriptType */ - const UNKNOWN = "unknown"; - const MANUFACTURER = "manufacturer"; - const CONTRACTUAL = "contractual"; - const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const DEVICE_HEALTH_SCRIPT = "deviceHealthScript"; + const MANAGED_INSTALLER_SCRIPT = "managedInstallerScript"; } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php index bcb5a97c895..94691883833 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php @@ -2678,6 +2678,36 @@ public function setMobileAppTroubleshootingEvents($val) } + /** + * Gets the privilegeManagementElevations + * The endpoint privilege management elevation event entity contains elevation details. + * + * @return array|null The privilegeManagementElevations + */ + public function getPrivilegeManagementElevations() + { + if (array_key_exists("privilegeManagementElevations", $this->_propDict)) { + return $this->_propDict["privilegeManagementElevations"]; + } else { + return null; + } + } + + /** + * Sets the privilegeManagementElevations + * The endpoint privilege management elevation event entity contains elevation details. + * + * @param PrivilegeManagementElevation[] $val The privilegeManagementElevations + * + * @return DeviceManagement + */ + public function setPrivilegeManagementElevations($val) + { + $this->_propDict["privilegeManagementElevations"] = $val; + return $this; + } + + /** * Gets the remoteActionAudits * The list of device remote action audits with the tenant. @@ -2771,6 +2801,36 @@ public function setUserExperienceAnalyticsAnomaly($val) } + /** + * Gets the userExperienceAnalyticsAnomalyCorrelationGroupOverview + * The user experience analytics anomaly correlation group overview entity contains the information for each correlation group of an anomaly. + * + * @return array|null The userExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function getUserExperienceAnalyticsAnomalyCorrelationGroupOverview() + { + if (array_key_exists("userExperienceAnalyticsAnomalyCorrelationGroupOverview", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAnomalyCorrelationGroupOverview"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAnomalyCorrelationGroupOverview + * The user experience analytics anomaly correlation group overview entity contains the information for each correlation group of an anomaly. + * + * @param UserExperienceAnalyticsAnomalyCorrelationGroupOverview[] $val The userExperienceAnalyticsAnomalyCorrelationGroupOverview + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAnomalyCorrelationGroupOverview($val) + { + $this->_propDict["userExperienceAnalyticsAnomalyCorrelationGroupOverview"] = $val; + return $this; + } + + /** * Gets the userExperienceAnalyticsAnomalyDevice * The user experience analytics anomaly entity contains device details. diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index 772f407516e..1dd8ea6b20b 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php index 7e0e869c876..fec75f417bc 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingDefinition extends DeviceManagem { /** * Gets the defaultOptionId - * Default option for choice setting + * Default option for the choice setting. * * @return string|null The defaultOptionId */ @@ -41,7 +41,7 @@ public function getDefaultOptionId() /** * Sets the defaultOptionId - * Default option for choice setting + * Default option for the choice setting. * * @param string $val The defaultOptionId * @@ -56,7 +56,7 @@ public function setDefaultOptionId($val) /** * Gets the options - * Options for the setting that can be selected + * Options for the setting that can be selected. * * @return array|null The options */ @@ -71,7 +71,7 @@ public function getOptions() /** * Sets the options - * Options for the setting that can be selected + * Options for the setting that can be selected. * * @param DeviceManagementConfigurationOptionDefinition[] $val The options * diff --git a/src/Beta/Microsoft/Graph/Model/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/DeviceManagementConfigurationSettingApplicability.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php index 6e68147cf20..cef962d064b 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingApplicability.php @@ -87,7 +87,7 @@ public function setDeviceMode($val) /** * Gets the platform - * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. * * @return DeviceManagementConfigurationPlatforms|null The platform */ @@ -106,7 +106,7 @@ public function getPlatform() /** * Sets the platform - * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. * * @param DeviceManagementConfigurationPlatforms $val The value to assign to the platform * @@ -120,7 +120,7 @@ public function setPlatform($val) /** * Gets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @return DeviceManagementConfigurationTechnologies|null The technologies */ @@ -139,7 +139,7 @@ public function getTechnologies() /** * Sets the technologies - * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue. * * @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php index 84d921c2cdd..10e62e20a65 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi { /** * Gets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of setting group count in the collection. Valid values 1 to 100 + * Maximum number of setting group count in the collection * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of setting group count in the collection. Valid values 1 to 100 + * Minimum number of setting group count in the collection * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php index 0563d36dd58..9a6c46313c3 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupDefinition extends DeviceManageme { /** * Gets the childIds - * Dependent child settings to this group of settings. + * Dependent child settings to this group of settings * * @return array|null The childIds */ @@ -41,7 +41,7 @@ public function getChildIds() /** * Sets the childIds - * Dependent child settings to this group of settings. + * Dependent child settings to this group of settings * * @param string[] $val The childIds * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php index 245b38ef0d2..cfb59dc09c9 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem { /** * Gets the defaultValue - * Default setting value for this setting + * Default setting value for this setting. * * @return DeviceManagementConfigurationSettingValue|null The defaultValue */ @@ -45,7 +45,7 @@ public function getDefaultValue() /** * Sets the defaultValue - * Default setting value for this setting + * Default setting value for this setting. * * @param DeviceManagementConfigurationSettingValue $val The defaultValue * @@ -60,7 +60,7 @@ public function setDefaultValue($val) /** * Gets the dependedOnBy - * list of child settings that depend on this setting + * list of child settings that depend on this setting. * * @return array|null The dependedOnBy */ @@ -75,7 +75,7 @@ public function getDependedOnBy() /** * Sets the dependedOnBy - * list of child settings that depend on this setting + * list of child settings that depend on this setting. * * @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy * @@ -90,7 +90,7 @@ public function setDependedOnBy($val) /** * Gets the dependentOn - * list of parent settings this setting is dependent on + * list of parent settings this setting is dependent on. * * @return array|null The dependentOn */ @@ -105,7 +105,7 @@ public function getDependentOn() /** * Sets the dependentOn - * list of parent settings this setting is dependent on + * list of parent settings this setting is dependent on. * * @param DeviceManagementConfigurationDependentOn[] $val The dependentOn * @@ -119,7 +119,7 @@ public function setDependentOn($val) /** * Gets the valueDefinition - * Definition of the value for this setting + * Definition of the value for this setting. * * @return DeviceManagementConfigurationSettingValueDefinition|null The valueDefinition */ @@ -138,7 +138,7 @@ public function getValueDefinition() /** * Sets the valueDefinition - * Definition of the value for this setting + * Definition of the value for this setting. * * @param DeviceManagementConfigurationSettingValueDefinition $val The valueDefinition * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php index 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/Dimension.php b/src/Beta/Microsoft/Graph/Model/Dimension.php index d7625a48b37..79ec4e681df 100644 --- a/src/Beta/Microsoft/Graph/Model/Dimension.php +++ b/src/Beta/Microsoft/Graph/Model/Dimension.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Dimension extends Entity +class Dimension implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Dimension + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Dimension + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the code * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return Dimension + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -137,4 +195,53 @@ public function setDimensionValues($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Dimension + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/DimensionValue.php b/src/Beta/Microsoft/Graph/Model/DimensionValue.php index 77ebe48f8ca..a3718ac15c5 100644 --- a/src/Beta/Microsoft/Graph/Model/DimensionValue.php +++ b/src/Beta/Microsoft/Graph/Model/DimensionValue.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class DimensionValue extends Entity +class DimensionValue implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new DimensionValue + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the DimensionValue + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the code * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return DimensionValue + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -109,4 +167,53 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return DimensionValue + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/Employee.php b/src/Beta/Microsoft/Graph/Model/Employee.php index c29c7c046e7..7774effe11a 100644 --- a/src/Beta/Microsoft/Graph/Model/Employee.php +++ b/src/Beta/Microsoft/Graph/Model/Employee.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Employee extends Entity +class Employee implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Employee + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Employee + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the address * @@ -198,6 +229,33 @@ public function setGivenName($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 id + * + * @return Employee + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the jobTitle * @@ -531,4 +589,53 @@ public function setPicture($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Employee + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/Financials.php b/src/Beta/Microsoft/Graph/Model/Financials.php index d973ee20364..81fe5ae255d 100644 --- a/src/Beta/Microsoft/Graph/Model/Financials.php +++ b/src/Beta/Microsoft/Graph/Model/Financials.php @@ -55,6 +55,33 @@ public function getProperties() return $this->_propDict; } + /** + * 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 id + * + * @return Financials + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the companies diff --git a/src/Beta/Microsoft/Graph/Model/GeneralLedgerEntry.php b/src/Beta/Microsoft/Graph/Model/GeneralLedgerEntry.php index cb2503412fd..ef7c44c7110 100644 --- a/src/Beta/Microsoft/Graph/Model/GeneralLedgerEntry.php +++ b/src/Beta/Microsoft/Graph/Model/GeneralLedgerEntry.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class GeneralLedgerEntry extends Entity +class GeneralLedgerEntry implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new GeneralLedgerEntry + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the GeneralLedgerEntry + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the accountId * @@ -221,6 +252,33 @@ public function setDocumentType($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 id + * + * @return GeneralLedgerEntry + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -314,4 +372,53 @@ public function setAccount($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return GeneralLedgerEntry + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/Group.php b/src/Beta/Microsoft/Graph/Model/Group.php index d45b77b697c..dc70615e447 100644 --- a/src/Beta/Microsoft/Graph/Model/Group.php +++ b/src/Beta/Microsoft/Graph/Model/Group.php @@ -384,6 +384,7 @@ public function setIsAssignableToRole($val) /** * Gets the isManagementRestricted + * Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. * * @return bool|null The isManagementRestricted */ @@ -398,6 +399,7 @@ public function getIsManagementRestricted() /** * Sets the isManagementRestricted + * Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. * * @param bool $val The isManagementRestricted * diff --git a/src/Beta/Microsoft/Graph/Model/Identity.php b/src/Beta/Microsoft/Graph/Model/Identity.php index 79a5705bc43..03a9de8a01b 100644 --- a/src/Beta/Microsoft/Graph/Model/Identity.php +++ b/src/Beta/Microsoft/Graph/Model/Identity.php @@ -25,7 +25,7 @@ class Identity extends Entity { /** * Gets the displayName - * The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * The display name of the identity. This property is read-only. * * @return string|null The displayName */ @@ -40,7 +40,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * The display name of the identity. This property is read-only. * * @param string $val The value of the displayName * @@ -53,7 +53,7 @@ public function setDisplayName($val) } /** * Gets the id - * Unique identifier for the identity. + * The identifier of the identity. This property is read-only. * * @return string|null The id */ @@ -68,7 +68,7 @@ public function getId() /** * Sets the id - * Unique identifier for the identity. + * The identifier of the identity. This property is read-only. * * @param string $val The value of the id * diff --git a/src/Beta/Microsoft/Graph/Model/IdentitySet.php b/src/Beta/Microsoft/Graph/Model/IdentitySet.php index 2046ffd53d1..655759bfd9f 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 - * The Identity of the Application. This property is read-only. + * Optional. The application associated with this action. * * @return Identity|null The application */ @@ -45,7 +45,7 @@ public function getApplication() /** * Sets the application - * The Identity of the Application. This property is read-only. + * Optional. The application associated with this action. * * @param Identity $val The value to assign to the application * @@ -59,7 +59,7 @@ public function setApplication($val) /** * Gets the device - * The Identity of the Device. This property is read-only. + * Optional. The device associated with this action. * * @return Identity|null The device */ @@ -78,7 +78,7 @@ public function getDevice() /** * Sets the device - * The Identity of the Device. This property is read-only. + * Optional. The device associated with this action. * * @param Identity $val The value to assign to the device * @@ -92,7 +92,7 @@ public function setDevice($val) /** * Gets the user - * The Identity of the User. This property is read-only. + * Optional. The user associated with this action. * * @return Identity|null The user */ @@ -111,7 +111,7 @@ public function getUser() /** * Sets the user - * The Identity of the User. This property is read-only. + * Optional. The user associated with this action. * * @param Identity $val The value to assign to the user * diff --git a/src/Beta/Microsoft/Graph/Model/Item.php b/src/Beta/Microsoft/Graph/Model/Item.php index f02af2df748..c47e91f17db 100644 --- a/src/Beta/Microsoft/Graph/Model/Item.php +++ b/src/Beta/Microsoft/Graph/Model/Item.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Item extends Entity +class Item implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Item + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Item + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the baseUnitOfMeasureId * @@ -132,6 +163,33 @@ public function setGtin($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 id + * + * @return Item + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the inventory * @@ -504,4 +562,53 @@ public function setPicture($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Item + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/ItemCategory.php b/src/Beta/Microsoft/Graph/Model/ItemCategory.php index 44f8006aa2a..4c7dc7ba395 100644 --- a/src/Beta/Microsoft/Graph/Model/ItemCategory.php +++ b/src/Beta/Microsoft/Graph/Model/ItemCategory.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class ItemCategory extends Entity +class ItemCategory implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new ItemCategory + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the ItemCategory + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the code * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return ItemCategory + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -109,4 +167,53 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return ItemCategory + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/Journal.php b/src/Beta/Microsoft/Graph/Model/Journal.php index 0690a643282..0bef67b3ef7 100644 --- a/src/Beta/Microsoft/Graph/Model/Journal.php +++ b/src/Beta/Microsoft/Graph/Model/Journal.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Journal extends Entity +class Journal implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Journal + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Journal + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the balancingAccountId * @@ -132,6 +163,33 @@ public function setDisplayName($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 id + * + * @return Journal + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -222,4 +280,53 @@ public function setJournalLines($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Journal + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/JournalLine.php b/src/Beta/Microsoft/Graph/Model/JournalLine.php index 0eaa9586e7e..cbd09fe236f 100644 --- a/src/Beta/Microsoft/Graph/Model/JournalLine.php +++ b/src/Beta/Microsoft/Graph/Model/JournalLine.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class JournalLine extends Entity +class JournalLine implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new JournalLine + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the JournalLine + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the accountId * @@ -217,6 +248,33 @@ public function setExternalDocumentNumber($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 id + * + * @return JournalLine + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the journalDisplayName * @@ -364,4 +422,53 @@ public function setAccount($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return JournalLine + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/LearningProvider.php b/src/Beta/Microsoft/Graph/Model/LearningProvider.php index 8d9220cd145..8f477f5874f 100644 --- a/src/Beta/Microsoft/Graph/Model/LearningProvider.php +++ b/src/Beta/Microsoft/Graph/Model/LearningProvider.php @@ -53,6 +53,35 @@ public function setDisplayName($val) return $this; } + /** + * Gets the isCourseActivitySyncEnabled + * Indicates whether a provider can ingest learning course activity records. The default value is false. Set to true to make learningCourseActivities available for this provider. + * + * @return bool|null The isCourseActivitySyncEnabled + */ + public function getIsCourseActivitySyncEnabled() + { + if (array_key_exists("isCourseActivitySyncEnabled", $this->_propDict)) { + return $this->_propDict["isCourseActivitySyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isCourseActivitySyncEnabled + * Indicates whether a provider can ingest learning course activity records. The default value is false. Set to true to make learningCourseActivities available for this provider. + * + * @param bool $val The isCourseActivitySyncEnabled + * + * @return LearningProvider + */ + public function setIsCourseActivitySyncEnabled($val) + { + $this->_propDict["isCourseActivitySyncEnabled"] = boolval($val); + return $this; + } + /** * Gets the loginWebUrl * Authentication URL to access the courses for the provider. Optional. diff --git a/src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php b/src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php new file mode 100644 index 00000000000..9eb51ac3ea4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["ignoreVersionDetection"]; + } else { + return null; + } + } + + /** + * Sets the ignoreVersionDetection + * A value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self-update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device. The default value is false. + * + * @param bool $val The ignoreVersionDetection + * + * @return MacOSPkgApp + */ + public function setIgnoreVersionDetection($val) + { + $this->_propDict["ignoreVersionDetection"] = boolval($val); + return $this; + } + + + /** + * Gets the includedApps + * The list of apps expected to be installed by the .pkg. + * + * @return array|null The includedApps + */ + public function getIncludedApps() + { + if (array_key_exists("includedApps", $this->_propDict)) { + return $this->_propDict["includedApps"]; + } else { + return null; + } + } + + /** + * Sets the includedApps + * The list of apps expected to be installed by the .pkg. + * + * @param MacOSIncludedApp[] $val The includedApps + * + * @return MacOSPkgApp + */ + public function setIncludedApps($val) + { + $this->_propDict["includedApps"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return MacOSMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\MacOSMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new MacOSMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param MacOSMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return MacOSPkgApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the primaryBundleId + * The primary CFBundleIdentifier of the .pkg. + * + * @return string|null The primaryBundleId + */ + public function getPrimaryBundleId() + { + if (array_key_exists("primaryBundleId", $this->_propDict)) { + return $this->_propDict["primaryBundleId"]; + } else { + return null; + } + } + + /** + * Sets the primaryBundleId + * The primary CFBundleIdentifier of the .pkg. + * + * @param string $val The primaryBundleId + * + * @return MacOSPkgApp + */ + public function setPrimaryBundleId($val) + { + $this->_propDict["primaryBundleId"] = $val; + return $this; + } + + /** + * Gets the primaryBundleVersion + * The primary CFBundleVersion of the .pkg. + * + * @return string|null The primaryBundleVersion + */ + public function getPrimaryBundleVersion() + { + if (array_key_exists("primaryBundleVersion", $this->_propDict)) { + return $this->_propDict["primaryBundleVersion"]; + } else { + return null; + } + } + + /** + * Sets the primaryBundleVersion + * The primary CFBundleVersion of the .pkg. + * + * @param string $val The primaryBundleVersion + * + * @return MacOSPkgApp + */ + public function setPrimaryBundleVersion($val) + { + $this->_propDict["primaryBundleVersion"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/MobileApp.php b/src/Beta/Microsoft/Graph/Model/MobileApp.php index b71a7cad1a3..6de74b575ed 100644 --- a/src/Beta/Microsoft/Graph/Model/MobileApp.php +++ b/src/Beta/Microsoft/Graph/Model/MobileApp.php @@ -652,69 +652,6 @@ public function setCategories($val) } - /** - * Gets the deviceStatuses - * The list of installation states for this mobile app. - * - * @return array|null The deviceStatuses - */ - public function getDeviceStatuses() - { - if (array_key_exists("deviceStatuses", $this->_propDict)) { - return $this->_propDict["deviceStatuses"]; - } else { - return null; - } - } - - /** - * Sets the deviceStatuses - * The list of installation states for this mobile app. - * - * @param MobileAppInstallStatus[] $val The deviceStatuses - * - * @return MobileApp - */ - public function setDeviceStatuses($val) - { - $this->_propDict["deviceStatuses"] = $val; - return $this; - } - - /** - * Gets the installSummary - * Mobile App Install Summary. - * - * @return MobileAppInstallSummary|null The installSummary - */ - public function getInstallSummary() - { - if (array_key_exists("installSummary", $this->_propDict)) { - if (is_a($this->_propDict["installSummary"], "\Beta\Microsoft\Graph\Model\MobileAppInstallSummary") || is_null($this->_propDict["installSummary"])) { - return $this->_propDict["installSummary"]; - } else { - $this->_propDict["installSummary"] = new MobileAppInstallSummary($this->_propDict["installSummary"]); - return $this->_propDict["installSummary"]; - } - } - return null; - } - - /** - * Sets the installSummary - * Mobile App Install Summary. - * - * @param MobileAppInstallSummary $val The installSummary - * - * @return MobileApp - */ - public function setInstallSummary($val) - { - $this->_propDict["installSummary"] = $val; - return $this; - } - - /** * Gets the relationships * List of relationships for this mobile app. @@ -744,34 +681,4 @@ public function setRelationships($val) return $this; } - - /** - * Gets the userStatuses - * The list of installation states for this mobile app. - * - * @return array|null The userStatuses - */ - public function getUserStatuses() - { - if (array_key_exists("userStatuses", $this->_propDict)) { - return $this->_propDict["userStatuses"]; - } else { - return null; - } - } - - /** - * Sets the userStatuses - * The list of installation states for this mobile app. - * - * @param UserAppInstallStatus[] $val The userStatuses - * - * @return MobileApp - */ - public function setUserStatuses($val) - { - $this->_propDict["userStatuses"] = $val; - return $this; - } - } diff --git a/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php b/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php deleted file mode 100644 index 726bab3b622..00000000000 --- a/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php +++ /dev/null @@ -1,265 +0,0 @@ -_propDict)) { - return $this->_propDict["deviceId"]; - } else { - return null; - } - } - - /** - * Sets the deviceId - * The corresponding device id. - * - * @param string $val The value of the deviceId - * - * @return MobileAppRelationshipState - */ - public function setDeviceId($val) - { - $this->_propDict["deviceId"] = $val; - return $this; - } - /** - * Gets the errorCode - * The error code for install or uninstall failures of target app. - * - * @return int|null The errorCode - */ - public function getErrorCode() - { - if (array_key_exists("errorCode", $this->_propDict)) { - return $this->_propDict["errorCode"]; - } else { - return null; - } - } - - /** - * Sets the errorCode - * The error code for install or uninstall failures of target app. - * - * @param int $val The value of the errorCode - * - * @return MobileAppRelationshipState - */ - public function setErrorCode($val) - { - $this->_propDict["errorCode"] = $val; - return $this; - } - - /** - * Gets the installState - * The install state of the app of target app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. - * - * @return ResultantAppState|null The installState - */ - public function getInstallState() - { - if (array_key_exists("installState", $this->_propDict)) { - if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState") || is_null($this->_propDict["installState"])) { - return $this->_propDict["installState"]; - } else { - $this->_propDict["installState"] = new ResultantAppState($this->_propDict["installState"]); - return $this->_propDict["installState"]; - } - } - return null; - } - - /** - * Sets the installState - * The install state of the app of target app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. - * - * @param ResultantAppState $val The value to assign to the installState - * - * @return MobileAppRelationshipState The MobileAppRelationshipState - */ - public function setInstallState($val) - { - $this->_propDict["installState"] = $val; - return $this; - } - - /** - * Gets the installStateDetail - * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. - * - * @return ResultantAppStateDetail|null The installStateDetail - */ - public function getInstallStateDetail() - { - if (array_key_exists("installStateDetail", $this->_propDict)) { - if (is_a($this->_propDict["installStateDetail"], "\Beta\Microsoft\Graph\Model\ResultantAppStateDetail") || is_null($this->_propDict["installStateDetail"])) { - return $this->_propDict["installStateDetail"]; - } else { - $this->_propDict["installStateDetail"] = new ResultantAppStateDetail($this->_propDict["installStateDetail"]); - return $this->_propDict["installStateDetail"]; - } - } - return null; - } - - /** - * Sets the installStateDetail - * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. - * - * @param ResultantAppStateDetail $val The value to assign to the installStateDetail - * - * @return MobileAppRelationshipState The MobileAppRelationshipState - */ - public function setInstallStateDetail($val) - { - $this->_propDict["installStateDetail"] = $val; - return $this; - } - /** - * Gets the sourceIds - * The collection of source mobile app's ids. - * - * @return string|null The sourceIds - */ - public function getSourceIds() - { - if (array_key_exists("sourceIds", $this->_propDict)) { - return $this->_propDict["sourceIds"]; - } else { - return null; - } - } - - /** - * Sets the sourceIds - * The collection of source mobile app's ids. - * - * @param string $val The value of the sourceIds - * - * @return MobileAppRelationshipState - */ - public function setSourceIds($val) - { - $this->_propDict["sourceIds"] = $val; - return $this; - } - /** - * Gets the targetDisplayName - * The related target app's display name. - * - * @return string|null The targetDisplayName - */ - public function getTargetDisplayName() - { - if (array_key_exists("targetDisplayName", $this->_propDict)) { - return $this->_propDict["targetDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the targetDisplayName - * The related target app's display name. - * - * @param string $val The value of the targetDisplayName - * - * @return MobileAppRelationshipState - */ - public function setTargetDisplayName($val) - { - $this->_propDict["targetDisplayName"] = $val; - return $this; - } - /** - * Gets the targetId - * The related target app's id. - * - * @return string|null The targetId - */ - public function getTargetId() - { - if (array_key_exists("targetId", $this->_propDict)) { - return $this->_propDict["targetId"]; - } else { - return null; - } - } - - /** - * Sets the targetId - * The related target app's id. - * - * @param string $val The value of the targetId - * - * @return MobileAppRelationshipState - */ - public function setTargetId($val) - { - $this->_propDict["targetId"] = $val; - return $this; - } - - /** - * Gets the targetLastSyncDateTime - * The last sync time of the target app. - * - * @return \DateTime|null The targetLastSyncDateTime - */ - public function getTargetLastSyncDateTime() - { - if (array_key_exists("targetLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["targetLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["targetLastSyncDateTime"])) { - return $this->_propDict["targetLastSyncDateTime"]; - } else { - $this->_propDict["targetLastSyncDateTime"] = new \DateTime($this->_propDict["targetLastSyncDateTime"]); - return $this->_propDict["targetLastSyncDateTime"]; - } - } - return null; - } - - /** - * Sets the targetLastSyncDateTime - * The last sync time of the target app. - * - * @param \DateTime $val The value to assign to the targetLastSyncDateTime - * - * @return MobileAppRelationshipState The MobileAppRelationshipState - */ - public function setTargetLastSyncDateTime($val) - { - $this->_propDict["targetLastSyncDateTime"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php b/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php index 79f4e785f4d..5aab27169f7 100644 --- a/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php @@ -26,6 +26,7 @@ class ObjectDefinition extends Entity /** * Gets the attributes + * Defines attributes of the object. * * @return AttributeDefinition|null The attributes */ @@ -44,6 +45,7 @@ public function getAttributes() /** * Sets the attributes + * Defines attributes of the object. * * @param AttributeDefinition $val The value to assign to the attributes * @@ -57,6 +59,7 @@ public function setAttributes($val) /** * Gets the metadata + * Metadata for the given object. * * @return ObjectDefinitionMetadataEntry|null The metadata */ @@ -75,6 +78,7 @@ public function getMetadata() /** * Sets the metadata + * Metadata for the given object. * * @param ObjectDefinitionMetadataEntry $val The value to assign to the metadata * @@ -87,6 +91,7 @@ public function setMetadata($val) } /** * Gets the name + * Name of the object. Must be unique within a directory definition. Not nullable. * * @return string|null The name */ @@ -101,6 +106,7 @@ public function getName() /** * Sets the name + * Name of the object. Must be unique within a directory definition. Not nullable. * * @param string $val The value of the name * @@ -113,6 +119,7 @@ public function setName($val) } /** * Gets the supportedApis + * The API that the provisioning service queries to retrieve data for synchronization. * * @return string|null The supportedApis */ @@ -127,6 +134,7 @@ public function getSupportedApis() /** * Sets the supportedApis + * The API that the provisioning service queries to retrieve data for synchronization. * * @param string $val The value of the supportedApis * diff --git a/src/Beta/Microsoft/Graph/Model/OemWarranty.php b/src/Beta/Microsoft/Graph/Model/OemWarranty.php deleted file mode 100644 index d0e94c2b9e1..00000000000 --- a/src/Beta/Microsoft/Graph/Model/OemWarranty.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["additionalWarranties"], "\Beta\Microsoft\Graph\Model\WarrantyOffer") || is_null($this->_propDict["additionalWarranties"])) { - return $this->_propDict["additionalWarranties"]; - } else { - $this->_propDict["additionalWarranties"] = new WarrantyOffer($this->_propDict["additionalWarranties"]); - return $this->_propDict["additionalWarranties"]; - } - } - return null; - } - - /** - * Sets the additionalWarranties - * List of additional warranty offers. This collection can contain a maximum of 100 elements. - * - * @param WarrantyOffer $val The value to assign to the additionalWarranties - * - * @return OemWarranty The OemWarranty - */ - public function setAdditionalWarranties($val) - { - $this->_propDict["additionalWarranties"] = $val; - return $this; - } - - /** - * Gets the baseWarranties - * List of base warranty offers. This collection can contain a maximum of 100 elements. - * - * @return WarrantyOffer|null The baseWarranties - */ - public function getBaseWarranties() - { - if (array_key_exists("baseWarranties", $this->_propDict)) { - if (is_a($this->_propDict["baseWarranties"], "\Beta\Microsoft\Graph\Model\WarrantyOffer") || is_null($this->_propDict["baseWarranties"])) { - return $this->_propDict["baseWarranties"]; - } else { - $this->_propDict["baseWarranties"] = new WarrantyOffer($this->_propDict["baseWarranties"]); - return $this->_propDict["baseWarranties"]; - } - } - return null; - } - - /** - * Sets the baseWarranties - * List of base warranty offers. This collection can contain a maximum of 100 elements. - * - * @param WarrantyOffer $val The value to assign to the baseWarranties - * - * @return OemWarranty The OemWarranty - */ - public function setBaseWarranties($val) - { - $this->_propDict["baseWarranties"] = $val; - return $this; - } - /** - * Gets the deviceConfigurationUrl - * Device configuration page URL - * - * @return string|null The deviceConfigurationUrl - */ - public function getDeviceConfigurationUrl() - { - if (array_key_exists("deviceConfigurationUrl", $this->_propDict)) { - return $this->_propDict["deviceConfigurationUrl"]; - } else { - return null; - } - } - - /** - * Sets the deviceConfigurationUrl - * Device configuration page URL - * - * @param string $val The value of the deviceConfigurationUrl - * - * @return OemWarranty - */ - public function setDeviceConfigurationUrl($val) - { - $this->_propDict["deviceConfigurationUrl"] = $val; - return $this; - } - /** - * Gets the deviceWarrantyUrl - * Device warranty page URL - * - * @return string|null The deviceWarrantyUrl - */ - public function getDeviceWarrantyUrl() - { - if (array_key_exists("deviceWarrantyUrl", $this->_propDict)) { - return $this->_propDict["deviceWarrantyUrl"]; - } else { - return null; - } - } - - /** - * Sets the deviceWarrantyUrl - * Device warranty page URL - * - * @param string $val The value of the deviceWarrantyUrl - * - * @return OemWarranty - */ - public function setDeviceWarrantyUrl($val) - { - $this->_propDict["deviceWarrantyUrl"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php index 630cade647e..925241e27c3 100644 --- a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php +++ b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php @@ -179,6 +179,7 @@ public function setAllowParticipantsToChangeName($val) /** * Gets the allowRecording + * Indicates whether recording is enabled for the meeting. * * @return bool|null The allowRecording */ @@ -193,6 +194,7 @@ public function getAllowRecording() /** * Sets the allowRecording + * Indicates whether recording is enabled for the meeting. * * @param bool $val The allowRecording * @@ -235,6 +237,7 @@ public function setAllowTeamworkReactions($val) /** * Gets the allowTranscription + * Indicates whether transcription is enabled for the meeting. * * @return bool|null The allowTranscription */ @@ -249,6 +252,7 @@ public function getAllowTranscription() /** * Sets the allowTranscription + * Indicates whether transcription is enabled for the meeting. * * @param bool $val The allowTranscription * diff --git a/src/Beta/Microsoft/Graph/Model/OperatingSystemUpgradeEligibility.php b/src/Beta/Microsoft/Graph/Model/OperatingSystemUpgradeEligibility.php index b47ba0ba118..a5a82493a97 100644 --- a/src/Beta/Microsoft/Graph/Model/OperatingSystemUpgradeEligibility.php +++ b/src/Beta/Microsoft/Graph/Model/OperatingSystemUpgradeEligibility.php @@ -33,4 +33,5 @@ class OperatingSystemUpgradeEligibility extends Enum const UNKNOWN = "unknown"; const NOT_CAPABLE = "notCapable"; const CAPABLE = "capable"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php b/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php index debde68a3b9..3e6aaa866e7 100644 --- a/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php +++ b/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php @@ -55,6 +55,39 @@ public function setMicrosoftApplicationDataAccess($val) return $this; } + /** + * Gets the contactInsights + * Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. + * + * @return InsightsSettings|null The contactInsights + */ + public function getContactInsights() + { + if (array_key_exists("contactInsights", $this->_propDict)) { + if (is_a($this->_propDict["contactInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["contactInsights"])) { + return $this->_propDict["contactInsights"]; + } else { + $this->_propDict["contactInsights"] = new InsightsSettings($this->_propDict["contactInsights"]); + return $this->_propDict["contactInsights"]; + } + } + return null; + } + + /** + * Sets the contactInsights + * Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. + * + * @param InsightsSettings $val The contactInsights + * + * @return OrganizationSettings + */ + public function setContactInsights($val) + { + $this->_propDict["contactInsights"] = $val; + return $this; + } + /** * Gets the profileCardProperties @@ -118,39 +151,6 @@ public function setPronouns($val) return $this; } - /** - * Gets the contactInsights - * Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. - * - * @return InsightsSettings|null The contactInsights - */ - public function getContactInsights() - { - if (array_key_exists("contactInsights", $this->_propDict)) { - if (is_a($this->_propDict["contactInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["contactInsights"])) { - return $this->_propDict["contactInsights"]; - } else { - $this->_propDict["contactInsights"] = new InsightsSettings($this->_propDict["contactInsights"]); - return $this->_propDict["contactInsights"]; - } - } - return null; - } - - /** - * Sets the contactInsights - * Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. - * - * @param InsightsSettings $val The contactInsights - * - * @return OrganizationSettings - */ - public function setContactInsights($val) - { - $this->_propDict["contactInsights"] = $val; - return $this; - } - /** * Gets the itemInsights * Contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. diff --git a/src/Beta/Microsoft/Graph/Model/PaymentMethod.php b/src/Beta/Microsoft/Graph/Model/PaymentMethod.php index 79f9d2e3d25..cecc020be96 100644 --- a/src/Beta/Microsoft/Graph/Model/PaymentMethod.php +++ b/src/Beta/Microsoft/Graph/Model/PaymentMethod.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class PaymentMethod extends Entity +class PaymentMethod implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new PaymentMethod + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the PaymentMethod + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the code * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return PaymentMethod + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -109,4 +167,53 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return PaymentMethod + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/PaymentTerm.php b/src/Beta/Microsoft/Graph/Model/PaymentTerm.php index 7eb2fc0c137..660708063c8 100644 --- a/src/Beta/Microsoft/Graph/Model/PaymentTerm.php +++ b/src/Beta/Microsoft/Graph/Model/PaymentTerm.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class PaymentTerm extends Entity +class PaymentTerm implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new PaymentTerm + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the PaymentTerm + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the calculateDiscountOnCreditMemos * @@ -190,6 +221,33 @@ public function setDueDateCalculation($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 id + * + * @return PaymentTerm + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -221,4 +279,53 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return PaymentTerm + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/Picture.php b/src/Beta/Microsoft/Graph/Model/Picture.php index 6a9bf235a08..d0cd0136d42 100644 --- a/src/Beta/Microsoft/Graph/Model/Picture.php +++ b/src/Beta/Microsoft/Graph/Model/Picture.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class Picture extends Entity +class Picture implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new Picture + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Picture + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the content * @@ -109,6 +140,33 @@ public function setHeight($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 id + * + * @return Picture + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the width * @@ -136,4 +194,53 @@ public function setWidth($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Picture + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php b/src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php index c12c8fcb97a..80d9741105f 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerChecklistRequirement.php @@ -25,6 +25,7 @@ class PlannerChecklistRequirement extends Entity { /** * Gets the requiredChecklistItemIds + * A collection of required plannerChecklistItems identifiers to complete the plannerTask. * * @return string|null The requiredChecklistItemIds */ @@ -39,6 +40,7 @@ public function getRequiredChecklistItemIds() /** * Sets the requiredChecklistItemIds + * A collection of required plannerChecklistItems identifiers to complete the plannerTask. * * @param string $val The value of the requiredChecklistItemIds * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTask.php b/src/Beta/Microsoft/Graph/Model/PlannerTask.php index d165f41ea9f..7f175261fcb 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerTask.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerTask.php @@ -675,6 +675,7 @@ public function setReferenceCount($val) /** * Gets the specifiedCompletionRequirements + * Indicates all the requirements specified on the plannerTask. Possible values are: none, checklistCompletion, unknownFutureValue. Read-only. The plannerTaskCompletionRequirementDetails in plannerTaskDetails has details of the requirements specified, if any. * * @return PlannerTaskCompletionRequirements|null The specifiedCompletionRequirements */ @@ -693,6 +694,7 @@ public function getSpecifiedCompletionRequirements() /** * Sets the specifiedCompletionRequirements + * Indicates all the requirements specified on the plannerTask. Possible values are: none, checklistCompletion, unknownFutureValue. Read-only. The plannerTaskCompletionRequirementDetails in plannerTaskDetails has details of the requirements specified, if any. * * @param PlannerTaskCompletionRequirements $val The specifiedCompletionRequirements * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php b/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php index 7d52ee19135..dc005642d9a 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerTaskCompletionRequirementDetails.php @@ -26,6 +26,7 @@ class PlannerTaskCompletionRequirementDetails extends Entity /** * Gets the checklistRequirement + * Information about the requirements for completing the checklist. * * @return PlannerChecklistRequirement|null The checklistRequirement */ @@ -44,6 +45,7 @@ public function getChecklistRequirement() /** * Sets the checklistRequirement + * Information about the requirements for completing the checklist. * * @param PlannerChecklistRequirement $val The value to assign to the checklistRequirement * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php b/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php index bbaaf026c2d..192e02b1784 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php @@ -59,6 +59,7 @@ public function setChecklist($val) /** * Gets the completionRequirements + * Contains detailed information about requirements on the task. * * @return PlannerTaskCompletionRequirementDetails|null The completionRequirements */ @@ -77,6 +78,7 @@ public function getCompletionRequirements() /** * Sets the completionRequirements + * Contains detailed information about requirements on the task. * * @param PlannerTaskCompletionRequirementDetails $val The completionRequirements * diff --git a/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php b/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php index b5a89b86033..10b86dd3b94 100644 --- a/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php +++ b/src/Beta/Microsoft/Graph/Model/PlannerTaskPropertyRule.php @@ -124,6 +124,7 @@ public function setCheckLists($val) } /** * Gets the completionRequirements + * Rules and restrictions for completion requirements of the task. Accepted values are allow, add, remove, edit, and block. * * @return string|null The completionRequirements */ @@ -138,6 +139,7 @@ public function getCompletionRequirements() /** * Sets the completionRequirements + * Rules and restrictions for completion requirements of the task. Accepted values are allow, add, remove, edit, and block. * * @param string $val The value of the completionRequirements * @@ -290,7 +292,7 @@ public function setOrder($val) } /** * Gets the percentComplete - * Rules and restrictions for changing the completion percentage of the task. Accepted values are allow, setToComplete, setToNotStarted, setToInProgress, and block. + * Rules and restrictions for changing the completion percentage of the task. Accepted values are allow, setToComplete, overrideRequirements, setToNotStarted, setToInProgress, and block. * * @return string|null The percentComplete */ @@ -305,7 +307,7 @@ public function getPercentComplete() /** * Sets the percentComplete - * Rules and restrictions for changing the completion percentage of the task. Accepted values are allow, setToComplete, setToNotStarted, setToInProgress, and block. + * Rules and restrictions for changing the completion percentage of the task. Accepted values are allow, setToComplete, overrideRequirements, setToNotStarted, setToInProgress, and block. * * @param string $val The value of the percentComplete * diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php b/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php new file mode 100644 index 00000000000..3a2d2b65571 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php @@ -0,0 +1,503 @@ +_propDict)) { + return $this->_propDict["certificatePayload"]; + } else { + return null; + } + } + + /** + * Sets the certificatePayload + * The certificate payload of the application. This is computed by hashing the certificate information on the client. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a50` + * + * @param string $val The certificatePayload + * + * @return PrivilegeManagementElevation + */ + public function setCertificatePayload($val) + { + $this->_propDict["certificatePayload"] = $val; + return $this; + } + + /** + * Gets the companyName + * The company name of the application. This value is set by the creator of the application. Example: `Microsoft Corporation` + * + * @return string|null The companyName + */ + public function getCompanyName() + { + if (array_key_exists("companyName", $this->_propDict)) { + return $this->_propDict["companyName"]; + } else { + return null; + } + } + + /** + * Sets the companyName + * The company name of the application. This value is set by the creator of the application. Example: `Microsoft Corporation` + * + * @param string $val The companyName + * + * @return PrivilegeManagementElevation + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The Intune deviceId. Unique identifier for the managed device. Example: `92ce5047-9553-4731-817f-9b401a999a1b` + * + * @return string|null The deviceId + */ + public function getDeviceId() + { + if (array_key_exists("deviceId", $this->_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The Intune deviceId. Unique identifier for the managed device. Example: `92ce5047-9553-4731-817f-9b401a999a1b` + * + * @param string $val The deviceId + * + * @return PrivilegeManagementElevation + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The name associated with the device in the intune database. Example: `JOHNDOE-LAPTOP`. + * + * @return string|null The deviceName + */ + public function getDeviceName() + { + if (array_key_exists("deviceName", $this->_propDict)) { + return $this->_propDict["deviceName"]; + } else { + return null; + } + } + + /** + * Sets the deviceName + * The name associated with the device in the intune database. Example: `JOHNDOE-LAPTOP`. + * + * @param string $val The deviceName + * + * @return PrivilegeManagementElevation + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the elevationType + * Indicates the type of elevation on the application. Possible values are `undetermined`, `unmanagedElevation`, `zeroTouchElevation`, `userConfirmedElevation`, and `supportApprovedElevation`. Defaults to `undetermined` + * + * @return PrivilegeManagementElevationType|null The elevationType + */ + public function getElevationType() + { + if (array_key_exists("elevationType", $this->_propDict)) { + if (is_a($this->_propDict["elevationType"], "\Beta\Microsoft\Graph\Model\PrivilegeManagementElevationType") || is_null($this->_propDict["elevationType"])) { + return $this->_propDict["elevationType"]; + } else { + $this->_propDict["elevationType"] = new PrivilegeManagementElevationType($this->_propDict["elevationType"]); + return $this->_propDict["elevationType"]; + } + } + return null; + } + + /** + * Sets the elevationType + * Indicates the type of elevation on the application. Possible values are `undetermined`, `unmanagedElevation`, `zeroTouchElevation`, `userConfirmedElevation`, and `supportApprovedElevation`. Defaults to `undetermined` + * + * @param PrivilegeManagementElevationType $val The elevationType + * + * @return PrivilegeManagementElevation + */ + public function setElevationType($val) + { + $this->_propDict["elevationType"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * The date and time when the application was elevated. Example:`2014-01-01T00:00:00Z` + * + * @return \DateTime|null The eventDateTime + */ + public function getEventDateTime() + { + if (array_key_exists("eventDateTime", $this->_propDict)) { + if (is_a($this->_propDict["eventDateTime"], "\DateTime") || is_null($this->_propDict["eventDateTime"])) { + return $this->_propDict["eventDateTime"]; + } else { + $this->_propDict["eventDateTime"] = new \DateTime($this->_propDict["eventDateTime"]); + return $this->_propDict["eventDateTime"]; + } + } + return null; + } + + /** + * Sets the eventDateTime + * The date and time when the application was elevated. Example:`2014-01-01T00:00:00Z` + * + * @param \DateTime $val The eventDateTime + * + * @return PrivilegeManagementElevation + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the fileDescription + * The file description of the application. This value is set by the creator of the application. Example: `Editor of multiple coding languages.` + * + * @return string|null The fileDescription + */ + public function getFileDescription() + { + if (array_key_exists("fileDescription", $this->_propDict)) { + return $this->_propDict["fileDescription"]; + } else { + return null; + } + } + + /** + * Sets the fileDescription + * The file description of the application. This value is set by the creator of the application. Example: `Editor of multiple coding languages.` + * + * @param string $val The fileDescription + * + * @return PrivilegeManagementElevation + */ + public function setFileDescription($val) + { + $this->_propDict["fileDescription"] = $val; + return $this; + } + + /** + * Gets the filePath + * The full file path of the application including the filename and file extension. Example: `C:\Program Files\vscode.exe` + * + * @return string|null The filePath + */ + public function getFilePath() + { + if (array_key_exists("filePath", $this->_propDict)) { + return $this->_propDict["filePath"]; + } else { + return null; + } + } + + /** + * Sets the filePath + * The full file path of the application including the filename and file extension. Example: `C:\Program Files\vscode.exe` + * + * @param string $val The filePath + * + * @return PrivilegeManagementElevation + */ + public function setFilePath($val) + { + $this->_propDict["filePath"] = $val; + return $this; + } + + /** + * Gets the fileVersion + * The version of the application. This value is set by the creator of the application. Example: `6.2211.1035.1000` + * + * @return string|null The fileVersion + */ + public function getFileVersion() + { + if (array_key_exists("fileVersion", $this->_propDict)) { + return $this->_propDict["fileVersion"]; + } else { + return null; + } + } + + /** + * Sets the fileVersion + * The version of the application. This value is set by the creator of the application. Example: `6.2211.1035.1000` + * + * @param string $val The fileVersion + * + * @return PrivilegeManagementElevation + */ + public function setFileVersion($val) + { + $this->_propDict["fileVersion"] = $val; + return $this; + } + + /** + * Gets the hash + * The sha256 hash of the application. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57` + * + * @return string|null The hash + */ + public function getHash() + { + if (array_key_exists("hash", $this->_propDict)) { + return $this->_propDict["hash"]; + } else { + return null; + } + } + + /** + * Sets the hash + * The sha256 hash of the application. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57` + * + * @param string $val The hash + * + * @return PrivilegeManagementElevation + */ + public function setHash($val) + { + $this->_propDict["hash"] = $val; + return $this; + } + + /** + * Gets the internalName + * The internal name of the application. This value is set by the creator of the application. Example: `VS code` + * + * @return string|null The internalName + */ + public function getInternalName() + { + if (array_key_exists("internalName", $this->_propDict)) { + return $this->_propDict["internalName"]; + } else { + return null; + } + } + + /** + * Sets the internalName + * The internal name of the application. This value is set by the creator of the application. Example: `VS code` + * + * @param string $val The internalName + * + * @return PrivilegeManagementElevation + */ + public function setInternalName($val) + { + $this->_propDict["internalName"] = $val; + return $this; + } + + /** + * Gets the justification + * The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: `To install debug tool.`. + * + * @return string|null The justification + */ + public function getJustification() + { + if (array_key_exists("justification", $this->_propDict)) { + return $this->_propDict["justification"]; + } else { + return null; + } + } + + /** + * Sets the justification + * The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: `To install debug tool.`. + * + * @param string $val The justification + * + * @return PrivilegeManagementElevation + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the productName + * The product name of the application. This value is set by the creator of the application. Example: `Visual Studio` + * + * @return string|null The productName + */ + public function getProductName() + { + if (array_key_exists("productName", $this->_propDict)) { + return $this->_propDict["productName"]; + } else { + return null; + } + } + + /** + * Sets the productName + * The product name of the application. This value is set by the creator of the application. Example: `Visual Studio` + * + * @param string $val The productName + * + * @return PrivilegeManagementElevation + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + + /** + * Gets the result + * The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: `0`. Valid values 0 to 2147483647 + * + * @return int|null The result + */ + public function getResult() + { + if (array_key_exists("result", $this->_propDict)) { + return $this->_propDict["result"]; + } else { + return null; + } + } + + /** + * Sets the result + * The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: `0`. Valid values 0 to 2147483647 + * + * @param int $val The result + * + * @return PrivilegeManagementElevation + */ + public function setResult($val) + { + $this->_propDict["result"] = intval($val); + return $this; + } + + /** + * Gets the upn + * The User Principal Name of the user who performed the elevation. Example: `john@domain.com` + * + * @return string|null The upn + */ + public function getUpn() + { + if (array_key_exists("upn", $this->_propDict)) { + return $this->_propDict["upn"]; + } else { + return null; + } + } + + /** + * Sets the upn + * The User Principal Name of the user who performed the elevation. Example: `john@domain.com` + * + * @param string $val The upn + * + * @return PrivilegeManagementElevation + */ + public function setUpn($val) + { + $this->_propDict["upn"] = $val; + return $this; + } + + /** + * Gets the userType + * The type of account performed the elevation on Windows. Possible values are: `undetermined`, `azureAd`, `hybrid`, and `local`. Defaults to `undetermined`. + * + * @return PrivilegeManagementEndUserType|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Model\PrivilegeManagementEndUserType") || is_null($this->_propDict["userType"])) { + return $this->_propDict["userType"]; + } else { + $this->_propDict["userType"] = new PrivilegeManagementEndUserType($this->_propDict["userType"]); + return $this->_propDict["userType"]; + } + } + return null; + } + + /** + * Sets the userType + * The type of account performed the elevation on Windows. Possible values are: `undetermined`, `azureAd`, `hybrid`, and `local`. Defaults to `undetermined`. + * + * @param PrivilegeManagementEndUserType $val The userType + * + * @return PrivilegeManagementElevation + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevationType.php b/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevationType.php new file mode 100644 index 00000000000..72b4ae1fd79 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevationType.php @@ -0,0 +1,38 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the PurchaseInvoice + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the buyFromAddress * @@ -198,6 +229,33 @@ public function setDueDate($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 id + * + * @return PurchaseInvoice + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the invoiceDate * @@ -856,4 +914,53 @@ public function setVendor($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return PurchaseInvoice + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SalesCreditMemo.php b/src/Beta/Microsoft/Graph/Model/SalesCreditMemo.php index 51971323771..911d9291a3c 100644 --- a/src/Beta/Microsoft/Graph/Model/SalesCreditMemo.php +++ b/src/Beta/Microsoft/Graph/Model/SalesCreditMemo.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class SalesCreditMemo extends Entity +class SalesCreditMemo implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new SalesCreditMemo + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the SalesCreditMemo + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the billingPostalAddress * @@ -445,6 +476,33 @@ public function setExternalDocumentNumber($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 id + * + * @return SalesCreditMemo + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the invoiceId * @@ -937,4 +995,53 @@ public function setSalesCreditMemoLines($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return SalesCreditMemo + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SalesInvoice.php b/src/Beta/Microsoft/Graph/Model/SalesInvoice.php index c9dc5d7a3aa..cb717cc1403 100644 --- a/src/Beta/Microsoft/Graph/Model/SalesInvoice.php +++ b/src/Beta/Microsoft/Graph/Model/SalesInvoice.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class SalesInvoice extends Entity +class SalesInvoice implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new SalesInvoice + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the SalesInvoice + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the billingPostalAddress * @@ -441,6 +472,33 @@ public function setExternalDocumentNumber($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 id + * + * @return SalesInvoice + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the invoiceDate * @@ -1107,4 +1165,53 @@ public function setShipmentMethod($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return SalesInvoice + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SalesOrder.php b/src/Beta/Microsoft/Graph/Model/SalesOrder.php index 02fca54054b..e8796fd2206 100644 --- a/src/Beta/Microsoft/Graph/Model/SalesOrder.php +++ b/src/Beta/Microsoft/Graph/Model/SalesOrder.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class SalesOrder extends Entity +class SalesOrder implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new SalesOrder + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the SalesOrder + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the billingPostalAddress * @@ -410,6 +441,33 @@ public function setFullyShipped($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 id + * + * @return SalesOrder + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -1022,4 +1080,53 @@ public function setSalesOrderLines($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return SalesOrder + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SalesQuote.php b/src/Beta/Microsoft/Graph/Model/SalesQuote.php index f41909186c6..1491db48066 100644 --- a/src/Beta/Microsoft/Graph/Model/SalesQuote.php +++ b/src/Beta/Microsoft/Graph/Model/SalesQuote.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class SalesQuote extends Entity +class SalesQuote implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new SalesQuote + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the SalesQuote + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the acceptedDate * @@ -449,6 +480,33 @@ public function setExternalDocumentNumber($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 id + * + * @return SalesQuote + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -1065,4 +1123,53 @@ public function setShipmentMethod($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return SalesQuote + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php b/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php index 6066c4cfa19..d997185b9bc 100644 --- a/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php +++ b/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class ShipmentMethod extends Entity +class ShipmentMethod implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new ShipmentMethod + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the ShipmentMethod + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the code * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return ShipmentMethod + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -109,4 +167,53 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return ShipmentMethod + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/SignInPreferences.php b/src/Beta/Microsoft/Graph/Model/SignInPreferences.php index a0e2f7de137..9b6ae671517 100644 --- a/src/Beta/Microsoft/Graph/Model/SignInPreferences.php +++ b/src/Beta/Microsoft/Graph/Model/SignInPreferences.php @@ -54,6 +54,7 @@ public function setIsSystemPreferredAuthenticationMethodEnabled($val) /** * Gets the userPreferredMethodForSecondaryAuthentication + * The default second-factor method used by the user when signing in. If a user is enabled for system-preferred authentication, then this value is ignored except for a few scenarios where a user is authenticating via NPS extension or ADFS adapter. Possible values are push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, and unknownFutureValue * * @return UserDefaultAuthenticationMethodType|null The userPreferredMethodForSecondaryAuthentication */ @@ -72,6 +73,7 @@ public function getUserPreferredMethodForSecondaryAuthentication() /** * Sets the userPreferredMethodForSecondaryAuthentication + * The default second-factor method used by the user when signing in. If a user is enabled for system-preferred authentication, then this value is ignored except for a few scenarios where a user is authenticating via NPS extension or ADFS adapter. Possible values are push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, and unknownFutureValue * * @param UserDefaultAuthenticationMethodType $val The value to assign to the userPreferredMethodForSecondaryAuthentication * diff --git a/src/Beta/Microsoft/Graph/Model/TaxArea.php b/src/Beta/Microsoft/Graph/Model/TaxArea.php index a2125fd9cee..425276187f2 100644 --- a/src/Beta/Microsoft/Graph/Model/TaxArea.php +++ b/src/Beta/Microsoft/Graph/Model/TaxArea.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class TaxArea extends Entity +class TaxArea implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new TaxArea + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the TaxArea + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the code * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return TaxArea + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -136,4 +194,53 @@ public function setTaxType($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return TaxArea + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php b/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php index a35732f466a..8821c6bf057 100644 --- a/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php @@ -208,7 +208,7 @@ public function setScopeId($val) /** * Gets the scopeType - * The type of the scope where the policy is created. One of Directory, DirectoryRole. Required. + * The type of the scope where the policy is created. One of Directory, DirectoryRole, Group. Required. * * @return string|null The scopeType */ @@ -223,7 +223,7 @@ public function getScopeType() /** * Sets the scopeType - * The type of the scope where the policy is created. One of Directory, DirectoryRole. Required. + * The type of the scope where the policy is created. One of Directory, DirectoryRole, Group. Required. * * @param string $val The scopeType * diff --git a/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php b/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php index acd39840ca7..b4d9ce729a0 100644 --- a/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php +++ b/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php @@ -55,7 +55,7 @@ public function setPolicyId($val) /** * Gets the roleDefinitionId - * The identifier of the role definition object where the policy applies. If not specified, the policy applies to all roles. Supports $filter (eq). + * For Azure AD roles policy, it's the identifier of the role definition object where the policy applies. For PIM for groups membership and ownership, it's either member or owner. Supports $filter (eq). * * @return string|null The roleDefinitionId */ @@ -70,7 +70,7 @@ public function getRoleDefinitionId() /** * Sets the roleDefinitionId - * The identifier of the role definition object where the policy applies. If not specified, the policy applies to all roles. Supports $filter (eq). + * For Azure AD roles policy, it's the identifier of the role definition object where the policy applies. For PIM for groups membership and ownership, it's either member or owner. Supports $filter (eq). * * @param string $val The roleDefinitionId * @@ -113,7 +113,7 @@ public function setScopeId($val) /** * Gets the scopeType - * The type of the scope where the policy is assigned. One of Directory, DirectoryRole. Required. + * The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. Required. * * @return string|null The scopeType */ @@ -128,7 +128,7 @@ public function getScopeType() /** * Sets the scopeType - * The type of the scope where the policy is assigned. One of Directory, DirectoryRole. Required. + * The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. Required. * * @param string $val The scopeType * diff --git a/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php b/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php index b5fe49054ff..0d2c81a310d 100644 --- a/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php +++ b/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php @@ -22,8 +22,39 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class UnitOfMeasure extends Entity +class UnitOfMeasure implements \JsonSerializable { + /** + * The array of properties available + * to the model + * + * @var array $_propDict + */ + protected $_propDict; + + /** + * Construct a new UnitOfMeasure + * + * @param array $propDict A list of properties to set + */ + function __construct($propDict = array()) + { + if (!is_array($propDict)) { + $propDict = array(); + } + $this->_propDict = $propDict; + } + + /** + * Gets the property dictionary of the UnitOfMeasure + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the code * @@ -78,6 +109,33 @@ public function setDisplayName($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 id + * + * @return UnitOfMeasure + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the internationalStandardCode * @@ -136,4 +194,53 @@ public function setLastModifiedDateTime($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return UnitOfMeasure + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 36604eb32bd..5cc5ab49ec2 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -926,6 +926,7 @@ public function setIsLicenseReconciliationNeeded($val) /** * Gets the isManagementRestricted + * true if the user is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. * * @return bool|null The isManagementRestricted */ @@ -940,6 +941,7 @@ public function getIsManagementRestricted() /** * Sets the isManagementRestricted + * true if the user is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. * * @param bool $val The isManagementRestricted * @@ -1161,7 +1163,7 @@ public function setMailNickname($val) /** * Gets the mobilePhone - * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. * * @return string|null The mobilePhone */ @@ -1176,7 +1178,7 @@ public function getMobilePhone() /** * Sets the mobilePhone - * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. * * @param string $val The mobilePhone * diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupFeature.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupFeature.php new file mode 100644 index 00000000000..48173582cdb --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupFeature.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["deviceFeatureType"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsAnomalyDeviceFeatureType") || is_null($this->_propDict["deviceFeatureType"])) { + return $this->_propDict["deviceFeatureType"]; + } else { + $this->_propDict["deviceFeatureType"] = new UserExperienceAnalyticsAnomalyDeviceFeatureType($this->_propDict["deviceFeatureType"]); + return $this->_propDict["deviceFeatureType"]; + } + } + return null; + } + + /** + * Sets the deviceFeatureType + * The type of device feature. Possible values are: manufacturer, model, osVersion, application or driver + * + * @param UserExperienceAnalyticsAnomalyDeviceFeatureType $val The value to assign to the deviceFeatureType + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupFeature The UserExperienceAnalyticsAnomalyCorrelationGroupFeature + */ + public function setDeviceFeatureType($val) + { + $this->_propDict["deviceFeatureType"] = $val; + return $this; + } + /** + * Gets the values + * Specific metric values that describe the features of the given device feature type. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Specific metric values that describe the features of the given device feature type. + * + * @param string $val The value of the values + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupFeature + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupOverview.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupOverview.php new file mode 100644 index 00000000000..a09d42d5327 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupOverview.php @@ -0,0 +1,322 @@ +_propDict)) { + return $this->_propDict["anomalyCorrelationGroupCount"]; + } else { + return null; + } + } + + /** + * Sets the anomalyCorrelationGroupCount + * Indicates the number of correlation groups in the anomaly. Valid values -2147483648 to 2147483647 + * + * @param int $val The anomalyCorrelationGroupCount + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setAnomalyCorrelationGroupCount($val) + { + $this->_propDict["anomalyCorrelationGroupCount"] = intval($val); + return $this; + } + + /** + * Gets the anomalyId + * The unique identifier of the anomaly. Anomaly details such as name and type can be found in the UserExperienceAnalyticsAnomalySeverityOverview entity. + * + * @return string|null The anomalyId + */ + public function getAnomalyId() + { + if (array_key_exists("anomalyId", $this->_propDict)) { + return $this->_propDict["anomalyId"]; + } else { + return null; + } + } + + /** + * Sets the anomalyId + * The unique identifier of the anomaly. Anomaly details such as name and type can be found in the UserExperienceAnalyticsAnomalySeverityOverview entity. + * + * @param string $val The anomalyId + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setAnomalyId($val) + { + $this->_propDict["anomalyId"] = $val; + return $this; + } + + /** + * Gets the correlationGroupAnomalousDeviceCount + * Indicates the total number of devices affected by the anomaly in the correlation group. Valid values -2147483648 to 2147483647 + * + * @return int|null The correlationGroupAnomalousDeviceCount + */ + public function getCorrelationGroupAnomalousDeviceCount() + { + if (array_key_exists("correlationGroupAnomalousDeviceCount", $this->_propDict)) { + return $this->_propDict["correlationGroupAnomalousDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the correlationGroupAnomalousDeviceCount + * Indicates the total number of devices affected by the anomaly in the correlation group. Valid values -2147483648 to 2147483647 + * + * @param int $val The correlationGroupAnomalousDeviceCount + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setCorrelationGroupAnomalousDeviceCount($val) + { + $this->_propDict["correlationGroupAnomalousDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the correlationGroupAtRiskDeviceCount + * Indicates the total number of devices at risk in the correlation group. Valid values -2147483648 to 2147483647 + * + * @return int|null The correlationGroupAtRiskDeviceCount + */ + public function getCorrelationGroupAtRiskDeviceCount() + { + if (array_key_exists("correlationGroupAtRiskDeviceCount", $this->_propDict)) { + return $this->_propDict["correlationGroupAtRiskDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the correlationGroupAtRiskDeviceCount + * Indicates the total number of devices at risk in the correlation group. Valid values -2147483648 to 2147483647 + * + * @param int $val The correlationGroupAtRiskDeviceCount + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setCorrelationGroupAtRiskDeviceCount($val) + { + $this->_propDict["correlationGroupAtRiskDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the correlationGroupDeviceCount + * Indicates the total number of devices in a correlation group. Valid values -2147483648 to 2147483647 + * + * @return int|null The correlationGroupDeviceCount + */ + public function getCorrelationGroupDeviceCount() + { + if (array_key_exists("correlationGroupDeviceCount", $this->_propDict)) { + return $this->_propDict["correlationGroupDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the correlationGroupDeviceCount + * Indicates the total number of devices in a correlation group. Valid values -2147483648 to 2147483647 + * + * @param int $val The correlationGroupDeviceCount + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setCorrelationGroupDeviceCount($val) + { + $this->_propDict["correlationGroupDeviceCount"] = intval($val); + return $this; + } + + + /** + * Gets the correlationGroupFeatures + * Describes the features of a device that are shared between all devices in a correlation group. + * + * @return array|null The correlationGroupFeatures + */ + public function getCorrelationGroupFeatures() + { + if (array_key_exists("correlationGroupFeatures", $this->_propDict)) { + return $this->_propDict["correlationGroupFeatures"]; + } else { + return null; + } + } + + /** + * Sets the correlationGroupFeatures + * Describes the features of a device that are shared between all devices in a correlation group. + * + * @param UserExperienceAnalyticsAnomalyCorrelationGroupFeature[] $val The correlationGroupFeatures + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setCorrelationGroupFeatures($val) + { + $this->_propDict["correlationGroupFeatures"] = $val; + return $this; + } + + /** + * Gets the correlationGroupId + * The unique identifier for the correlation group which will uniquely identify one of the correlation group within an anomaly. The correlation Id can be mapped to the correlation group name by concatinating the correlation group features. Example of correlation group name which is the indicative of concatenated features names are for names, Contoso manufacture 4.4.1 and Windows 11.22621.1485. + * + * @return string|null The correlationGroupId + */ + public function getCorrelationGroupId() + { + if (array_key_exists("correlationGroupId", $this->_propDict)) { + return $this->_propDict["correlationGroupId"]; + } else { + return null; + } + } + + /** + * Sets the correlationGroupId + * The unique identifier for the correlation group which will uniquely identify one of the correlation group within an anomaly. The correlation Id can be mapped to the correlation group name by concatinating the correlation group features. Example of correlation group name which is the indicative of concatenated features names are for names, Contoso manufacture 4.4.1 and Windows 11.22621.1485. + * + * @param string $val The correlationGroupId + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setCorrelationGroupId($val) + { + $this->_propDict["correlationGroupId"] = $val; + return $this; + } + + /** + * Gets the correlationGroupPrevalence + * The prevalence of the correlation group. Possible values are: high, medium or low. + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence|null The correlationGroupPrevalence + */ + public function getCorrelationGroupPrevalence() + { + if (array_key_exists("correlationGroupPrevalence", $this->_propDict)) { + if (is_a($this->_propDict["correlationGroupPrevalence"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence") || is_null($this->_propDict["correlationGroupPrevalence"])) { + return $this->_propDict["correlationGroupPrevalence"]; + } else { + $this->_propDict["correlationGroupPrevalence"] = new UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence($this->_propDict["correlationGroupPrevalence"]); + return $this->_propDict["correlationGroupPrevalence"]; + } + } + return null; + } + + /** + * Sets the correlationGroupPrevalence + * The prevalence of the correlation group. Possible values are: high, medium or low. + * + * @param UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence $val The correlationGroupPrevalence + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setCorrelationGroupPrevalence($val) + { + $this->_propDict["correlationGroupPrevalence"] = $val; + return $this; + } + + /** + * Gets the correlationGroupPrevalencePercentage + * The percentage of the devices in the correlation group that are anomalous. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The correlationGroupPrevalencePercentage + */ + public function getCorrelationGroupPrevalencePercentage() + { + if (array_key_exists("correlationGroupPrevalencePercentage", $this->_propDict)) { + return $this->_propDict["correlationGroupPrevalencePercentage"]; + } else { + return null; + } + } + + /** + * Sets the correlationGroupPrevalencePercentage + * The percentage of the devices in the correlation group that are anomalous. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The correlationGroupPrevalencePercentage + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setCorrelationGroupPrevalencePercentage($val) + { + $this->_propDict["correlationGroupPrevalencePercentage"] = floatval($val); + return $this; + } + + /** + * Gets the totalDeviceCount + * Indicates the total number of devices in the tenant. Valid values -2147483648 to 2147483647 + * + * @return int|null The totalDeviceCount + */ + public function getTotalDeviceCount() + { + if (array_key_exists("totalDeviceCount", $this->_propDict)) { + return $this->_propDict["totalDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the totalDeviceCount + * Indicates the total number of devices in the tenant. Valid values -2147483648 to 2147483647 + * + * @param int $val The totalDeviceCount + * + * @return UserExperienceAnalyticsAnomalyCorrelationGroupOverview + */ + public function setTotalDeviceCount($val) + { + $this->_propDict["totalDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence.php new file mode 100644 index 00000000000..40a9ea1ef15 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["correlationGroupId"]; + } else { + return null; + } + } + + /** + * Sets the correlationGroupId + * The unique identifier of the correlation group. + * + * @param string $val The correlationGroupId + * + * @return UserExperienceAnalyticsAnomalyDevice + */ + public function setCorrelationGroupId($val) + { + $this->_propDict["correlationGroupId"] = $val; + return $this; + } + /** * Gets the deviceId * The unique identifier of the device. @@ -235,6 +264,39 @@ public function setDeviceName($val) return $this; } + /** + * Gets the deviceStatus + * Indicates the device status with respect to the correlation group. At risk devices are devices that share correlation group features but may not yet be affected by an anomaly, such as when a device is experiencing crashes on an application but that application has not been used on the device but is currently installed. This could lead to the device becoming anomalous if the application in question were to be used. Possible values are: anomolous, affected or atRisk + * + * @return UserExperienceAnalyticsDeviceStatus|null The deviceStatus + */ + public function getDeviceStatus() + { + if (array_key_exists("deviceStatus", $this->_propDict)) { + if (is_a($this->_propDict["deviceStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsDeviceStatus") || is_null($this->_propDict["deviceStatus"])) { + return $this->_propDict["deviceStatus"]; + } else { + $this->_propDict["deviceStatus"] = new UserExperienceAnalyticsDeviceStatus($this->_propDict["deviceStatus"]); + return $this->_propDict["deviceStatus"]; + } + } + return null; + } + + /** + * Sets the deviceStatus + * Indicates the device status with respect to the correlation group. At risk devices are devices that share correlation group features but may not yet be affected by an anomaly, such as when a device is experiencing crashes on an application but that application has not been used on the device but is currently installed. This could lead to the device becoming anomalous if the application in question were to be used. Possible values are: anomolous, affected or atRisk + * + * @param UserExperienceAnalyticsDeviceStatus $val The deviceStatus + * + * @return UserExperienceAnalyticsAnomalyDevice + */ + public function setDeviceStatus($val) + { + $this->_propDict["deviceStatus"] = $val; + return $this; + } + /** * Gets the osName * The name of the OS installed on the device. diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyDeviceFeatureType.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyDeviceFeatureType.php new file mode 100644 index 00000000000..8c139d8e50a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAnomalyDeviceFeatureType.php @@ -0,0 +1,38 @@ +_propDict)) { - return $this->_propDict["appHealthStatus"]; - } else { - return null; - } - } - - /** - * Sets the appHealthStatus - * The overall health status of the app. - * - * @param string $val The appHealthStatus - * - * @return UserExperienceAnalyticsAppHealthApplicationPerformance - */ - public function setAppHealthStatus($val) - { - $this->_propDict["appHealthStatus"] = $val; - return $this; - } - /** * Gets the appName * The name of the application. diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php index 674d0a62c46..cb97cdcfa7d 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php @@ -202,33 +202,4 @@ public function setModelAppHealthScore($val) return $this; } - /** - * Gets the modelAppHealthStatus - * The overall app health status of the device model. - * - * @return string|null The modelAppHealthStatus - */ - public function getModelAppHealthStatus() - { - if (array_key_exists("modelAppHealthStatus", $this->_propDict)) { - return $this->_propDict["modelAppHealthStatus"]; - } else { - return null; - } - } - - /** - * Sets the modelAppHealthStatus - * The overall app health status of the device model. - * - * @param string $val The modelAppHealthStatus - * - * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance - */ - public function setModelAppHealthStatus($val) - { - $this->_propDict["modelAppHealthStatus"] = $val; - return $this; - } - } diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php index a47661563f5..3e2f28af78e 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php @@ -140,35 +140,6 @@ public function setDeviceAppHealthScore($val) return $this; } - /** - * Gets the deviceAppHealthStatus - * The overall app health status of the device. - * - * @return string|null The deviceAppHealthStatus - */ - public function getDeviceAppHealthStatus() - { - if (array_key_exists("deviceAppHealthStatus", $this->_propDict)) { - return $this->_propDict["deviceAppHealthStatus"]; - } else { - return null; - } - } - - /** - * Sets the deviceAppHealthStatus - * The overall app health status of the device. - * - * @param string $val The deviceAppHealthStatus - * - * @return UserExperienceAnalyticsAppHealthDevicePerformance - */ - public function setDeviceAppHealthStatus($val) - { - $this->_propDict["deviceAppHealthStatus"] = $val; - return $this; - } - /** * Gets the deviceDisplayName * The name of the device. diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php index a072cb352f9..6354bae7e0c 100644 --- a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php @@ -169,33 +169,4 @@ public function setOsVersionAppHealthScore($val) return $this; } - /** - * Gets the osVersionAppHealthStatus - * The overall app health status of the OS version. - * - * @return string|null The osVersionAppHealthStatus - */ - public function getOsVersionAppHealthStatus() - { - if (array_key_exists("osVersionAppHealthStatus", $this->_propDict)) { - return $this->_propDict["osVersionAppHealthStatus"]; - } else { - return null; - } - } - - /** - * Sets the osVersionAppHealthStatus - * The overall app health status of the OS version. - * - * @param string $val The osVersionAppHealthStatus - * - * @return UserExperienceAnalyticsAppHealthOSVersionPerformance - */ - public function setOsVersionAppHealthStatus($val) - { - $this->_propDict["osVersionAppHealthStatus"] = $val; - return $this; - } - } diff --git a/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStatus.php b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStatus.php new file mode 100644 index 00000000000..13d4c6b7aa2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStatus.php @@ -0,0 +1,36 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Vendor + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + /** * Gets the address * @@ -221,6 +252,33 @@ public function setEmail($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 id + * + * @return Vendor + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** * Gets the lastModifiedDateTime * @@ -562,4 +620,53 @@ public function setPicture($val) return $this; } + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return Vendor + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } } diff --git a/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php b/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php index 71b01b7e7ec..a723e710380 100644 --- a/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php +++ b/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php @@ -55,6 +55,34 @@ public function setAuditEvents($val) } + /** + * Gets the bulkActions + * + * @return array|null The bulkActions + */ + public function getBulkActions() + { + if (array_key_exists("bulkActions", $this->_propDict)) { + return $this->_propDict["bulkActions"]; + } else { + return null; + } + } + + /** + * Sets the bulkActions + * + * @param CloudPcBulkAction[] $val The bulkActions + * + * @return VirtualEndpoint + */ + public function setBulkActions($val) + { + $this->_propDict["bulkActions"] = $val; + return $this; + } + + /** * Gets the cloudPCs * Cloud managed virtual desktops. diff --git a/src/Beta/Microsoft/Graph/Model/WarrantyOffer.php b/src/Beta/Microsoft/Graph/Model/WarrantyOffer.php deleted file mode 100644 index 8ff4a9984c7..00000000000 --- a/src/Beta/Microsoft/Graph/Model/WarrantyOffer.php +++ /dev/null @@ -1,153 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * Warranty offer description - * - * @param string $val The value of the description - * - * @return WarrantyOffer - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the endDateTime - * Warranty offer end date - * - * @return \DateTime|null The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { - return $this->_propDict["endDateTime"]; - } else { - $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); - return $this->_propDict["endDateTime"]; - } - } - return null; - } - - /** - * Sets the endDateTime - * Warranty offer end date - * - * @param \DateTime $val The value to assign to the endDateTime - * - * @return WarrantyOffer The WarrantyOffer - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the startDateTime - * Warranty offer start date - * - * @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 - * Warranty offer start date - * - * @param \DateTime $val The value to assign to the startDateTime - * - * @return WarrantyOffer The WarrantyOffer - */ - public function setStartDateTime($val) - { - $this->_propDict["startDateTime"] = $val; - return $this; - } - - /** - * Gets the type - * Warranty offer type - * - * @return WarrantyType|null The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\WarrantyType") || is_null($this->_propDict["type"])) { - return $this->_propDict["type"]; - } else { - $this->_propDict["type"] = new WarrantyType($this->_propDict["type"]); - return $this->_propDict["type"]; - } - } - return null; - } - - /** - * Sets the type - * Warranty offer type - * - * @param WarrantyType $val The value to assign to the type - * - * @return WarrantyOffer The WarrantyOffer - */ - public function setType($val) - { - $this->_propDict["type"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php index f0e6787b692..7508b2dea9c 100644 --- a/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/NetworkAccessRoot.php @@ -22,86 +22,6 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class NetworkAccessRoot implements \JsonSerializable +class NetworkAccessRoot extends \Beta\Microsoft\Graph\Model\Entity { - /** - * The array of properties available - * to the model - * - * @var array $_propDict - */ - protected $_propDict; - - /** - * Construct a new NetworkAccessRoot - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - if (!is_array($propDict)) { - $propDict = array(); - } - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the NetworkAccessRoot - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - /** - * Gets the ODataType - * - * @return string|null The ODataType - */ - public function getODataType() - { - if (array_key_exists('@odata.type', $this->_propDict)) { - return $this->_propDict["@odata.type"]; - } - return null; - } - - /** - * Sets the ODataType - * - * @param string $val The ODataType - * - * @return NetworkAccessRoot - */ - public function setODataType($val) - { - $this->_propDict["@odata.type"] = $val; - return $this; - } - - /** - * Serializes the object by property array - * Manually serialize DateTime into RFC3339 format - * - * @return array The list of properties - */ - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - $serializableProperties = $this->getProperties(); - foreach ($serializableProperties as $property => $val) { - if (is_a($val, "\DateTime")) { - $serializableProperties[$property] = $val->format(\DateTime::RFC3339); - } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { - $serializableProperties[$property] = $val->value(); - } else if (is_a($val, "\Entity")) { - $serializableProperties[$property] = $val->jsonSerialize(); - } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { - $serializableProperties[$property] = (string) $val; - } - } - return $serializableProperties; - } } diff --git a/src/Beta/Microsoft/Graph/Networkaccess/Model/PolicyRuleDelta.php b/src/Beta/Microsoft/Graph/Networkaccess/Model/PolicyRuleDelta.php new file mode 100644 index 00000000000..1ab02347268 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Networkaccess/Model/PolicyRuleDelta.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["ruleId"]; + } else { + return null; + } + } + + /** + * Sets the ruleId + * + * @param string $val The value of the ruleId + * + * @return PolicyRuleDelta + */ + public function setRuleId($val) + { + $this->_propDict["ruleId"] = $val; + return $this; + } +}