From d9d0c3b4262bbadaed5ed7e825d5d57738509df5 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Oct 2024 10:34:58 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 166308 --- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../DeviceAppManagementRequestBuilder.php | 4 +- .../ManagedAppPolicyItemRequestBuilder.php | 6 +- ...cyItemRequestBuilderGetQueryParameters.php | 2 +- .../TargetApps/TargetAppsRequestBuilder.php | 2 +- .../ManagedAppPoliciesRequestBuilder.php | 6 +- ...liciesRequestBuilderGetQueryParameters.php | 2 +- .../TargetApps/TargetAppsRequestBuilder.php | 2 +- .../TargetApps/TargetAppsRequestBuilder.php | 2 +- .../Assignments/AssignmentsRequestBuilder.php | 6 +- ...nmentsRequestBuilderGetQueryParameters.php | 2 +- ...nagedEBookAssignmentItemRequestBuilder.php | 12 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- .../MobileAppConfigurationsRequestBuilder.php | 6 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../Item/MobileAppItemRequestBuilder.php | 18 +- ...ppItemRequestBuilderGetQueryParameters.php | 2 +- .../MobileApps/MobileAppsRequestBuilder.php | 12 +- ...leAppsRequestBuilderGetQueryParameters.php | 2 +- ...DeviceCompliancePoliciesRequestBuilder.php | 12 +- ...liciesRequestBuilderGetQueryParameters.php | 2 +- ...viceCompliancePolicyItemRequestBuilder.php | 18 +- ...cyItemRequestBuilderGetQueryParameters.php | 2 +- .../DeviceConfigurationsRequestBuilder.php | 12 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../DeviceConfigurationItemRequestBuilder.php | 18 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- ...EnrollmentConfigurationsRequestBuilder.php | 6 +- ...ollmentConfigurationItemRequestBuilder.php | 18 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../DeviceManagementRequestBuilder.php | 4 +- .../DeviceCategoryRequestBuilder.php | 8 + .../DeviceCategory/Ref/RefRequestBuilder.php | 143 + ...questBuilderDeleteRequestConfiguration.php | 22 + ...fRequestBuilderGetRequestConfiguration.php | 22 + ...fRequestBuilderPutRequestConfiguration.php | 22 + .../Item/RoleDefinitionItemRequestBuilder.php | 6 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../RoleDefinitionsRequestBuilder.php | 6 +- ...itionsRequestBuilderGetQueryParameters.php | 2 +- .../Item/Preview/PreviewPostRequestBody.php | 14 +- .../Preview/PreviewPostRequestBody_zoom.php | 146 + .../RetentionLabelRequestBuilder.php | 6 +- .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../Item/ExternalItemItemRequestBuilder.php | 6 +- .../Item/ConversationItemRequestBuilder.php | 8 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Reply/ReplyRequestBuilder.php | 6 +- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../ConversationThreadItemRequestBuilder.php | 2 +- .../Item/Posts/PostsRequestBuilder.php | 6 +- .../PostsRequestBuilderGetQueryParameters.php | 2 +- .../Item/Reply/ReplyRequestBuilder.php | 6 +- .../Item/NamedLocationItemRequestBuilder.php | 12 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Models/AverageComparativeScore.php | 14 +- .../AverageComparativeScore_averageScore.php | 145 + src/Generated/Models/BookingAppointment.php | 14 +- .../Models/BookingAppointment_price.php | 145 + src/Generated/Models/BookingService.php | 14 +- .../Models/BookingService_defaultPrice.php | 145 + .../Models/CallRecords/DeviceInfo.php | 168 +- ...ceInfo_captureNotFunctioningEventRatio.php | 146 + .../DeviceInfo_cpuInsufficentEventRatio.php | 146 + .../DeviceInfo_deviceClippingEventRatio.php | 146 + .../DeviceInfo_deviceGlitchEventRatio.php | 146 + ...eInfo_initialSignalLevelRootMeanSquare.php | 146 + .../DeviceInfo_lowSpeechLevelEventRatio.php | 146 + .../DeviceInfo_lowSpeechToNoiseEventRatio.php | 146 + .../CallRecords/DeviceInfo_micGlitchRate.php | 146 + .../DeviceInfo_renderMuteEventRatio.php | 146 + ...iceInfo_renderNotFunctioningEventRatio.php | 146 + .../DeviceInfo_renderZeroVolumeEventRatio.php | 146 + .../DeviceInfo_speakerGlitchRate.php | 146 + .../Models/CallRecords/MediaStream.php | 168 +- .../MediaStream_averageAudioDegradation.php | 146 + .../MediaStream_averagePacketLossRate.php | 146 + ...aStream_averageRatioOfConcealedSamples.php | 146 + .../MediaStream_averageReceivedFrameRate.php | 146 + ...Stream_averageVideoFrameLossPercentage.php | 146 + .../MediaStream_averageVideoFrameRate.php | 146 + ...MediaStream_averageVideoPacketLossRate.php | 146 + .../MediaStream_lowFrameRateRatio.php | 146 + ...ream_lowVideoProcessingCapabilityRatio.php | 146 + .../MediaStream_maxPacketLossRate.php | 146 + ...MediaStream_maxRatioOfConcealedSamples.php | 146 + ...stForwardErrorCorrectionPacketLossRate.php | 146 + .../Models/CallRecords/NetworkInfo.php | 56 +- .../NetworkInfo_bandwidthLowEventRatio.php | 146 + .../NetworkInfo_delayEventRatio.php | 146 + .../NetworkInfo_receivedQualityEventRatio.php | 146 + .../NetworkInfo_sentQualityEventRatio.php | 146 + src/Generated/Models/ControlScore.php | 14 +- src/Generated/Models/ControlScore_score.php | 145 + src/Generated/Models/DataPolicyOperation.php | 14 +- .../Models/DataPolicyOperation_progress.php | 145 + src/Generated/Models/DeviceGeoLocation.php | 98 +- .../Models/DeviceGeoLocation_altitude.php | 145 + .../Models/DeviceGeoLocation_heading.php | 145 + .../DeviceGeoLocation_horizontalAccuracy.php | 145 + .../Models/DeviceGeoLocation_latitude.php | 145 + .../Models/DeviceGeoLocation_longitude.php | 145 + .../Models/DeviceGeoLocation_speed.php | 145 + .../DeviceGeoLocation_verticalAccuracy.php | 145 + .../Models/DeviceLogCollectionResponse.php | 14 +- .../DeviceLogCollectionResponse_sizeInKB.php | 145 + .../Models/EducationAssignmentPointsGrade.php | 14 +- .../EducationAssignmentPointsGradeType.php | 14 +- ...ionAssignmentPointsGradeType_maxPoints.php | 145 + .../EducationAssignmentPointsGrade_points.php | 145 + .../Models/EntitlementManagementSchedule.php | 4 +- src/Generated/Models/GeoCoordinates.php | 42 +- .../Models/GeoCoordinates_altitude.php | 145 + .../Models/GeoCoordinates_latitude.php | 145 + .../Models/GeoCoordinates_longitude.php | 145 + src/Generated/Models/IdentityUserFlow.php | 14 +- .../IdentityUserFlow_userFlowTypeVersion.php | 145 + src/Generated/Models/InsightValueDouble.php | 14 +- .../Models/InsightValueDouble_value.php | 145 + .../Models/MeetingTimeSuggestion.php | 14 +- .../MeetingTimeSuggestion_confidence.php | 145 + src/Generated/Models/NumberColumn.php | 28 +- src/Generated/Models/NumberColumn_maximum.php | 145 + src/Generated/Models/NumberColumn_minimum.php | 145 + .../Models/OmaSettingFloatingPoint.php | 14 +- .../Models/OmaSettingFloatingPoint_value.php | 145 + ...remisesDirectorySynchronizationFeature.php | 4 +- .../Models/OutlookGeoCoordinates.php | 70 +- .../Models/OutlookGeoCoordinates_accuracy.php | 145 + .../Models/OutlookGeoCoordinates_altitude.php | 145 + ...OutlookGeoCoordinates_altitudeAccuracy.php | 145 + .../Models/OutlookGeoCoordinates_latitude.php | 145 + .../OutlookGeoCoordinates_longitude.php | 145 + src/Generated/Models/Payload.php | 14 +- .../Payload_predictedCompromiseRate.php | 145 + src/Generated/Models/Photo.php | 56 +- .../Models/Photo_exposureDenominator.php | 145 + .../Models/Photo_exposureNumerator.php | 145 + src/Generated/Models/Photo_fNumber.php | 145 + src/Generated/Models/Photo_focalLength.php | 145 + src/Generated/Models/PrinterLocation.php | 28 +- .../Models/PrinterLocation_latitude.php | 145 + .../Models/PrinterLocation_longitude.php | 145 + src/Generated/Models/RecommendedAction.php | 14 +- ...RecommendedAction_potentialScoreImpact.php | 145 + src/Generated/Models/ReferenceNumeric.php | 11 + .../Models/RelyingPartyDetailedSummary.php | 14 +- ...PartyDetailedSummary_signInSuccessRate.php | 145 + src/Generated/Models/RubricQuality.php | 14 +- src/Generated/Models/RubricQuality_weight.php | 145 + src/Generated/Models/ScoredEmailAddress.php | 14 +- .../ScoredEmailAddress_relevanceScore.php | 145 + src/Generated/Models/SecureScore.php | 28 +- .../Models/SecureScoreControlProfile.php | 14 +- .../SecureScoreControlProfile_maxScore.php | 145 + .../Models/SecureScore_currentScore.php | 145 + src/Generated/Models/SecureScore_maxScore.php | 145 + src/Generated/Models/Security/CvssSummary.php | 14 +- .../Models/Security/CvssSummary_score.php | 146 + src/Generated/Models/Security/GeoLocation.php | 28 +- .../Models/Security/GeoLocation_latitude.php | 146 + .../Models/Security/GeoLocation_longitude.php | 146 + src/Generated/Models/ServicePrincipal.php | 4 +- .../Models/SimulationEventsContent.php | 14 +- ...imulationEventsContent_compromisedRate.php | 145 + .../TeleconferenceDeviceMediaQuality.php | 56 +- ...erageInboundPacketLossRateInPercentage.php | 145 + ...rageOutboundPacketLossRateInPercentage.php | 145 + ...ximumInboundPacketLossRateInPercentage.php | 145 + ...imumOutboundPacketLossRateInPercentage.php | 145 + .../TeleconferenceDeviceVideoQuality.php | 56 +- ...viceVideoQuality_averageInboundBitRate.php | 145 + ...ceVideoQuality_averageInboundFrameRate.php | 145 + ...iceVideoQuality_averageOutboundBitRate.php | 145 + ...eVideoQuality_averageOutboundFrameRate.php | 145 + src/Generated/Models/Trending.php | 14 +- src/Generated/Models/Trending_weight.php | 145 + src/Generated/Models/User.php | 12 +- ...alyticsAppHealthApplicationPerformance.php | 14 +- ...hApplicationPerformance_appHealthScore.php | 145 + ...alyticsAppHealthDeviceModelPerformance.php | 14 +- ...ceModelPerformance_modelAppHealthScore.php | 145 + ...nceAnalyticsAppHealthDevicePerformance.php | 14 +- ...DevicePerformance_deviceAppHealthScore.php | 145 + ...AnalyticsAppHealthOSVersionPerformance.php | 14 +- ...ionPerformance_osVersionAppHealthScore.php | 145 + ...erExperienceAnalyticsDevicePerformance.php | 56 +- ...csDevicePerformance_averageBlueScreens.php | 145 + ...yticsDevicePerformance_averageRestarts.php | 145 + ...rformance_modelStartupPerformanceScore.php | 145 + ...icePerformance_startupPerformanceScore.php | 145 + .../UserExperienceAnalyticsDeviceScores.php | 70 +- ...lyticsDeviceScores_appReliabilityScore.php | 145 + ...alyticsDeviceScores_batteryHealthScore.php | 145 + ...icsDeviceScores_endpointAnalyticsScore.php | 145 + ...csDeviceScores_startupPerformanceScore.php | 145 + ...ticsDeviceScores_workFromAnywhereScore.php | 145 + .../Models/UserExperienceAnalyticsMetric.php | 14 +- .../UserExperienceAnalyticsMetric_value.php | 145 + .../UserExperienceAnalyticsModelScores.php | 70 +- ...alyticsModelScores_appReliabilityScore.php | 145 + ...nalyticsModelScores_batteryHealthScore.php | 145 + ...ticsModelScores_endpointAnalyticsScore.php | 145 + ...icsModelScores_startupPerformanceScore.php | 145 + ...yticsModelScores_workFromAnywhereScore.php | 145 + ...erienceAnalyticsWorkFromAnywhereDevice.php | 70 +- ...kFromAnywhereDevice_cloudIdentityScore.php | 145 + ...romAnywhereDevice_cloudManagementScore.php | 145 + ...mAnywhereDevice_cloudProvisioningScore.php | 145 + ...icsWorkFromAnywhereDevice_windowsScore.php | 145 + ...omAnywhereDevice_workFromAnywhereScore.php | 145 + ...orkFromAnywhereHardwareReadinessMetric.php | 126 +- ...eadinessMetric_osCheckFailedPercentage.php | 145 + ...ic_processor64BitCheckFailedPercentage.php | 145 + ...rocessorCoreCountCheckFailedPercentage.php | 145 + ...c_processorFamilyCheckFailedPercentage.php | 145 + ...ic_processorSpeedCheckFailedPercentage.php | 145 + ...adinessMetric_ramCheckFailedPercentage.php | 145 + ...Metric_secureBootCheckFailedPercentage.php | 145 + ...essMetric_storageCheckFailedPercentage.php | 145 + ...adinessMetric_tpmCheckFailedPercentage.php | 145 + ...lyticsWorkFromAnywhereModelPerformance.php | 70 +- ...ereModelPerformance_cloudIdentityScore.php | 145 + ...eModelPerformance_cloudManagementScore.php | 145 + ...odelPerformance_cloudProvisioningScore.php | 145 + ...mAnywhereModelPerformance_windowsScore.php | 145 + ...ModelPerformance_workFromAnywhereScore.php | 145 + .../Models/UserTrainingContentEventInfo.php | 14 +- ...gContentEventInfo_potentialScoreImpact.php | 145 + src/Generated/Models/Video.php | 14 +- src/Generated/Models/Video_frameRate.php | 145 + src/Generated/Models/WebPartPosition.php | 42 +- .../Models/WebPartPosition_columnId.php | 145 + .../WebPartPosition_horizontalSectionId.php | 145 + .../Models/WebPartPosition_webPartIndex.php | 145 + src/Generated/Models/WorkbookChart.php | 56 +- src/Generated/Models/WorkbookChartFont.php | 14 +- .../Models/WorkbookChartFont_size.php | 145 + src/Generated/Models/WorkbookChart_height.php | 145 + src/Generated/Models/WorkbookChart_left.php | 145 + src/Generated/Models/WorkbookChart_top.php | 145 + src/Generated/Models/WorkbookChart_width.php | 145 + src/Generated/Models/WorkbookRangeFont.php | 14 +- .../Models/WorkbookRangeFont_size.php | 145 + src/Generated/Models/WorkbookRangeFormat.php | 28 +- .../WorkbookRangeFormat_columnWidth.php | 145 + .../Models/WorkbookRangeFormat_rowHeight.php | 145 + .../BannerLogo/BannerLogoRequestBuilder.php | 6 +- .../Item/OrganizationItemRequestBuilder.php | 6 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../IdentitySynchronizationRequestBuilder.php | 6 +- src/Generated/Sites/SitesRequestBuilder.php | 6 +- .../SitesRequestBuilderGetQueryParameters.php | 2 +- .../ConversationMemberItemRequestBuilder.php | 6 +- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../MultiTenantOrganizationRequestBuilder.php | 6 +- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../FindMeetingTimesPostRequestBody.php | 14 +- ...tRequestBody_minimumAttendeePercentage.php | 146 + .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Messages/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Replies/Delta/DeltaRequestBuilder.php | 4 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../DeviceCategoryRequestBuilder.php | 8 + .../DeviceCategory/Ref/RefRequestBuilder.php | 143 + ...questBuilderDeleteRequestConfiguration.php | 22 + ...fRequestBuilderGetRequestConfiguration.php | 22 + ...fRequestBuilderPutRequestConfiguration.php | 22 + .../Users/Item/UserItemRequestBuilder.php | 14 +- ...erItemRequestBuilderGetQueryParameters.php | 2 +- src/Generated/Users/UsersRequestBuilder.php | 12 +- .../UsersRequestBuilderGetQueryParameters.php | 2 +- src/Generated/kiota-dom-export.txt | 2370 +++++++++++++++-- src/Generated/kiota-lock.json | 4 +- 303 files changed, 23638 insertions(+), 1473 deletions(-) create mode 100644 src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php create mode 100644 src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php create mode 100644 src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody_zoom.php create mode 100644 src/Generated/Models/AverageComparativeScore_averageScore.php create mode 100644 src/Generated/Models/BookingAppointment_price.php create mode 100644 src/Generated/Models/BookingService_defaultPrice.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_captureNotFunctioningEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_cpuInsufficentEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_deviceClippingEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_deviceGlitchEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_initialSignalLevelRootMeanSquare.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_lowSpeechLevelEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_lowSpeechToNoiseEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_micGlitchRate.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_renderMuteEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_renderNotFunctioningEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_renderZeroVolumeEventRatio.php create mode 100644 src/Generated/Models/CallRecords/DeviceInfo_speakerGlitchRate.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_averageAudioDegradation.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_averagePacketLossRate.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_averageRatioOfConcealedSamples.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_averageReceivedFrameRate.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_averageVideoFrameLossPercentage.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_averageVideoFrameRate.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_averageVideoPacketLossRate.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_lowFrameRateRatio.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_lowVideoProcessingCapabilityRatio.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_maxPacketLossRate.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_maxRatioOfConcealedSamples.php create mode 100644 src/Generated/Models/CallRecords/MediaStream_postForwardErrorCorrectionPacketLossRate.php create mode 100644 src/Generated/Models/CallRecords/NetworkInfo_bandwidthLowEventRatio.php create mode 100644 src/Generated/Models/CallRecords/NetworkInfo_delayEventRatio.php create mode 100644 src/Generated/Models/CallRecords/NetworkInfo_receivedQualityEventRatio.php create mode 100644 src/Generated/Models/CallRecords/NetworkInfo_sentQualityEventRatio.php create mode 100644 src/Generated/Models/ControlScore_score.php create mode 100644 src/Generated/Models/DataPolicyOperation_progress.php create mode 100644 src/Generated/Models/DeviceGeoLocation_altitude.php create mode 100644 src/Generated/Models/DeviceGeoLocation_heading.php create mode 100644 src/Generated/Models/DeviceGeoLocation_horizontalAccuracy.php create mode 100644 src/Generated/Models/DeviceGeoLocation_latitude.php create mode 100644 src/Generated/Models/DeviceGeoLocation_longitude.php create mode 100644 src/Generated/Models/DeviceGeoLocation_speed.php create mode 100644 src/Generated/Models/DeviceGeoLocation_verticalAccuracy.php create mode 100644 src/Generated/Models/DeviceLogCollectionResponse_sizeInKB.php create mode 100644 src/Generated/Models/EducationAssignmentPointsGradeType_maxPoints.php create mode 100644 src/Generated/Models/EducationAssignmentPointsGrade_points.php create mode 100644 src/Generated/Models/GeoCoordinates_altitude.php create mode 100644 src/Generated/Models/GeoCoordinates_latitude.php create mode 100644 src/Generated/Models/GeoCoordinates_longitude.php create mode 100644 src/Generated/Models/IdentityUserFlow_userFlowTypeVersion.php create mode 100644 src/Generated/Models/InsightValueDouble_value.php create mode 100644 src/Generated/Models/MeetingTimeSuggestion_confidence.php create mode 100644 src/Generated/Models/NumberColumn_maximum.php create mode 100644 src/Generated/Models/NumberColumn_minimum.php create mode 100644 src/Generated/Models/OmaSettingFloatingPoint_value.php create mode 100644 src/Generated/Models/OutlookGeoCoordinates_accuracy.php create mode 100644 src/Generated/Models/OutlookGeoCoordinates_altitude.php create mode 100644 src/Generated/Models/OutlookGeoCoordinates_altitudeAccuracy.php create mode 100644 src/Generated/Models/OutlookGeoCoordinates_latitude.php create mode 100644 src/Generated/Models/OutlookGeoCoordinates_longitude.php create mode 100644 src/Generated/Models/Payload_predictedCompromiseRate.php create mode 100644 src/Generated/Models/Photo_exposureDenominator.php create mode 100644 src/Generated/Models/Photo_exposureNumerator.php create mode 100644 src/Generated/Models/Photo_fNumber.php create mode 100644 src/Generated/Models/Photo_focalLength.php create mode 100644 src/Generated/Models/PrinterLocation_latitude.php create mode 100644 src/Generated/Models/PrinterLocation_longitude.php create mode 100644 src/Generated/Models/RecommendedAction_potentialScoreImpact.php create mode 100644 src/Generated/Models/ReferenceNumeric.php create mode 100644 src/Generated/Models/RelyingPartyDetailedSummary_signInSuccessRate.php create mode 100644 src/Generated/Models/RubricQuality_weight.php create mode 100644 src/Generated/Models/ScoredEmailAddress_relevanceScore.php create mode 100644 src/Generated/Models/SecureScoreControlProfile_maxScore.php create mode 100644 src/Generated/Models/SecureScore_currentScore.php create mode 100644 src/Generated/Models/SecureScore_maxScore.php create mode 100644 src/Generated/Models/Security/CvssSummary_score.php create mode 100644 src/Generated/Models/Security/GeoLocation_latitude.php create mode 100644 src/Generated/Models/Security/GeoLocation_longitude.php create mode 100644 src/Generated/Models/SimulationEventsContent_compromisedRate.php create mode 100644 src/Generated/Models/TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage.php create mode 100644 src/Generated/Models/TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage.php create mode 100644 src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage.php create mode 100644 src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage.php create mode 100644 src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundBitRate.php create mode 100644 src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundFrameRate.php create mode 100644 src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundBitRate.php create mode 100644 src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundFrameRate.php create mode 100644 src/Generated/Models/Trending_weight.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageBlueScreens.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageRestarts.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDevicePerformance_startupPerformanceScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDeviceScores_appReliabilityScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDeviceScores_batteryHealthScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDeviceScores_startupPerformanceScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsDeviceScores_workFromAnywhereScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsMetric_value.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsModelScores_appReliabilityScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsModelScores_batteryHealthScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsModelScores_endpointAnalyticsScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsModelScores_startupPerformanceScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsModelScores_workFromAnywhereScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore.php create mode 100644 src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore.php create mode 100644 src/Generated/Models/UserTrainingContentEventInfo_potentialScoreImpact.php create mode 100644 src/Generated/Models/Video_frameRate.php create mode 100644 src/Generated/Models/WebPartPosition_columnId.php create mode 100644 src/Generated/Models/WebPartPosition_horizontalSectionId.php create mode 100644 src/Generated/Models/WebPartPosition_webPartIndex.php create mode 100644 src/Generated/Models/WorkbookChartFont_size.php create mode 100644 src/Generated/Models/WorkbookChart_height.php create mode 100644 src/Generated/Models/WorkbookChart_left.php create mode 100644 src/Generated/Models/WorkbookChart_top.php create mode 100644 src/Generated/Models/WorkbookChart_width.php create mode 100644 src/Generated/Models/WorkbookRangeFont_size.php create mode 100644 src/Generated/Models/WorkbookRangeFormat_columnWidth.php create mode 100644 src/Generated/Models/WorkbookRangeFormat_rowHeight.php create mode 100644 src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody_minimumAttendeePercentage.php create mode 100644 src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php create mode 100644 src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php diff --git a/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php index 59f4a05ab7d..e175c7a5282 100644 --- a/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index ead1351a3b7..3fa07e19ea6 100644 --- a/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index f999c7acc1b..d5f03a85aad 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 58dd279cbd0..95355389edb 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index d6f3bb07b46..95dcefac195 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index ea6ff0df539..b87ed38f982 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -53,11 +53,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the managedAppPolicy object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -101,7 +101,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the managedAppPolicy object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php index ef9bce96aef..58b0bb0c0c9 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppConfiguration object. + * Read properties and relationships of the managedAppPolicy object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 2c92f59d08d..c14dff918a3 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php index 5230cbcc5ad..afa996ecfce 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the managedAppConfiguration objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the managedAppConfiguration objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php index 075c0ea67e0..88d1f2c4ecd 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppPolicy objects. + * List properties and relationships of the managedAppConfiguration objects. */ class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 0cf00c54e3d..e141c5e3073 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index d534a409ba9..ae38e904200 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index bf46e5a230f..e6210e194fc 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 Find more info here */ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index 166b758024b..fcec5d957a0 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index b364b796be0..ab642fd8edd 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 Find more info here */ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ManagedEBookAssignmentItemRequestBuilde } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php index 854e051c551..fa920db8c52 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php index feacdc9ddcd..b7f2940d11f 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedDeviceMobileAppConfiguration $body, ?MobileAppConfig } /** - * List properties and relationships of the managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php index b6d9410cd6a..804ed807506 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration objects. */ class MobileAppConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index 5ce3f81fd97..b3140472b43 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a managedIOSStoreApp. + * Deletes a iosLobApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the iosLobApp object. + * Read properties and relationships of the win32LobApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -213,12 +213,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a managedIOSStoreApp object. + * Update the properties of a iosStoreApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -229,7 +229,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a managedIOSStoreApp. + * Deletes a iosLobApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the iosLobApp object. + * Read properties and relationships of the win32LobApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -268,7 +268,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a managedIOSStoreApp object. + * Update the properties of a iosStoreApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index db31f6b6341..6755f5b832b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosLobApp object. + * Read properties and relationships of the win32LobApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 36175b05f61..40b0dab617d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -180,11 +180,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedIOSLobApp objects. + * List properties and relationships of the mobileLobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-mobilelobapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -195,12 +195,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new windowsAppX object. + * Create a new windowsMicrosoftEdgeApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-apps-windowsappx-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -211,7 +211,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the managedIOSLobApp objects. + * List properties and relationships of the mobileLobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -232,7 +232,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new windowsAppX object. + * Create a new windowsMicrosoftEdgeApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php index e5bc8d8bb01..992e0c67b21 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedIOSLobApp objects. + * List properties and relationships of the mobileLobApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index 8b35d3bd20f..de6e036b2c4 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the macOSCompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new windows10CompliancePolicy object. + * Create a new macOSCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the macOSCompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new windows10CompliancePolicy object. + * Create a new macOSCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php index 2f89606b58e..b5124d1f52d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the macOSCompliancePolicy objects. + * List properties and relationships of the iosCompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index f54f201acc4..c2155e74d59 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -103,11 +103,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows81CompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -118,11 +118,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the deviceCompliancePolicy object. + * Read properties and relationships of the windowsPhone81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a iosCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a androidWorkProfileCompliancePolicy. + * Deletes a windows81CompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -167,7 +167,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the deviceCompliancePolicy object. + * Read properties and relationships of the windowsPhone81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -188,7 +188,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a androidCompliancePolicy object. + * Update the properties of a iosCompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index d7debf15f83..39aca32b9e0 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceCompliancePolicy object. + * Read properties and relationships of the windowsPhone81CompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index dc9a5f9c262..467fed975bd 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the editionUpgradeConfiguration objects. + * List properties and relationships of the windows81GeneralConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new windows10EndpointProtectionConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the editionUpgradeConfiguration objects. + * List properties and relationships of the windows81GeneralConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new windows10EndpointProtectionConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php index d7ff339fa94..d63576daa9b 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the editionUpgradeConfiguration objects. + * List properties and relationships of the windows81GeneralConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index a9ac2c79204..6bdc0e06701 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -88,11 +88,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windows10SecureAssessmentConfiguration. + * Deletes a editionUpgradeConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -103,11 +103,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the windowsUpdateForBusinessConfiguration object. + * Read properties and relationships of the windows10CustomConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -127,12 +127,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a windows10GeneralConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -143,7 +143,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a windows10SecureAssessmentConfiguration. + * Deletes a editionUpgradeConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the windowsUpdateForBusinessConfiguration object. + * Read properties and relationships of the windows10CustomConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -182,7 +182,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a windows10GeneralConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php index 18dac0f0170..22f6dd911d6 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windowsUpdateForBusinessConfiguration object. + * Read properties and relationships of the windows10CustomConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index b726f577dbe..93941d91351 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentLimitConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentLimitConfiguration object. + * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index 418ef0b5a51..b9adeb4917c 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -85,12 +85,12 @@ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestCo } /** - * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Update the properties of a deviceEnrollmentLimitConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -101,7 +101,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + * Deletes a deviceEnrollmentLimitConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,7 +140,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationItemReques } /** - * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Update the properties of a deviceEnrollmentLimitConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php index 6c181a7a96b..382c8125da1 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index 7fb9a5aad64..e4562ffb798 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -509,7 +509,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-gpanalyticsservice-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -534,7 +534,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagementRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceManagement $body, ?DeviceManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php index bbe153df5bc..dcbd64b8ad9 100644 --- a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\DeviceManagement\ManagedDevices\Item\DeviceCategory\Ref\RefRequestBuilder; use Microsoft\Graph\Generated\Models\DeviceCategory; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -16,6 +17,13 @@ */ class DeviceCategoryRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the collection of deviceManagement entities. + */ + public function ref(): RefRequestBuilder { + return new RefRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new DeviceCategoryRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php new file mode 100644 index 00000000000..63c9b5bdd83 --- /dev/null +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php @@ -0,0 +1,143 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCategory/$ref'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete ref of navigation property deviceCategory for deviceManagement + * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Device category + * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'string', $errorMappings); + return $result; + } + + /** + * Update the ref of navigation property deviceCategory in deviceManagement + * @param ReferenceUpdate $body The request body + * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Delete ref of navigation property deviceCategory for deviceManagement + * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Device category + * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the ref of navigation property deviceCategory in deviceManagement + * @param ReferenceUpdate $body The request body + * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RefRequestBuilder + */ + public function withUrl(string $rawUrl): RefRequestBuilder { + return new RefRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..3230646ac4d --- /dev/null +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..59751fe8c50 --- /dev/null +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..262c2807910 --- /dev/null +++ b/src/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php index 3a5609743b5..32b369eb31c 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfigurati } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -103,7 +103,7 @@ public function toDeleteRequestInformation(?RoleDefinitionItemRequestBuilderDele } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php index 6ab7af424b5..66802fd4f88 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. */ class RoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index 268f71f1c9f..e13378d3623 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostReq } /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. * @param RoleDefinitionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php index 448a7624ee5..5b0c2ffab4f 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + * List properties and relationships of the roleDefinition objects. */ class RoleDefinitionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.php index b3ec8804f83..a67604f5632 100644 --- a/src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody.php @@ -63,7 +63,7 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'page' => fn(ParseNode $n) => $o->setPage($n->getStringValue()), - 'zoom' => fn(ParseNode $n) => $o->setZoom($n->getFloatValue()), + 'zoom' => fn(ParseNode $n) => $o->setZoom($n->getObjectValue([PreviewPostRequestBody_zoom::class, 'createFromDiscriminatorValue'])), ]; } @@ -81,11 +81,11 @@ public function getPage(): ?string { /** * Gets the zoom property value. The zoom property - * @return float|null + * @return PreviewPostRequestBody_zoom|null */ - public function getZoom(): ?float { + public function getZoom(): ?PreviewPostRequestBody_zoom { $val = $this->getBackingStore()->get('zoom'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof PreviewPostRequestBody_zoom) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'zoom'"); @@ -97,7 +97,7 @@ public function getZoom(): ?float { */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('page', $this->getPage()); - $writer->writeFloatValue('zoom', $this->getZoom()); + $writer->writeObjectValue('zoom', $this->getZoom()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -127,9 +127,9 @@ public function setPage(?string $value): void { /** * Sets the zoom property value. The zoom property - * @param float|null $value Value to set for the zoom property. + * @param PreviewPostRequestBody_zoom|null $value Value to set for the zoom property. */ - public function setZoom(?float $value): void { + public function setZoom(?PreviewPostRequestBody_zoom $value): void { $this->getBackingStore()->set('zoom', $value); } diff --git a/src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody_zoom.php b/src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody_zoom.php new file mode 100644 index 00000000000..b562a55b2b4 --- /dev/null +++ b/src/Generated/Drives/Item/Items/Item/Preview/PreviewPostRequestBody_zoom.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return PreviewPostRequestBody_zoom + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PreviewPostRequestBody_zoom { + $result = new PreviewPostRequestBody_zoom(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index 47be9ad9743..419c92ac755 100644 --- a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -60,12 +60,12 @@ public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $reques } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 Find more info here */ public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestC } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php index d7734badcaf..4dafeecbb5c 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php index cbc3fbbce5d..ba3fdf2c10f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + * Retrieve the properties and relationships of range object. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index 6c371b0f61a..814e400c329 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?ExternalItemItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of an externalItem object. + * Create a new externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 Find more info here */ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -132,7 +132,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } /** - * Update the properties of an externalItem object. + * Create a new externalItem object. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index 707dc038739..a21735b2eae 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -54,11 +54,11 @@ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration } /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 Find more info here */ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -87,7 +87,7 @@ public function toDeleteRequestInformation(?ConversationItemRequestBuilderDelete } /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php index 7065f9e0262..54b516ea9f8 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of conversation object. + * The group's conversations. */ class ConversationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 87ff9d06b72..ff71408b5cc 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index c218a33b2b7..4e4cd1116a9 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 026f99efa81..901f38ea5bb 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 4cf2915c1dc..3a9751e2067 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 034a0f11bbb..b5263ab84c8 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php index 7f60898674a..b82667ffc5e 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 1755f1fa8f7..087781bc275 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 3e69f8eca8b..5dcc28e9288 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 3a9a8ec3535..68f0585ba6f 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index 5d9dc5868e9..ed15aa44905 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationThreadItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php index 5400772fd5f..50b0c921966 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -51,11 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -66,7 +66,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index c3d334096ac..80d8fda794c 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 719c5714495..f4530b3b65b 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index d9cd7244a56..04814930596 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a countryNamedLocation object. + * Delete an ipNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 Find more info here */ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete a countryNamedLocation object. + * Delete an ipNamedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php index 7286eb829a7..a8d1c5b81e0 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/AverageComparativeScore.php b/src/Generated/Models/AverageComparativeScore.php index 51b182f487e..60a49865aa7 100644 --- a/src/Generated/Models/AverageComparativeScore.php +++ b/src/Generated/Models/AverageComparativeScore.php @@ -49,11 +49,11 @@ public function getAdditionalData(): ?array { /** * Gets the averageScore property value. Average score within specified basis. - * @return float|null + * @return AverageComparativeScore_averageScore|null */ - public function getAverageScore(): ?float { + public function getAverageScore(): ?AverageComparativeScore_averageScore { $val = $this->getBackingStore()->get('averageScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof AverageComparativeScore_averageScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageScore'"); @@ -86,7 +86,7 @@ public function getBasis(): ?string { public function getFieldDeserializers(): array { $o = $this; return [ - 'averageScore' => fn(ParseNode $n) => $o->setAverageScore($n->getFloatValue()), + 'averageScore' => fn(ParseNode $n) => $o->setAverageScore($n->getObjectValue([AverageComparativeScore_averageScore::class, 'createFromDiscriminatorValue'])), 'basis' => fn(ParseNode $n) => $o->setBasis($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; @@ -109,7 +109,7 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeFloatValue('averageScore', $this->getAverageScore()); + $writer->writeObjectValue('averageScore', $this->getAverageScore()); $writer->writeStringValue('basis', $this->getBasis()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -125,9 +125,9 @@ public function setAdditionalData(?array $value): void { /** * Sets the averageScore property value. Average score within specified basis. - * @param float|null $value Value to set for the averageScore property. + * @param AverageComparativeScore_averageScore|null $value Value to set for the averageScore property. */ - public function setAverageScore(?float $value): void { + public function setAverageScore(?AverageComparativeScore_averageScore $value): void { $this->getBackingStore()->set('averageScore', $value); } diff --git a/src/Generated/Models/AverageComparativeScore_averageScore.php b/src/Generated/Models/AverageComparativeScore_averageScore.php new file mode 100644 index 00000000000..53a1fb7f17c --- /dev/null +++ b/src/Generated/Models/AverageComparativeScore_averageScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AverageComparativeScore_averageScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AverageComparativeScore_averageScore { + $result = new AverageComparativeScore_averageScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/BookingAppointment.php b/src/Generated/Models/BookingAppointment.php index 4f551c8074a..e626df2afad 100644 --- a/src/Generated/Models/BookingAppointment.php +++ b/src/Generated/Models/BookingAppointment.php @@ -204,7 +204,7 @@ public function getFieldDeserializers(): array { 'optOutOfCustomerEmail' => fn(ParseNode $n) => $o->setOptOutOfCustomerEmail($n->getBooleanValue()), 'postBuffer' => fn(ParseNode $n) => $o->setPostBuffer($n->getDateIntervalValue()), 'preBuffer' => fn(ParseNode $n) => $o->setPreBuffer($n->getDateIntervalValue()), - 'price' => fn(ParseNode $n) => $o->setPrice($n->getFloatValue()), + 'price' => fn(ParseNode $n) => $o->setPrice($n->getObjectValue([BookingAppointment_price::class, 'createFromDiscriminatorValue'])), 'priceType' => fn(ParseNode $n) => $o->setPriceType($n->getEnumValue(BookingPriceType::class)), 'reminders' => fn(ParseNode $n) => $o->setReminders($n->getCollectionOfObjectValues([BookingReminder::class, 'createFromDiscriminatorValue'])), 'selfServiceAppointmentId' => fn(ParseNode $n) => $o->setSelfServiceAppointmentId($n->getStringValue()), @@ -335,11 +335,11 @@ public function getPreBuffer(): ?DateInterval { /** * Gets the price property value. The regular price for an appointment for the specified bookingService. - * @return float|null + * @return BookingAppointment_price|null */ - public function getPrice(): ?float { + public function getPrice(): ?BookingAppointment_price { $val = $this->getBackingStore()->get('price'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof BookingAppointment_price) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'price'"); @@ -494,7 +494,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('optOutOfCustomerEmail', $this->getOptOutOfCustomerEmail()); $writer->writeDateIntervalValue('postBuffer', $this->getPostBuffer()); $writer->writeDateIntervalValue('preBuffer', $this->getPreBuffer()); - $writer->writeFloatValue('price', $this->getPrice()); + $writer->writeObjectValue('price', $this->getPrice()); $writer->writeEnumValue('priceType', $this->getPriceType()); $writer->writeCollectionOfObjectValues('reminders', $this->getReminders()); $writer->writeStringValue('selfServiceAppointmentId', $this->getSelfServiceAppointmentId()); @@ -677,9 +677,9 @@ public function setPreBuffer(?DateInterval $value): void { /** * Sets the price property value. The regular price for an appointment for the specified bookingService. - * @param float|null $value Value to set for the price property. + * @param BookingAppointment_price|null $value Value to set for the price property. */ - public function setPrice(?float $value): void { + public function setPrice(?BookingAppointment_price $value): void { $this->getBackingStore()->set('price', $value); } diff --git a/src/Generated/Models/BookingAppointment_price.php b/src/Generated/Models/BookingAppointment_price.php new file mode 100644 index 00000000000..a9bbf273fe5 --- /dev/null +++ b/src/Generated/Models/BookingAppointment_price.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return BookingAppointment_price + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BookingAppointment_price { + $result = new BookingAppointment_price(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/BookingService.php b/src/Generated/Models/BookingService.php index b4223559ba1..027b6f50077 100644 --- a/src/Generated/Models/BookingService.php +++ b/src/Generated/Models/BookingService.php @@ -94,11 +94,11 @@ public function getDefaultLocation(): ?Location { /** * Gets the defaultPrice property value. The default monetary price for the service. - * @return float|null + * @return BookingService_defaultPrice|null */ - public function getDefaultPrice(): ?float { + public function getDefaultPrice(): ?BookingService_defaultPrice { $val = $this->getBackingStore()->get('defaultPrice'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof BookingService_defaultPrice) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'defaultPrice'"); @@ -166,7 +166,7 @@ public function getFieldDeserializers(): array { 'customQuestions' => fn(ParseNode $n) => $o->setCustomQuestions($n->getCollectionOfObjectValues([BookingQuestionAssignment::class, 'createFromDiscriminatorValue'])), 'defaultDuration' => fn(ParseNode $n) => $o->setDefaultDuration($n->getDateIntervalValue()), 'defaultLocation' => fn(ParseNode $n) => $o->setDefaultLocation($n->getObjectValue([Location::class, 'createFromDiscriminatorValue'])), - 'defaultPrice' => fn(ParseNode $n) => $o->setDefaultPrice($n->getFloatValue()), + 'defaultPrice' => fn(ParseNode $n) => $o->setDefaultPrice($n->getObjectValue([BookingService_defaultPrice::class, 'createFromDiscriminatorValue'])), 'defaultPriceType' => fn(ParseNode $n) => $o->setDefaultPriceType($n->getEnumValue(BookingPriceType::class)), 'defaultReminders' => fn(ParseNode $n) => $o->setDefaultReminders($n->getCollectionOfObjectValues([BookingReminder::class, 'createFromDiscriminatorValue'])), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), @@ -376,7 +376,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('customQuestions', $this->getCustomQuestions()); $writer->writeDateIntervalValue('defaultDuration', $this->getDefaultDuration()); $writer->writeObjectValue('defaultLocation', $this->getDefaultLocation()); - $writer->writeFloatValue('defaultPrice', $this->getDefaultPrice()); + $writer->writeObjectValue('defaultPrice', $this->getDefaultPrice()); $writer->writeEnumValue('defaultPriceType', $this->getDefaultPriceType()); $writer->writeCollectionOfObjectValues('defaultReminders', $this->getDefaultReminders()); $writer->writeStringValue('description', $this->getDescription()); @@ -438,9 +438,9 @@ public function setDefaultLocation(?Location $value): void { /** * Sets the defaultPrice property value. The default monetary price for the service. - * @param float|null $value Value to set for the defaultPrice property. + * @param BookingService_defaultPrice|null $value Value to set for the defaultPrice property. */ - public function setDefaultPrice(?float $value): void { + public function setDefaultPrice(?BookingService_defaultPrice $value): void { $this->getBackingStore()->set('defaultPrice', $value); } diff --git a/src/Generated/Models/BookingService_defaultPrice.php b/src/Generated/Models/BookingService_defaultPrice.php new file mode 100644 index 00000000000..0bc0fd6324e --- /dev/null +++ b/src/Generated/Models/BookingService_defaultPrice.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return BookingService_defaultPrice + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): BookingService_defaultPrice { + $result = new BookingService_defaultPrice(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo.php b/src/Generated/Models/CallRecords/DeviceInfo.php index 93db66ea357..63a9b9fad59 100644 --- a/src/Generated/Models/CallRecords/DeviceInfo.php +++ b/src/Generated/Models/CallRecords/DeviceInfo.php @@ -81,11 +81,11 @@ public function getCaptureDeviceName(): ?string { /** * Gets the captureNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the capture device was not working properly. - * @return float|null + * @return DeviceInfo_captureNotFunctioningEventRatio|null */ - public function getCaptureNotFunctioningEventRatio(): ?float { + public function getCaptureNotFunctioningEventRatio(): ?DeviceInfo_captureNotFunctioningEventRatio { $val = $this->getBackingStore()->get('captureNotFunctioningEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_captureNotFunctioningEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'captureNotFunctioningEventRatio'"); @@ -93,11 +93,11 @@ public function getCaptureNotFunctioningEventRatio(): ?float { /** * Gets the cpuInsufficentEventRatio property value. Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. - * @return float|null + * @return DeviceInfo_cpuInsufficentEventRatio|null */ - public function getCpuInsufficentEventRatio(): ?float { + public function getCpuInsufficentEventRatio(): ?DeviceInfo_cpuInsufficentEventRatio { $val = $this->getBackingStore()->get('cpuInsufficentEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_cpuInsufficentEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'cpuInsufficentEventRatio'"); @@ -105,11 +105,11 @@ public function getCpuInsufficentEventRatio(): ?float { /** * Gets the deviceClippingEventRatio property value. Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. - * @return float|null + * @return DeviceInfo_deviceClippingEventRatio|null */ - public function getDeviceClippingEventRatio(): ?float { + public function getDeviceClippingEventRatio(): ?DeviceInfo_deviceClippingEventRatio { $val = $this->getBackingStore()->get('deviceClippingEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_deviceClippingEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceClippingEventRatio'"); @@ -117,11 +117,11 @@ public function getDeviceClippingEventRatio(): ?float { /** * Gets the deviceGlitchEventRatio property value. Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. - * @return float|null + * @return DeviceInfo_deviceGlitchEventRatio|null */ - public function getDeviceGlitchEventRatio(): ?float { + public function getDeviceGlitchEventRatio(): ?DeviceInfo_deviceGlitchEventRatio { $val = $this->getBackingStore()->get('deviceGlitchEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_deviceGlitchEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceGlitchEventRatio'"); @@ -136,26 +136,26 @@ public function getFieldDeserializers(): array { return [ 'captureDeviceDriver' => fn(ParseNode $n) => $o->setCaptureDeviceDriver($n->getStringValue()), 'captureDeviceName' => fn(ParseNode $n) => $o->setCaptureDeviceName($n->getStringValue()), - 'captureNotFunctioningEventRatio' => fn(ParseNode $n) => $o->setCaptureNotFunctioningEventRatio($n->getFloatValue()), - 'cpuInsufficentEventRatio' => fn(ParseNode $n) => $o->setCpuInsufficentEventRatio($n->getFloatValue()), - 'deviceClippingEventRatio' => fn(ParseNode $n) => $o->setDeviceClippingEventRatio($n->getFloatValue()), - 'deviceGlitchEventRatio' => fn(ParseNode $n) => $o->setDeviceGlitchEventRatio($n->getFloatValue()), + 'captureNotFunctioningEventRatio' => fn(ParseNode $n) => $o->setCaptureNotFunctioningEventRatio($n->getObjectValue([DeviceInfo_captureNotFunctioningEventRatio::class, 'createFromDiscriminatorValue'])), + 'cpuInsufficentEventRatio' => fn(ParseNode $n) => $o->setCpuInsufficentEventRatio($n->getObjectValue([DeviceInfo_cpuInsufficentEventRatio::class, 'createFromDiscriminatorValue'])), + 'deviceClippingEventRatio' => fn(ParseNode $n) => $o->setDeviceClippingEventRatio($n->getObjectValue([DeviceInfo_deviceClippingEventRatio::class, 'createFromDiscriminatorValue'])), + 'deviceGlitchEventRatio' => fn(ParseNode $n) => $o->setDeviceGlitchEventRatio($n->getObjectValue([DeviceInfo_deviceGlitchEventRatio::class, 'createFromDiscriminatorValue'])), 'howlingEventCount' => fn(ParseNode $n) => $o->setHowlingEventCount($n->getIntegerValue()), - 'initialSignalLevelRootMeanSquare' => fn(ParseNode $n) => $o->setInitialSignalLevelRootMeanSquare($n->getFloatValue()), - 'lowSpeechLevelEventRatio' => fn(ParseNode $n) => $o->setLowSpeechLevelEventRatio($n->getFloatValue()), - 'lowSpeechToNoiseEventRatio' => fn(ParseNode $n) => $o->setLowSpeechToNoiseEventRatio($n->getFloatValue()), - 'micGlitchRate' => fn(ParseNode $n) => $o->setMicGlitchRate($n->getFloatValue()), + 'initialSignalLevelRootMeanSquare' => fn(ParseNode $n) => $o->setInitialSignalLevelRootMeanSquare($n->getObjectValue([DeviceInfo_initialSignalLevelRootMeanSquare::class, 'createFromDiscriminatorValue'])), + 'lowSpeechLevelEventRatio' => fn(ParseNode $n) => $o->setLowSpeechLevelEventRatio($n->getObjectValue([DeviceInfo_lowSpeechLevelEventRatio::class, 'createFromDiscriminatorValue'])), + 'lowSpeechToNoiseEventRatio' => fn(ParseNode $n) => $o->setLowSpeechToNoiseEventRatio($n->getObjectValue([DeviceInfo_lowSpeechToNoiseEventRatio::class, 'createFromDiscriminatorValue'])), + 'micGlitchRate' => fn(ParseNode $n) => $o->setMicGlitchRate($n->getObjectValue([DeviceInfo_micGlitchRate::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'receivedNoiseLevel' => fn(ParseNode $n) => $o->setReceivedNoiseLevel($n->getIntegerValue()), 'receivedSignalLevel' => fn(ParseNode $n) => $o->setReceivedSignalLevel($n->getIntegerValue()), 'renderDeviceDriver' => fn(ParseNode $n) => $o->setRenderDeviceDriver($n->getStringValue()), 'renderDeviceName' => fn(ParseNode $n) => $o->setRenderDeviceName($n->getStringValue()), - 'renderMuteEventRatio' => fn(ParseNode $n) => $o->setRenderMuteEventRatio($n->getFloatValue()), - 'renderNotFunctioningEventRatio' => fn(ParseNode $n) => $o->setRenderNotFunctioningEventRatio($n->getFloatValue()), - 'renderZeroVolumeEventRatio' => fn(ParseNode $n) => $o->setRenderZeroVolumeEventRatio($n->getFloatValue()), + 'renderMuteEventRatio' => fn(ParseNode $n) => $o->setRenderMuteEventRatio($n->getObjectValue([DeviceInfo_renderMuteEventRatio::class, 'createFromDiscriminatorValue'])), + 'renderNotFunctioningEventRatio' => fn(ParseNode $n) => $o->setRenderNotFunctioningEventRatio($n->getObjectValue([DeviceInfo_renderNotFunctioningEventRatio::class, 'createFromDiscriminatorValue'])), + 'renderZeroVolumeEventRatio' => fn(ParseNode $n) => $o->setRenderZeroVolumeEventRatio($n->getObjectValue([DeviceInfo_renderZeroVolumeEventRatio::class, 'createFromDiscriminatorValue'])), 'sentNoiseLevel' => fn(ParseNode $n) => $o->setSentNoiseLevel($n->getIntegerValue()), 'sentSignalLevel' => fn(ParseNode $n) => $o->setSentSignalLevel($n->getIntegerValue()), - 'speakerGlitchRate' => fn(ParseNode $n) => $o->setSpeakerGlitchRate($n->getFloatValue()), + 'speakerGlitchRate' => fn(ParseNode $n) => $o->setSpeakerGlitchRate($n->getObjectValue([DeviceInfo_speakerGlitchRate::class, 'createFromDiscriminatorValue'])), ]; } @@ -173,11 +173,11 @@ public function getHowlingEventCount(): ?int { /** * Gets the initialSignalLevelRootMeanSquare property value. The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call. - * @return float|null + * @return DeviceInfo_initialSignalLevelRootMeanSquare|null */ - public function getInitialSignalLevelRootMeanSquare(): ?float { + public function getInitialSignalLevelRootMeanSquare(): ?DeviceInfo_initialSignalLevelRootMeanSquare { $val = $this->getBackingStore()->get('initialSignalLevelRootMeanSquare'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_initialSignalLevelRootMeanSquare) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'initialSignalLevelRootMeanSquare'"); @@ -185,11 +185,11 @@ public function getInitialSignalLevelRootMeanSquare(): ?float { /** * Gets the lowSpeechLevelEventRatio property value. Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. - * @return float|null + * @return DeviceInfo_lowSpeechLevelEventRatio|null */ - public function getLowSpeechLevelEventRatio(): ?float { + public function getLowSpeechLevelEventRatio(): ?DeviceInfo_lowSpeechLevelEventRatio { $val = $this->getBackingStore()->get('lowSpeechLevelEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_lowSpeechLevelEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'lowSpeechLevelEventRatio'"); @@ -197,11 +197,11 @@ public function getLowSpeechLevelEventRatio(): ?float { /** * Gets the lowSpeechToNoiseEventRatio property value. Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. - * @return float|null + * @return DeviceInfo_lowSpeechToNoiseEventRatio|null */ - public function getLowSpeechToNoiseEventRatio(): ?float { + public function getLowSpeechToNoiseEventRatio(): ?DeviceInfo_lowSpeechToNoiseEventRatio { $val = $this->getBackingStore()->get('lowSpeechToNoiseEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_lowSpeechToNoiseEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'lowSpeechToNoiseEventRatio'"); @@ -209,11 +209,11 @@ public function getLowSpeechToNoiseEventRatio(): ?float { /** * Gets the micGlitchRate property value. Glitches per 5 minute interval for the media endpoint's microphone. - * @return float|null + * @return DeviceInfo_micGlitchRate|null */ - public function getMicGlitchRate(): ?float { + public function getMicGlitchRate(): ?DeviceInfo_micGlitchRate { $val = $this->getBackingStore()->get('micGlitchRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_micGlitchRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'micGlitchRate'"); @@ -281,11 +281,11 @@ public function getRenderDeviceName(): ?string { /** * Gets the renderMuteEventRatio property value. Fraction of the call that media endpoint detected device render is muted. - * @return float|null + * @return DeviceInfo_renderMuteEventRatio|null */ - public function getRenderMuteEventRatio(): ?float { + public function getRenderMuteEventRatio(): ?DeviceInfo_renderMuteEventRatio { $val = $this->getBackingStore()->get('renderMuteEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_renderMuteEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'renderMuteEventRatio'"); @@ -293,11 +293,11 @@ public function getRenderMuteEventRatio(): ?float { /** * Gets the renderNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the render device was not working properly. - * @return float|null + * @return DeviceInfo_renderNotFunctioningEventRatio|null */ - public function getRenderNotFunctioningEventRatio(): ?float { + public function getRenderNotFunctioningEventRatio(): ?DeviceInfo_renderNotFunctioningEventRatio { $val = $this->getBackingStore()->get('renderNotFunctioningEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_renderNotFunctioningEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'renderNotFunctioningEventRatio'"); @@ -305,11 +305,11 @@ public function getRenderNotFunctioningEventRatio(): ?float { /** * Gets the renderZeroVolumeEventRatio property value. Fraction of the call that media endpoint detected device render volume is set to 0. - * @return float|null + * @return DeviceInfo_renderZeroVolumeEventRatio|null */ - public function getRenderZeroVolumeEventRatio(): ?float { + public function getRenderZeroVolumeEventRatio(): ?DeviceInfo_renderZeroVolumeEventRatio { $val = $this->getBackingStore()->get('renderZeroVolumeEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_renderZeroVolumeEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'renderZeroVolumeEventRatio'"); @@ -341,11 +341,11 @@ public function getSentSignalLevel(): ?int { /** * Gets the speakerGlitchRate property value. Glitches per 5 minute internal for the media endpoint's loudspeaker. - * @return float|null + * @return DeviceInfo_speakerGlitchRate|null */ - public function getSpeakerGlitchRate(): ?float { + public function getSpeakerGlitchRate(): ?DeviceInfo_speakerGlitchRate { $val = $this->getBackingStore()->get('speakerGlitchRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceInfo_speakerGlitchRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'speakerGlitchRate'"); @@ -358,26 +358,26 @@ public function getSpeakerGlitchRate(): ?float { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('captureDeviceDriver', $this->getCaptureDeviceDriver()); $writer->writeStringValue('captureDeviceName', $this->getCaptureDeviceName()); - $writer->writeFloatValue('captureNotFunctioningEventRatio', $this->getCaptureNotFunctioningEventRatio()); - $writer->writeFloatValue('cpuInsufficentEventRatio', $this->getCpuInsufficentEventRatio()); - $writer->writeFloatValue('deviceClippingEventRatio', $this->getDeviceClippingEventRatio()); - $writer->writeFloatValue('deviceGlitchEventRatio', $this->getDeviceGlitchEventRatio()); + $writer->writeObjectValue('captureNotFunctioningEventRatio', $this->getCaptureNotFunctioningEventRatio()); + $writer->writeObjectValue('cpuInsufficentEventRatio', $this->getCpuInsufficentEventRatio()); + $writer->writeObjectValue('deviceClippingEventRatio', $this->getDeviceClippingEventRatio()); + $writer->writeObjectValue('deviceGlitchEventRatio', $this->getDeviceGlitchEventRatio()); $writer->writeIntegerValue('howlingEventCount', $this->getHowlingEventCount()); - $writer->writeFloatValue('initialSignalLevelRootMeanSquare', $this->getInitialSignalLevelRootMeanSquare()); - $writer->writeFloatValue('lowSpeechLevelEventRatio', $this->getLowSpeechLevelEventRatio()); - $writer->writeFloatValue('lowSpeechToNoiseEventRatio', $this->getLowSpeechToNoiseEventRatio()); - $writer->writeFloatValue('micGlitchRate', $this->getMicGlitchRate()); + $writer->writeObjectValue('initialSignalLevelRootMeanSquare', $this->getInitialSignalLevelRootMeanSquare()); + $writer->writeObjectValue('lowSpeechLevelEventRatio', $this->getLowSpeechLevelEventRatio()); + $writer->writeObjectValue('lowSpeechToNoiseEventRatio', $this->getLowSpeechToNoiseEventRatio()); + $writer->writeObjectValue('micGlitchRate', $this->getMicGlitchRate()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeIntegerValue('receivedNoiseLevel', $this->getReceivedNoiseLevel()); $writer->writeIntegerValue('receivedSignalLevel', $this->getReceivedSignalLevel()); $writer->writeStringValue('renderDeviceDriver', $this->getRenderDeviceDriver()); $writer->writeStringValue('renderDeviceName', $this->getRenderDeviceName()); - $writer->writeFloatValue('renderMuteEventRatio', $this->getRenderMuteEventRatio()); - $writer->writeFloatValue('renderNotFunctioningEventRatio', $this->getRenderNotFunctioningEventRatio()); - $writer->writeFloatValue('renderZeroVolumeEventRatio', $this->getRenderZeroVolumeEventRatio()); + $writer->writeObjectValue('renderMuteEventRatio', $this->getRenderMuteEventRatio()); + $writer->writeObjectValue('renderNotFunctioningEventRatio', $this->getRenderNotFunctioningEventRatio()); + $writer->writeObjectValue('renderZeroVolumeEventRatio', $this->getRenderZeroVolumeEventRatio()); $writer->writeIntegerValue('sentNoiseLevel', $this->getSentNoiseLevel()); $writer->writeIntegerValue('sentSignalLevel', $this->getSentSignalLevel()); - $writer->writeFloatValue('speakerGlitchRate', $this->getSpeakerGlitchRate()); + $writer->writeObjectValue('speakerGlitchRate', $this->getSpeakerGlitchRate()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -415,33 +415,33 @@ public function setCaptureDeviceName(?string $value): void { /** * Sets the captureNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the capture device was not working properly. - * @param float|null $value Value to set for the captureNotFunctioningEventRatio property. + * @param DeviceInfo_captureNotFunctioningEventRatio|null $value Value to set for the captureNotFunctioningEventRatio property. */ - public function setCaptureNotFunctioningEventRatio(?float $value): void { + public function setCaptureNotFunctioningEventRatio(?DeviceInfo_captureNotFunctioningEventRatio $value): void { $this->getBackingStore()->set('captureNotFunctioningEventRatio', $value); } /** * Sets the cpuInsufficentEventRatio property value. Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. - * @param float|null $value Value to set for the cpuInsufficentEventRatio property. + * @param DeviceInfo_cpuInsufficentEventRatio|null $value Value to set for the cpuInsufficentEventRatio property. */ - public function setCpuInsufficentEventRatio(?float $value): void { + public function setCpuInsufficentEventRatio(?DeviceInfo_cpuInsufficentEventRatio $value): void { $this->getBackingStore()->set('cpuInsufficentEventRatio', $value); } /** * Sets the deviceClippingEventRatio property value. Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. - * @param float|null $value Value to set for the deviceClippingEventRatio property. + * @param DeviceInfo_deviceClippingEventRatio|null $value Value to set for the deviceClippingEventRatio property. */ - public function setDeviceClippingEventRatio(?float $value): void { + public function setDeviceClippingEventRatio(?DeviceInfo_deviceClippingEventRatio $value): void { $this->getBackingStore()->set('deviceClippingEventRatio', $value); } /** * Sets the deviceGlitchEventRatio property value. Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. - * @param float|null $value Value to set for the deviceGlitchEventRatio property. + * @param DeviceInfo_deviceGlitchEventRatio|null $value Value to set for the deviceGlitchEventRatio property. */ - public function setDeviceGlitchEventRatio(?float $value): void { + public function setDeviceGlitchEventRatio(?DeviceInfo_deviceGlitchEventRatio $value): void { $this->getBackingStore()->set('deviceGlitchEventRatio', $value); } @@ -455,33 +455,33 @@ public function setHowlingEventCount(?int $value): void { /** * Sets the initialSignalLevelRootMeanSquare property value. The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call. - * @param float|null $value Value to set for the initialSignalLevelRootMeanSquare property. + * @param DeviceInfo_initialSignalLevelRootMeanSquare|null $value Value to set for the initialSignalLevelRootMeanSquare property. */ - public function setInitialSignalLevelRootMeanSquare(?float $value): void { + public function setInitialSignalLevelRootMeanSquare(?DeviceInfo_initialSignalLevelRootMeanSquare $value): void { $this->getBackingStore()->set('initialSignalLevelRootMeanSquare', $value); } /** * Sets the lowSpeechLevelEventRatio property value. Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. - * @param float|null $value Value to set for the lowSpeechLevelEventRatio property. + * @param DeviceInfo_lowSpeechLevelEventRatio|null $value Value to set for the lowSpeechLevelEventRatio property. */ - public function setLowSpeechLevelEventRatio(?float $value): void { + public function setLowSpeechLevelEventRatio(?DeviceInfo_lowSpeechLevelEventRatio $value): void { $this->getBackingStore()->set('lowSpeechLevelEventRatio', $value); } /** * Sets the lowSpeechToNoiseEventRatio property value. Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. - * @param float|null $value Value to set for the lowSpeechToNoiseEventRatio property. + * @param DeviceInfo_lowSpeechToNoiseEventRatio|null $value Value to set for the lowSpeechToNoiseEventRatio property. */ - public function setLowSpeechToNoiseEventRatio(?float $value): void { + public function setLowSpeechToNoiseEventRatio(?DeviceInfo_lowSpeechToNoiseEventRatio $value): void { $this->getBackingStore()->set('lowSpeechToNoiseEventRatio', $value); } /** * Sets the micGlitchRate property value. Glitches per 5 minute interval for the media endpoint's microphone. - * @param float|null $value Value to set for the micGlitchRate property. + * @param DeviceInfo_micGlitchRate|null $value Value to set for the micGlitchRate property. */ - public function setMicGlitchRate(?float $value): void { + public function setMicGlitchRate(?DeviceInfo_micGlitchRate $value): void { $this->getBackingStore()->set('micGlitchRate', $value); } @@ -527,25 +527,25 @@ public function setRenderDeviceName(?string $value): void { /** * Sets the renderMuteEventRatio property value. Fraction of the call that media endpoint detected device render is muted. - * @param float|null $value Value to set for the renderMuteEventRatio property. + * @param DeviceInfo_renderMuteEventRatio|null $value Value to set for the renderMuteEventRatio property. */ - public function setRenderMuteEventRatio(?float $value): void { + public function setRenderMuteEventRatio(?DeviceInfo_renderMuteEventRatio $value): void { $this->getBackingStore()->set('renderMuteEventRatio', $value); } /** * Sets the renderNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the render device was not working properly. - * @param float|null $value Value to set for the renderNotFunctioningEventRatio property. + * @param DeviceInfo_renderNotFunctioningEventRatio|null $value Value to set for the renderNotFunctioningEventRatio property. */ - public function setRenderNotFunctioningEventRatio(?float $value): void { + public function setRenderNotFunctioningEventRatio(?DeviceInfo_renderNotFunctioningEventRatio $value): void { $this->getBackingStore()->set('renderNotFunctioningEventRatio', $value); } /** * Sets the renderZeroVolumeEventRatio property value. Fraction of the call that media endpoint detected device render volume is set to 0. - * @param float|null $value Value to set for the renderZeroVolumeEventRatio property. + * @param DeviceInfo_renderZeroVolumeEventRatio|null $value Value to set for the renderZeroVolumeEventRatio property. */ - public function setRenderZeroVolumeEventRatio(?float $value): void { + public function setRenderZeroVolumeEventRatio(?DeviceInfo_renderZeroVolumeEventRatio $value): void { $this->getBackingStore()->set('renderZeroVolumeEventRatio', $value); } @@ -567,9 +567,9 @@ public function setSentSignalLevel(?int $value): void { /** * Sets the speakerGlitchRate property value. Glitches per 5 minute internal for the media endpoint's loudspeaker. - * @param float|null $value Value to set for the speakerGlitchRate property. + * @param DeviceInfo_speakerGlitchRate|null $value Value to set for the speakerGlitchRate property. */ - public function setSpeakerGlitchRate(?float $value): void { + public function setSpeakerGlitchRate(?DeviceInfo_speakerGlitchRate $value): void { $this->getBackingStore()->set('speakerGlitchRate', $value); } diff --git a/src/Generated/Models/CallRecords/DeviceInfo_captureNotFunctioningEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_captureNotFunctioningEventRatio.php new file mode 100644 index 00000000000..2f52ab35ea4 --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_captureNotFunctioningEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_captureNotFunctioningEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_captureNotFunctioningEventRatio { + $result = new DeviceInfo_captureNotFunctioningEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_cpuInsufficentEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_cpuInsufficentEventRatio.php new file mode 100644 index 00000000000..181644d37ef --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_cpuInsufficentEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_cpuInsufficentEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_cpuInsufficentEventRatio { + $result = new DeviceInfo_cpuInsufficentEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_deviceClippingEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_deviceClippingEventRatio.php new file mode 100644 index 00000000000..1e0d27430d2 --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_deviceClippingEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_deviceClippingEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_deviceClippingEventRatio { + $result = new DeviceInfo_deviceClippingEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_deviceGlitchEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_deviceGlitchEventRatio.php new file mode 100644 index 00000000000..5b64a6b832a --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_deviceGlitchEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_deviceGlitchEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_deviceGlitchEventRatio { + $result = new DeviceInfo_deviceGlitchEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_initialSignalLevelRootMeanSquare.php b/src/Generated/Models/CallRecords/DeviceInfo_initialSignalLevelRootMeanSquare.php new file mode 100644 index 00000000000..e6cc617f48d --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_initialSignalLevelRootMeanSquare.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_initialSignalLevelRootMeanSquare + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_initialSignalLevelRootMeanSquare { + $result = new DeviceInfo_initialSignalLevelRootMeanSquare(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_lowSpeechLevelEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_lowSpeechLevelEventRatio.php new file mode 100644 index 00000000000..6a5da63feff --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_lowSpeechLevelEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_lowSpeechLevelEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_lowSpeechLevelEventRatio { + $result = new DeviceInfo_lowSpeechLevelEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_lowSpeechToNoiseEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_lowSpeechToNoiseEventRatio.php new file mode 100644 index 00000000000..dc79480878b --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_lowSpeechToNoiseEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_lowSpeechToNoiseEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_lowSpeechToNoiseEventRatio { + $result = new DeviceInfo_lowSpeechToNoiseEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_micGlitchRate.php b/src/Generated/Models/CallRecords/DeviceInfo_micGlitchRate.php new file mode 100644 index 00000000000..0651bcd1dc9 --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_micGlitchRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_micGlitchRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_micGlitchRate { + $result = new DeviceInfo_micGlitchRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_renderMuteEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_renderMuteEventRatio.php new file mode 100644 index 00000000000..f661d2b58b9 --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_renderMuteEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_renderMuteEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_renderMuteEventRatio { + $result = new DeviceInfo_renderMuteEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_renderNotFunctioningEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_renderNotFunctioningEventRatio.php new file mode 100644 index 00000000000..7ce8771b224 --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_renderNotFunctioningEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_renderNotFunctioningEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_renderNotFunctioningEventRatio { + $result = new DeviceInfo_renderNotFunctioningEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_renderZeroVolumeEventRatio.php b/src/Generated/Models/CallRecords/DeviceInfo_renderZeroVolumeEventRatio.php new file mode 100644 index 00000000000..04bb9cff965 --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_renderZeroVolumeEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_renderZeroVolumeEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_renderZeroVolumeEventRatio { + $result = new DeviceInfo_renderZeroVolumeEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/DeviceInfo_speakerGlitchRate.php b/src/Generated/Models/CallRecords/DeviceInfo_speakerGlitchRate.php new file mode 100644 index 00000000000..d5f96952f15 --- /dev/null +++ b/src/Generated/Models/CallRecords/DeviceInfo_speakerGlitchRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceInfo_speakerGlitchRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo_speakerGlitchRate { + $result = new DeviceInfo_speakerGlitchRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream.php b/src/Generated/Models/CallRecords/MediaStream.php index e74d07d60fc..992ab9aa93f 100644 --- a/src/Generated/Models/CallRecords/MediaStream.php +++ b/src/Generated/Models/CallRecords/MediaStream.php @@ -63,11 +63,11 @@ public function getAudioCodec(): ?AudioCodec { /** * Gets the averageAudioDegradation property value. Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. - * @return float|null + * @return MediaStream_averageAudioDegradation|null */ - public function getAverageAudioDegradation(): ?float { + public function getAverageAudioDegradation(): ?MediaStream_averageAudioDegradation { $val = $this->getBackingStore()->get('averageAudioDegradation'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_averageAudioDegradation) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageAudioDegradation'"); @@ -123,11 +123,11 @@ public function getAverageJitter(): ?DateInterval { /** * Gets the averagePacketLossRate property value. Average packet loss rate for stream. - * @return float|null + * @return MediaStream_averagePacketLossRate|null */ - public function getAveragePacketLossRate(): ?float { + public function getAveragePacketLossRate(): ?MediaStream_averagePacketLossRate { $val = $this->getBackingStore()->get('averagePacketLossRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_averagePacketLossRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averagePacketLossRate'"); @@ -135,11 +135,11 @@ public function getAveragePacketLossRate(): ?float { /** * Gets the averageRatioOfConcealedSamples property value. Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. - * @return float|null + * @return MediaStream_averageRatioOfConcealedSamples|null */ - public function getAverageRatioOfConcealedSamples(): ?float { + public function getAverageRatioOfConcealedSamples(): ?MediaStream_averageRatioOfConcealedSamples { $val = $this->getBackingStore()->get('averageRatioOfConcealedSamples'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_averageRatioOfConcealedSamples) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageRatioOfConcealedSamples'"); @@ -147,11 +147,11 @@ public function getAverageRatioOfConcealedSamples(): ?float { /** * Gets the averageReceivedFrameRate property value. Average frames per second received for all video streams computed over the duration of the session. - * @return float|null + * @return MediaStream_averageReceivedFrameRate|null */ - public function getAverageReceivedFrameRate(): ?float { + public function getAverageReceivedFrameRate(): ?MediaStream_averageReceivedFrameRate { $val = $this->getBackingStore()->get('averageReceivedFrameRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_averageReceivedFrameRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageReceivedFrameRate'"); @@ -171,11 +171,11 @@ public function getAverageRoundTripTime(): ?DateInterval { /** * Gets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user. - * @return float|null + * @return MediaStream_averageVideoFrameLossPercentage|null */ - public function getAverageVideoFrameLossPercentage(): ?float { + public function getAverageVideoFrameLossPercentage(): ?MediaStream_averageVideoFrameLossPercentage { $val = $this->getBackingStore()->get('averageVideoFrameLossPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_averageVideoFrameLossPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageVideoFrameLossPercentage'"); @@ -183,11 +183,11 @@ public function getAverageVideoFrameLossPercentage(): ?float { /** * Gets the averageVideoFrameRate property value. Average frames per second received for a video stream, computed over the duration of the session. - * @return float|null + * @return MediaStream_averageVideoFrameRate|null */ - public function getAverageVideoFrameRate(): ?float { + public function getAverageVideoFrameRate(): ?MediaStream_averageVideoFrameRate { $val = $this->getBackingStore()->get('averageVideoFrameRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_averageVideoFrameRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageVideoFrameRate'"); @@ -195,11 +195,11 @@ public function getAverageVideoFrameRate(): ?float { /** * Gets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session. - * @return float|null + * @return MediaStream_averageVideoPacketLossRate|null */ - public function getAverageVideoPacketLossRate(): ?float { + public function getAverageVideoPacketLossRate(): ?MediaStream_averageVideoPacketLossRate { $val = $this->getBackingStore()->get('averageVideoPacketLossRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_averageVideoPacketLossRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageVideoPacketLossRate'"); @@ -233,30 +233,30 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'audioCodec' => fn(ParseNode $n) => $o->setAudioCodec($n->getEnumValue(AudioCodec::class)), - 'averageAudioDegradation' => fn(ParseNode $n) => $o->setAverageAudioDegradation($n->getFloatValue()), + 'averageAudioDegradation' => fn(ParseNode $n) => $o->setAverageAudioDegradation($n->getObjectValue([MediaStream_averageAudioDegradation::class, 'createFromDiscriminatorValue'])), 'averageAudioNetworkJitter' => fn(ParseNode $n) => $o->setAverageAudioNetworkJitter($n->getDateIntervalValue()), 'averageBandwidthEstimate' => fn(ParseNode $n) => $o->setAverageBandwidthEstimate($n->getIntegerValue()), 'averageFreezeDuration' => fn(ParseNode $n) => $o->setAverageFreezeDuration($n->getDateIntervalValue()), 'averageJitter' => fn(ParseNode $n) => $o->setAverageJitter($n->getDateIntervalValue()), - 'averagePacketLossRate' => fn(ParseNode $n) => $o->setAveragePacketLossRate($n->getFloatValue()), - 'averageRatioOfConcealedSamples' => fn(ParseNode $n) => $o->setAverageRatioOfConcealedSamples($n->getFloatValue()), - 'averageReceivedFrameRate' => fn(ParseNode $n) => $o->setAverageReceivedFrameRate($n->getFloatValue()), + 'averagePacketLossRate' => fn(ParseNode $n) => $o->setAveragePacketLossRate($n->getObjectValue([MediaStream_averagePacketLossRate::class, 'createFromDiscriminatorValue'])), + 'averageRatioOfConcealedSamples' => fn(ParseNode $n) => $o->setAverageRatioOfConcealedSamples($n->getObjectValue([MediaStream_averageRatioOfConcealedSamples::class, 'createFromDiscriminatorValue'])), + 'averageReceivedFrameRate' => fn(ParseNode $n) => $o->setAverageReceivedFrameRate($n->getObjectValue([MediaStream_averageReceivedFrameRate::class, 'createFromDiscriminatorValue'])), 'averageRoundTripTime' => fn(ParseNode $n) => $o->setAverageRoundTripTime($n->getDateIntervalValue()), - 'averageVideoFrameLossPercentage' => fn(ParseNode $n) => $o->setAverageVideoFrameLossPercentage($n->getFloatValue()), - 'averageVideoFrameRate' => fn(ParseNode $n) => $o->setAverageVideoFrameRate($n->getFloatValue()), - 'averageVideoPacketLossRate' => fn(ParseNode $n) => $o->setAverageVideoPacketLossRate($n->getFloatValue()), + 'averageVideoFrameLossPercentage' => fn(ParseNode $n) => $o->setAverageVideoFrameLossPercentage($n->getObjectValue([MediaStream_averageVideoFrameLossPercentage::class, 'createFromDiscriminatorValue'])), + 'averageVideoFrameRate' => fn(ParseNode $n) => $o->setAverageVideoFrameRate($n->getObjectValue([MediaStream_averageVideoFrameRate::class, 'createFromDiscriminatorValue'])), + 'averageVideoPacketLossRate' => fn(ParseNode $n) => $o->setAverageVideoPacketLossRate($n->getObjectValue([MediaStream_averageVideoPacketLossRate::class, 'createFromDiscriminatorValue'])), 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getDateTimeValue()), 'isAudioForwardErrorCorrectionUsed' => fn(ParseNode $n) => $o->setIsAudioForwardErrorCorrectionUsed($n->getBooleanValue()), - 'lowFrameRateRatio' => fn(ParseNode $n) => $o->setLowFrameRateRatio($n->getFloatValue()), - 'lowVideoProcessingCapabilityRatio' => fn(ParseNode $n) => $o->setLowVideoProcessingCapabilityRatio($n->getFloatValue()), + 'lowFrameRateRatio' => fn(ParseNode $n) => $o->setLowFrameRateRatio($n->getObjectValue([MediaStream_lowFrameRateRatio::class, 'createFromDiscriminatorValue'])), + 'lowVideoProcessingCapabilityRatio' => fn(ParseNode $n) => $o->setLowVideoProcessingCapabilityRatio($n->getObjectValue([MediaStream_lowVideoProcessingCapabilityRatio::class, 'createFromDiscriminatorValue'])), 'maxAudioNetworkJitter' => fn(ParseNode $n) => $o->setMaxAudioNetworkJitter($n->getDateIntervalValue()), 'maxJitter' => fn(ParseNode $n) => $o->setMaxJitter($n->getDateIntervalValue()), - 'maxPacketLossRate' => fn(ParseNode $n) => $o->setMaxPacketLossRate($n->getFloatValue()), - 'maxRatioOfConcealedSamples' => fn(ParseNode $n) => $o->setMaxRatioOfConcealedSamples($n->getFloatValue()), + 'maxPacketLossRate' => fn(ParseNode $n) => $o->setMaxPacketLossRate($n->getObjectValue([MediaStream_maxPacketLossRate::class, 'createFromDiscriminatorValue'])), + 'maxRatioOfConcealedSamples' => fn(ParseNode $n) => $o->setMaxRatioOfConcealedSamples($n->getObjectValue([MediaStream_maxRatioOfConcealedSamples::class, 'createFromDiscriminatorValue'])), 'maxRoundTripTime' => fn(ParseNode $n) => $o->setMaxRoundTripTime($n->getDateIntervalValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'packetUtilization' => fn(ParseNode $n) => $o->setPacketUtilization($n->getIntegerValue()), - 'postForwardErrorCorrectionPacketLossRate' => fn(ParseNode $n) => $o->setPostForwardErrorCorrectionPacketLossRate($n->getFloatValue()), + 'postForwardErrorCorrectionPacketLossRate' => fn(ParseNode $n) => $o->setPostForwardErrorCorrectionPacketLossRate($n->getObjectValue([MediaStream_postForwardErrorCorrectionPacketLossRate::class, 'createFromDiscriminatorValue'])), 'rmsFreezeDuration' => fn(ParseNode $n) => $o->setRmsFreezeDuration($n->getDateIntervalValue()), 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getDateTimeValue()), 'streamDirection' => fn(ParseNode $n) => $o->setStreamDirection($n->getEnumValue(MediaStreamDirection::class)), @@ -280,11 +280,11 @@ public function getIsAudioForwardErrorCorrectionUsed(): ?bool { /** * Gets the lowFrameRateRatio property value. Fraction of the call where frame rate is less than 7.5 frames per second. - * @return float|null + * @return MediaStream_lowFrameRateRatio|null */ - public function getLowFrameRateRatio(): ?float { + public function getLowFrameRateRatio(): ?MediaStream_lowFrameRateRatio { $val = $this->getBackingStore()->get('lowFrameRateRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_lowFrameRateRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'lowFrameRateRatio'"); @@ -292,11 +292,11 @@ public function getLowFrameRateRatio(): ?float { /** * Gets the lowVideoProcessingCapabilityRatio property value. Fraction of the call that the client is running less than 70% expected video processing capability. - * @return float|null + * @return MediaStream_lowVideoProcessingCapabilityRatio|null */ - public function getLowVideoProcessingCapabilityRatio(): ?float { + public function getLowVideoProcessingCapabilityRatio(): ?MediaStream_lowVideoProcessingCapabilityRatio { $val = $this->getBackingStore()->get('lowVideoProcessingCapabilityRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_lowVideoProcessingCapabilityRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'lowVideoProcessingCapabilityRatio'"); @@ -328,11 +328,11 @@ public function getMaxJitter(): ?DateInterval { /** * Gets the maxPacketLossRate property value. Maximum packet loss rate for the stream. - * @return float|null + * @return MediaStream_maxPacketLossRate|null */ - public function getMaxPacketLossRate(): ?float { + public function getMaxPacketLossRate(): ?MediaStream_maxPacketLossRate { $val = $this->getBackingStore()->get('maxPacketLossRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_maxPacketLossRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maxPacketLossRate'"); @@ -340,11 +340,11 @@ public function getMaxPacketLossRate(): ?float { /** * Gets the maxRatioOfConcealedSamples property value. Maximum ratio of packets concealed by the healer. - * @return float|null + * @return MediaStream_maxRatioOfConcealedSamples|null */ - public function getMaxRatioOfConcealedSamples(): ?float { + public function getMaxRatioOfConcealedSamples(): ?MediaStream_maxRatioOfConcealedSamples { $val = $this->getBackingStore()->get('maxRatioOfConcealedSamples'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_maxRatioOfConcealedSamples) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maxRatioOfConcealedSamples'"); @@ -388,11 +388,11 @@ public function getPacketUtilization(): ?int { /** * Gets the postForwardErrorCorrectionPacketLossRate property value. Packet loss rate after FEC has been applied aggregated across all video streams and codecs. - * @return float|null + * @return MediaStream_postForwardErrorCorrectionPacketLossRate|null */ - public function getPostForwardErrorCorrectionPacketLossRate(): ?float { + public function getPostForwardErrorCorrectionPacketLossRate(): ?MediaStream_postForwardErrorCorrectionPacketLossRate { $val = $this->getBackingStore()->get('postForwardErrorCorrectionPacketLossRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MediaStream_postForwardErrorCorrectionPacketLossRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'postForwardErrorCorrectionPacketLossRate'"); @@ -476,30 +476,30 @@ public function getWasMediaBypassed(): ?bool { */ public function serialize(SerializationWriter $writer): void { $writer->writeEnumValue('audioCodec', $this->getAudioCodec()); - $writer->writeFloatValue('averageAudioDegradation', $this->getAverageAudioDegradation()); + $writer->writeObjectValue('averageAudioDegradation', $this->getAverageAudioDegradation()); $writer->writeDateIntervalValue('averageAudioNetworkJitter', $this->getAverageAudioNetworkJitter()); $writer->writeIntegerValue('averageBandwidthEstimate', $this->getAverageBandwidthEstimate()); $writer->writeDateIntervalValue('averageFreezeDuration', $this->getAverageFreezeDuration()); $writer->writeDateIntervalValue('averageJitter', $this->getAverageJitter()); - $writer->writeFloatValue('averagePacketLossRate', $this->getAveragePacketLossRate()); - $writer->writeFloatValue('averageRatioOfConcealedSamples', $this->getAverageRatioOfConcealedSamples()); - $writer->writeFloatValue('averageReceivedFrameRate', $this->getAverageReceivedFrameRate()); + $writer->writeObjectValue('averagePacketLossRate', $this->getAveragePacketLossRate()); + $writer->writeObjectValue('averageRatioOfConcealedSamples', $this->getAverageRatioOfConcealedSamples()); + $writer->writeObjectValue('averageReceivedFrameRate', $this->getAverageReceivedFrameRate()); $writer->writeDateIntervalValue('averageRoundTripTime', $this->getAverageRoundTripTime()); - $writer->writeFloatValue('averageVideoFrameLossPercentage', $this->getAverageVideoFrameLossPercentage()); - $writer->writeFloatValue('averageVideoFrameRate', $this->getAverageVideoFrameRate()); - $writer->writeFloatValue('averageVideoPacketLossRate', $this->getAverageVideoPacketLossRate()); + $writer->writeObjectValue('averageVideoFrameLossPercentage', $this->getAverageVideoFrameLossPercentage()); + $writer->writeObjectValue('averageVideoFrameRate', $this->getAverageVideoFrameRate()); + $writer->writeObjectValue('averageVideoPacketLossRate', $this->getAverageVideoPacketLossRate()); $writer->writeDateTimeValue('endDateTime', $this->getEndDateTime()); $writer->writeBooleanValue('isAudioForwardErrorCorrectionUsed', $this->getIsAudioForwardErrorCorrectionUsed()); - $writer->writeFloatValue('lowFrameRateRatio', $this->getLowFrameRateRatio()); - $writer->writeFloatValue('lowVideoProcessingCapabilityRatio', $this->getLowVideoProcessingCapabilityRatio()); + $writer->writeObjectValue('lowFrameRateRatio', $this->getLowFrameRateRatio()); + $writer->writeObjectValue('lowVideoProcessingCapabilityRatio', $this->getLowVideoProcessingCapabilityRatio()); $writer->writeDateIntervalValue('maxAudioNetworkJitter', $this->getMaxAudioNetworkJitter()); $writer->writeDateIntervalValue('maxJitter', $this->getMaxJitter()); - $writer->writeFloatValue('maxPacketLossRate', $this->getMaxPacketLossRate()); - $writer->writeFloatValue('maxRatioOfConcealedSamples', $this->getMaxRatioOfConcealedSamples()); + $writer->writeObjectValue('maxPacketLossRate', $this->getMaxPacketLossRate()); + $writer->writeObjectValue('maxRatioOfConcealedSamples', $this->getMaxRatioOfConcealedSamples()); $writer->writeDateIntervalValue('maxRoundTripTime', $this->getMaxRoundTripTime()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeIntegerValue('packetUtilization', $this->getPacketUtilization()); - $writer->writeFloatValue('postForwardErrorCorrectionPacketLossRate', $this->getPostForwardErrorCorrectionPacketLossRate()); + $writer->writeObjectValue('postForwardErrorCorrectionPacketLossRate', $this->getPostForwardErrorCorrectionPacketLossRate()); $writer->writeDateIntervalValue('rmsFreezeDuration', $this->getRmsFreezeDuration()); $writer->writeDateTimeValue('startDateTime', $this->getStartDateTime()); $writer->writeEnumValue('streamDirection', $this->getStreamDirection()); @@ -527,9 +527,9 @@ public function setAudioCodec(?AudioCodec $value): void { /** * Sets the averageAudioDegradation property value. Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. - * @param float|null $value Value to set for the averageAudioDegradation property. + * @param MediaStream_averageAudioDegradation|null $value Value to set for the averageAudioDegradation property. */ - public function setAverageAudioDegradation(?float $value): void { + public function setAverageAudioDegradation(?MediaStream_averageAudioDegradation $value): void { $this->getBackingStore()->set('averageAudioDegradation', $value); } @@ -567,25 +567,25 @@ public function setAverageJitter(?DateInterval $value): void { /** * Sets the averagePacketLossRate property value. Average packet loss rate for stream. - * @param float|null $value Value to set for the averagePacketLossRate property. + * @param MediaStream_averagePacketLossRate|null $value Value to set for the averagePacketLossRate property. */ - public function setAveragePacketLossRate(?float $value): void { + public function setAveragePacketLossRate(?MediaStream_averagePacketLossRate $value): void { $this->getBackingStore()->set('averagePacketLossRate', $value); } /** * Sets the averageRatioOfConcealedSamples property value. Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. - * @param float|null $value Value to set for the averageRatioOfConcealedSamples property. + * @param MediaStream_averageRatioOfConcealedSamples|null $value Value to set for the averageRatioOfConcealedSamples property. */ - public function setAverageRatioOfConcealedSamples(?float $value): void { + public function setAverageRatioOfConcealedSamples(?MediaStream_averageRatioOfConcealedSamples $value): void { $this->getBackingStore()->set('averageRatioOfConcealedSamples', $value); } /** * Sets the averageReceivedFrameRate property value. Average frames per second received for all video streams computed over the duration of the session. - * @param float|null $value Value to set for the averageReceivedFrameRate property. + * @param MediaStream_averageReceivedFrameRate|null $value Value to set for the averageReceivedFrameRate property. */ - public function setAverageReceivedFrameRate(?float $value): void { + public function setAverageReceivedFrameRate(?MediaStream_averageReceivedFrameRate $value): void { $this->getBackingStore()->set('averageReceivedFrameRate', $value); } @@ -599,25 +599,25 @@ public function setAverageRoundTripTime(?DateInterval $value): void { /** * Sets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user. - * @param float|null $value Value to set for the averageVideoFrameLossPercentage property. + * @param MediaStream_averageVideoFrameLossPercentage|null $value Value to set for the averageVideoFrameLossPercentage property. */ - public function setAverageVideoFrameLossPercentage(?float $value): void { + public function setAverageVideoFrameLossPercentage(?MediaStream_averageVideoFrameLossPercentage $value): void { $this->getBackingStore()->set('averageVideoFrameLossPercentage', $value); } /** * Sets the averageVideoFrameRate property value. Average frames per second received for a video stream, computed over the duration of the session. - * @param float|null $value Value to set for the averageVideoFrameRate property. + * @param MediaStream_averageVideoFrameRate|null $value Value to set for the averageVideoFrameRate property. */ - public function setAverageVideoFrameRate(?float $value): void { + public function setAverageVideoFrameRate(?MediaStream_averageVideoFrameRate $value): void { $this->getBackingStore()->set('averageVideoFrameRate', $value); } /** * Sets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session. - * @param float|null $value Value to set for the averageVideoPacketLossRate property. + * @param MediaStream_averageVideoPacketLossRate|null $value Value to set for the averageVideoPacketLossRate property. */ - public function setAverageVideoPacketLossRate(?float $value): void { + public function setAverageVideoPacketLossRate(?MediaStream_averageVideoPacketLossRate $value): void { $this->getBackingStore()->set('averageVideoPacketLossRate', $value); } @@ -647,17 +647,17 @@ public function setIsAudioForwardErrorCorrectionUsed(?bool $value): void { /** * Sets the lowFrameRateRatio property value. Fraction of the call where frame rate is less than 7.5 frames per second. - * @param float|null $value Value to set for the lowFrameRateRatio property. + * @param MediaStream_lowFrameRateRatio|null $value Value to set for the lowFrameRateRatio property. */ - public function setLowFrameRateRatio(?float $value): void { + public function setLowFrameRateRatio(?MediaStream_lowFrameRateRatio $value): void { $this->getBackingStore()->set('lowFrameRateRatio', $value); } /** * Sets the lowVideoProcessingCapabilityRatio property value. Fraction of the call that the client is running less than 70% expected video processing capability. - * @param float|null $value Value to set for the lowVideoProcessingCapabilityRatio property. + * @param MediaStream_lowVideoProcessingCapabilityRatio|null $value Value to set for the lowVideoProcessingCapabilityRatio property. */ - public function setLowVideoProcessingCapabilityRatio(?float $value): void { + public function setLowVideoProcessingCapabilityRatio(?MediaStream_lowVideoProcessingCapabilityRatio $value): void { $this->getBackingStore()->set('lowVideoProcessingCapabilityRatio', $value); } @@ -679,17 +679,17 @@ public function setMaxJitter(?DateInterval $value): void { /** * Sets the maxPacketLossRate property value. Maximum packet loss rate for the stream. - * @param float|null $value Value to set for the maxPacketLossRate property. + * @param MediaStream_maxPacketLossRate|null $value Value to set for the maxPacketLossRate property. */ - public function setMaxPacketLossRate(?float $value): void { + public function setMaxPacketLossRate(?MediaStream_maxPacketLossRate $value): void { $this->getBackingStore()->set('maxPacketLossRate', $value); } /** * Sets the maxRatioOfConcealedSamples property value. Maximum ratio of packets concealed by the healer. - * @param float|null $value Value to set for the maxRatioOfConcealedSamples property. + * @param MediaStream_maxRatioOfConcealedSamples|null $value Value to set for the maxRatioOfConcealedSamples property. */ - public function setMaxRatioOfConcealedSamples(?float $value): void { + public function setMaxRatioOfConcealedSamples(?MediaStream_maxRatioOfConcealedSamples $value): void { $this->getBackingStore()->set('maxRatioOfConcealedSamples', $value); } @@ -719,9 +719,9 @@ public function setPacketUtilization(?int $value): void { /** * Sets the postForwardErrorCorrectionPacketLossRate property value. Packet loss rate after FEC has been applied aggregated across all video streams and codecs. - * @param float|null $value Value to set for the postForwardErrorCorrectionPacketLossRate property. + * @param MediaStream_postForwardErrorCorrectionPacketLossRate|null $value Value to set for the postForwardErrorCorrectionPacketLossRate property. */ - public function setPostForwardErrorCorrectionPacketLossRate(?float $value): void { + public function setPostForwardErrorCorrectionPacketLossRate(?MediaStream_postForwardErrorCorrectionPacketLossRate $value): void { $this->getBackingStore()->set('postForwardErrorCorrectionPacketLossRate', $value); } diff --git a/src/Generated/Models/CallRecords/MediaStream_averageAudioDegradation.php b/src/Generated/Models/CallRecords/MediaStream_averageAudioDegradation.php new file mode 100644 index 00000000000..8554d64a345 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_averageAudioDegradation.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_averageAudioDegradation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_averageAudioDegradation { + $result = new MediaStream_averageAudioDegradation(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_averagePacketLossRate.php b/src/Generated/Models/CallRecords/MediaStream_averagePacketLossRate.php new file mode 100644 index 00000000000..50202ca3e18 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_averagePacketLossRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_averagePacketLossRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_averagePacketLossRate { + $result = new MediaStream_averagePacketLossRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_averageRatioOfConcealedSamples.php b/src/Generated/Models/CallRecords/MediaStream_averageRatioOfConcealedSamples.php new file mode 100644 index 00000000000..2aa48926377 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_averageRatioOfConcealedSamples.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_averageRatioOfConcealedSamples + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_averageRatioOfConcealedSamples { + $result = new MediaStream_averageRatioOfConcealedSamples(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_averageReceivedFrameRate.php b/src/Generated/Models/CallRecords/MediaStream_averageReceivedFrameRate.php new file mode 100644 index 00000000000..e23a14d2c10 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_averageReceivedFrameRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_averageReceivedFrameRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_averageReceivedFrameRate { + $result = new MediaStream_averageReceivedFrameRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_averageVideoFrameLossPercentage.php b/src/Generated/Models/CallRecords/MediaStream_averageVideoFrameLossPercentage.php new file mode 100644 index 00000000000..9b1431cb438 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_averageVideoFrameLossPercentage.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_averageVideoFrameLossPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_averageVideoFrameLossPercentage { + $result = new MediaStream_averageVideoFrameLossPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_averageVideoFrameRate.php b/src/Generated/Models/CallRecords/MediaStream_averageVideoFrameRate.php new file mode 100644 index 00000000000..80d298022d3 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_averageVideoFrameRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_averageVideoFrameRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_averageVideoFrameRate { + $result = new MediaStream_averageVideoFrameRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_averageVideoPacketLossRate.php b/src/Generated/Models/CallRecords/MediaStream_averageVideoPacketLossRate.php new file mode 100644 index 00000000000..28c7a99809b --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_averageVideoPacketLossRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_averageVideoPacketLossRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_averageVideoPacketLossRate { + $result = new MediaStream_averageVideoPacketLossRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_lowFrameRateRatio.php b/src/Generated/Models/CallRecords/MediaStream_lowFrameRateRatio.php new file mode 100644 index 00000000000..a8218ae1c45 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_lowFrameRateRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_lowFrameRateRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_lowFrameRateRatio { + $result = new MediaStream_lowFrameRateRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_lowVideoProcessingCapabilityRatio.php b/src/Generated/Models/CallRecords/MediaStream_lowVideoProcessingCapabilityRatio.php new file mode 100644 index 00000000000..2c678856b84 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_lowVideoProcessingCapabilityRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_lowVideoProcessingCapabilityRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_lowVideoProcessingCapabilityRatio { + $result = new MediaStream_lowVideoProcessingCapabilityRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_maxPacketLossRate.php b/src/Generated/Models/CallRecords/MediaStream_maxPacketLossRate.php new file mode 100644 index 00000000000..135e481c425 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_maxPacketLossRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_maxPacketLossRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_maxPacketLossRate { + $result = new MediaStream_maxPacketLossRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_maxRatioOfConcealedSamples.php b/src/Generated/Models/CallRecords/MediaStream_maxRatioOfConcealedSamples.php new file mode 100644 index 00000000000..742113554db --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_maxRatioOfConcealedSamples.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_maxRatioOfConcealedSamples + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_maxRatioOfConcealedSamples { + $result = new MediaStream_maxRatioOfConcealedSamples(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/MediaStream_postForwardErrorCorrectionPacketLossRate.php b/src/Generated/Models/CallRecords/MediaStream_postForwardErrorCorrectionPacketLossRate.php new file mode 100644 index 00000000000..6bc9647b917 --- /dev/null +++ b/src/Generated/Models/CallRecords/MediaStream_postForwardErrorCorrectionPacketLossRate.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MediaStream_postForwardErrorCorrectionPacketLossRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MediaStream_postForwardErrorCorrectionPacketLossRate { + $result = new MediaStream_postForwardErrorCorrectionPacketLossRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/NetworkInfo.php b/src/Generated/Models/CallRecords/NetworkInfo.php index 85084c3c0c4..c39c1a009a2 100644 --- a/src/Generated/Models/CallRecords/NetworkInfo.php +++ b/src/Generated/Models/CallRecords/NetworkInfo.php @@ -58,11 +58,11 @@ public function getBackingStore(): BackingStore { /** * Gets the bandwidthLowEventRatio property value. Fraction of the call that the media endpoint detected the available bandwidth or bandwidth policy was low enough to cause poor quality of the audio sent. - * @return float|null + * @return NetworkInfo_bandwidthLowEventRatio|null */ - public function getBandwidthLowEventRatio(): ?float { + public function getBandwidthLowEventRatio(): ?NetworkInfo_bandwidthLowEventRatio { $val = $this->getBackingStore()->get('bandwidthLowEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof NetworkInfo_bandwidthLowEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'bandwidthLowEventRatio'"); @@ -94,11 +94,11 @@ public function getConnectionType(): ?NetworkConnectionType { /** * Gets the delayEventRatio property value. Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. - * @return float|null + * @return NetworkInfo_delayEventRatio|null */ - public function getDelayEventRatio(): ?float { + public function getDelayEventRatio(): ?NetworkInfo_delayEventRatio { $val = $this->getBackingStore()->get('delayEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof NetworkInfo_delayEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'delayEventRatio'"); @@ -123,10 +123,10 @@ public function getDnsSuffix(): ?string { public function getFieldDeserializers(): array { $o = $this; return [ - 'bandwidthLowEventRatio' => fn(ParseNode $n) => $o->setBandwidthLowEventRatio($n->getFloatValue()), + 'bandwidthLowEventRatio' => fn(ParseNode $n) => $o->setBandwidthLowEventRatio($n->getObjectValue([NetworkInfo_bandwidthLowEventRatio::class, 'createFromDiscriminatorValue'])), 'basicServiceSetIdentifier' => fn(ParseNode $n) => $o->setBasicServiceSetIdentifier($n->getStringValue()), 'connectionType' => fn(ParseNode $n) => $o->setConnectionType($n->getEnumValue(NetworkConnectionType::class)), - 'delayEventRatio' => fn(ParseNode $n) => $o->setDelayEventRatio($n->getFloatValue()), + 'delayEventRatio' => fn(ParseNode $n) => $o->setDelayEventRatio($n->getObjectValue([NetworkInfo_delayEventRatio::class, 'createFromDiscriminatorValue'])), 'dnsSuffix' => fn(ParseNode $n) => $o->setDnsSuffix($n->getStringValue()), 'ipAddress' => fn(ParseNode $n) => $o->setIpAddress($n->getStringValue()), 'linkSpeed' => fn(ParseNode $n) => $o->setLinkSpeed($n->getIntegerValue()), @@ -134,11 +134,11 @@ public function getFieldDeserializers(): array { 'networkTransportProtocol' => fn(ParseNode $n) => $o->setNetworkTransportProtocol($n->getEnumValue(NetworkTransportProtocol::class)), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'port' => fn(ParseNode $n) => $o->setPort($n->getIntegerValue()), - 'receivedQualityEventRatio' => fn(ParseNode $n) => $o->setReceivedQualityEventRatio($n->getFloatValue()), + 'receivedQualityEventRatio' => fn(ParseNode $n) => $o->setReceivedQualityEventRatio($n->getObjectValue([NetworkInfo_receivedQualityEventRatio::class, 'createFromDiscriminatorValue'])), 'reflexiveIPAddress' => fn(ParseNode $n) => $o->setReflexiveIPAddress($n->getStringValue()), 'relayIPAddress' => fn(ParseNode $n) => $o->setRelayIPAddress($n->getStringValue()), 'relayPort' => fn(ParseNode $n) => $o->setRelayPort($n->getIntegerValue()), - 'sentQualityEventRatio' => fn(ParseNode $n) => $o->setSentQualityEventRatio($n->getFloatValue()), + 'sentQualityEventRatio' => fn(ParseNode $n) => $o->setSentQualityEventRatio($n->getObjectValue([NetworkInfo_sentQualityEventRatio::class, 'createFromDiscriminatorValue'])), 'subnet' => fn(ParseNode $n) => $o->setSubnet($n->getStringValue()), 'traceRouteHops' => fn(ParseNode $n) => $o->setTraceRouteHops($n->getCollectionOfObjectValues([TraceRouteHop::class, 'createFromDiscriminatorValue'])), 'wifiBand' => fn(ParseNode $n) => $o->setWifiBand($n->getEnumValue(WifiBand::class)), @@ -227,11 +227,11 @@ public function getPort(): ?int { /** * Gets the receivedQualityEventRatio property value. Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. - * @return float|null + * @return NetworkInfo_receivedQualityEventRatio|null */ - public function getReceivedQualityEventRatio(): ?float { + public function getReceivedQualityEventRatio(): ?NetworkInfo_receivedQualityEventRatio { $val = $this->getBackingStore()->get('receivedQualityEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof NetworkInfo_receivedQualityEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'receivedQualityEventRatio'"); @@ -275,11 +275,11 @@ public function getRelayPort(): ?int { /** * Gets the sentQualityEventRatio property value. Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. - * @return float|null + * @return NetworkInfo_sentQualityEventRatio|null */ - public function getSentQualityEventRatio(): ?float { + public function getSentQualityEventRatio(): ?NetworkInfo_sentQualityEventRatio { $val = $this->getBackingStore()->get('sentQualityEventRatio'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof NetworkInfo_sentQualityEventRatio) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'sentQualityEventRatio'"); @@ -424,10 +424,10 @@ public function getWifiVendorDriverVersion(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeFloatValue('bandwidthLowEventRatio', $this->getBandwidthLowEventRatio()); + $writer->writeObjectValue('bandwidthLowEventRatio', $this->getBandwidthLowEventRatio()); $writer->writeStringValue('basicServiceSetIdentifier', $this->getBasicServiceSetIdentifier()); $writer->writeEnumValue('connectionType', $this->getConnectionType()); - $writer->writeFloatValue('delayEventRatio', $this->getDelayEventRatio()); + $writer->writeObjectValue('delayEventRatio', $this->getDelayEventRatio()); $writer->writeStringValue('dnsSuffix', $this->getDnsSuffix()); $writer->writeStringValue('ipAddress', $this->getIpAddress()); $writer->writeIntegerValue('linkSpeed', $this->getLinkSpeed()); @@ -435,11 +435,11 @@ public function serialize(SerializationWriter $writer): void { $writer->writeEnumValue('networkTransportProtocol', $this->getNetworkTransportProtocol()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeIntegerValue('port', $this->getPort()); - $writer->writeFloatValue('receivedQualityEventRatio', $this->getReceivedQualityEventRatio()); + $writer->writeObjectValue('receivedQualityEventRatio', $this->getReceivedQualityEventRatio()); $writer->writeStringValue('reflexiveIPAddress', $this->getReflexiveIPAddress()); $writer->writeStringValue('relayIPAddress', $this->getRelayIPAddress()); $writer->writeIntegerValue('relayPort', $this->getRelayPort()); - $writer->writeFloatValue('sentQualityEventRatio', $this->getSentQualityEventRatio()); + $writer->writeObjectValue('sentQualityEventRatio', $this->getSentQualityEventRatio()); $writer->writeStringValue('subnet', $this->getSubnet()); $writer->writeCollectionOfObjectValues('traceRouteHops', $this->getTraceRouteHops()); $writer->writeEnumValue('wifiBand', $this->getWifiBand()); @@ -472,9 +472,9 @@ public function setBackingStore(BackingStore $value): void { /** * Sets the bandwidthLowEventRatio property value. Fraction of the call that the media endpoint detected the available bandwidth or bandwidth policy was low enough to cause poor quality of the audio sent. - * @param float|null $value Value to set for the bandwidthLowEventRatio property. + * @param NetworkInfo_bandwidthLowEventRatio|null $value Value to set for the bandwidthLowEventRatio property. */ - public function setBandwidthLowEventRatio(?float $value): void { + public function setBandwidthLowEventRatio(?NetworkInfo_bandwidthLowEventRatio $value): void { $this->getBackingStore()->set('bandwidthLowEventRatio', $value); } @@ -496,9 +496,9 @@ public function setConnectionType(?NetworkConnectionType $value): void { /** * Sets the delayEventRatio property value. Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. - * @param float|null $value Value to set for the delayEventRatio property. + * @param NetworkInfo_delayEventRatio|null $value Value to set for the delayEventRatio property. */ - public function setDelayEventRatio(?float $value): void { + public function setDelayEventRatio(?NetworkInfo_delayEventRatio $value): void { $this->getBackingStore()->set('delayEventRatio', $value); } @@ -560,9 +560,9 @@ public function setPort(?int $value): void { /** * Sets the receivedQualityEventRatio property value. Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. - * @param float|null $value Value to set for the receivedQualityEventRatio property. + * @param NetworkInfo_receivedQualityEventRatio|null $value Value to set for the receivedQualityEventRatio property. */ - public function setReceivedQualityEventRatio(?float $value): void { + public function setReceivedQualityEventRatio(?NetworkInfo_receivedQualityEventRatio $value): void { $this->getBackingStore()->set('receivedQualityEventRatio', $value); } @@ -592,9 +592,9 @@ public function setRelayPort(?int $value): void { /** * Sets the sentQualityEventRatio property value. Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. - * @param float|null $value Value to set for the sentQualityEventRatio property. + * @param NetworkInfo_sentQualityEventRatio|null $value Value to set for the sentQualityEventRatio property. */ - public function setSentQualityEventRatio(?float $value): void { + public function setSentQualityEventRatio(?NetworkInfo_sentQualityEventRatio $value): void { $this->getBackingStore()->set('sentQualityEventRatio', $value); } diff --git a/src/Generated/Models/CallRecords/NetworkInfo_bandwidthLowEventRatio.php b/src/Generated/Models/CallRecords/NetworkInfo_bandwidthLowEventRatio.php new file mode 100644 index 00000000000..8e0c9823e1a --- /dev/null +++ b/src/Generated/Models/CallRecords/NetworkInfo_bandwidthLowEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return NetworkInfo_bandwidthLowEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): NetworkInfo_bandwidthLowEventRatio { + $result = new NetworkInfo_bandwidthLowEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/NetworkInfo_delayEventRatio.php b/src/Generated/Models/CallRecords/NetworkInfo_delayEventRatio.php new file mode 100644 index 00000000000..95a2b690f0d --- /dev/null +++ b/src/Generated/Models/CallRecords/NetworkInfo_delayEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return NetworkInfo_delayEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): NetworkInfo_delayEventRatio { + $result = new NetworkInfo_delayEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/NetworkInfo_receivedQualityEventRatio.php b/src/Generated/Models/CallRecords/NetworkInfo_receivedQualityEventRatio.php new file mode 100644 index 00000000000..08350d3d323 --- /dev/null +++ b/src/Generated/Models/CallRecords/NetworkInfo_receivedQualityEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return NetworkInfo_receivedQualityEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): NetworkInfo_receivedQualityEventRatio { + $result = new NetworkInfo_receivedQualityEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/CallRecords/NetworkInfo_sentQualityEventRatio.php b/src/Generated/Models/CallRecords/NetworkInfo_sentQualityEventRatio.php new file mode 100644 index 00000000000..57cdd5a76a8 --- /dev/null +++ b/src/Generated/Models/CallRecords/NetworkInfo_sentQualityEventRatio.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return NetworkInfo_sentQualityEventRatio + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): NetworkInfo_sentQualityEventRatio { + $result = new NetworkInfo_sentQualityEventRatio(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/ControlScore.php b/src/Generated/Models/ControlScore.php index 80586f64e83..5e505d495d5 100644 --- a/src/Generated/Models/ControlScore.php +++ b/src/Generated/Models/ControlScore.php @@ -102,7 +102,7 @@ public function getFieldDeserializers(): array { 'controlName' => fn(ParseNode $n) => $o->setControlName($n->getStringValue()), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'score' => fn(ParseNode $n) => $o->setScore($n->getFloatValue()), + 'score' => fn(ParseNode $n) => $o->setScore($n->getObjectValue([ControlScore_score::class, 'createFromDiscriminatorValue'])), ]; } @@ -120,11 +120,11 @@ public function getOdataType(): ?string { /** * Gets the score property value. Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). - * @return float|null + * @return ControlScore_score|null */ - public function getScore(): ?float { + public function getScore(): ?ControlScore_score { $val = $this->getBackingStore()->get('score'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof ControlScore_score) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'score'"); @@ -139,7 +139,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('controlName', $this->getControlName()); $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeFloatValue('score', $this->getScore()); + $writer->writeObjectValue('score', $this->getScore()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -193,9 +193,9 @@ public function setOdataType(?string $value): void { /** * Sets the score property value. Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). - * @param float|null $value Value to set for the score property. + * @param ControlScore_score|null $value Value to set for the score property. */ - public function setScore(?float $value): void { + public function setScore(?ControlScore_score $value): void { $this->getBackingStore()->set('score', $value); } diff --git a/src/Generated/Models/ControlScore_score.php b/src/Generated/Models/ControlScore_score.php new file mode 100644 index 00000000000..6ba38d33969 --- /dev/null +++ b/src/Generated/Models/ControlScore_score.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ControlScore_score + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ControlScore_score { + $result = new ControlScore_score(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DataPolicyOperation.php b/src/Generated/Models/DataPolicyOperation.php index 87da8af2714..115784732c9 100644 --- a/src/Generated/Models/DataPolicyOperation.php +++ b/src/Generated/Models/DataPolicyOperation.php @@ -45,7 +45,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'completedDateTime' => fn(ParseNode $n) => $o->setCompletedDateTime($n->getDateTimeValue()), - 'progress' => fn(ParseNode $n) => $o->setProgress($n->getFloatValue()), + 'progress' => fn(ParseNode $n) => $o->setProgress($n->getObjectValue([DataPolicyOperation_progress::class, 'createFromDiscriminatorValue'])), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(DataPolicyOperationStatus::class)), 'storageLocation' => fn(ParseNode $n) => $o->setStorageLocation($n->getStringValue()), 'submittedDateTime' => fn(ParseNode $n) => $o->setSubmittedDateTime($n->getDateTimeValue()), @@ -55,11 +55,11 @@ public function getFieldDeserializers(): array { /** * Gets the progress property value. Specifies the progress of an operation. - * @return float|null + * @return DataPolicyOperation_progress|null */ - public function getProgress(): ?float { + public function getProgress(): ?DataPolicyOperation_progress { $val = $this->getBackingStore()->get('progress'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DataPolicyOperation_progress) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'progress'"); @@ -120,7 +120,7 @@ public function getUserId(): ?string { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeDateTimeValue('completedDateTime', $this->getCompletedDateTime()); - $writer->writeFloatValue('progress', $this->getProgress()); + $writer->writeObjectValue('progress', $this->getProgress()); $writer->writeEnumValue('status', $this->getStatus()); $writer->writeStringValue('storageLocation', $this->getStorageLocation()); $writer->writeDateTimeValue('submittedDateTime', $this->getSubmittedDateTime()); @@ -137,9 +137,9 @@ public function setCompletedDateTime(?DateTime $value): void { /** * Sets the progress property value. Specifies the progress of an operation. - * @param float|null $value Value to set for the progress property. + * @param DataPolicyOperation_progress|null $value Value to set for the progress property. */ - public function setProgress(?float $value): void { + public function setProgress(?DataPolicyOperation_progress $value): void { $this->getBackingStore()->set('progress', $value); } diff --git a/src/Generated/Models/DataPolicyOperation_progress.php b/src/Generated/Models/DataPolicyOperation_progress.php new file mode 100644 index 00000000000..62e4912935a --- /dev/null +++ b/src/Generated/Models/DataPolicyOperation_progress.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DataPolicyOperation_progress + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DataPolicyOperation_progress { + $result = new DataPolicyOperation_progress(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceGeoLocation.php b/src/Generated/Models/DeviceGeoLocation.php index 1fe6aff0915..285323d12a3 100644 --- a/src/Generated/Models/DeviceGeoLocation.php +++ b/src/Generated/Models/DeviceGeoLocation.php @@ -53,11 +53,11 @@ public function getAdditionalData(): ?array { /** * Gets the altitude property value. Altitude, given in meters above sea level - * @return float|null + * @return DeviceGeoLocation_altitude|null */ - public function getAltitude(): ?float { + public function getAltitude(): ?DeviceGeoLocation_altitude { $val = $this->getBackingStore()->get('altitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceGeoLocation_altitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'altitude'"); @@ -78,25 +78,25 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'altitude' => fn(ParseNode $n) => $o->setAltitude($n->getFloatValue()), - 'heading' => fn(ParseNode $n) => $o->setHeading($n->getFloatValue()), - 'horizontalAccuracy' => fn(ParseNode $n) => $o->setHorizontalAccuracy($n->getFloatValue()), + 'altitude' => fn(ParseNode $n) => $o->setAltitude($n->getObjectValue([DeviceGeoLocation_altitude::class, 'createFromDiscriminatorValue'])), + 'heading' => fn(ParseNode $n) => $o->setHeading($n->getObjectValue([DeviceGeoLocation_heading::class, 'createFromDiscriminatorValue'])), + 'horizontalAccuracy' => fn(ParseNode $n) => $o->setHorizontalAccuracy($n->getObjectValue([DeviceGeoLocation_horizontalAccuracy::class, 'createFromDiscriminatorValue'])), 'lastCollectedDateTime' => fn(ParseNode $n) => $o->setLastCollectedDateTime($n->getDateTimeValue()), - 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getFloatValue()), - 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getFloatValue()), + 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getObjectValue([DeviceGeoLocation_latitude::class, 'createFromDiscriminatorValue'])), + 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getObjectValue([DeviceGeoLocation_longitude::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'speed' => fn(ParseNode $n) => $o->setSpeed($n->getFloatValue()), - 'verticalAccuracy' => fn(ParseNode $n) => $o->setVerticalAccuracy($n->getFloatValue()), + 'speed' => fn(ParseNode $n) => $o->setSpeed($n->getObjectValue([DeviceGeoLocation_speed::class, 'createFromDiscriminatorValue'])), + 'verticalAccuracy' => fn(ParseNode $n) => $o->setVerticalAccuracy($n->getObjectValue([DeviceGeoLocation_verticalAccuracy::class, 'createFromDiscriminatorValue'])), ]; } /** * Gets the heading property value. Heading in degrees from true north - * @return float|null + * @return DeviceGeoLocation_heading|null */ - public function getHeading(): ?float { + public function getHeading(): ?DeviceGeoLocation_heading { $val = $this->getBackingStore()->get('heading'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceGeoLocation_heading) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'heading'"); @@ -104,11 +104,11 @@ public function getHeading(): ?float { /** * Gets the horizontalAccuracy property value. Accuracy of longitude and latitude in meters - * @return float|null + * @return DeviceGeoLocation_horizontalAccuracy|null */ - public function getHorizontalAccuracy(): ?float { + public function getHorizontalAccuracy(): ?DeviceGeoLocation_horizontalAccuracy { $val = $this->getBackingStore()->get('horizontalAccuracy'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceGeoLocation_horizontalAccuracy) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'horizontalAccuracy'"); @@ -128,11 +128,11 @@ public function getLastCollectedDateTime(): ?DateTime { /** * Gets the latitude property value. Latitude coordinate of the device's location - * @return float|null + * @return DeviceGeoLocation_latitude|null */ - public function getLatitude(): ?float { + public function getLatitude(): ?DeviceGeoLocation_latitude { $val = $this->getBackingStore()->get('latitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceGeoLocation_latitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'latitude'"); @@ -140,11 +140,11 @@ public function getLatitude(): ?float { /** * Gets the longitude property value. Longitude coordinate of the device's location - * @return float|null + * @return DeviceGeoLocation_longitude|null */ - public function getLongitude(): ?float { + public function getLongitude(): ?DeviceGeoLocation_longitude { $val = $this->getBackingStore()->get('longitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceGeoLocation_longitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'longitude'"); @@ -164,11 +164,11 @@ public function getOdataType(): ?string { /** * Gets the speed property value. Speed the device is traveling in meters per second - * @return float|null + * @return DeviceGeoLocation_speed|null */ - public function getSpeed(): ?float { + public function getSpeed(): ?DeviceGeoLocation_speed { $val = $this->getBackingStore()->get('speed'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceGeoLocation_speed) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'speed'"); @@ -176,11 +176,11 @@ public function getSpeed(): ?float { /** * Gets the verticalAccuracy property value. Accuracy of altitude in meters - * @return float|null + * @return DeviceGeoLocation_verticalAccuracy|null */ - public function getVerticalAccuracy(): ?float { + public function getVerticalAccuracy(): ?DeviceGeoLocation_verticalAccuracy { $val = $this->getBackingStore()->get('verticalAccuracy'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceGeoLocation_verticalAccuracy) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'verticalAccuracy'"); @@ -191,15 +191,15 @@ public function getVerticalAccuracy(): ?float { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeFloatValue('altitude', $this->getAltitude()); - $writer->writeFloatValue('heading', $this->getHeading()); - $writer->writeFloatValue('horizontalAccuracy', $this->getHorizontalAccuracy()); + $writer->writeObjectValue('altitude', $this->getAltitude()); + $writer->writeObjectValue('heading', $this->getHeading()); + $writer->writeObjectValue('horizontalAccuracy', $this->getHorizontalAccuracy()); $writer->writeDateTimeValue('lastCollectedDateTime', $this->getLastCollectedDateTime()); - $writer->writeFloatValue('latitude', $this->getLatitude()); - $writer->writeFloatValue('longitude', $this->getLongitude()); + $writer->writeObjectValue('latitude', $this->getLatitude()); + $writer->writeObjectValue('longitude', $this->getLongitude()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeFloatValue('speed', $this->getSpeed()); - $writer->writeFloatValue('verticalAccuracy', $this->getVerticalAccuracy()); + $writer->writeObjectValue('speed', $this->getSpeed()); + $writer->writeObjectValue('verticalAccuracy', $this->getVerticalAccuracy()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -213,9 +213,9 @@ public function setAdditionalData(?array $value): void { /** * Sets the altitude property value. Altitude, given in meters above sea level - * @param float|null $value Value to set for the altitude property. + * @param DeviceGeoLocation_altitude|null $value Value to set for the altitude property. */ - public function setAltitude(?float $value): void { + public function setAltitude(?DeviceGeoLocation_altitude $value): void { $this->getBackingStore()->set('altitude', $value); } @@ -229,17 +229,17 @@ public function setBackingStore(BackingStore $value): void { /** * Sets the heading property value. Heading in degrees from true north - * @param float|null $value Value to set for the heading property. + * @param DeviceGeoLocation_heading|null $value Value to set for the heading property. */ - public function setHeading(?float $value): void { + public function setHeading(?DeviceGeoLocation_heading $value): void { $this->getBackingStore()->set('heading', $value); } /** * Sets the horizontalAccuracy property value. Accuracy of longitude and latitude in meters - * @param float|null $value Value to set for the horizontalAccuracy property. + * @param DeviceGeoLocation_horizontalAccuracy|null $value Value to set for the horizontalAccuracy property. */ - public function setHorizontalAccuracy(?float $value): void { + public function setHorizontalAccuracy(?DeviceGeoLocation_horizontalAccuracy $value): void { $this->getBackingStore()->set('horizontalAccuracy', $value); } @@ -253,17 +253,17 @@ public function setLastCollectedDateTime(?DateTime $value): void { /** * Sets the latitude property value. Latitude coordinate of the device's location - * @param float|null $value Value to set for the latitude property. + * @param DeviceGeoLocation_latitude|null $value Value to set for the latitude property. */ - public function setLatitude(?float $value): void { + public function setLatitude(?DeviceGeoLocation_latitude $value): void { $this->getBackingStore()->set('latitude', $value); } /** * Sets the longitude property value. Longitude coordinate of the device's location - * @param float|null $value Value to set for the longitude property. + * @param DeviceGeoLocation_longitude|null $value Value to set for the longitude property. */ - public function setLongitude(?float $value): void { + public function setLongitude(?DeviceGeoLocation_longitude $value): void { $this->getBackingStore()->set('longitude', $value); } @@ -277,17 +277,17 @@ public function setOdataType(?string $value): void { /** * Sets the speed property value. Speed the device is traveling in meters per second - * @param float|null $value Value to set for the speed property. + * @param DeviceGeoLocation_speed|null $value Value to set for the speed property. */ - public function setSpeed(?float $value): void { + public function setSpeed(?DeviceGeoLocation_speed $value): void { $this->getBackingStore()->set('speed', $value); } /** * Sets the verticalAccuracy property value. Accuracy of altitude in meters - * @param float|null $value Value to set for the verticalAccuracy property. + * @param DeviceGeoLocation_verticalAccuracy|null $value Value to set for the verticalAccuracy property. */ - public function setVerticalAccuracy(?float $value): void { + public function setVerticalAccuracy(?DeviceGeoLocation_verticalAccuracy $value): void { $this->getBackingStore()->set('verticalAccuracy', $value); } diff --git a/src/Generated/Models/DeviceGeoLocation_altitude.php b/src/Generated/Models/DeviceGeoLocation_altitude.php new file mode 100644 index 00000000000..37c93544938 --- /dev/null +++ b/src/Generated/Models/DeviceGeoLocation_altitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceGeoLocation_altitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceGeoLocation_altitude { + $result = new DeviceGeoLocation_altitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceGeoLocation_heading.php b/src/Generated/Models/DeviceGeoLocation_heading.php new file mode 100644 index 00000000000..50cd44a01be --- /dev/null +++ b/src/Generated/Models/DeviceGeoLocation_heading.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceGeoLocation_heading + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceGeoLocation_heading { + $result = new DeviceGeoLocation_heading(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceGeoLocation_horizontalAccuracy.php b/src/Generated/Models/DeviceGeoLocation_horizontalAccuracy.php new file mode 100644 index 00000000000..35b110fdd4d --- /dev/null +++ b/src/Generated/Models/DeviceGeoLocation_horizontalAccuracy.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceGeoLocation_horizontalAccuracy + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceGeoLocation_horizontalAccuracy { + $result = new DeviceGeoLocation_horizontalAccuracy(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceGeoLocation_latitude.php b/src/Generated/Models/DeviceGeoLocation_latitude.php new file mode 100644 index 00000000000..a3292f4146e --- /dev/null +++ b/src/Generated/Models/DeviceGeoLocation_latitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceGeoLocation_latitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceGeoLocation_latitude { + $result = new DeviceGeoLocation_latitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceGeoLocation_longitude.php b/src/Generated/Models/DeviceGeoLocation_longitude.php new file mode 100644 index 00000000000..49657e9c842 --- /dev/null +++ b/src/Generated/Models/DeviceGeoLocation_longitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceGeoLocation_longitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceGeoLocation_longitude { + $result = new DeviceGeoLocation_longitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceGeoLocation_speed.php b/src/Generated/Models/DeviceGeoLocation_speed.php new file mode 100644 index 00000000000..98412783fd8 --- /dev/null +++ b/src/Generated/Models/DeviceGeoLocation_speed.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceGeoLocation_speed + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceGeoLocation_speed { + $result = new DeviceGeoLocation_speed(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceGeoLocation_verticalAccuracy.php b/src/Generated/Models/DeviceGeoLocation_verticalAccuracy.php new file mode 100644 index 00000000000..b35e20bfe17 --- /dev/null +++ b/src/Generated/Models/DeviceGeoLocation_verticalAccuracy.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceGeoLocation_verticalAccuracy + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceGeoLocation_verticalAccuracy { + $result = new DeviceGeoLocation_verticalAccuracy(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/DeviceLogCollectionResponse.php b/src/Generated/Models/DeviceLogCollectionResponse.php index e706611ce39..885d389a67a 100644 --- a/src/Generated/Models/DeviceLogCollectionResponse.php +++ b/src/Generated/Models/DeviceLogCollectionResponse.php @@ -65,7 +65,7 @@ public function getFieldDeserializers(): array { 'managedDeviceId' => fn(ParseNode $n) => $o->setManagedDeviceId($n->getStringValue()), 'receivedDateTimeUTC' => fn(ParseNode $n) => $o->setReceivedDateTimeUTC($n->getDateTimeValue()), 'requestedDateTimeUTC' => fn(ParseNode $n) => $o->setRequestedDateTimeUTC($n->getDateTimeValue()), - 'sizeInKB' => fn(ParseNode $n) => $o->setSizeInKB($n->getFloatValue()), + 'sizeInKB' => fn(ParseNode $n) => $o->setSizeInKB($n->getObjectValue([DeviceLogCollectionResponse_sizeInKB::class, 'createFromDiscriminatorValue'])), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(AppLogUploadState::class)), ]); } @@ -120,11 +120,11 @@ public function getRequestedDateTimeUTC(): ?DateTime { /** * Gets the sizeInKB property value. The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return DeviceLogCollectionResponse_sizeInKB|null */ - public function getSizeInKB(): ?float { + public function getSizeInKB(): ?DeviceLogCollectionResponse_sizeInKB { $val = $this->getBackingStore()->get('sizeInKB'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof DeviceLogCollectionResponse_sizeInKB) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'sizeInKB'"); @@ -154,7 +154,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('managedDeviceId', $this->getManagedDeviceId()); $writer->writeDateTimeValue('receivedDateTimeUTC', $this->getReceivedDateTimeUTC()); $writer->writeDateTimeValue('requestedDateTimeUTC', $this->getRequestedDateTimeUTC()); - $writer->writeFloatValue('sizeInKB', $this->getSizeInKB()); + $writer->writeObjectValue('sizeInKB', $this->getSizeInKB()); $writer->writeEnumValue('status', $this->getStatus()); } @@ -208,9 +208,9 @@ public function setRequestedDateTimeUTC(?DateTime $value): void { /** * Sets the sizeInKB property value. The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the sizeInKB property. + * @param DeviceLogCollectionResponse_sizeInKB|null $value Value to set for the sizeInKB property. */ - public function setSizeInKB(?float $value): void { + public function setSizeInKB(?DeviceLogCollectionResponse_sizeInKB $value): void { $this->getBackingStore()->set('sizeInKB', $value); } diff --git a/src/Generated/Models/DeviceLogCollectionResponse_sizeInKB.php b/src/Generated/Models/DeviceLogCollectionResponse_sizeInKB.php new file mode 100644 index 00000000000..d3eae70ba1b --- /dev/null +++ b/src/Generated/Models/DeviceLogCollectionResponse_sizeInKB.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeviceLogCollectionResponse_sizeInKB + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceLogCollectionResponse_sizeInKB { + $result = new DeviceLogCollectionResponse_sizeInKB(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/EducationAssignmentPointsGrade.php b/src/Generated/Models/EducationAssignmentPointsGrade.php index 9fc6af35f76..2f00c32f65d 100644 --- a/src/Generated/Models/EducationAssignmentPointsGrade.php +++ b/src/Generated/Models/EducationAssignmentPointsGrade.php @@ -32,17 +32,17 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Educa public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'points' => fn(ParseNode $n) => $o->setPoints($n->getFloatValue()), + 'points' => fn(ParseNode $n) => $o->setPoints($n->getObjectValue([EducationAssignmentPointsGrade_points::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the points property value. Number of points a teacher is giving this submission object. - * @return float|null + * @return EducationAssignmentPointsGrade_points|null */ - public function getPoints(): ?float { + public function getPoints(): ?EducationAssignmentPointsGrade_points { $val = $this->getBackingStore()->get('points'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof EducationAssignmentPointsGrade_points) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'points'"); @@ -54,14 +54,14 @@ public function getPoints(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('points', $this->getPoints()); + $writer->writeObjectValue('points', $this->getPoints()); } /** * Sets the points property value. Number of points a teacher is giving this submission object. - * @param float|null $value Value to set for the points property. + * @param EducationAssignmentPointsGrade_points|null $value Value to set for the points property. */ - public function setPoints(?float $value): void { + public function setPoints(?EducationAssignmentPointsGrade_points $value): void { $this->getBackingStore()->set('points', $value); } diff --git a/src/Generated/Models/EducationAssignmentPointsGradeType.php b/src/Generated/Models/EducationAssignmentPointsGradeType.php index 059eeaccbac..87ef942a4e4 100644 --- a/src/Generated/Models/EducationAssignmentPointsGradeType.php +++ b/src/Generated/Models/EducationAssignmentPointsGradeType.php @@ -32,17 +32,17 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Educa public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'maxPoints' => fn(ParseNode $n) => $o->setMaxPoints($n->getFloatValue()), + 'maxPoints' => fn(ParseNode $n) => $o->setMaxPoints($n->getObjectValue([EducationAssignmentPointsGradeType_maxPoints::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the maxPoints property value. Max points possible for this assignment. - * @return float|null + * @return EducationAssignmentPointsGradeType_maxPoints|null */ - public function getMaxPoints(): ?float { + public function getMaxPoints(): ?EducationAssignmentPointsGradeType_maxPoints { $val = $this->getBackingStore()->get('maxPoints'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof EducationAssignmentPointsGradeType_maxPoints) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maxPoints'"); @@ -54,14 +54,14 @@ public function getMaxPoints(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('maxPoints', $this->getMaxPoints()); + $writer->writeObjectValue('maxPoints', $this->getMaxPoints()); } /** * Sets the maxPoints property value. Max points possible for this assignment. - * @param float|null $value Value to set for the maxPoints property. + * @param EducationAssignmentPointsGradeType_maxPoints|null $value Value to set for the maxPoints property. */ - public function setMaxPoints(?float $value): void { + public function setMaxPoints(?EducationAssignmentPointsGradeType_maxPoints $value): void { $this->getBackingStore()->set('maxPoints', $value); } diff --git a/src/Generated/Models/EducationAssignmentPointsGradeType_maxPoints.php b/src/Generated/Models/EducationAssignmentPointsGradeType_maxPoints.php new file mode 100644 index 00000000000..8b2cb45e8ae --- /dev/null +++ b/src/Generated/Models/EducationAssignmentPointsGradeType_maxPoints.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EducationAssignmentPointsGradeType_maxPoints + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationAssignmentPointsGradeType_maxPoints { + $result = new EducationAssignmentPointsGradeType_maxPoints(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/EducationAssignmentPointsGrade_points.php b/src/Generated/Models/EducationAssignmentPointsGrade_points.php new file mode 100644 index 00000000000..657e1c00b2c --- /dev/null +++ b/src/Generated/Models/EducationAssignmentPointsGrade_points.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EducationAssignmentPointsGrade_points + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationAssignmentPointsGrade_points { + $result = new EducationAssignmentPointsGrade_points(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/EntitlementManagementSchedule.php b/src/Generated/Models/EntitlementManagementSchedule.php index 6eb431d1325..6619e480507 100644 --- a/src/Generated/Models/EntitlementManagementSchedule.php +++ b/src/Generated/Models/EntitlementManagementSchedule.php @@ -95,7 +95,7 @@ public function getOdataType(): ?string { } /** - * Gets the recurrence property value. For recurring access reviews. Not used in access requests. + * Gets the recurrence property value. The recurring access review pattern. Not used in access requests. * @return PatternedRecurrence|null */ public function getRecurrence(): ?PatternedRecurrence { @@ -163,7 +163,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the recurrence property value. For recurring access reviews. Not used in access requests. + * Sets the recurrence property value. The recurring access review pattern. Not used in access requests. * @param PatternedRecurrence|null $value Value to set for the recurrence property. */ public function setRecurrence(?PatternedRecurrence $value): void { diff --git a/src/Generated/Models/GeoCoordinates.php b/src/Generated/Models/GeoCoordinates.php index c1a9d7ddaa4..47d2e9ed46b 100644 --- a/src/Generated/Models/GeoCoordinates.php +++ b/src/Generated/Models/GeoCoordinates.php @@ -49,11 +49,11 @@ public function getAdditionalData(): ?array { /** * Gets the altitude property value. Optional. The altitude (height), in feet, above sea level for the item. Read-only. - * @return float|null + * @return GeoCoordinates_altitude|null */ - public function getAltitude(): ?float { + public function getAltitude(): ?GeoCoordinates_altitude { $val = $this->getBackingStore()->get('altitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof GeoCoordinates_altitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'altitude'"); @@ -74,20 +74,20 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'altitude' => fn(ParseNode $n) => $o->setAltitude($n->getFloatValue()), - 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getFloatValue()), - 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getFloatValue()), + 'altitude' => fn(ParseNode $n) => $o->setAltitude($n->getObjectValue([GeoCoordinates_altitude::class, 'createFromDiscriminatorValue'])), + 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getObjectValue([GeoCoordinates_latitude::class, 'createFromDiscriminatorValue'])), + 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getObjectValue([GeoCoordinates_longitude::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; } /** * Gets the latitude property value. Optional. The latitude, in decimal, for the item. Read-only. - * @return float|null + * @return GeoCoordinates_latitude|null */ - public function getLatitude(): ?float { + public function getLatitude(): ?GeoCoordinates_latitude { $val = $this->getBackingStore()->get('latitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof GeoCoordinates_latitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'latitude'"); @@ -95,11 +95,11 @@ public function getLatitude(): ?float { /** * Gets the longitude property value. Optional. The longitude, in decimal, for the item. Read-only. - * @return float|null + * @return GeoCoordinates_longitude|null */ - public function getLongitude(): ?float { + public function getLongitude(): ?GeoCoordinates_longitude { $val = $this->getBackingStore()->get('longitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof GeoCoordinates_longitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'longitude'"); @@ -122,9 +122,9 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeFloatValue('altitude', $this->getAltitude()); - $writer->writeFloatValue('latitude', $this->getLatitude()); - $writer->writeFloatValue('longitude', $this->getLongitude()); + $writer->writeObjectValue('altitude', $this->getAltitude()); + $writer->writeObjectValue('latitude', $this->getLatitude()); + $writer->writeObjectValue('longitude', $this->getLongitude()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -139,9 +139,9 @@ public function setAdditionalData(?array $value): void { /** * Sets the altitude property value. Optional. The altitude (height), in feet, above sea level for the item. Read-only. - * @param float|null $value Value to set for the altitude property. + * @param GeoCoordinates_altitude|null $value Value to set for the altitude property. */ - public function setAltitude(?float $value): void { + public function setAltitude(?GeoCoordinates_altitude $value): void { $this->getBackingStore()->set('altitude', $value); } @@ -155,17 +155,17 @@ public function setBackingStore(BackingStore $value): void { /** * Sets the latitude property value. Optional. The latitude, in decimal, for the item. Read-only. - * @param float|null $value Value to set for the latitude property. + * @param GeoCoordinates_latitude|null $value Value to set for the latitude property. */ - public function setLatitude(?float $value): void { + public function setLatitude(?GeoCoordinates_latitude $value): void { $this->getBackingStore()->set('latitude', $value); } /** * Sets the longitude property value. Optional. The longitude, in decimal, for the item. Read-only. - * @param float|null $value Value to set for the longitude property. + * @param GeoCoordinates_longitude|null $value Value to set for the longitude property. */ - public function setLongitude(?float $value): void { + public function setLongitude(?GeoCoordinates_longitude $value): void { $this->getBackingStore()->set('longitude', $value); } diff --git a/src/Generated/Models/GeoCoordinates_altitude.php b/src/Generated/Models/GeoCoordinates_altitude.php new file mode 100644 index 00000000000..7ad125df955 --- /dev/null +++ b/src/Generated/Models/GeoCoordinates_altitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return GeoCoordinates_altitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GeoCoordinates_altitude { + $result = new GeoCoordinates_altitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/GeoCoordinates_latitude.php b/src/Generated/Models/GeoCoordinates_latitude.php new file mode 100644 index 00000000000..7d1ca047eb8 --- /dev/null +++ b/src/Generated/Models/GeoCoordinates_latitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return GeoCoordinates_latitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GeoCoordinates_latitude { + $result = new GeoCoordinates_latitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/GeoCoordinates_longitude.php b/src/Generated/Models/GeoCoordinates_longitude.php new file mode 100644 index 00000000000..ada12d2ccbe --- /dev/null +++ b/src/Generated/Models/GeoCoordinates_longitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return GeoCoordinates_longitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GeoCoordinates_longitude { + $result = new GeoCoordinates_longitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/IdentityUserFlow.php b/src/Generated/Models/IdentityUserFlow.php index ddbe27b5d1d..c39409666c8 100644 --- a/src/Generated/Models/IdentityUserFlow.php +++ b/src/Generated/Models/IdentityUserFlow.php @@ -39,7 +39,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'userFlowType' => fn(ParseNode $n) => $o->setUserFlowType($n->getEnumValue(UserFlowType::class)), - 'userFlowTypeVersion' => fn(ParseNode $n) => $o->setUserFlowTypeVersion($n->getFloatValue()), + 'userFlowTypeVersion' => fn(ParseNode $n) => $o->setUserFlowTypeVersion($n->getObjectValue([IdentityUserFlow_userFlowTypeVersion::class, 'createFromDiscriminatorValue'])), ]); } @@ -57,11 +57,11 @@ public function getUserFlowType(): ?UserFlowType { /** * Gets the userFlowTypeVersion property value. The userFlowTypeVersion property - * @return float|null + * @return IdentityUserFlow_userFlowTypeVersion|null */ - public function getUserFlowTypeVersion(): ?float { + public function getUserFlowTypeVersion(): ?IdentityUserFlow_userFlowTypeVersion { $val = $this->getBackingStore()->get('userFlowTypeVersion'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof IdentityUserFlow_userFlowTypeVersion) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'userFlowTypeVersion'"); @@ -74,7 +74,7 @@ public function getUserFlowTypeVersion(): ?float { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeEnumValue('userFlowType', $this->getUserFlowType()); - $writer->writeFloatValue('userFlowTypeVersion', $this->getUserFlowTypeVersion()); + $writer->writeObjectValue('userFlowTypeVersion', $this->getUserFlowTypeVersion()); } /** @@ -87,9 +87,9 @@ public function setUserFlowType(?UserFlowType $value): void { /** * Sets the userFlowTypeVersion property value. The userFlowTypeVersion property - * @param float|null $value Value to set for the userFlowTypeVersion property. + * @param IdentityUserFlow_userFlowTypeVersion|null $value Value to set for the userFlowTypeVersion property. */ - public function setUserFlowTypeVersion(?float $value): void { + public function setUserFlowTypeVersion(?IdentityUserFlow_userFlowTypeVersion $value): void { $this->getBackingStore()->set('userFlowTypeVersion', $value); } diff --git a/src/Generated/Models/IdentityUserFlow_userFlowTypeVersion.php b/src/Generated/Models/IdentityUserFlow_userFlowTypeVersion.php new file mode 100644 index 00000000000..904452bf0b1 --- /dev/null +++ b/src/Generated/Models/IdentityUserFlow_userFlowTypeVersion.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return IdentityUserFlow_userFlowTypeVersion + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): IdentityUserFlow_userFlowTypeVersion { + $result = new IdentityUserFlow_userFlowTypeVersion(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/InsightValueDouble.php b/src/Generated/Models/InsightValueDouble.php index d0e506dce6a..57fac64d6d0 100644 --- a/src/Generated/Models/InsightValueDouble.php +++ b/src/Generated/Models/InsightValueDouble.php @@ -35,17 +35,17 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Insig public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getFloatValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([InsightValueDouble_value::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The double value of the user experience analytics insight. - * @return float|null + * @return InsightValueDouble_value|null */ - public function getValue(): ?float { + public function getValue(): ?InsightValueDouble_value { $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof InsightValueDouble_value) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -57,14 +57,14 @@ public function getValue(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('value', $this->getValue()); + $writer->writeObjectValue('value', $this->getValue()); } /** * Sets the value property value. The double value of the user experience analytics insight. - * @param float|null $value Value to set for the value property. + * @param InsightValueDouble_value|null $value Value to set for the value property. */ - public function setValue(?float $value): void { + public function setValue(?InsightValueDouble_value $value): void { $this->getBackingStore()->set('value', $value); } diff --git a/src/Generated/Models/InsightValueDouble_value.php b/src/Generated/Models/InsightValueDouble_value.php new file mode 100644 index 00000000000..dee68ec149d --- /dev/null +++ b/src/Generated/Models/InsightValueDouble_value.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return InsightValueDouble_value + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): InsightValueDouble_value { + $result = new InsightValueDouble_value(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/MeetingTimeSuggestion.php b/src/Generated/Models/MeetingTimeSuggestion.php index 02b0dffdca3..7a5c3d6859f 100644 --- a/src/Generated/Models/MeetingTimeSuggestion.php +++ b/src/Generated/Models/MeetingTimeSuggestion.php @@ -72,11 +72,11 @@ public function getBackingStore(): BackingStore { /** * Gets the confidence property value. A percentage that represents the likelhood of all the attendees attending. - * @return float|null + * @return MeetingTimeSuggestion_confidence|null */ - public function getConfidence(): ?float { + public function getConfidence(): ?MeetingTimeSuggestion_confidence { $val = $this->getBackingStore()->get('confidence'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof MeetingTimeSuggestion_confidence) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'confidence'"); @@ -90,7 +90,7 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'attendeeAvailability' => fn(ParseNode $n) => $o->setAttendeeAvailability($n->getCollectionOfObjectValues([AttendeeAvailability::class, 'createFromDiscriminatorValue'])), - 'confidence' => fn(ParseNode $n) => $o->setConfidence($n->getFloatValue()), + 'confidence' => fn(ParseNode $n) => $o->setConfidence($n->getObjectValue([MeetingTimeSuggestion_confidence::class, 'createFromDiscriminatorValue'])), 'locations' => fn(ParseNode $n) => $o->setLocations($n->getCollectionOfObjectValues([Location::class, 'createFromDiscriminatorValue'])), 'meetingTimeSlot' => fn(ParseNode $n) => $o->setMeetingTimeSlot($n->getObjectValue([TimeSlot::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), @@ -180,7 +180,7 @@ public function getSuggestionReason(): ?string { */ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('attendeeAvailability', $this->getAttendeeAvailability()); - $writer->writeFloatValue('confidence', $this->getConfidence()); + $writer->writeObjectValue('confidence', $this->getConfidence()); $writer->writeCollectionOfObjectValues('locations', $this->getLocations()); $writer->writeObjectValue('meetingTimeSlot', $this->getMeetingTimeSlot()); $writer->writeStringValue('@odata.type', $this->getOdataType()); @@ -216,9 +216,9 @@ public function setBackingStore(BackingStore $value): void { /** * Sets the confidence property value. A percentage that represents the likelhood of all the attendees attending. - * @param float|null $value Value to set for the confidence property. + * @param MeetingTimeSuggestion_confidence|null $value Value to set for the confidence property. */ - public function setConfidence(?float $value): void { + public function setConfidence(?MeetingTimeSuggestion_confidence $value): void { $this->getBackingStore()->set('confidence', $value); } diff --git a/src/Generated/Models/MeetingTimeSuggestion_confidence.php b/src/Generated/Models/MeetingTimeSuggestion_confidence.php new file mode 100644 index 00000000000..b1884a921ac --- /dev/null +++ b/src/Generated/Models/MeetingTimeSuggestion_confidence.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return MeetingTimeSuggestion_confidence + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MeetingTimeSuggestion_confidence { + $result = new MeetingTimeSuggestion_confidence(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/NumberColumn.php b/src/Generated/Models/NumberColumn.php index 57906f76525..66d77b8ee3a 100644 --- a/src/Generated/Models/NumberColumn.php +++ b/src/Generated/Models/NumberColumn.php @@ -88,19 +88,19 @@ public function getFieldDeserializers(): array { return [ 'decimalPlaces' => fn(ParseNode $n) => $o->setDecimalPlaces($n->getStringValue()), 'displayAs' => fn(ParseNode $n) => $o->setDisplayAs($n->getStringValue()), - 'maximum' => fn(ParseNode $n) => $o->setMaximum($n->getFloatValue()), - 'minimum' => fn(ParseNode $n) => $o->setMinimum($n->getFloatValue()), + 'maximum' => fn(ParseNode $n) => $o->setMaximum($n->getObjectValue([NumberColumn_maximum::class, 'createFromDiscriminatorValue'])), + 'minimum' => fn(ParseNode $n) => $o->setMinimum($n->getObjectValue([NumberColumn_minimum::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; } /** * Gets the maximum property value. The maximum permitted value. - * @return float|null + * @return NumberColumn_maximum|null */ - public function getMaximum(): ?float { + public function getMaximum(): ?NumberColumn_maximum { $val = $this->getBackingStore()->get('maximum'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof NumberColumn_maximum) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maximum'"); @@ -108,11 +108,11 @@ public function getMaximum(): ?float { /** * Gets the minimum property value. The minimum permitted value. - * @return float|null + * @return NumberColumn_minimum|null */ - public function getMinimum(): ?float { + public function getMinimum(): ?NumberColumn_minimum { $val = $this->getBackingStore()->get('minimum'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof NumberColumn_minimum) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'minimum'"); @@ -137,8 +137,8 @@ public function getOdataType(): ?string { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('decimalPlaces', $this->getDecimalPlaces()); $writer->writeStringValue('displayAs', $this->getDisplayAs()); - $writer->writeFloatValue('maximum', $this->getMaximum()); - $writer->writeFloatValue('minimum', $this->getMinimum()); + $writer->writeObjectValue('maximum', $this->getMaximum()); + $writer->writeObjectValue('minimum', $this->getMinimum()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -177,17 +177,17 @@ public function setDisplayAs(?string $value): void { /** * Sets the maximum property value. The maximum permitted value. - * @param float|null $value Value to set for the maximum property. + * @param NumberColumn_maximum|null $value Value to set for the maximum property. */ - public function setMaximum(?float $value): void { + public function setMaximum(?NumberColumn_maximum $value): void { $this->getBackingStore()->set('maximum', $value); } /** * Sets the minimum property value. The minimum permitted value. - * @param float|null $value Value to set for the minimum property. + * @param NumberColumn_minimum|null $value Value to set for the minimum property. */ - public function setMinimum(?float $value): void { + public function setMinimum(?NumberColumn_minimum $value): void { $this->getBackingStore()->set('minimum', $value); } diff --git a/src/Generated/Models/NumberColumn_maximum.php b/src/Generated/Models/NumberColumn_maximum.php new file mode 100644 index 00000000000..9f12f94338c --- /dev/null +++ b/src/Generated/Models/NumberColumn_maximum.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return NumberColumn_maximum + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): NumberColumn_maximum { + $result = new NumberColumn_maximum(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/NumberColumn_minimum.php b/src/Generated/Models/NumberColumn_minimum.php new file mode 100644 index 00000000000..e6376ec8200 --- /dev/null +++ b/src/Generated/Models/NumberColumn_minimum.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return NumberColumn_minimum + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): NumberColumn_minimum { + $result = new NumberColumn_minimum(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/OmaSettingFloatingPoint.php b/src/Generated/Models/OmaSettingFloatingPoint.php index 91fa49c0b71..0d3f1d8b8d5 100644 --- a/src/Generated/Models/OmaSettingFloatingPoint.php +++ b/src/Generated/Models/OmaSettingFloatingPoint.php @@ -35,17 +35,17 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): OmaSe public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getFloatValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([OmaSettingFloatingPoint_value::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. Value. - * @return float|null + * @return OmaSettingFloatingPoint_value|null */ - public function getValue(): ?float { + public function getValue(): ?OmaSettingFloatingPoint_value { $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof OmaSettingFloatingPoint_value) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -57,14 +57,14 @@ public function getValue(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('value', $this->getValue()); + $writer->writeObjectValue('value', $this->getValue()); } /** * Sets the value property value. Value. - * @param float|null $value Value to set for the value property. + * @param OmaSettingFloatingPoint_value|null $value Value to set for the value property. */ - public function setValue(?float $value): void { + public function setValue(?OmaSettingFloatingPoint_value $value): void { $this->getBackingStore()->set('value', $value); } diff --git a/src/Generated/Models/OmaSettingFloatingPoint_value.php b/src/Generated/Models/OmaSettingFloatingPoint_value.php new file mode 100644 index 00000000000..48dcabb528c --- /dev/null +++ b/src/Generated/Models/OmaSettingFloatingPoint_value.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OmaSettingFloatingPoint_value + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OmaSettingFloatingPoint_value { + $result = new OmaSettingFloatingPoint_value(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/OnPremisesDirectorySynchronizationFeature.php b/src/Generated/Models/OnPremisesDirectorySynchronizationFeature.php index d0e153137ad..452480064c0 100644 --- a/src/Generated/Models/OnPremisesDirectorySynchronizationFeature.php +++ b/src/Generated/Models/OnPremisesDirectorySynchronizationFeature.php @@ -230,7 +230,7 @@ public function getPasswordSyncEnabled(): ?bool { } /** - * Gets the passwordWritebackEnabled property value. Used to indicate that writeback of password resets from Microsoft Entra ID to on-premises AD is enabled. + * Gets the passwordWritebackEnabled property value. Used to indicate that writeback of password resets from Microsoft Entra ID to on-premises AD is enabled. This property isn't in use and updating it isn't supported. * @return bool|null */ public function getPasswordWritebackEnabled(): ?bool { @@ -466,7 +466,7 @@ public function setPasswordSyncEnabled(?bool $value): void { } /** - * Sets the passwordWritebackEnabled property value. Used to indicate that writeback of password resets from Microsoft Entra ID to on-premises AD is enabled. + * Sets the passwordWritebackEnabled property value. Used to indicate that writeback of password resets from Microsoft Entra ID to on-premises AD is enabled. This property isn't in use and updating it isn't supported. * @param bool|null $value Value to set for the passwordWritebackEnabled property. */ public function setPasswordWritebackEnabled(?bool $value): void { diff --git a/src/Generated/Models/OutlookGeoCoordinates.php b/src/Generated/Models/OutlookGeoCoordinates.php index 755415390a5..19c4386ae3b 100644 --- a/src/Generated/Models/OutlookGeoCoordinates.php +++ b/src/Generated/Models/OutlookGeoCoordinates.php @@ -36,11 +36,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Outlo /** * Gets the accuracy property value. The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. - * @return float|null + * @return OutlookGeoCoordinates_accuracy|null */ - public function getAccuracy(): ?float { + public function getAccuracy(): ?OutlookGeoCoordinates_accuracy { $val = $this->getBackingStore()->get('accuracy'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof OutlookGeoCoordinates_accuracy) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'accuracy'"); @@ -61,11 +61,11 @@ public function getAdditionalData(): ?array { /** * Gets the altitude property value. The altitude of the location. - * @return float|null + * @return OutlookGeoCoordinates_altitude|null */ - public function getAltitude(): ?float { + public function getAltitude(): ?OutlookGeoCoordinates_altitude { $val = $this->getBackingStore()->get('altitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof OutlookGeoCoordinates_altitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'altitude'"); @@ -73,11 +73,11 @@ public function getAltitude(): ?float { /** * Gets the altitudeAccuracy property value. The accuracy of the altitude. - * @return float|null + * @return OutlookGeoCoordinates_altitudeAccuracy|null */ - public function getAltitudeAccuracy(): ?float { + public function getAltitudeAccuracy(): ?OutlookGeoCoordinates_altitudeAccuracy { $val = $this->getBackingStore()->get('altitudeAccuracy'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof OutlookGeoCoordinates_altitudeAccuracy) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'altitudeAccuracy'"); @@ -98,22 +98,22 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'accuracy' => fn(ParseNode $n) => $o->setAccuracy($n->getFloatValue()), - 'altitude' => fn(ParseNode $n) => $o->setAltitude($n->getFloatValue()), - 'altitudeAccuracy' => fn(ParseNode $n) => $o->setAltitudeAccuracy($n->getFloatValue()), - 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getFloatValue()), - 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getFloatValue()), + 'accuracy' => fn(ParseNode $n) => $o->setAccuracy($n->getObjectValue([OutlookGeoCoordinates_accuracy::class, 'createFromDiscriminatorValue'])), + 'altitude' => fn(ParseNode $n) => $o->setAltitude($n->getObjectValue([OutlookGeoCoordinates_altitude::class, 'createFromDiscriminatorValue'])), + 'altitudeAccuracy' => fn(ParseNode $n) => $o->setAltitudeAccuracy($n->getObjectValue([OutlookGeoCoordinates_altitudeAccuracy::class, 'createFromDiscriminatorValue'])), + 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getObjectValue([OutlookGeoCoordinates_latitude::class, 'createFromDiscriminatorValue'])), + 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getObjectValue([OutlookGeoCoordinates_longitude::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; } /** * Gets the latitude property value. The latitude of the location. - * @return float|null + * @return OutlookGeoCoordinates_latitude|null */ - public function getLatitude(): ?float { + public function getLatitude(): ?OutlookGeoCoordinates_latitude { $val = $this->getBackingStore()->get('latitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof OutlookGeoCoordinates_latitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'latitude'"); @@ -121,11 +121,11 @@ public function getLatitude(): ?float { /** * Gets the longitude property value. The longitude of the location. - * @return float|null + * @return OutlookGeoCoordinates_longitude|null */ - public function getLongitude(): ?float { + public function getLongitude(): ?OutlookGeoCoordinates_longitude { $val = $this->getBackingStore()->get('longitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof OutlookGeoCoordinates_longitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'longitude'"); @@ -148,20 +148,20 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeFloatValue('accuracy', $this->getAccuracy()); - $writer->writeFloatValue('altitude', $this->getAltitude()); - $writer->writeFloatValue('altitudeAccuracy', $this->getAltitudeAccuracy()); - $writer->writeFloatValue('latitude', $this->getLatitude()); - $writer->writeFloatValue('longitude', $this->getLongitude()); + $writer->writeObjectValue('accuracy', $this->getAccuracy()); + $writer->writeObjectValue('altitude', $this->getAltitude()); + $writer->writeObjectValue('altitudeAccuracy', $this->getAltitudeAccuracy()); + $writer->writeObjectValue('latitude', $this->getLatitude()); + $writer->writeObjectValue('longitude', $this->getLongitude()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } /** * Sets the accuracy property value. The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. - * @param float|null $value Value to set for the accuracy property. + * @param OutlookGeoCoordinates_accuracy|null $value Value to set for the accuracy property. */ - public function setAccuracy(?float $value): void { + public function setAccuracy(?OutlookGeoCoordinates_accuracy $value): void { $this->getBackingStore()->set('accuracy', $value); } @@ -175,17 +175,17 @@ public function setAdditionalData(?array $value): void { /** * Sets the altitude property value. The altitude of the location. - * @param float|null $value Value to set for the altitude property. + * @param OutlookGeoCoordinates_altitude|null $value Value to set for the altitude property. */ - public function setAltitude(?float $value): void { + public function setAltitude(?OutlookGeoCoordinates_altitude $value): void { $this->getBackingStore()->set('altitude', $value); } /** * Sets the altitudeAccuracy property value. The accuracy of the altitude. - * @param float|null $value Value to set for the altitudeAccuracy property. + * @param OutlookGeoCoordinates_altitudeAccuracy|null $value Value to set for the altitudeAccuracy property. */ - public function setAltitudeAccuracy(?float $value): void { + public function setAltitudeAccuracy(?OutlookGeoCoordinates_altitudeAccuracy $value): void { $this->getBackingStore()->set('altitudeAccuracy', $value); } @@ -199,17 +199,17 @@ public function setBackingStore(BackingStore $value): void { /** * Sets the latitude property value. The latitude of the location. - * @param float|null $value Value to set for the latitude property. + * @param OutlookGeoCoordinates_latitude|null $value Value to set for the latitude property. */ - public function setLatitude(?float $value): void { + public function setLatitude(?OutlookGeoCoordinates_latitude $value): void { $this->getBackingStore()->set('latitude', $value); } /** * Sets the longitude property value. The longitude of the location. - * @param float|null $value Value to set for the longitude property. + * @param OutlookGeoCoordinates_longitude|null $value Value to set for the longitude property. */ - public function setLongitude(?float $value): void { + public function setLongitude(?OutlookGeoCoordinates_longitude $value): void { $this->getBackingStore()->set('longitude', $value); } diff --git a/src/Generated/Models/OutlookGeoCoordinates_accuracy.php b/src/Generated/Models/OutlookGeoCoordinates_accuracy.php new file mode 100644 index 00000000000..c1114aa68e9 --- /dev/null +++ b/src/Generated/Models/OutlookGeoCoordinates_accuracy.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OutlookGeoCoordinates_accuracy + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OutlookGeoCoordinates_accuracy { + $result = new OutlookGeoCoordinates_accuracy(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/OutlookGeoCoordinates_altitude.php b/src/Generated/Models/OutlookGeoCoordinates_altitude.php new file mode 100644 index 00000000000..7cba1890bf6 --- /dev/null +++ b/src/Generated/Models/OutlookGeoCoordinates_altitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OutlookGeoCoordinates_altitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OutlookGeoCoordinates_altitude { + $result = new OutlookGeoCoordinates_altitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/OutlookGeoCoordinates_altitudeAccuracy.php b/src/Generated/Models/OutlookGeoCoordinates_altitudeAccuracy.php new file mode 100644 index 00000000000..82c55f580ee --- /dev/null +++ b/src/Generated/Models/OutlookGeoCoordinates_altitudeAccuracy.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OutlookGeoCoordinates_altitudeAccuracy + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OutlookGeoCoordinates_altitudeAccuracy { + $result = new OutlookGeoCoordinates_altitudeAccuracy(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/OutlookGeoCoordinates_latitude.php b/src/Generated/Models/OutlookGeoCoordinates_latitude.php new file mode 100644 index 00000000000..220200c11cf --- /dev/null +++ b/src/Generated/Models/OutlookGeoCoordinates_latitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OutlookGeoCoordinates_latitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OutlookGeoCoordinates_latitude { + $result = new OutlookGeoCoordinates_latitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/OutlookGeoCoordinates_longitude.php b/src/Generated/Models/OutlookGeoCoordinates_longitude.php new file mode 100644 index 00000000000..b3146734d7d --- /dev/null +++ b/src/Generated/Models/OutlookGeoCoordinates_longitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OutlookGeoCoordinates_longitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OutlookGeoCoordinates_longitude { + $result = new OutlookGeoCoordinates_longitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Payload.php b/src/Generated/Models/Payload.php index 268636f4c95..78025cea03a 100644 --- a/src/Generated/Models/Payload.php +++ b/src/Generated/Models/Payload.php @@ -140,7 +140,7 @@ public function getFieldDeserializers(): array { $this->setPayloadTags($val); }, 'platform' => fn(ParseNode $n) => $o->setPlatform($n->getEnumValue(PayloadDeliveryPlatform::class)), - 'predictedCompromiseRate' => fn(ParseNode $n) => $o->setPredictedCompromiseRate($n->getFloatValue()), + 'predictedCompromiseRate' => fn(ParseNode $n) => $o->setPredictedCompromiseRate($n->getObjectValue([Payload_predictedCompromiseRate::class, 'createFromDiscriminatorValue'])), 'simulationAttackType' => fn(ParseNode $n) => $o->setSimulationAttackType($n->getEnumValue(SimulationAttackType::class)), 'source' => fn(ParseNode $n) => $o->setSource($n->getEnumValue(SimulationContentSource::class)), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(SimulationContentStatus::class)), @@ -261,11 +261,11 @@ public function getPlatform(): ?PayloadDeliveryPlatform { /** * Gets the predictedCompromiseRate property value. Predicted probability for a payload to phish a targeted user. - * @return float|null + * @return Payload_predictedCompromiseRate|null */ - public function getPredictedCompromiseRate(): ?float { + public function getPredictedCompromiseRate(): ?Payload_predictedCompromiseRate { $val = $this->getBackingStore()->get('predictedCompromiseRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof Payload_predictedCompromiseRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'predictedCompromiseRate'"); @@ -353,7 +353,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); $writer->writeCollectionOfPrimitiveValues('payloadTags', $this->getPayloadTags()); $writer->writeEnumValue('platform', $this->getPlatform()); - $writer->writeFloatValue('predictedCompromiseRate', $this->getPredictedCompromiseRate()); + $writer->writeObjectValue('predictedCompromiseRate', $this->getPredictedCompromiseRate()); $writer->writeEnumValue('simulationAttackType', $this->getSimulationAttackType()); $writer->writeEnumValue('source', $this->getSource()); $writer->writeEnumValue('status', $this->getStatus()); @@ -491,9 +491,9 @@ public function setPlatform(?PayloadDeliveryPlatform $value): void { /** * Sets the predictedCompromiseRate property value. Predicted probability for a payload to phish a targeted user. - * @param float|null $value Value to set for the predictedCompromiseRate property. + * @param Payload_predictedCompromiseRate|null $value Value to set for the predictedCompromiseRate property. */ - public function setPredictedCompromiseRate(?float $value): void { + public function setPredictedCompromiseRate(?Payload_predictedCompromiseRate $value): void { $this->getBackingStore()->set('predictedCompromiseRate', $value); } diff --git a/src/Generated/Models/Payload_predictedCompromiseRate.php b/src/Generated/Models/Payload_predictedCompromiseRate.php new file mode 100644 index 00000000000..3039b73e5fb --- /dev/null +++ b/src/Generated/Models/Payload_predictedCompromiseRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Payload_predictedCompromiseRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Payload_predictedCompromiseRate { + $result = new Payload_predictedCompromiseRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Photo.php b/src/Generated/Models/Photo.php index 5e1297e77ec..3d30ccc51f8 100644 --- a/src/Generated/Models/Photo.php +++ b/src/Generated/Models/Photo.php @@ -82,11 +82,11 @@ public function getCameraModel(): ?string { /** * Gets the exposureDenominator property value. The denominator for the exposure time fraction from the camera. Read-only. - * @return float|null + * @return Photo_exposureDenominator|null */ - public function getExposureDenominator(): ?float { + public function getExposureDenominator(): ?Photo_exposureDenominator { $val = $this->getBackingStore()->get('exposureDenominator'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof Photo_exposureDenominator) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'exposureDenominator'"); @@ -94,11 +94,11 @@ public function getExposureDenominator(): ?float { /** * Gets the exposureNumerator property value. The numerator for the exposure time fraction from the camera. Read-only. - * @return float|null + * @return Photo_exposureNumerator|null */ - public function getExposureNumerator(): ?float { + public function getExposureNumerator(): ?Photo_exposureNumerator { $val = $this->getBackingStore()->get('exposureNumerator'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof Photo_exposureNumerator) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'exposureNumerator'"); @@ -113,10 +113,10 @@ public function getFieldDeserializers(): array { return [ 'cameraMake' => fn(ParseNode $n) => $o->setCameraMake($n->getStringValue()), 'cameraModel' => fn(ParseNode $n) => $o->setCameraModel($n->getStringValue()), - 'exposureDenominator' => fn(ParseNode $n) => $o->setExposureDenominator($n->getFloatValue()), - 'exposureNumerator' => fn(ParseNode $n) => $o->setExposureNumerator($n->getFloatValue()), - 'fNumber' => fn(ParseNode $n) => $o->setFNumber($n->getFloatValue()), - 'focalLength' => fn(ParseNode $n) => $o->setFocalLength($n->getFloatValue()), + 'exposureDenominator' => fn(ParseNode $n) => $o->setExposureDenominator($n->getObjectValue([Photo_exposureDenominator::class, 'createFromDiscriminatorValue'])), + 'exposureNumerator' => fn(ParseNode $n) => $o->setExposureNumerator($n->getObjectValue([Photo_exposureNumerator::class, 'createFromDiscriminatorValue'])), + 'fNumber' => fn(ParseNode $n) => $o->setFNumber($n->getObjectValue([Photo_fNumber::class, 'createFromDiscriminatorValue'])), + 'focalLength' => fn(ParseNode $n) => $o->setFocalLength($n->getObjectValue([Photo_focalLength::class, 'createFromDiscriminatorValue'])), 'iso' => fn(ParseNode $n) => $o->setIso($n->getIntegerValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'orientation' => fn(ParseNode $n) => $o->setOrientation($n->getIntegerValue()), @@ -126,11 +126,11 @@ public function getFieldDeserializers(): array { /** * Gets the fNumber property value. The F-stop value from the camera. Read-only. - * @return float|null + * @return Photo_fNumber|null */ - public function getFNumber(): ?float { + public function getFNumber(): ?Photo_fNumber { $val = $this->getBackingStore()->get('fNumber'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof Photo_fNumber) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'fNumber'"); @@ -138,11 +138,11 @@ public function getFNumber(): ?float { /** * Gets the focalLength property value. The focal length from the camera. Read-only. - * @return float|null + * @return Photo_focalLength|null */ - public function getFocalLength(): ?float { + public function getFocalLength(): ?Photo_focalLength { $val = $this->getBackingStore()->get('focalLength'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof Photo_focalLength) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'focalLength'"); @@ -203,10 +203,10 @@ public function getTakenDateTime(): ?DateTime { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('cameraMake', $this->getCameraMake()); $writer->writeStringValue('cameraModel', $this->getCameraModel()); - $writer->writeFloatValue('exposureDenominator', $this->getExposureDenominator()); - $writer->writeFloatValue('exposureNumerator', $this->getExposureNumerator()); - $writer->writeFloatValue('fNumber', $this->getFNumber()); - $writer->writeFloatValue('focalLength', $this->getFocalLength()); + $writer->writeObjectValue('exposureDenominator', $this->getExposureDenominator()); + $writer->writeObjectValue('exposureNumerator', $this->getExposureNumerator()); + $writer->writeObjectValue('fNumber', $this->getFNumber()); + $writer->writeObjectValue('focalLength', $this->getFocalLength()); $writer->writeIntegerValue('iso', $this->getIso()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeIntegerValue('orientation', $this->getOrientation()); @@ -248,33 +248,33 @@ public function setCameraModel(?string $value): void { /** * Sets the exposureDenominator property value. The denominator for the exposure time fraction from the camera. Read-only. - * @param float|null $value Value to set for the exposureDenominator property. + * @param Photo_exposureDenominator|null $value Value to set for the exposureDenominator property. */ - public function setExposureDenominator(?float $value): void { + public function setExposureDenominator(?Photo_exposureDenominator $value): void { $this->getBackingStore()->set('exposureDenominator', $value); } /** * Sets the exposureNumerator property value. The numerator for the exposure time fraction from the camera. Read-only. - * @param float|null $value Value to set for the exposureNumerator property. + * @param Photo_exposureNumerator|null $value Value to set for the exposureNumerator property. */ - public function setExposureNumerator(?float $value): void { + public function setExposureNumerator(?Photo_exposureNumerator $value): void { $this->getBackingStore()->set('exposureNumerator', $value); } /** * Sets the fNumber property value. The F-stop value from the camera. Read-only. - * @param float|null $value Value to set for the fNumber property. + * @param Photo_fNumber|null $value Value to set for the fNumber property. */ - public function setFNumber(?float $value): void { + public function setFNumber(?Photo_fNumber $value): void { $this->getBackingStore()->set('fNumber', $value); } /** * Sets the focalLength property value. The focal length from the camera. Read-only. - * @param float|null $value Value to set for the focalLength property. + * @param Photo_focalLength|null $value Value to set for the focalLength property. */ - public function setFocalLength(?float $value): void { + public function setFocalLength(?Photo_focalLength $value): void { $this->getBackingStore()->set('focalLength', $value); } diff --git a/src/Generated/Models/Photo_exposureDenominator.php b/src/Generated/Models/Photo_exposureDenominator.php new file mode 100644 index 00000000000..8611795ef00 --- /dev/null +++ b/src/Generated/Models/Photo_exposureDenominator.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Photo_exposureDenominator + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Photo_exposureDenominator { + $result = new Photo_exposureDenominator(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Photo_exposureNumerator.php b/src/Generated/Models/Photo_exposureNumerator.php new file mode 100644 index 00000000000..1f13f6c019b --- /dev/null +++ b/src/Generated/Models/Photo_exposureNumerator.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Photo_exposureNumerator + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Photo_exposureNumerator { + $result = new Photo_exposureNumerator(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Photo_fNumber.php b/src/Generated/Models/Photo_fNumber.php new file mode 100644 index 00000000000..4224a352d40 --- /dev/null +++ b/src/Generated/Models/Photo_fNumber.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Photo_fNumber + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Photo_fNumber { + $result = new Photo_fNumber(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Photo_focalLength.php b/src/Generated/Models/Photo_focalLength.php new file mode 100644 index 00000000000..33c0a111bb4 --- /dev/null +++ b/src/Generated/Models/Photo_focalLength.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Photo_focalLength + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Photo_focalLength { + $result = new Photo_focalLength(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/PrinterLocation.php b/src/Generated/Models/PrinterLocation.php index b920de53758..02e85b74e12 100644 --- a/src/Generated/Models/PrinterLocation.php +++ b/src/Generated/Models/PrinterLocation.php @@ -117,8 +117,8 @@ public function getFieldDeserializers(): array { 'countryOrRegion' => fn(ParseNode $n) => $o->setCountryOrRegion($n->getStringValue()), 'floor' => fn(ParseNode $n) => $o->setFloor($n->getStringValue()), 'floorDescription' => fn(ParseNode $n) => $o->setFloorDescription($n->getStringValue()), - 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getFloatValue()), - 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getFloatValue()), + 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getObjectValue([PrinterLocation_latitude::class, 'createFromDiscriminatorValue'])), + 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getObjectValue([PrinterLocation_longitude::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'organization' => function (ParseNode $n) { $val = $n->getCollectionOfPrimitiveValues(); @@ -179,11 +179,11 @@ public function getFloorDescription(): ?string { /** * Gets the latitude property value. The latitude that the printer is located at. - * @return float|null + * @return PrinterLocation_latitude|null */ - public function getLatitude(): ?float { + public function getLatitude(): ?PrinterLocation_latitude { $val = $this->getBackingStore()->get('latitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof PrinterLocation_latitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'latitude'"); @@ -191,11 +191,11 @@ public function getLatitude(): ?float { /** * Gets the longitude property value. The longitude that the printer is located at. - * @return float|null + * @return PrinterLocation_longitude|null */ - public function getLongitude(): ?float { + public function getLongitude(): ?PrinterLocation_longitude { $val = $this->getBackingStore()->get('longitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof PrinterLocation_longitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'longitude'"); @@ -338,8 +338,8 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('countryOrRegion', $this->getCountryOrRegion()); $writer->writeStringValue('floor', $this->getFloor()); $writer->writeStringValue('floorDescription', $this->getFloorDescription()); - $writer->writeFloatValue('latitude', $this->getLatitude()); - $writer->writeFloatValue('longitude', $this->getLongitude()); + $writer->writeObjectValue('latitude', $this->getLatitude()); + $writer->writeObjectValue('longitude', $this->getLongitude()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeCollectionOfPrimitiveValues('organization', $this->getOrganization()); $writer->writeStringValue('postalCode', $this->getPostalCode()); @@ -419,17 +419,17 @@ public function setFloorDescription(?string $value): void { /** * Sets the latitude property value. The latitude that the printer is located at. - * @param float|null $value Value to set for the latitude property. + * @param PrinterLocation_latitude|null $value Value to set for the latitude property. */ - public function setLatitude(?float $value): void { + public function setLatitude(?PrinterLocation_latitude $value): void { $this->getBackingStore()->set('latitude', $value); } /** * Sets the longitude property value. The longitude that the printer is located at. - * @param float|null $value Value to set for the longitude property. + * @param PrinterLocation_longitude|null $value Value to set for the longitude property. */ - public function setLongitude(?float $value): void { + public function setLongitude(?PrinterLocation_longitude $value): void { $this->getBackingStore()->set('longitude', $value); } diff --git a/src/Generated/Models/PrinterLocation_latitude.php b/src/Generated/Models/PrinterLocation_latitude.php new file mode 100644 index 00000000000..e8c3c0f16f4 --- /dev/null +++ b/src/Generated/Models/PrinterLocation_latitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return PrinterLocation_latitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PrinterLocation_latitude { + $result = new PrinterLocation_latitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/PrinterLocation_longitude.php b/src/Generated/Models/PrinterLocation_longitude.php new file mode 100644 index 00000000000..0e7bfbead1e --- /dev/null +++ b/src/Generated/Models/PrinterLocation_longitude.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return PrinterLocation_longitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PrinterLocation_longitude { + $result = new PrinterLocation_longitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/RecommendedAction.php b/src/Generated/Models/RecommendedAction.php index ac34930b50b..870cfc76649 100644 --- a/src/Generated/Models/RecommendedAction.php +++ b/src/Generated/Models/RecommendedAction.php @@ -76,7 +76,7 @@ public function getFieldDeserializers(): array { return [ 'actionWebUrl' => fn(ParseNode $n) => $o->setActionWebUrl($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'potentialScoreImpact' => fn(ParseNode $n) => $o->setPotentialScoreImpact($n->getFloatValue()), + 'potentialScoreImpact' => fn(ParseNode $n) => $o->setPotentialScoreImpact($n->getObjectValue([RecommendedAction_potentialScoreImpact::class, 'createFromDiscriminatorValue'])), 'title' => fn(ParseNode $n) => $o->setTitle($n->getStringValue()), ]; } @@ -95,11 +95,11 @@ public function getOdataType(): ?string { /** * Gets the potentialScoreImpact property value. Potential improvement in the tenant security score from the recommended action. - * @return float|null + * @return RecommendedAction_potentialScoreImpact|null */ - public function getPotentialScoreImpact(): ?float { + public function getPotentialScoreImpact(): ?RecommendedAction_potentialScoreImpact { $val = $this->getBackingStore()->get('potentialScoreImpact'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof RecommendedAction_potentialScoreImpact) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'potentialScoreImpact'"); @@ -124,7 +124,7 @@ public function getTitle(): ?string { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('actionWebUrl', $this->getActionWebUrl()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeFloatValue('potentialScoreImpact', $this->getPotentialScoreImpact()); + $writer->writeObjectValue('potentialScoreImpact', $this->getPotentialScoreImpact()); $writer->writeStringValue('title', $this->getTitle()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -163,9 +163,9 @@ public function setOdataType(?string $value): void { /** * Sets the potentialScoreImpact property value. Potential improvement in the tenant security score from the recommended action. - * @param float|null $value Value to set for the potentialScoreImpact property. + * @param RecommendedAction_potentialScoreImpact|null $value Value to set for the potentialScoreImpact property. */ - public function setPotentialScoreImpact(?float $value): void { + public function setPotentialScoreImpact(?RecommendedAction_potentialScoreImpact $value): void { $this->getBackingStore()->set('potentialScoreImpact', $value); } diff --git a/src/Generated/Models/RecommendedAction_potentialScoreImpact.php b/src/Generated/Models/RecommendedAction_potentialScoreImpact.php new file mode 100644 index 00000000000..0e509dc911c --- /dev/null +++ b/src/Generated/Models/RecommendedAction_potentialScoreImpact.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RecommendedAction_potentialScoreImpact + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RecommendedAction_potentialScoreImpact { + $result = new RecommendedAction_potentialScoreImpact(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/ReferenceNumeric.php b/src/Generated/Models/ReferenceNumeric.php new file mode 100644 index 00000000000..80e0c8f23a2 --- /dev/null +++ b/src/Generated/Models/ReferenceNumeric.php @@ -0,0 +1,11 @@ +setReplyUrls($val); }, 'serviceId' => fn(ParseNode $n) => $o->setServiceId($n->getStringValue()), - 'signInSuccessRate' => fn(ParseNode $n) => $o->setSignInSuccessRate($n->getFloatValue()), + 'signInSuccessRate' => fn(ParseNode $n) => $o->setSignInSuccessRate($n->getObjectValue([RelyingPartyDetailedSummary_signInSuccessRate::class, 'createFromDiscriminatorValue'])), 'successfulSignInCount' => fn(ParseNode $n) => $o->setSuccessfulSignInCount($n->getIntegerValue()), 'totalSignInCount' => fn(ParseNode $n) => $o->setTotalSignInCount($n->getIntegerValue()), 'uniqueUserCount' => fn(ParseNode $n) => $o->setUniqueUserCount($n->getIntegerValue()), @@ -143,11 +143,11 @@ public function getServiceId(): ?string { /** * Gets the signInSuccessRate property value. Calculated as Number of successful / (Number of successful + Number of failed sign ins) or successfulSignInCount / totalSignInCount on AD FS in the period specified. Supports $orderby, $filter (eq). - * @return float|null + * @return RelyingPartyDetailedSummary_signInSuccessRate|null */ - public function getSignInSuccessRate(): ?float { + public function getSignInSuccessRate(): ?RelyingPartyDetailedSummary_signInSuccessRate { $val = $this->getBackingStore()->get('signInSuccessRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof RelyingPartyDetailedSummary_signInSuccessRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'signInSuccessRate'"); @@ -202,7 +202,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('relyingPartyName', $this->getRelyingPartyName()); $writer->writeCollectionOfPrimitiveValues('replyUrls', $this->getReplyUrls()); $writer->writeStringValue('serviceId', $this->getServiceId()); - $writer->writeFloatValue('signInSuccessRate', $this->getSignInSuccessRate()); + $writer->writeObjectValue('signInSuccessRate', $this->getSignInSuccessRate()); $writer->writeIntegerValue('successfulSignInCount', $this->getSuccessfulSignInCount()); $writer->writeIntegerValue('totalSignInCount', $this->getTotalSignInCount()); $writer->writeIntegerValue('uniqueUserCount', $this->getUniqueUserCount()); @@ -266,9 +266,9 @@ public function setServiceId(?string $value): void { /** * Sets the signInSuccessRate property value. Calculated as Number of successful / (Number of successful + Number of failed sign ins) or successfulSignInCount / totalSignInCount on AD FS in the period specified. Supports $orderby, $filter (eq). - * @param float|null $value Value to set for the signInSuccessRate property. + * @param RelyingPartyDetailedSummary_signInSuccessRate|null $value Value to set for the signInSuccessRate property. */ - public function setSignInSuccessRate(?float $value): void { + public function setSignInSuccessRate(?RelyingPartyDetailedSummary_signInSuccessRate $value): void { $this->getBackingStore()->set('signInSuccessRate', $value); } diff --git a/src/Generated/Models/RelyingPartyDetailedSummary_signInSuccessRate.php b/src/Generated/Models/RelyingPartyDetailedSummary_signInSuccessRate.php new file mode 100644 index 00000000000..1278e981bbd --- /dev/null +++ b/src/Generated/Models/RelyingPartyDetailedSummary_signInSuccessRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RelyingPartyDetailedSummary_signInSuccessRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RelyingPartyDetailedSummary_signInSuccessRate { + $result = new RelyingPartyDetailedSummary_signInSuccessRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/RubricQuality.php b/src/Generated/Models/RubricQuality.php index 1b9bf2206c8..972b4feaee0 100644 --- a/src/Generated/Models/RubricQuality.php +++ b/src/Generated/Models/RubricQuality.php @@ -106,7 +106,7 @@ public function getFieldDeserializers(): array { 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'qualityId' => fn(ParseNode $n) => $o->setQualityId($n->getStringValue()), - 'weight' => fn(ParseNode $n) => $o->setWeight($n->getFloatValue()), + 'weight' => fn(ParseNode $n) => $o->setWeight($n->getObjectValue([RubricQuality_weight::class, 'createFromDiscriminatorValue'])), ]; } @@ -136,11 +136,11 @@ public function getQualityId(): ?string { /** * Gets the weight property value. If present, a numerical weight for this quality. Weights must add up to 100. - * @return float|null + * @return RubricQuality_weight|null */ - public function getWeight(): ?float { + public function getWeight(): ?RubricQuality_weight { $val = $this->getBackingStore()->get('weight'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof RubricQuality_weight) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'weight'"); @@ -156,7 +156,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeStringValue('qualityId', $this->getQualityId()); - $writer->writeFloatValue('weight', $this->getWeight()); + $writer->writeObjectValue('weight', $this->getWeight()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -218,9 +218,9 @@ public function setQualityId(?string $value): void { /** * Sets the weight property value. If present, a numerical weight for this quality. Weights must add up to 100. - * @param float|null $value Value to set for the weight property. + * @param RubricQuality_weight|null $value Value to set for the weight property. */ - public function setWeight(?float $value): void { + public function setWeight(?RubricQuality_weight $value): void { $this->getBackingStore()->set('weight', $value); } diff --git a/src/Generated/Models/RubricQuality_weight.php b/src/Generated/Models/RubricQuality_weight.php new file mode 100644 index 00000000000..6528fabd046 --- /dev/null +++ b/src/Generated/Models/RubricQuality_weight.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RubricQuality_weight + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RubricQuality_weight { + $result = new RubricQuality_weight(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setFloat($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the float property value. Composed type representation for type float + * @return float|null + */ + public function getFloat(): ?float { + $val = $this->getBackingStore()->get('float'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'float'"); + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getFloat() !== null) { + $writer->writeFloatValue(null, $this->getFloat()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the float property value. Composed type representation for type float + * @param float|null $value Value to set for the float property. + */ + public function setFloat(?float $value): void { + $this->getBackingStore()->set('float', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/ScoredEmailAddress.php b/src/Generated/Models/ScoredEmailAddress.php index 14e9f013cd5..0f9ae3a3041 100644 --- a/src/Generated/Models/ScoredEmailAddress.php +++ b/src/Generated/Models/ScoredEmailAddress.php @@ -77,7 +77,7 @@ public function getFieldDeserializers(): array { 'address' => fn(ParseNode $n) => $o->setAddress($n->getStringValue()), 'itemId' => fn(ParseNode $n) => $o->setItemId($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'relevanceScore' => fn(ParseNode $n) => $o->setRelevanceScore($n->getFloatValue()), + 'relevanceScore' => fn(ParseNode $n) => $o->setRelevanceScore($n->getObjectValue([ScoredEmailAddress_relevanceScore::class, 'createFromDiscriminatorValue'])), 'selectionLikelihood' => fn(ParseNode $n) => $o->setSelectionLikelihood($n->getEnumValue(SelectionLikelihoodInfo::class)), ]; } @@ -108,11 +108,11 @@ public function getOdataType(): ?string { /** * Gets the relevanceScore property value. The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships. - * @return float|null + * @return ScoredEmailAddress_relevanceScore|null */ - public function getRelevanceScore(): ?float { + public function getRelevanceScore(): ?ScoredEmailAddress_relevanceScore { $val = $this->getBackingStore()->get('relevanceScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof ScoredEmailAddress_relevanceScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'relevanceScore'"); @@ -138,7 +138,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('address', $this->getAddress()); $writer->writeStringValue('itemId', $this->getItemId()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeFloatValue('relevanceScore', $this->getRelevanceScore()); + $writer->writeObjectValue('relevanceScore', $this->getRelevanceScore()); $writer->writeEnumValue('selectionLikelihood', $this->getSelectionLikelihood()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -185,9 +185,9 @@ public function setOdataType(?string $value): void { /** * Sets the relevanceScore property value. The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships. - * @param float|null $value Value to set for the relevanceScore property. + * @param ScoredEmailAddress_relevanceScore|null $value Value to set for the relevanceScore property. */ - public function setRelevanceScore(?float $value): void { + public function setRelevanceScore(?ScoredEmailAddress_relevanceScore $value): void { $this->getBackingStore()->set('relevanceScore', $value); } diff --git a/src/Generated/Models/ScoredEmailAddress_relevanceScore.php b/src/Generated/Models/ScoredEmailAddress_relevanceScore.php new file mode 100644 index 00000000000..0b80cd00676 --- /dev/null +++ b/src/Generated/Models/ScoredEmailAddress_relevanceScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ScoredEmailAddress_relevanceScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ScoredEmailAddress_relevanceScore { + $result = new ScoredEmailAddress_relevanceScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/SecureScore.php b/src/Generated/Models/SecureScore.php index ee1f2d8a3ef..a1736397ab5 100644 --- a/src/Generated/Models/SecureScore.php +++ b/src/Generated/Models/SecureScore.php @@ -92,11 +92,11 @@ public function getCreatedDateTime(): ?DateTime { /** * Gets the currentScore property value. Tenant current attained score on specified date. - * @return float|null + * @return SecureScore_currentScore|null */ - public function getCurrentScore(): ?float { + public function getCurrentScore(): ?SecureScore_currentScore { $val = $this->getBackingStore()->get('currentScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof SecureScore_currentScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'currentScore'"); @@ -128,7 +128,7 @@ public function getFieldDeserializers(): array { 'azureTenantId' => fn(ParseNode $n) => $o->setAzureTenantId($n->getStringValue()), 'controlScores' => fn(ParseNode $n) => $o->setControlScores($n->getCollectionOfObjectValues([ControlScore::class, 'createFromDiscriminatorValue'])), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), - 'currentScore' => fn(ParseNode $n) => $o->setCurrentScore($n->getFloatValue()), + 'currentScore' => fn(ParseNode $n) => $o->setCurrentScore($n->getObjectValue([SecureScore_currentScore::class, 'createFromDiscriminatorValue'])), 'enabledServices' => function (ParseNode $n) { $val = $n->getCollectionOfPrimitiveValues(); if (is_array($val)) { @@ -138,7 +138,7 @@ public function getFieldDeserializers(): array { $this->setEnabledServices($val); }, 'licensedUserCount' => fn(ParseNode $n) => $o->setLicensedUserCount($n->getIntegerValue()), - 'maxScore' => fn(ParseNode $n) => $o->setMaxScore($n->getFloatValue()), + 'maxScore' => fn(ParseNode $n) => $o->setMaxScore($n->getObjectValue([SecureScore_maxScore::class, 'createFromDiscriminatorValue'])), 'vendorInformation' => fn(ParseNode $n) => $o->setVendorInformation($n->getObjectValue([SecurityVendorInformation::class, 'createFromDiscriminatorValue'])), ]); } @@ -157,11 +157,11 @@ public function getLicensedUserCount(): ?int { /** * Gets the maxScore property value. Tenant maximum possible score on specified date. - * @return float|null + * @return SecureScore_maxScore|null */ - public function getMaxScore(): ?float { + public function getMaxScore(): ?SecureScore_maxScore { $val = $this->getBackingStore()->get('maxScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof SecureScore_maxScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maxScore'"); @@ -190,10 +190,10 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('azureTenantId', $this->getAzureTenantId()); $writer->writeCollectionOfObjectValues('controlScores', $this->getControlScores()); $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); - $writer->writeFloatValue('currentScore', $this->getCurrentScore()); + $writer->writeObjectValue('currentScore', $this->getCurrentScore()); $writer->writeCollectionOfPrimitiveValues('enabledServices', $this->getEnabledServices()); $writer->writeIntegerValue('licensedUserCount', $this->getLicensedUserCount()); - $writer->writeFloatValue('maxScore', $this->getMaxScore()); + $writer->writeObjectValue('maxScore', $this->getMaxScore()); $writer->writeObjectValue('vendorInformation', $this->getVendorInformation()); } @@ -239,9 +239,9 @@ public function setCreatedDateTime(?DateTime $value): void { /** * Sets the currentScore property value. Tenant current attained score on specified date. - * @param float|null $value Value to set for the currentScore property. + * @param SecureScore_currentScore|null $value Value to set for the currentScore property. */ - public function setCurrentScore(?float $value): void { + public function setCurrentScore(?SecureScore_currentScore $value): void { $this->getBackingStore()->set('currentScore', $value); } @@ -263,9 +263,9 @@ public function setLicensedUserCount(?int $value): void { /** * Sets the maxScore property value. Tenant maximum possible score on specified date. - * @param float|null $value Value to set for the maxScore property. + * @param SecureScore_maxScore|null $value Value to set for the maxScore property. */ - public function setMaxScore(?float $value): void { + public function setMaxScore(?SecureScore_maxScore $value): void { $this->getBackingStore()->set('maxScore', $value); } diff --git a/src/Generated/Models/SecureScoreControlProfile.php b/src/Generated/Models/SecureScoreControlProfile.php index 23541556acf..845bda4cab3 100644 --- a/src/Generated/Models/SecureScoreControlProfile.php +++ b/src/Generated/Models/SecureScoreControlProfile.php @@ -130,7 +130,7 @@ public function getFieldDeserializers(): array { 'deprecated' => fn(ParseNode $n) => $o->setDeprecated($n->getBooleanValue()), 'implementationCost' => fn(ParseNode $n) => $o->setImplementationCost($n->getStringValue()), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), - 'maxScore' => fn(ParseNode $n) => $o->setMaxScore($n->getFloatValue()), + 'maxScore' => fn(ParseNode $n) => $o->setMaxScore($n->getObjectValue([SecureScoreControlProfile_maxScore::class, 'createFromDiscriminatorValue'])), 'rank' => fn(ParseNode $n) => $o->setRank($n->getIntegerValue()), 'remediation' => fn(ParseNode $n) => $o->setRemediation($n->getStringValue()), 'remediationImpact' => fn(ParseNode $n) => $o->setRemediationImpact($n->getStringValue()), @@ -176,11 +176,11 @@ public function getLastModifiedDateTime(): ?DateTime { /** * Gets the maxScore property value. max attainable score for the control. - * @return float|null + * @return SecureScoreControlProfile_maxScore|null */ - public function getMaxScore(): ?float { + public function getMaxScore(): ?SecureScoreControlProfile_maxScore { $val = $this->getBackingStore()->get('maxScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof SecureScoreControlProfile_maxScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maxScore'"); @@ -311,7 +311,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('deprecated', $this->getDeprecated()); $writer->writeStringValue('implementationCost', $this->getImplementationCost()); $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); - $writer->writeFloatValue('maxScore', $this->getMaxScore()); + $writer->writeObjectValue('maxScore', $this->getMaxScore()); $writer->writeIntegerValue('rank', $this->getRank()); $writer->writeStringValue('remediation', $this->getRemediation()); $writer->writeStringValue('remediationImpact', $this->getRemediationImpact()); @@ -397,9 +397,9 @@ public function setLastModifiedDateTime(?DateTime $value): void { /** * Sets the maxScore property value. max attainable score for the control. - * @param float|null $value Value to set for the maxScore property. + * @param SecureScoreControlProfile_maxScore|null $value Value to set for the maxScore property. */ - public function setMaxScore(?float $value): void { + public function setMaxScore(?SecureScoreControlProfile_maxScore $value): void { $this->getBackingStore()->set('maxScore', $value); } diff --git a/src/Generated/Models/SecureScoreControlProfile_maxScore.php b/src/Generated/Models/SecureScoreControlProfile_maxScore.php new file mode 100644 index 00000000000..c68e38cdea9 --- /dev/null +++ b/src/Generated/Models/SecureScoreControlProfile_maxScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return SecureScoreControlProfile_maxScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SecureScoreControlProfile_maxScore { + $result = new SecureScoreControlProfile_maxScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/SecureScore_currentScore.php b/src/Generated/Models/SecureScore_currentScore.php new file mode 100644 index 00000000000..e89eefdbcb0 --- /dev/null +++ b/src/Generated/Models/SecureScore_currentScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return SecureScore_currentScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SecureScore_currentScore { + $result = new SecureScore_currentScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/SecureScore_maxScore.php b/src/Generated/Models/SecureScore_maxScore.php new file mode 100644 index 00000000000..7ebe5db9a51 --- /dev/null +++ b/src/Generated/Models/SecureScore_maxScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return SecureScore_maxScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SecureScore_maxScore { + $result = new SecureScore_maxScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Security/CvssSummary.php b/src/Generated/Models/Security/CvssSummary.php index e05486a406c..3cf08d6d71c 100644 --- a/src/Generated/Models/Security/CvssSummary.php +++ b/src/Generated/Models/Security/CvssSummary.php @@ -63,7 +63,7 @@ public function getFieldDeserializers(): array { $o = $this; return [ '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'score' => fn(ParseNode $n) => $o->setScore($n->getFloatValue()), + 'score' => fn(ParseNode $n) => $o->setScore($n->getObjectValue([CvssSummary_score::class, 'createFromDiscriminatorValue'])), 'severity' => fn(ParseNode $n) => $o->setSeverity($n->getEnumValue(VulnerabilitySeverity::class)), 'vectorString' => fn(ParseNode $n) => $o->setVectorString($n->getStringValue()), ]; @@ -83,11 +83,11 @@ public function getOdataType(): ?string { /** * Gets the score property value. The CVSS score about this vulnerability. - * @return float|null + * @return CvssSummary_score|null */ - public function getScore(): ?float { + public function getScore(): ?CvssSummary_score { $val = $this->getBackingStore()->get('score'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof CvssSummary_score) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'score'"); @@ -123,7 +123,7 @@ public function getVectorString(): ?string { */ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeFloatValue('score', $this->getScore()); + $writer->writeObjectValue('score', $this->getScore()); $writer->writeEnumValue('severity', $this->getSeverity()); $writer->writeStringValue('vectorString', $this->getVectorString()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -155,9 +155,9 @@ public function setOdataType(?string $value): void { /** * Sets the score property value. The CVSS score about this vulnerability. - * @param float|null $value Value to set for the score property. + * @param CvssSummary_score|null $value Value to set for the score property. */ - public function setScore(?float $value): void { + public function setScore(?CvssSummary_score $value): void { $this->getBackingStore()->set('score', $value); } diff --git a/src/Generated/Models/Security/CvssSummary_score.php b/src/Generated/Models/Security/CvssSummary_score.php new file mode 100644 index 00000000000..6e3432acfec --- /dev/null +++ b/src/Generated/Models/Security/CvssSummary_score.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return CvssSummary_score + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CvssSummary_score { + $result = new CvssSummary_score(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Security/GeoLocation.php b/src/Generated/Models/Security/GeoLocation.php index 631fa21cae6..c86375b719c 100644 --- a/src/Generated/Models/Security/GeoLocation.php +++ b/src/Generated/Models/Security/GeoLocation.php @@ -88,8 +88,8 @@ public function getFieldDeserializers(): array { return [ 'city' => fn(ParseNode $n) => $o->setCity($n->getStringValue()), 'countryName' => fn(ParseNode $n) => $o->setCountryName($n->getStringValue()), - 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getFloatValue()), - 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getFloatValue()), + 'latitude' => fn(ParseNode $n) => $o->setLatitude($n->getObjectValue([GeoLocation_latitude::class, 'createFromDiscriminatorValue'])), + 'longitude' => fn(ParseNode $n) => $o->setLongitude($n->getObjectValue([GeoLocation_longitude::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'state' => fn(ParseNode $n) => $o->setState($n->getStringValue()), ]; @@ -97,11 +97,11 @@ public function getFieldDeserializers(): array { /** * Gets the latitude property value. The latitude property - * @return float|null + * @return GeoLocation_latitude|null */ - public function getLatitude(): ?float { + public function getLatitude(): ?GeoLocation_latitude { $val = $this->getBackingStore()->get('latitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof GeoLocation_latitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'latitude'"); @@ -109,11 +109,11 @@ public function getLatitude(): ?float { /** * Gets the longitude property value. The longitude property - * @return float|null + * @return GeoLocation_longitude|null */ - public function getLongitude(): ?float { + public function getLongitude(): ?GeoLocation_longitude { $val = $this->getBackingStore()->get('longitude'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof GeoLocation_longitude) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'longitude'"); @@ -150,8 +150,8 @@ public function getState(): ?string { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('city', $this->getCity()); $writer->writeStringValue('countryName', $this->getCountryName()); - $writer->writeFloatValue('latitude', $this->getLatitude()); - $writer->writeFloatValue('longitude', $this->getLongitude()); + $writer->writeObjectValue('latitude', $this->getLatitude()); + $writer->writeObjectValue('longitude', $this->getLongitude()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeStringValue('state', $this->getState()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -191,17 +191,17 @@ public function setCountryName(?string $value): void { /** * Sets the latitude property value. The latitude property - * @param float|null $value Value to set for the latitude property. + * @param GeoLocation_latitude|null $value Value to set for the latitude property. */ - public function setLatitude(?float $value): void { + public function setLatitude(?GeoLocation_latitude $value): void { $this->getBackingStore()->set('latitude', $value); } /** * Sets the longitude property value. The longitude property - * @param float|null $value Value to set for the longitude property. + * @param GeoLocation_longitude|null $value Value to set for the longitude property. */ - public function setLongitude(?float $value): void { + public function setLongitude(?GeoLocation_longitude $value): void { $this->getBackingStore()->set('longitude', $value); } diff --git a/src/Generated/Models/Security/GeoLocation_latitude.php b/src/Generated/Models/Security/GeoLocation_latitude.php new file mode 100644 index 00000000000..b1ef7301166 --- /dev/null +++ b/src/Generated/Models/Security/GeoLocation_latitude.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return GeoLocation_latitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GeoLocation_latitude { + $result = new GeoLocation_latitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Security/GeoLocation_longitude.php b/src/Generated/Models/Security/GeoLocation_longitude.php new file mode 100644 index 00000000000..a93e937cf81 --- /dev/null +++ b/src/Generated/Models/Security/GeoLocation_longitude.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return GeoLocation_longitude + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): GeoLocation_longitude { + $result = new GeoLocation_longitude(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/ServicePrincipal.php b/src/Generated/Models/ServicePrincipal.php index 7494bee73ce..9ff3b95350a 100644 --- a/src/Generated/Models/ServicePrincipal.php +++ b/src/Generated/Models/ServicePrincipal.php @@ -223,7 +223,7 @@ public function getCreatedObjects(): ?array { } /** - * Gets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. + * Gets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. To read this property, the calling app must be assigned the CustomSecAttributeAssignment.Read.All permission. To write this property, the calling app must be assigned the CustomSecAttributeAssignment.ReadWrite.All permissions. To read or write this property in delegated scenarios, the admin must be assigned the Attribute Assignment Administrator role. * @return CustomSecurityAttributeValue|null */ public function getCustomSecurityAttributes(): ?CustomSecurityAttributeValue { @@ -982,7 +982,7 @@ public function setCreatedObjects(?array $value): void { } /** - * Sets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. + * Sets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. To read this property, the calling app must be assigned the CustomSecAttributeAssignment.Read.All permission. To write this property, the calling app must be assigned the CustomSecAttributeAssignment.ReadWrite.All permissions. To read or write this property in delegated scenarios, the admin must be assigned the Attribute Assignment Administrator role. * @param CustomSecurityAttributeValue|null $value Value to set for the customSecurityAttributes property. */ public function setCustomSecurityAttributes(?CustomSecurityAttributeValue $value): void { diff --git a/src/Generated/Models/SimulationEventsContent.php b/src/Generated/Models/SimulationEventsContent.php index 00dee1257ae..22fdbed62fc 100644 --- a/src/Generated/Models/SimulationEventsContent.php +++ b/src/Generated/Models/SimulationEventsContent.php @@ -58,11 +58,11 @@ public function getBackingStore(): BackingStore { /** * Gets the compromisedRate property value. Actual percentage of users who fell for the simulated attack in an attack simulation and training campaign. - * @return float|null + * @return SimulationEventsContent_compromisedRate|null */ - public function getCompromisedRate(): ?float { + public function getCompromisedRate(): ?SimulationEventsContent_compromisedRate { $val = $this->getBackingStore()->get('compromisedRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof SimulationEventsContent_compromisedRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'compromisedRate'"); @@ -89,7 +89,7 @@ public function getEvents(): ?array { public function getFieldDeserializers(): array { $o = $this; return [ - 'compromisedRate' => fn(ParseNode $n) => $o->setCompromisedRate($n->getFloatValue()), + 'compromisedRate' => fn(ParseNode $n) => $o->setCompromisedRate($n->getObjectValue([SimulationEventsContent_compromisedRate::class, 'createFromDiscriminatorValue'])), 'events' => fn(ParseNode $n) => $o->setEvents($n->getCollectionOfObjectValues([SimulationEvent::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; @@ -112,7 +112,7 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeFloatValue('compromisedRate', $this->getCompromisedRate()); + $writer->writeObjectValue('compromisedRate', $this->getCompromisedRate()); $writer->writeCollectionOfObjectValues('events', $this->getEvents()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -136,9 +136,9 @@ public function setBackingStore(BackingStore $value): void { /** * Sets the compromisedRate property value. Actual percentage of users who fell for the simulated attack in an attack simulation and training campaign. - * @param float|null $value Value to set for the compromisedRate property. + * @param SimulationEventsContent_compromisedRate|null $value Value to set for the compromisedRate property. */ - public function setCompromisedRate(?float $value): void { + public function setCompromisedRate(?SimulationEventsContent_compromisedRate $value): void { $this->getBackingStore()->set('compromisedRate', $value); } diff --git a/src/Generated/Models/SimulationEventsContent_compromisedRate.php b/src/Generated/Models/SimulationEventsContent_compromisedRate.php new file mode 100644 index 00000000000..0f79d033d4f --- /dev/null +++ b/src/Generated/Models/SimulationEventsContent_compromisedRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return SimulationEventsContent_compromisedRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SimulationEventsContent_compromisedRate { + $result = new SimulationEventsContent_compromisedRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceMediaQuality.php b/src/Generated/Models/TeleconferenceDeviceMediaQuality.php index 8755dcb88c4..c66fd959c5d 100644 --- a/src/Generated/Models/TeleconferenceDeviceMediaQuality.php +++ b/src/Generated/Models/TeleconferenceDeviceMediaQuality.php @@ -71,11 +71,11 @@ public function getAverageInboundJitter(): ?DateInterval { /** * Gets the averageInboundPacketLossRateInPercentage property value. The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @return float|null + * @return TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage|null */ - public function getAverageInboundPacketLossRateInPercentage(): ?float { + public function getAverageInboundPacketLossRateInPercentage(): ?TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage { $val = $this->getBackingStore()->get('averageInboundPacketLossRateInPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageInboundPacketLossRateInPercentage'"); @@ -107,11 +107,11 @@ public function getAverageOutboundJitter(): ?DateInterval { /** * Gets the averageOutboundPacketLossRateInPercentage property value. The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @return float|null + * @return TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage|null */ - public function getAverageOutboundPacketLossRateInPercentage(): ?float { + public function getAverageOutboundPacketLossRateInPercentage(): ?TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage { $val = $this->getBackingStore()->get('averageOutboundPacketLossRateInPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageOutboundPacketLossRateInPercentage'"); @@ -157,20 +157,20 @@ public function getFieldDeserializers(): array { $o = $this; return [ 'averageInboundJitter' => fn(ParseNode $n) => $o->setAverageInboundJitter($n->getDateIntervalValue()), - 'averageInboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setAverageInboundPacketLossRateInPercentage($n->getFloatValue()), + 'averageInboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setAverageInboundPacketLossRateInPercentage($n->getObjectValue([TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::class, 'createFromDiscriminatorValue'])), 'averageInboundRoundTripDelay' => fn(ParseNode $n) => $o->setAverageInboundRoundTripDelay($n->getDateIntervalValue()), 'averageOutboundJitter' => fn(ParseNode $n) => $o->setAverageOutboundJitter($n->getDateIntervalValue()), - 'averageOutboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setAverageOutboundPacketLossRateInPercentage($n->getFloatValue()), + 'averageOutboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setAverageOutboundPacketLossRateInPercentage($n->getObjectValue([TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::class, 'createFromDiscriminatorValue'])), 'averageOutboundRoundTripDelay' => fn(ParseNode $n) => $o->setAverageOutboundRoundTripDelay($n->getDateIntervalValue()), 'channelIndex' => fn(ParseNode $n) => $o->setChannelIndex($n->getIntegerValue()), 'inboundPackets' => fn(ParseNode $n) => $o->setInboundPackets($n->getIntegerValue()), 'localIPAddress' => fn(ParseNode $n) => $o->setLocalIPAddress($n->getStringValue()), 'localPort' => fn(ParseNode $n) => $o->setLocalPort($n->getIntegerValue()), 'maximumInboundJitter' => fn(ParseNode $n) => $o->setMaximumInboundJitter($n->getDateIntervalValue()), - 'maximumInboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setMaximumInboundPacketLossRateInPercentage($n->getFloatValue()), + 'maximumInboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setMaximumInboundPacketLossRateInPercentage($n->getObjectValue([TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::class, 'createFromDiscriminatorValue'])), 'maximumInboundRoundTripDelay' => fn(ParseNode $n) => $o->setMaximumInboundRoundTripDelay($n->getDateIntervalValue()), 'maximumOutboundJitter' => fn(ParseNode $n) => $o->setMaximumOutboundJitter($n->getDateIntervalValue()), - 'maximumOutboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setMaximumOutboundPacketLossRateInPercentage($n->getFloatValue()), + 'maximumOutboundPacketLossRateInPercentage' => fn(ParseNode $n) => $o->setMaximumOutboundPacketLossRateInPercentage($n->getObjectValue([TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::class, 'createFromDiscriminatorValue'])), 'maximumOutboundRoundTripDelay' => fn(ParseNode $n) => $o->setMaximumOutboundRoundTripDelay($n->getDateIntervalValue()), 'mediaDuration' => fn(ParseNode $n) => $o->setMediaDuration($n->getDateIntervalValue()), 'networkLinkSpeedInBytes' => fn(ParseNode $n) => $o->setNetworkLinkSpeedInBytes($n->getIntegerValue()), @@ -231,11 +231,11 @@ public function getMaximumInboundJitter(): ?DateInterval { /** * Gets the maximumInboundPacketLossRateInPercentage property value. The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @return float|null + * @return TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage|null */ - public function getMaximumInboundPacketLossRateInPercentage(): ?float { + public function getMaximumInboundPacketLossRateInPercentage(): ?TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage { $val = $this->getBackingStore()->get('maximumInboundPacketLossRateInPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maximumInboundPacketLossRateInPercentage'"); @@ -267,11 +267,11 @@ public function getMaximumOutboundJitter(): ?DateInterval { /** * Gets the maximumOutboundPacketLossRateInPercentage property value. The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @return float|null + * @return TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage|null */ - public function getMaximumOutboundPacketLossRateInPercentage(): ?float { + public function getMaximumOutboundPacketLossRateInPercentage(): ?TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage { $val = $this->getBackingStore()->get('maximumOutboundPacketLossRateInPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'maximumOutboundPacketLossRateInPercentage'"); @@ -367,20 +367,20 @@ public function getRemotePort(): ?int { */ public function serialize(SerializationWriter $writer): void { $writer->writeDateIntervalValue('averageInboundJitter', $this->getAverageInboundJitter()); - $writer->writeFloatValue('averageInboundPacketLossRateInPercentage', $this->getAverageInboundPacketLossRateInPercentage()); + $writer->writeObjectValue('averageInboundPacketLossRateInPercentage', $this->getAverageInboundPacketLossRateInPercentage()); $writer->writeDateIntervalValue('averageInboundRoundTripDelay', $this->getAverageInboundRoundTripDelay()); $writer->writeDateIntervalValue('averageOutboundJitter', $this->getAverageOutboundJitter()); - $writer->writeFloatValue('averageOutboundPacketLossRateInPercentage', $this->getAverageOutboundPacketLossRateInPercentage()); + $writer->writeObjectValue('averageOutboundPacketLossRateInPercentage', $this->getAverageOutboundPacketLossRateInPercentage()); $writer->writeDateIntervalValue('averageOutboundRoundTripDelay', $this->getAverageOutboundRoundTripDelay()); $writer->writeIntegerValue('channelIndex', $this->getChannelIndex()); $writer->writeIntegerValue('inboundPackets', $this->getInboundPackets()); $writer->writeStringValue('localIPAddress', $this->getLocalIPAddress()); $writer->writeIntegerValue('localPort', $this->getLocalPort()); $writer->writeDateIntervalValue('maximumInboundJitter', $this->getMaximumInboundJitter()); - $writer->writeFloatValue('maximumInboundPacketLossRateInPercentage', $this->getMaximumInboundPacketLossRateInPercentage()); + $writer->writeObjectValue('maximumInboundPacketLossRateInPercentage', $this->getMaximumInboundPacketLossRateInPercentage()); $writer->writeDateIntervalValue('maximumInboundRoundTripDelay', $this->getMaximumInboundRoundTripDelay()); $writer->writeDateIntervalValue('maximumOutboundJitter', $this->getMaximumOutboundJitter()); - $writer->writeFloatValue('maximumOutboundPacketLossRateInPercentage', $this->getMaximumOutboundPacketLossRateInPercentage()); + $writer->writeObjectValue('maximumOutboundPacketLossRateInPercentage', $this->getMaximumOutboundPacketLossRateInPercentage()); $writer->writeDateIntervalValue('maximumOutboundRoundTripDelay', $this->getMaximumOutboundRoundTripDelay()); $writer->writeDateIntervalValue('mediaDuration', $this->getMediaDuration()); $writer->writeIntegerValue('networkLinkSpeedInBytes', $this->getNetworkLinkSpeedInBytes()); @@ -409,9 +409,9 @@ public function setAverageInboundJitter(?DateInterval $value): void { /** * Sets the averageInboundPacketLossRateInPercentage property value. The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @param float|null $value Value to set for the averageInboundPacketLossRateInPercentage property. + * @param TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage|null $value Value to set for the averageInboundPacketLossRateInPercentage property. */ - public function setAverageInboundPacketLossRateInPercentage(?float $value): void { + public function setAverageInboundPacketLossRateInPercentage(?TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage $value): void { $this->getBackingStore()->set('averageInboundPacketLossRateInPercentage', $value); } @@ -433,9 +433,9 @@ public function setAverageOutboundJitter(?DateInterval $value): void { /** * Sets the averageOutboundPacketLossRateInPercentage property value. The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @param float|null $value Value to set for the averageOutboundPacketLossRateInPercentage property. + * @param TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage|null $value Value to set for the averageOutboundPacketLossRateInPercentage property. */ - public function setAverageOutboundPacketLossRateInPercentage(?float $value): void { + public function setAverageOutboundPacketLossRateInPercentage(?TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage $value): void { $this->getBackingStore()->set('averageOutboundPacketLossRateInPercentage', $value); } @@ -497,9 +497,9 @@ public function setMaximumInboundJitter(?DateInterval $value): void { /** * Sets the maximumInboundPacketLossRateInPercentage property value. The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @param float|null $value Value to set for the maximumInboundPacketLossRateInPercentage property. + * @param TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage|null $value Value to set for the maximumInboundPacketLossRateInPercentage property. */ - public function setMaximumInboundPacketLossRateInPercentage(?float $value): void { + public function setMaximumInboundPacketLossRateInPercentage(?TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage $value): void { $this->getBackingStore()->set('maximumInboundPacketLossRateInPercentage', $value); } @@ -521,9 +521,9 @@ public function setMaximumOutboundJitter(?DateInterval $value): void { /** * Sets the maximumOutboundPacketLossRateInPercentage property value. The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. - * @param float|null $value Value to set for the maximumOutboundPacketLossRateInPercentage property. + * @param TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage|null $value Value to set for the maximumOutboundPacketLossRateInPercentage property. */ - public function setMaximumOutboundPacketLossRateInPercentage(?float $value): void { + public function setMaximumOutboundPacketLossRateInPercentage(?TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage $value): void { $this->getBackingStore()->set('maximumOutboundPacketLossRateInPercentage', $value); } diff --git a/src/Generated/Models/TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage.php b/src/Generated/Models/TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage.php new file mode 100644 index 00000000000..d4a55275b15 --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage { + $result = new TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage.php b/src/Generated/Models/TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage.php new file mode 100644 index 00000000000..ba9ed71315d --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage { + $result = new TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage.php b/src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage.php new file mode 100644 index 00000000000..60d123cef29 --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage { + $result = new TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage.php b/src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage.php new file mode 100644 index 00000000000..2eb72288e90 --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage { + $result = new TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceVideoQuality.php b/src/Generated/Models/TeleconferenceDeviceVideoQuality.php index b7efa196488..b1ad6afcaf7 100644 --- a/src/Generated/Models/TeleconferenceDeviceVideoQuality.php +++ b/src/Generated/Models/TeleconferenceDeviceVideoQuality.php @@ -34,11 +34,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Telec /** * Gets the averageInboundBitRate property value. The average inbound stream video bit rate per second. - * @return float|null + * @return TeleconferenceDeviceVideoQuality_averageInboundBitRate|null */ - public function getAverageInboundBitRate(): ?float { + public function getAverageInboundBitRate(): ?TeleconferenceDeviceVideoQuality_averageInboundBitRate { $val = $this->getBackingStore()->get('averageInboundBitRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceVideoQuality_averageInboundBitRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageInboundBitRate'"); @@ -46,11 +46,11 @@ public function getAverageInboundBitRate(): ?float { /** * Gets the averageInboundFrameRate property value. The average inbound stream video frame rate per second. - * @return float|null + * @return TeleconferenceDeviceVideoQuality_averageInboundFrameRate|null */ - public function getAverageInboundFrameRate(): ?float { + public function getAverageInboundFrameRate(): ?TeleconferenceDeviceVideoQuality_averageInboundFrameRate { $val = $this->getBackingStore()->get('averageInboundFrameRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceVideoQuality_averageInboundFrameRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageInboundFrameRate'"); @@ -58,11 +58,11 @@ public function getAverageInboundFrameRate(): ?float { /** * Gets the averageOutboundBitRate property value. The average outbound stream video bit rate per second. - * @return float|null + * @return TeleconferenceDeviceVideoQuality_averageOutboundBitRate|null */ - public function getAverageOutboundBitRate(): ?float { + public function getAverageOutboundBitRate(): ?TeleconferenceDeviceVideoQuality_averageOutboundBitRate { $val = $this->getBackingStore()->get('averageOutboundBitRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceVideoQuality_averageOutboundBitRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageOutboundBitRate'"); @@ -70,11 +70,11 @@ public function getAverageOutboundBitRate(): ?float { /** * Gets the averageOutboundFrameRate property value. The average outbound stream video frame rate per second. - * @return float|null + * @return TeleconferenceDeviceVideoQuality_averageOutboundFrameRate|null */ - public function getAverageOutboundFrameRate(): ?float { + public function getAverageOutboundFrameRate(): ?TeleconferenceDeviceVideoQuality_averageOutboundFrameRate { $val = $this->getBackingStore()->get('averageOutboundFrameRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof TeleconferenceDeviceVideoQuality_averageOutboundFrameRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageOutboundFrameRate'"); @@ -87,10 +87,10 @@ public function getAverageOutboundFrameRate(): ?float { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'averageInboundBitRate' => fn(ParseNode $n) => $o->setAverageInboundBitRate($n->getFloatValue()), - 'averageInboundFrameRate' => fn(ParseNode $n) => $o->setAverageInboundFrameRate($n->getFloatValue()), - 'averageOutboundBitRate' => fn(ParseNode $n) => $o->setAverageOutboundBitRate($n->getFloatValue()), - 'averageOutboundFrameRate' => fn(ParseNode $n) => $o->setAverageOutboundFrameRate($n->getFloatValue()), + 'averageInboundBitRate' => fn(ParseNode $n) => $o->setAverageInboundBitRate($n->getObjectValue([TeleconferenceDeviceVideoQuality_averageInboundBitRate::class, 'createFromDiscriminatorValue'])), + 'averageInboundFrameRate' => fn(ParseNode $n) => $o->setAverageInboundFrameRate($n->getObjectValue([TeleconferenceDeviceVideoQuality_averageInboundFrameRate::class, 'createFromDiscriminatorValue'])), + 'averageOutboundBitRate' => fn(ParseNode $n) => $o->setAverageOutboundBitRate($n->getObjectValue([TeleconferenceDeviceVideoQuality_averageOutboundBitRate::class, 'createFromDiscriminatorValue'])), + 'averageOutboundFrameRate' => fn(ParseNode $n) => $o->setAverageOutboundFrameRate($n->getObjectValue([TeleconferenceDeviceVideoQuality_averageOutboundFrameRate::class, 'createFromDiscriminatorValue'])), ]); } @@ -100,41 +100,41 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('averageInboundBitRate', $this->getAverageInboundBitRate()); - $writer->writeFloatValue('averageInboundFrameRate', $this->getAverageInboundFrameRate()); - $writer->writeFloatValue('averageOutboundBitRate', $this->getAverageOutboundBitRate()); - $writer->writeFloatValue('averageOutboundFrameRate', $this->getAverageOutboundFrameRate()); + $writer->writeObjectValue('averageInboundBitRate', $this->getAverageInboundBitRate()); + $writer->writeObjectValue('averageInboundFrameRate', $this->getAverageInboundFrameRate()); + $writer->writeObjectValue('averageOutboundBitRate', $this->getAverageOutboundBitRate()); + $writer->writeObjectValue('averageOutboundFrameRate', $this->getAverageOutboundFrameRate()); } /** * Sets the averageInboundBitRate property value. The average inbound stream video bit rate per second. - * @param float|null $value Value to set for the averageInboundBitRate property. + * @param TeleconferenceDeviceVideoQuality_averageInboundBitRate|null $value Value to set for the averageInboundBitRate property. */ - public function setAverageInboundBitRate(?float $value): void { + public function setAverageInboundBitRate(?TeleconferenceDeviceVideoQuality_averageInboundBitRate $value): void { $this->getBackingStore()->set('averageInboundBitRate', $value); } /** * Sets the averageInboundFrameRate property value. The average inbound stream video frame rate per second. - * @param float|null $value Value to set for the averageInboundFrameRate property. + * @param TeleconferenceDeviceVideoQuality_averageInboundFrameRate|null $value Value to set for the averageInboundFrameRate property. */ - public function setAverageInboundFrameRate(?float $value): void { + public function setAverageInboundFrameRate(?TeleconferenceDeviceVideoQuality_averageInboundFrameRate $value): void { $this->getBackingStore()->set('averageInboundFrameRate', $value); } /** * Sets the averageOutboundBitRate property value. The average outbound stream video bit rate per second. - * @param float|null $value Value to set for the averageOutboundBitRate property. + * @param TeleconferenceDeviceVideoQuality_averageOutboundBitRate|null $value Value to set for the averageOutboundBitRate property. */ - public function setAverageOutboundBitRate(?float $value): void { + public function setAverageOutboundBitRate(?TeleconferenceDeviceVideoQuality_averageOutboundBitRate $value): void { $this->getBackingStore()->set('averageOutboundBitRate', $value); } /** * Sets the averageOutboundFrameRate property value. The average outbound stream video frame rate per second. - * @param float|null $value Value to set for the averageOutboundFrameRate property. + * @param TeleconferenceDeviceVideoQuality_averageOutboundFrameRate|null $value Value to set for the averageOutboundFrameRate property. */ - public function setAverageOutboundFrameRate(?float $value): void { + public function setAverageOutboundFrameRate(?TeleconferenceDeviceVideoQuality_averageOutboundFrameRate $value): void { $this->getBackingStore()->set('averageOutboundFrameRate', $value); } diff --git a/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundBitRate.php b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundBitRate.php new file mode 100644 index 00000000000..ad4d5a8df9b --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundBitRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceVideoQuality_averageInboundBitRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceVideoQuality_averageInboundBitRate { + $result = new TeleconferenceDeviceVideoQuality_averageInboundBitRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundFrameRate.php b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundFrameRate.php new file mode 100644 index 00000000000..811b5af56ff --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageInboundFrameRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceVideoQuality_averageInboundFrameRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceVideoQuality_averageInboundFrameRate { + $result = new TeleconferenceDeviceVideoQuality_averageInboundFrameRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundBitRate.php b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundBitRate.php new file mode 100644 index 00000000000..ecd16af57b9 --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundBitRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceVideoQuality_averageOutboundBitRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceVideoQuality_averageOutboundBitRate { + $result = new TeleconferenceDeviceVideoQuality_averageOutboundBitRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundFrameRate.php b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundFrameRate.php new file mode 100644 index 00000000000..f9ab70da474 --- /dev/null +++ b/src/Generated/Models/TeleconferenceDeviceVideoQuality_averageOutboundFrameRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TeleconferenceDeviceVideoQuality_averageOutboundFrameRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TeleconferenceDeviceVideoQuality_averageOutboundFrameRate { + $result = new TeleconferenceDeviceVideoQuality_averageOutboundFrameRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Trending.php b/src/Generated/Models/Trending.php index 414535eea1b..21b084bb539 100644 --- a/src/Generated/Models/Trending.php +++ b/src/Generated/Models/Trending.php @@ -36,7 +36,7 @@ public function getFieldDeserializers(): array { 'resource' => fn(ParseNode $n) => $o->setResource($n->getObjectValue([Entity::class, 'createFromDiscriminatorValue'])), 'resourceReference' => fn(ParseNode $n) => $o->setResourceReference($n->getObjectValue([ResourceReference::class, 'createFromDiscriminatorValue'])), 'resourceVisualization' => fn(ParseNode $n) => $o->setResourceVisualization($n->getObjectValue([ResourceVisualization::class, 'createFromDiscriminatorValue'])), - 'weight' => fn(ParseNode $n) => $o->setWeight($n->getFloatValue()), + 'weight' => fn(ParseNode $n) => $o->setWeight($n->getObjectValue([Trending_weight::class, 'createFromDiscriminatorValue'])), ]); } @@ -90,11 +90,11 @@ public function getResourceVisualization(): ?ResourceVisualization { /** * Gets the weight property value. Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value. - * @return float|null + * @return Trending_weight|null */ - public function getWeight(): ?float { + public function getWeight(): ?Trending_weight { $val = $this->getBackingStore()->get('weight'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof Trending_weight) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'weight'"); @@ -108,7 +108,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); $writer->writeObjectValue('resource', $this->getResource()); - $writer->writeFloatValue('weight', $this->getWeight()); + $writer->writeObjectValue('weight', $this->getWeight()); } /** @@ -145,9 +145,9 @@ public function setResourceVisualization(?ResourceVisualization $value): void { /** * Sets the weight property value. Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value. - * @param float|null $value Value to set for the weight property. + * @param Trending_weight|null $value Value to set for the weight property. */ - public function setWeight(?float $value): void { + public function setWeight(?Trending_weight $value): void { $this->getBackingStore()->set('weight', $value); } diff --git a/src/Generated/Models/Trending_weight.php b/src/Generated/Models/Trending_weight.php new file mode 100644 index 00000000000..797e2bbb428 --- /dev/null +++ b/src/Generated/Models/Trending_weight.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Trending_weight + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Trending_weight { + $result = new Trending_weight(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index bad0ed9a168..8dcdf9f1e40 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -381,7 +381,7 @@ public function getCreationType(): ?string { } /** - * Gets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). The filter value is case-sensitive. + * Gets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). The filter value is case-sensitive. To read this property, the calling app must be assigned the CustomSecAttributeAssignment.Read.All permission. To write this property, the calling app must be assigned the CustomSecAttributeAssignment.ReadWrite.All permissions. To read or write this property in delegated scenarios, the admin must be assigned the Attribute Assignment Administrator role. * @return CustomSecurityAttributeValue|null */ public function getCustomSecurityAttributes(): ?CustomSecurityAttributeValue { @@ -519,7 +519,7 @@ public function getEmployeeId(): ?string { } /** - * Gets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator, Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. + * Gets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator (least privilege), Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. * @return DateTime|null */ public function getEmployeeLeaveDateTime(): ?DateTime { @@ -1257,7 +1257,7 @@ public function getOnPremisesDomainName(): ?string { } /** - * Gets the onPremisesExtensionAttributes property value. Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during the creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Returned only on $select. Supports $filter (eq, ne, not, in). + * Gets the onPremisesExtensionAttributes property value. Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. Each attribute can store up to 1024 characters. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during the creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Returned only on $select. Supports $filter (eq, ne, not, in). * @return OnPremisesExtensionAttributes|null */ public function getOnPremisesExtensionAttributes(): ?OnPremisesExtensionAttributes { @@ -2234,7 +2234,7 @@ public function setCreationType(?string $value): void { } /** - * Sets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). The filter value is case-sensitive. + * Sets the customSecurityAttributes property value. An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). The filter value is case-sensitive. To read this property, the calling app must be assigned the CustomSecAttributeAssignment.Read.All permission. To write this property, the calling app must be assigned the CustomSecAttributeAssignment.ReadWrite.All permissions. To read or write this property in delegated scenarios, the admin must be assigned the Attribute Assignment Administrator role. * @param CustomSecurityAttributeValue|null $value Value to set for the customSecurityAttributes property. */ public function setCustomSecurityAttributes(?CustomSecurityAttributeValue $value): void { @@ -2322,7 +2322,7 @@ public function setEmployeeId(?string $value): void { } /** - * Sets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator, Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. + * Sets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator (least privilege), Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. * @param DateTime|null $value Value to set for the employeeLeaveDateTime property. */ public function setEmployeeLeaveDateTime(?DateTime $value): void { @@ -2658,7 +2658,7 @@ public function setOnPremisesDomainName(?string $value): void { } /** - * Sets the onPremisesExtensionAttributes property value. Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during the creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Returned only on $select. Supports $filter (eq, ne, not, in). + * Sets the onPremisesExtensionAttributes property value. Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. Each attribute can store up to 1024 characters. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during the creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Returned only on $select. Supports $filter (eq, ne, not, in). * @param OnPremisesExtensionAttributes|null $value Value to set for the onPremisesExtensionAttributes property. */ public function setOnPremisesExtensionAttributes(?OnPremisesExtensionAttributes $value): void { diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance.php index b8169855e30..fa498d459a4 100644 --- a/src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance.php +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance.php @@ -77,11 +77,11 @@ public function getAppHangCount(): ?int { /** * Gets the appHealthScore property value. The health score of the application. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore|null */ - public function getAppHealthScore(): ?float { + public function getAppHealthScore(): ?UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore { $val = $this->getBackingStore()->get('appHealthScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'appHealthScore'"); @@ -134,7 +134,7 @@ public function getFieldDeserializers(): array { 'appCrashCount' => fn(ParseNode $n) => $o->setAppCrashCount($n->getIntegerValue()), 'appDisplayName' => fn(ParseNode $n) => $o->setAppDisplayName($n->getStringValue()), 'appHangCount' => fn(ParseNode $n) => $o->setAppHangCount($n->getIntegerValue()), - 'appHealthScore' => fn(ParseNode $n) => $o->setAppHealthScore($n->getFloatValue()), + 'appHealthScore' => fn(ParseNode $n) => $o->setAppHealthScore($n->getObjectValue([UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::class, 'createFromDiscriminatorValue'])), 'appName' => fn(ParseNode $n) => $o->setAppName($n->getStringValue()), 'appPublisher' => fn(ParseNode $n) => $o->setAppPublisher($n->getStringValue()), 'appUsageDuration' => fn(ParseNode $n) => $o->setAppUsageDuration($n->getIntegerValue()), @@ -164,7 +164,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('appCrashCount', $this->getAppCrashCount()); $writer->writeStringValue('appDisplayName', $this->getAppDisplayName()); $writer->writeIntegerValue('appHangCount', $this->getAppHangCount()); - $writer->writeFloatValue('appHealthScore', $this->getAppHealthScore()); + $writer->writeObjectValue('appHealthScore', $this->getAppHealthScore()); $writer->writeStringValue('appName', $this->getAppName()); $writer->writeStringValue('appPublisher', $this->getAppPublisher()); $writer->writeIntegerValue('appUsageDuration', $this->getAppUsageDuration()); @@ -205,9 +205,9 @@ public function setAppHangCount(?int $value): void { /** * Sets the appHealthScore property value. The health score of the application. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the appHealthScore property. + * @param UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore|null $value Value to set for the appHealthScore property. */ - public function setAppHealthScore(?float $value): void { + public function setAppHealthScore(?UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore $value): void { $this->getBackingStore()->set('appHealthScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore.php new file mode 100644 index 00000000000..3531c8ab8d9 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore { + $result = new UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php index 6fe6b58dbc8..0fa7b1d5440 100644 --- a/src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php @@ -75,7 +75,7 @@ public function getFieldDeserializers(): array { 'deviceModel' => fn(ParseNode $n) => $o->setDeviceModel($n->getStringValue()), 'healthStatus' => fn(ParseNode $n) => $o->setHealthStatus($n->getEnumValue(UserExperienceAnalyticsHealthState::class)), 'meanTimeToFailureInMinutes' => fn(ParseNode $n) => $o->setMeanTimeToFailureInMinutes($n->getIntegerValue()), - 'modelAppHealthScore' => fn(ParseNode $n) => $o->setModelAppHealthScore($n->getFloatValue()), + 'modelAppHealthScore' => fn(ParseNode $n) => $o->setModelAppHealthScore($n->getObjectValue([UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::class, 'createFromDiscriminatorValue'])), ]); } @@ -105,11 +105,11 @@ public function getMeanTimeToFailureInMinutes(): ?int { /** * Gets the modelAppHealthScore property value. The application health score of the device model. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore|null */ - public function getModelAppHealthScore(): ?float { + public function getModelAppHealthScore(): ?UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore { $val = $this->getBackingStore()->get('modelAppHealthScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'modelAppHealthScore'"); @@ -126,7 +126,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('deviceModel', $this->getDeviceModel()); $writer->writeEnumValue('healthStatus', $this->getHealthStatus()); $writer->writeIntegerValue('meanTimeToFailureInMinutes', $this->getMeanTimeToFailureInMinutes()); - $writer->writeFloatValue('modelAppHealthScore', $this->getModelAppHealthScore()); + $writer->writeObjectValue('modelAppHealthScore', $this->getModelAppHealthScore()); } /** @@ -171,9 +171,9 @@ public function setMeanTimeToFailureInMinutes(?int $value): void { /** * Sets the modelAppHealthScore property value. The application health score of the device model. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the modelAppHealthScore property. + * @param UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore|null $value Value to set for the modelAppHealthScore property. */ - public function setModelAppHealthScore(?float $value): void { + public function setModelAppHealthScore(?UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore $value): void { $this->getBackingStore()->set('modelAppHealthScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore.php new file mode 100644 index 00000000000..de063f4570a --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore { + $result = new UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance.php index 78d3e3cdf11..db8d116968b 100644 --- a/src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance.php +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance.php @@ -66,11 +66,11 @@ public function getCrashedAppCount(): ?int { /** * Gets the deviceAppHealthScore property value. The application health score of the device. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore|null */ - public function getDeviceAppHealthScore(): ?float { + public function getDeviceAppHealthScore(): ?UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore { $val = $this->getBackingStore()->get('deviceAppHealthScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceAppHealthScore'"); @@ -134,7 +134,7 @@ public function getFieldDeserializers(): array { 'appCrashCount' => fn(ParseNode $n) => $o->setAppCrashCount($n->getIntegerValue()), 'appHangCount' => fn(ParseNode $n) => $o->setAppHangCount($n->getIntegerValue()), 'crashedAppCount' => fn(ParseNode $n) => $o->setCrashedAppCount($n->getIntegerValue()), - 'deviceAppHealthScore' => fn(ParseNode $n) => $o->setDeviceAppHealthScore($n->getFloatValue()), + 'deviceAppHealthScore' => fn(ParseNode $n) => $o->setDeviceAppHealthScore($n->getObjectValue([UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::class, 'createFromDiscriminatorValue'])), 'deviceDisplayName' => fn(ParseNode $n) => $o->setDeviceDisplayName($n->getStringValue()), 'deviceId' => fn(ParseNode $n) => $o->setDeviceId($n->getStringValue()), 'deviceManufacturer' => fn(ParseNode $n) => $o->setDeviceManufacturer($n->getStringValue()), @@ -190,7 +190,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('appCrashCount', $this->getAppCrashCount()); $writer->writeIntegerValue('appHangCount', $this->getAppHangCount()); $writer->writeIntegerValue('crashedAppCount', $this->getCrashedAppCount()); - $writer->writeFloatValue('deviceAppHealthScore', $this->getDeviceAppHealthScore()); + $writer->writeObjectValue('deviceAppHealthScore', $this->getDeviceAppHealthScore()); $writer->writeStringValue('deviceDisplayName', $this->getDeviceDisplayName()); $writer->writeStringValue('deviceId', $this->getDeviceId()); $writer->writeStringValue('deviceManufacturer', $this->getDeviceManufacturer()); @@ -226,9 +226,9 @@ public function setCrashedAppCount(?int $value): void { /** * Sets the deviceAppHealthScore property value. The application health score of the device. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the deviceAppHealthScore property. + * @param UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore|null $value Value to set for the deviceAppHealthScore property. */ - public function setDeviceAppHealthScore(?float $value): void { + public function setDeviceAppHealthScore(?UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore $value): void { $this->getBackingStore()->set('deviceAppHealthScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore.php new file mode 100644 index 00000000000..518e6e92691 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore { + $result = new UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance.php index 8aa5cbbba6f..cfbdc316884 100644 --- a/src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance.php +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance.php @@ -50,7 +50,7 @@ public function getFieldDeserializers(): array { 'meanTimeToFailureInMinutes' => fn(ParseNode $n) => $o->setMeanTimeToFailureInMinutes($n->getIntegerValue()), 'osBuildNumber' => fn(ParseNode $n) => $o->setOsBuildNumber($n->getStringValue()), 'osVersion' => fn(ParseNode $n) => $o->setOsVersion($n->getStringValue()), - 'osVersionAppHealthScore' => fn(ParseNode $n) => $o->setOsVersionAppHealthScore($n->getFloatValue()), + 'osVersionAppHealthScore' => fn(ParseNode $n) => $o->setOsVersionAppHealthScore($n->getObjectValue([UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::class, 'createFromDiscriminatorValue'])), ]); } @@ -92,11 +92,11 @@ public function getOsVersion(): ?string { /** * Gets the osVersionAppHealthScore property value. The application health score of the OS version. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore|null */ - public function getOsVersionAppHealthScore(): ?float { + public function getOsVersionAppHealthScore(): ?UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore { $val = $this->getBackingStore()->get('osVersionAppHealthScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'osVersionAppHealthScore'"); @@ -112,7 +112,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('meanTimeToFailureInMinutes', $this->getMeanTimeToFailureInMinutes()); $writer->writeStringValue('osBuildNumber', $this->getOsBuildNumber()); $writer->writeStringValue('osVersion', $this->getOsVersion()); - $writer->writeFloatValue('osVersionAppHealthScore', $this->getOsVersionAppHealthScore()); + $writer->writeObjectValue('osVersionAppHealthScore', $this->getOsVersionAppHealthScore()); } /** @@ -149,9 +149,9 @@ public function setOsVersion(?string $value): void { /** * Sets the osVersionAppHealthScore property value. The application health score of the OS version. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the osVersionAppHealthScore property. + * @param UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore|null $value Value to set for the osVersionAppHealthScore property. */ - public function setOsVersionAppHealthScore(?float $value): void { + public function setOsVersionAppHealthScore(?UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore $value): void { $this->getBackingStore()->set('osVersionAppHealthScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore.php b/src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore.php new file mode 100644 index 00000000000..6536ee65aab --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore { + $result = new UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDevicePerformance.php b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance.php index aa0428a80fe..b31cdf7866d 100644 --- a/src/Generated/Models/UserExperienceAnalyticsDevicePerformance.php +++ b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance.php @@ -29,11 +29,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): UserE /** * Gets the averageBlueScreens property value. Average (mean) number of Blue Screens per device in the last 30 days. Valid values 0 to 9999999 - * @return float|null + * @return UserExperienceAnalyticsDevicePerformance_averageBlueScreens|null */ - public function getAverageBlueScreens(): ?float { + public function getAverageBlueScreens(): ?UserExperienceAnalyticsDevicePerformance_averageBlueScreens { $val = $this->getBackingStore()->get('averageBlueScreens'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDevicePerformance_averageBlueScreens) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageBlueScreens'"); @@ -41,11 +41,11 @@ public function getAverageBlueScreens(): ?float { /** * Gets the averageRestarts property value. Average (mean) number of Restarts per device in the last 30 days. Valid values 0 to 9999999 - * @return float|null + * @return UserExperienceAnalyticsDevicePerformance_averageRestarts|null */ - public function getAverageRestarts(): ?float { + public function getAverageRestarts(): ?UserExperienceAnalyticsDevicePerformance_averageRestarts { $val = $this->getBackingStore()->get('averageRestarts'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDevicePerformance_averageRestarts) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'averageRestarts'"); @@ -142,8 +142,8 @@ public function getDiskType(): ?DiskType { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'averageBlueScreens' => fn(ParseNode $n) => $o->setAverageBlueScreens($n->getFloatValue()), - 'averageRestarts' => fn(ParseNode $n) => $o->setAverageRestarts($n->getFloatValue()), + 'averageBlueScreens' => fn(ParseNode $n) => $o->setAverageBlueScreens($n->getObjectValue([UserExperienceAnalyticsDevicePerformance_averageBlueScreens::class, 'createFromDiscriminatorValue'])), + 'averageRestarts' => fn(ParseNode $n) => $o->setAverageRestarts($n->getObjectValue([UserExperienceAnalyticsDevicePerformance_averageRestarts::class, 'createFromDiscriminatorValue'])), 'blueScreenCount' => fn(ParseNode $n) => $o->setBlueScreenCount($n->getIntegerValue()), 'bootScore' => fn(ParseNode $n) => $o->setBootScore($n->getIntegerValue()), 'coreBootTimeInMs' => fn(ParseNode $n) => $o->setCoreBootTimeInMs($n->getIntegerValue()), @@ -157,11 +157,11 @@ public function getFieldDeserializers(): array { 'loginScore' => fn(ParseNode $n) => $o->setLoginScore($n->getIntegerValue()), 'manufacturer' => fn(ParseNode $n) => $o->setManufacturer($n->getStringValue()), 'model' => fn(ParseNode $n) => $o->setModel($n->getStringValue()), - 'modelStartupPerformanceScore' => fn(ParseNode $n) => $o->setModelStartupPerformanceScore($n->getFloatValue()), + 'modelStartupPerformanceScore' => fn(ParseNode $n) => $o->setModelStartupPerformanceScore($n->getObjectValue([UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::class, 'createFromDiscriminatorValue'])), 'operatingSystemVersion' => fn(ParseNode $n) => $o->setOperatingSystemVersion($n->getStringValue()), 'responsiveDesktopTimeInMs' => fn(ParseNode $n) => $o->setResponsiveDesktopTimeInMs($n->getIntegerValue()), 'restartCount' => fn(ParseNode $n) => $o->setRestartCount($n->getIntegerValue()), - 'startupPerformanceScore' => fn(ParseNode $n) => $o->setStartupPerformanceScore($n->getFloatValue()), + 'startupPerformanceScore' => fn(ParseNode $n) => $o->setStartupPerformanceScore($n->getObjectValue([UserExperienceAnalyticsDevicePerformance_startupPerformanceScore::class, 'createFromDiscriminatorValue'])), ]); } @@ -239,11 +239,11 @@ public function getModel(): ?string { /** * Gets the modelStartupPerformanceScore property value. The user experience analytics model level startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore|null */ - public function getModelStartupPerformanceScore(): ?float { + public function getModelStartupPerformanceScore(): ?UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore { $val = $this->getBackingStore()->get('modelStartupPerformanceScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'modelStartupPerformanceScore'"); @@ -287,11 +287,11 @@ public function getRestartCount(): ?int { /** * Gets the startupPerformanceScore property value. The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsDevicePerformance_startupPerformanceScore|null */ - public function getStartupPerformanceScore(): ?float { + public function getStartupPerformanceScore(): ?UserExperienceAnalyticsDevicePerformance_startupPerformanceScore { $val = $this->getBackingStore()->get('startupPerformanceScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDevicePerformance_startupPerformanceScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'startupPerformanceScore'"); @@ -303,8 +303,8 @@ public function getStartupPerformanceScore(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('averageBlueScreens', $this->getAverageBlueScreens()); - $writer->writeFloatValue('averageRestarts', $this->getAverageRestarts()); + $writer->writeObjectValue('averageBlueScreens', $this->getAverageBlueScreens()); + $writer->writeObjectValue('averageRestarts', $this->getAverageRestarts()); $writer->writeIntegerValue('blueScreenCount', $this->getBlueScreenCount()); $writer->writeIntegerValue('bootScore', $this->getBootScore()); $writer->writeIntegerValue('coreBootTimeInMs', $this->getCoreBootTimeInMs()); @@ -318,26 +318,26 @@ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('loginScore', $this->getLoginScore()); $writer->writeStringValue('manufacturer', $this->getManufacturer()); $writer->writeStringValue('model', $this->getModel()); - $writer->writeFloatValue('modelStartupPerformanceScore', $this->getModelStartupPerformanceScore()); + $writer->writeObjectValue('modelStartupPerformanceScore', $this->getModelStartupPerformanceScore()); $writer->writeStringValue('operatingSystemVersion', $this->getOperatingSystemVersion()); $writer->writeIntegerValue('responsiveDesktopTimeInMs', $this->getResponsiveDesktopTimeInMs()); $writer->writeIntegerValue('restartCount', $this->getRestartCount()); - $writer->writeFloatValue('startupPerformanceScore', $this->getStartupPerformanceScore()); + $writer->writeObjectValue('startupPerformanceScore', $this->getStartupPerformanceScore()); } /** * Sets the averageBlueScreens property value. Average (mean) number of Blue Screens per device in the last 30 days. Valid values 0 to 9999999 - * @param float|null $value Value to set for the averageBlueScreens property. + * @param UserExperienceAnalyticsDevicePerformance_averageBlueScreens|null $value Value to set for the averageBlueScreens property. */ - public function setAverageBlueScreens(?float $value): void { + public function setAverageBlueScreens(?UserExperienceAnalyticsDevicePerformance_averageBlueScreens $value): void { $this->getBackingStore()->set('averageBlueScreens', $value); } /** * Sets the averageRestarts property value. Average (mean) number of Restarts per device in the last 30 days. Valid values 0 to 9999999 - * @param float|null $value Value to set for the averageRestarts property. + * @param UserExperienceAnalyticsDevicePerformance_averageRestarts|null $value Value to set for the averageRestarts property. */ - public function setAverageRestarts(?float $value): void { + public function setAverageRestarts(?UserExperienceAnalyticsDevicePerformance_averageRestarts $value): void { $this->getBackingStore()->set('averageRestarts', $value); } @@ -447,9 +447,9 @@ public function setModel(?string $value): void { /** * Sets the modelStartupPerformanceScore property value. The user experience analytics model level startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the modelStartupPerformanceScore property. + * @param UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore|null $value Value to set for the modelStartupPerformanceScore property. */ - public function setModelStartupPerformanceScore(?float $value): void { + public function setModelStartupPerformanceScore(?UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore $value): void { $this->getBackingStore()->set('modelStartupPerformanceScore', $value); } @@ -479,9 +479,9 @@ public function setRestartCount(?int $value): void { /** * Sets the startupPerformanceScore property value. The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the startupPerformanceScore property. + * @param UserExperienceAnalyticsDevicePerformance_startupPerformanceScore|null $value Value to set for the startupPerformanceScore property. */ - public function setStartupPerformanceScore(?float $value): void { + public function setStartupPerformanceScore(?UserExperienceAnalyticsDevicePerformance_startupPerformanceScore $value): void { $this->getBackingStore()->set('startupPerformanceScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageBlueScreens.php b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageBlueScreens.php new file mode 100644 index 00000000000..4300470f6eb --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageBlueScreens.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDevicePerformance_averageBlueScreens + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDevicePerformance_averageBlueScreens { + $result = new UserExperienceAnalyticsDevicePerformance_averageBlueScreens(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageRestarts.php b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageRestarts.php new file mode 100644 index 00000000000..1cf3774c3ce --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_averageRestarts.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDevicePerformance_averageRestarts + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDevicePerformance_averageRestarts { + $result = new UserExperienceAnalyticsDevicePerformance_averageRestarts(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore.php b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore.php new file mode 100644 index 00000000000..058f607f6f3 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore { + $result = new UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_startupPerformanceScore.php b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_startupPerformanceScore.php new file mode 100644 index 00000000000..f66e2b37efe --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDevicePerformance_startupPerformanceScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDevicePerformance_startupPerformanceScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDevicePerformance_startupPerformanceScore { + $result = new UserExperienceAnalyticsDevicePerformance_startupPerformanceScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDeviceScores.php b/src/Generated/Models/UserExperienceAnalyticsDeviceScores.php index fd2fba69dbe..d0857e5a791 100644 --- a/src/Generated/Models/UserExperienceAnalyticsDeviceScores.php +++ b/src/Generated/Models/UserExperienceAnalyticsDeviceScores.php @@ -29,11 +29,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): UserE /** * Gets the appReliabilityScore property value. Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsDeviceScores_appReliabilityScore|null */ - public function getAppReliabilityScore(): ?float { + public function getAppReliabilityScore(): ?UserExperienceAnalyticsDeviceScores_appReliabilityScore { $val = $this->getBackingStore()->get('appReliabilityScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDeviceScores_appReliabilityScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'appReliabilityScore'"); @@ -41,11 +41,11 @@ public function getAppReliabilityScore(): ?float { /** * Gets the batteryHealthScore property value. Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsDeviceScores_batteryHealthScore|null */ - public function getBatteryHealthScore(): ?float { + public function getBatteryHealthScore(): ?UserExperienceAnalyticsDeviceScores_batteryHealthScore { $val = $this->getBackingStore()->get('batteryHealthScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDeviceScores_batteryHealthScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'batteryHealthScore'"); @@ -65,11 +65,11 @@ public function getDeviceName(): ?string { /** * Gets the endpointAnalyticsScore property value. Indicates a weighted average of the various scores. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore|null */ - public function getEndpointAnalyticsScore(): ?float { + public function getEndpointAnalyticsScore(): ?UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore { $val = $this->getBackingStore()->get('endpointAnalyticsScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'endpointAnalyticsScore'"); @@ -82,15 +82,15 @@ public function getEndpointAnalyticsScore(): ?float { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'appReliabilityScore' => fn(ParseNode $n) => $o->setAppReliabilityScore($n->getFloatValue()), - 'batteryHealthScore' => fn(ParseNode $n) => $o->setBatteryHealthScore($n->getFloatValue()), + 'appReliabilityScore' => fn(ParseNode $n) => $o->setAppReliabilityScore($n->getObjectValue([UserExperienceAnalyticsDeviceScores_appReliabilityScore::class, 'createFromDiscriminatorValue'])), + 'batteryHealthScore' => fn(ParseNode $n) => $o->setBatteryHealthScore($n->getObjectValue([UserExperienceAnalyticsDeviceScores_batteryHealthScore::class, 'createFromDiscriminatorValue'])), 'deviceName' => fn(ParseNode $n) => $o->setDeviceName($n->getStringValue()), - 'endpointAnalyticsScore' => fn(ParseNode $n) => $o->setEndpointAnalyticsScore($n->getFloatValue()), + 'endpointAnalyticsScore' => fn(ParseNode $n) => $o->setEndpointAnalyticsScore($n->getObjectValue([UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore::class, 'createFromDiscriminatorValue'])), 'healthStatus' => fn(ParseNode $n) => $o->setHealthStatus($n->getEnumValue(UserExperienceAnalyticsHealthState::class)), 'manufacturer' => fn(ParseNode $n) => $o->setManufacturer($n->getStringValue()), 'model' => fn(ParseNode $n) => $o->setModel($n->getStringValue()), - 'startupPerformanceScore' => fn(ParseNode $n) => $o->setStartupPerformanceScore($n->getFloatValue()), - 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getFloatValue()), + 'startupPerformanceScore' => fn(ParseNode $n) => $o->setStartupPerformanceScore($n->getObjectValue([UserExperienceAnalyticsDeviceScores_startupPerformanceScore::class, 'createFromDiscriminatorValue'])), + 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getObjectValue([UserExperienceAnalyticsDeviceScores_workFromAnywhereScore::class, 'createFromDiscriminatorValue'])), ]); } @@ -132,11 +132,11 @@ public function getModel(): ?string { /** * Gets the startupPerformanceScore property value. Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsDeviceScores_startupPerformanceScore|null */ - public function getStartupPerformanceScore(): ?float { + public function getStartupPerformanceScore(): ?UserExperienceAnalyticsDeviceScores_startupPerformanceScore { $val = $this->getBackingStore()->get('startupPerformanceScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDeviceScores_startupPerformanceScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'startupPerformanceScore'"); @@ -144,11 +144,11 @@ public function getStartupPerformanceScore(): ?float { /** * Gets the workFromAnywhereScore property value. Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsDeviceScores_workFromAnywhereScore|null */ - public function getWorkFromAnywhereScore(): ?float { + public function getWorkFromAnywhereScore(): ?UserExperienceAnalyticsDeviceScores_workFromAnywhereScore { $val = $this->getBackingStore()->get('workFromAnywhereScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsDeviceScores_workFromAnywhereScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'workFromAnywhereScore'"); @@ -160,30 +160,30 @@ public function getWorkFromAnywhereScore(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('appReliabilityScore', $this->getAppReliabilityScore()); - $writer->writeFloatValue('batteryHealthScore', $this->getBatteryHealthScore()); + $writer->writeObjectValue('appReliabilityScore', $this->getAppReliabilityScore()); + $writer->writeObjectValue('batteryHealthScore', $this->getBatteryHealthScore()); $writer->writeStringValue('deviceName', $this->getDeviceName()); - $writer->writeFloatValue('endpointAnalyticsScore', $this->getEndpointAnalyticsScore()); + $writer->writeObjectValue('endpointAnalyticsScore', $this->getEndpointAnalyticsScore()); $writer->writeEnumValue('healthStatus', $this->getHealthStatus()); $writer->writeStringValue('manufacturer', $this->getManufacturer()); $writer->writeStringValue('model', $this->getModel()); - $writer->writeFloatValue('startupPerformanceScore', $this->getStartupPerformanceScore()); - $writer->writeFloatValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); + $writer->writeObjectValue('startupPerformanceScore', $this->getStartupPerformanceScore()); + $writer->writeObjectValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); } /** * Sets the appReliabilityScore property value. Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the appReliabilityScore property. + * @param UserExperienceAnalyticsDeviceScores_appReliabilityScore|null $value Value to set for the appReliabilityScore property. */ - public function setAppReliabilityScore(?float $value): void { + public function setAppReliabilityScore(?UserExperienceAnalyticsDeviceScores_appReliabilityScore $value): void { $this->getBackingStore()->set('appReliabilityScore', $value); } /** * Sets the batteryHealthScore property value. Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the batteryHealthScore property. + * @param UserExperienceAnalyticsDeviceScores_batteryHealthScore|null $value Value to set for the batteryHealthScore property. */ - public function setBatteryHealthScore(?float $value): void { + public function setBatteryHealthScore(?UserExperienceAnalyticsDeviceScores_batteryHealthScore $value): void { $this->getBackingStore()->set('batteryHealthScore', $value); } @@ -197,9 +197,9 @@ public function setDeviceName(?string $value): void { /** * Sets the endpointAnalyticsScore property value. Indicates a weighted average of the various scores. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the endpointAnalyticsScore property. + * @param UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore|null $value Value to set for the endpointAnalyticsScore property. */ - public function setEndpointAnalyticsScore(?float $value): void { + public function setEndpointAnalyticsScore(?UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore $value): void { $this->getBackingStore()->set('endpointAnalyticsScore', $value); } @@ -229,17 +229,17 @@ public function setModel(?string $value): void { /** * Sets the startupPerformanceScore property value. Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the startupPerformanceScore property. + * @param UserExperienceAnalyticsDeviceScores_startupPerformanceScore|null $value Value to set for the startupPerformanceScore property. */ - public function setStartupPerformanceScore(?float $value): void { + public function setStartupPerformanceScore(?UserExperienceAnalyticsDeviceScores_startupPerformanceScore $value): void { $this->getBackingStore()->set('startupPerformanceScore', $value); } /** * Sets the workFromAnywhereScore property value. Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the workFromAnywhereScore property. + * @param UserExperienceAnalyticsDeviceScores_workFromAnywhereScore|null $value Value to set for the workFromAnywhereScore property. */ - public function setWorkFromAnywhereScore(?float $value): void { + public function setWorkFromAnywhereScore(?UserExperienceAnalyticsDeviceScores_workFromAnywhereScore $value): void { $this->getBackingStore()->set('workFromAnywhereScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsDeviceScores_appReliabilityScore.php b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_appReliabilityScore.php new file mode 100644 index 00000000000..e3e4f2d7b70 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_appReliabilityScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDeviceScores_appReliabilityScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDeviceScores_appReliabilityScore { + $result = new UserExperienceAnalyticsDeviceScores_appReliabilityScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDeviceScores_batteryHealthScore.php b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_batteryHealthScore.php new file mode 100644 index 00000000000..f1bc9ce895b --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_batteryHealthScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDeviceScores_batteryHealthScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDeviceScores_batteryHealthScore { + $result = new UserExperienceAnalyticsDeviceScores_batteryHealthScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore.php b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore.php new file mode 100644 index 00000000000..6bdbc1a1bb9 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore { + $result = new UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDeviceScores_startupPerformanceScore.php b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_startupPerformanceScore.php new file mode 100644 index 00000000000..d84d2c0fac4 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_startupPerformanceScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDeviceScores_startupPerformanceScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDeviceScores_startupPerformanceScore { + $result = new UserExperienceAnalyticsDeviceScores_startupPerformanceScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsDeviceScores_workFromAnywhereScore.php b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_workFromAnywhereScore.php new file mode 100644 index 00000000000..99b0d7f2a3b --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsDeviceScores_workFromAnywhereScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsDeviceScores_workFromAnywhereScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsDeviceScores_workFromAnywhereScore { + $result = new UserExperienceAnalyticsDeviceScores_workFromAnywhereScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsMetric.php b/src/Generated/Models/UserExperienceAnalyticsMetric.php index 4c0f98a4ea1..6753b862966 100644 --- a/src/Generated/Models/UserExperienceAnalyticsMetric.php +++ b/src/Generated/Models/UserExperienceAnalyticsMetric.php @@ -35,7 +35,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'unit' => fn(ParseNode $n) => $o->setUnit($n->getStringValue()), - 'value' => fn(ParseNode $n) => $o->setValue($n->getFloatValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getObjectValue([UserExperienceAnalyticsMetric_value::class, 'createFromDiscriminatorValue'])), ]); } @@ -53,11 +53,11 @@ public function getUnit(): ?string { /** * Gets the value property value. The value of the user experience analytics metric. - * @return float|null + * @return UserExperienceAnalyticsMetric_value|null */ - public function getValue(): ?float { + public function getValue(): ?UserExperienceAnalyticsMetric_value { $val = $this->getBackingStore()->get('value'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsMetric_value) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -70,7 +70,7 @@ public function getValue(): ?float { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('unit', $this->getUnit()); - $writer->writeFloatValue('value', $this->getValue()); + $writer->writeObjectValue('value', $this->getValue()); } /** @@ -83,9 +83,9 @@ public function setUnit(?string $value): void { /** * Sets the value property value. The value of the user experience analytics metric. - * @param float|null $value Value to set for the value property. + * @param UserExperienceAnalyticsMetric_value|null $value Value to set for the value property. */ - public function setValue(?float $value): void { + public function setValue(?UserExperienceAnalyticsMetric_value $value): void { $this->getBackingStore()->set('value', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsMetric_value.php b/src/Generated/Models/UserExperienceAnalyticsMetric_value.php new file mode 100644 index 00000000000..b102638aaff --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsMetric_value.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsMetric_value + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsMetric_value { + $result = new UserExperienceAnalyticsMetric_value(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsModelScores.php b/src/Generated/Models/UserExperienceAnalyticsModelScores.php index ae77a43978e..44825bc9d75 100644 --- a/src/Generated/Models/UserExperienceAnalyticsModelScores.php +++ b/src/Generated/Models/UserExperienceAnalyticsModelScores.php @@ -29,11 +29,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): UserE /** * Gets the appReliabilityScore property value. Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsModelScores_appReliabilityScore|null */ - public function getAppReliabilityScore(): ?float { + public function getAppReliabilityScore(): ?UserExperienceAnalyticsModelScores_appReliabilityScore { $val = $this->getBackingStore()->get('appReliabilityScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsModelScores_appReliabilityScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'appReliabilityScore'"); @@ -41,11 +41,11 @@ public function getAppReliabilityScore(): ?float { /** * Gets the batteryHealthScore property value. Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsModelScores_batteryHealthScore|null */ - public function getBatteryHealthScore(): ?float { + public function getBatteryHealthScore(): ?UserExperienceAnalyticsModelScores_batteryHealthScore { $val = $this->getBackingStore()->get('batteryHealthScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsModelScores_batteryHealthScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'batteryHealthScore'"); @@ -53,11 +53,11 @@ public function getBatteryHealthScore(): ?float { /** * Gets the endpointAnalyticsScore property value. Indicates a weighted average of the various scores. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsModelScores_endpointAnalyticsScore|null */ - public function getEndpointAnalyticsScore(): ?float { + public function getEndpointAnalyticsScore(): ?UserExperienceAnalyticsModelScores_endpointAnalyticsScore { $val = $this->getBackingStore()->get('endpointAnalyticsScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsModelScores_endpointAnalyticsScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'endpointAnalyticsScore'"); @@ -70,15 +70,15 @@ public function getEndpointAnalyticsScore(): ?float { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'appReliabilityScore' => fn(ParseNode $n) => $o->setAppReliabilityScore($n->getFloatValue()), - 'batteryHealthScore' => fn(ParseNode $n) => $o->setBatteryHealthScore($n->getFloatValue()), - 'endpointAnalyticsScore' => fn(ParseNode $n) => $o->setEndpointAnalyticsScore($n->getFloatValue()), + 'appReliabilityScore' => fn(ParseNode $n) => $o->setAppReliabilityScore($n->getObjectValue([UserExperienceAnalyticsModelScores_appReliabilityScore::class, 'createFromDiscriminatorValue'])), + 'batteryHealthScore' => fn(ParseNode $n) => $o->setBatteryHealthScore($n->getObjectValue([UserExperienceAnalyticsModelScores_batteryHealthScore::class, 'createFromDiscriminatorValue'])), + 'endpointAnalyticsScore' => fn(ParseNode $n) => $o->setEndpointAnalyticsScore($n->getObjectValue([UserExperienceAnalyticsModelScores_endpointAnalyticsScore::class, 'createFromDiscriminatorValue'])), 'healthStatus' => fn(ParseNode $n) => $o->setHealthStatus($n->getEnumValue(UserExperienceAnalyticsHealthState::class)), 'manufacturer' => fn(ParseNode $n) => $o->setManufacturer($n->getStringValue()), 'model' => fn(ParseNode $n) => $o->setModel($n->getStringValue()), 'modelDeviceCount' => fn(ParseNode $n) => $o->setModelDeviceCount($n->getIntegerValue()), - 'startupPerformanceScore' => fn(ParseNode $n) => $o->setStartupPerformanceScore($n->getFloatValue()), - 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getFloatValue()), + 'startupPerformanceScore' => fn(ParseNode $n) => $o->setStartupPerformanceScore($n->getObjectValue([UserExperienceAnalyticsModelScores_startupPerformanceScore::class, 'createFromDiscriminatorValue'])), + 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getObjectValue([UserExperienceAnalyticsModelScores_workFromAnywhereScore::class, 'createFromDiscriminatorValue'])), ]); } @@ -132,11 +132,11 @@ public function getModelDeviceCount(): ?int { /** * Gets the startupPerformanceScore property value. Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsModelScores_startupPerformanceScore|null */ - public function getStartupPerformanceScore(): ?float { + public function getStartupPerformanceScore(): ?UserExperienceAnalyticsModelScores_startupPerformanceScore { $val = $this->getBackingStore()->get('startupPerformanceScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsModelScores_startupPerformanceScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'startupPerformanceScore'"); @@ -144,11 +144,11 @@ public function getStartupPerformanceScore(): ?float { /** * Gets the workFromAnywhereScore property value. Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsModelScores_workFromAnywhereScore|null */ - public function getWorkFromAnywhereScore(): ?float { + public function getWorkFromAnywhereScore(): ?UserExperienceAnalyticsModelScores_workFromAnywhereScore { $val = $this->getBackingStore()->get('workFromAnywhereScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsModelScores_workFromAnywhereScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'workFromAnywhereScore'"); @@ -160,38 +160,38 @@ public function getWorkFromAnywhereScore(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('appReliabilityScore', $this->getAppReliabilityScore()); - $writer->writeFloatValue('batteryHealthScore', $this->getBatteryHealthScore()); - $writer->writeFloatValue('endpointAnalyticsScore', $this->getEndpointAnalyticsScore()); + $writer->writeObjectValue('appReliabilityScore', $this->getAppReliabilityScore()); + $writer->writeObjectValue('batteryHealthScore', $this->getBatteryHealthScore()); + $writer->writeObjectValue('endpointAnalyticsScore', $this->getEndpointAnalyticsScore()); $writer->writeEnumValue('healthStatus', $this->getHealthStatus()); $writer->writeStringValue('manufacturer', $this->getManufacturer()); $writer->writeStringValue('model', $this->getModel()); $writer->writeIntegerValue('modelDeviceCount', $this->getModelDeviceCount()); - $writer->writeFloatValue('startupPerformanceScore', $this->getStartupPerformanceScore()); - $writer->writeFloatValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); + $writer->writeObjectValue('startupPerformanceScore', $this->getStartupPerformanceScore()); + $writer->writeObjectValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); } /** * Sets the appReliabilityScore property value. Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the appReliabilityScore property. + * @param UserExperienceAnalyticsModelScores_appReliabilityScore|null $value Value to set for the appReliabilityScore property. */ - public function setAppReliabilityScore(?float $value): void { + public function setAppReliabilityScore(?UserExperienceAnalyticsModelScores_appReliabilityScore $value): void { $this->getBackingStore()->set('appReliabilityScore', $value); } /** * Sets the batteryHealthScore property value. Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the batteryHealthScore property. + * @param UserExperienceAnalyticsModelScores_batteryHealthScore|null $value Value to set for the batteryHealthScore property. */ - public function setBatteryHealthScore(?float $value): void { + public function setBatteryHealthScore(?UserExperienceAnalyticsModelScores_batteryHealthScore $value): void { $this->getBackingStore()->set('batteryHealthScore', $value); } /** * Sets the endpointAnalyticsScore property value. Indicates a weighted average of the various scores. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the endpointAnalyticsScore property. + * @param UserExperienceAnalyticsModelScores_endpointAnalyticsScore|null $value Value to set for the endpointAnalyticsScore property. */ - public function setEndpointAnalyticsScore(?float $value): void { + public function setEndpointAnalyticsScore(?UserExperienceAnalyticsModelScores_endpointAnalyticsScore $value): void { $this->getBackingStore()->set('endpointAnalyticsScore', $value); } @@ -229,17 +229,17 @@ public function setModelDeviceCount(?int $value): void { /** * Sets the startupPerformanceScore property value. Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the startupPerformanceScore property. + * @param UserExperienceAnalyticsModelScores_startupPerformanceScore|null $value Value to set for the startupPerformanceScore property. */ - public function setStartupPerformanceScore(?float $value): void { + public function setStartupPerformanceScore(?UserExperienceAnalyticsModelScores_startupPerformanceScore $value): void { $this->getBackingStore()->set('startupPerformanceScore', $value); } /** * Sets the workFromAnywhereScore property value. Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the workFromAnywhereScore property. + * @param UserExperienceAnalyticsModelScores_workFromAnywhereScore|null $value Value to set for the workFromAnywhereScore property. */ - public function setWorkFromAnywhereScore(?float $value): void { + public function setWorkFromAnywhereScore(?UserExperienceAnalyticsModelScores_workFromAnywhereScore $value): void { $this->getBackingStore()->set('workFromAnywhereScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsModelScores_appReliabilityScore.php b/src/Generated/Models/UserExperienceAnalyticsModelScores_appReliabilityScore.php new file mode 100644 index 00000000000..f3caa56d7ac --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsModelScores_appReliabilityScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsModelScores_appReliabilityScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsModelScores_appReliabilityScore { + $result = new UserExperienceAnalyticsModelScores_appReliabilityScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsModelScores_batteryHealthScore.php b/src/Generated/Models/UserExperienceAnalyticsModelScores_batteryHealthScore.php new file mode 100644 index 00000000000..cd3674e6f0f --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsModelScores_batteryHealthScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsModelScores_batteryHealthScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsModelScores_batteryHealthScore { + $result = new UserExperienceAnalyticsModelScores_batteryHealthScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsModelScores_endpointAnalyticsScore.php b/src/Generated/Models/UserExperienceAnalyticsModelScores_endpointAnalyticsScore.php new file mode 100644 index 00000000000..c35ca675b16 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsModelScores_endpointAnalyticsScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsModelScores_endpointAnalyticsScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsModelScores_endpointAnalyticsScore { + $result = new UserExperienceAnalyticsModelScores_endpointAnalyticsScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsModelScores_startupPerformanceScore.php b/src/Generated/Models/UserExperienceAnalyticsModelScores_startupPerformanceScore.php new file mode 100644 index 00000000000..abf6c08bb52 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsModelScores_startupPerformanceScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsModelScores_startupPerformanceScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsModelScores_startupPerformanceScore { + $result = new UserExperienceAnalyticsModelScores_startupPerformanceScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsModelScores_workFromAnywhereScore.php b/src/Generated/Models/UserExperienceAnalyticsModelScores_workFromAnywhereScore.php new file mode 100644 index 00000000000..9a47a52ea2b --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsModelScores_workFromAnywhereScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsModelScores_workFromAnywhereScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsModelScores_workFromAnywhereScore { + $result = new UserExperienceAnalyticsModelScores_workFromAnywhereScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice.php index 28a4a1525b5..cc3f6e27677 100644 --- a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice.php +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice.php @@ -89,11 +89,11 @@ public function getAzureAdRegistered(): ?bool { /** * Gets the cloudIdentityScore property value. Indicates per device cloud identity score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore|null */ - public function getCloudIdentityScore(): ?float { + public function getCloudIdentityScore(): ?UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore { $val = $this->getBackingStore()->get('cloudIdentityScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudIdentityScore'"); @@ -101,11 +101,11 @@ public function getCloudIdentityScore(): ?float { /** * Gets the cloudManagementScore property value. Indicates per device cloud management score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore|null */ - public function getCloudManagementScore(): ?float { + public function getCloudManagementScore(): ?UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore { $val = $this->getBackingStore()->get('cloudManagementScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudManagementScore'"); @@ -113,11 +113,11 @@ public function getCloudManagementScore(): ?float { /** * Gets the cloudProvisioningScore property value. Indicates per device cloud provisioning score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore|null */ - public function getCloudProvisioningScore(): ?float { + public function getCloudProvisioningScore(): ?UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore { $val = $this->getBackingStore()->get('cloudProvisioningScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudProvisioningScore'"); @@ -171,9 +171,9 @@ public function getFieldDeserializers(): array { 'azureAdDeviceId' => fn(ParseNode $n) => $o->setAzureAdDeviceId($n->getStringValue()), 'azureAdJoinType' => fn(ParseNode $n) => $o->setAzureAdJoinType($n->getStringValue()), 'azureAdRegistered' => fn(ParseNode $n) => $o->setAzureAdRegistered($n->getBooleanValue()), - 'cloudIdentityScore' => fn(ParseNode $n) => $o->setCloudIdentityScore($n->getFloatValue()), - 'cloudManagementScore' => fn(ParseNode $n) => $o->setCloudManagementScore($n->getFloatValue()), - 'cloudProvisioningScore' => fn(ParseNode $n) => $o->setCloudProvisioningScore($n->getFloatValue()), + 'cloudIdentityScore' => fn(ParseNode $n) => $o->setCloudIdentityScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::class, 'createFromDiscriminatorValue'])), + 'cloudManagementScore' => fn(ParseNode $n) => $o->setCloudManagementScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::class, 'createFromDiscriminatorValue'])), + 'cloudProvisioningScore' => fn(ParseNode $n) => $o->setCloudProvisioningScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::class, 'createFromDiscriminatorValue'])), 'compliancePolicySetToIntune' => fn(ParseNode $n) => $o->setCompliancePolicySetToIntune($n->getBooleanValue()), 'deviceId' => fn(ParseNode $n) => $o->setDeviceId($n->getStringValue()), 'deviceName' => fn(ParseNode $n) => $o->setDeviceName($n->getStringValue()), @@ -198,8 +198,8 @@ public function getFieldDeserializers(): array { 'tenantAttached' => fn(ParseNode $n) => $o->setTenantAttached($n->getBooleanValue()), 'tpmCheckFailed' => fn(ParseNode $n) => $o->setTpmCheckFailed($n->getBooleanValue()), 'upgradeEligibility' => fn(ParseNode $n) => $o->setUpgradeEligibility($n->getEnumValue(OperatingSystemUpgradeEligibility::class)), - 'windowsScore' => fn(ParseNode $n) => $o->setWindowsScore($n->getFloatValue()), - 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getFloatValue()), + 'windowsScore' => fn(ParseNode $n) => $o->setWindowsScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::class, 'createFromDiscriminatorValue'])), + 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::class, 'createFromDiscriminatorValue'])), ]); } @@ -457,11 +457,11 @@ public function getUpgradeEligibility(): ?OperatingSystemUpgradeEligibility { /** * Gets the windowsScore property value. Indicates per device windows score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore|null */ - public function getWindowsScore(): ?float { + public function getWindowsScore(): ?UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore { $val = $this->getBackingStore()->get('windowsScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'windowsScore'"); @@ -469,11 +469,11 @@ public function getWindowsScore(): ?float { /** * Gets the workFromAnywhereScore property value. Indicates work from anywhere per device overall score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore|null */ - public function getWorkFromAnywhereScore(): ?float { + public function getWorkFromAnywhereScore(): ?UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore { $val = $this->getBackingStore()->get('workFromAnywhereScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'workFromAnywhereScore'"); @@ -490,9 +490,9 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('azureAdDeviceId', $this->getAzureAdDeviceId()); $writer->writeStringValue('azureAdJoinType', $this->getAzureAdJoinType()); $writer->writeBooleanValue('azureAdRegistered', $this->getAzureAdRegistered()); - $writer->writeFloatValue('cloudIdentityScore', $this->getCloudIdentityScore()); - $writer->writeFloatValue('cloudManagementScore', $this->getCloudManagementScore()); - $writer->writeFloatValue('cloudProvisioningScore', $this->getCloudProvisioningScore()); + $writer->writeObjectValue('cloudIdentityScore', $this->getCloudIdentityScore()); + $writer->writeObjectValue('cloudManagementScore', $this->getCloudManagementScore()); + $writer->writeObjectValue('cloudProvisioningScore', $this->getCloudProvisioningScore()); $writer->writeBooleanValue('compliancePolicySetToIntune', $this->getCompliancePolicySetToIntune()); $writer->writeStringValue('deviceId', $this->getDeviceId()); $writer->writeStringValue('deviceName', $this->getDeviceName()); @@ -517,8 +517,8 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('tenantAttached', $this->getTenantAttached()); $writer->writeBooleanValue('tpmCheckFailed', $this->getTpmCheckFailed()); $writer->writeEnumValue('upgradeEligibility', $this->getUpgradeEligibility()); - $writer->writeFloatValue('windowsScore', $this->getWindowsScore()); - $writer->writeFloatValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); + $writer->writeObjectValue('windowsScore', $this->getWindowsScore()); + $writer->writeObjectValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); } /** @@ -563,25 +563,25 @@ public function setAzureAdRegistered(?bool $value): void { /** * Sets the cloudIdentityScore property value. Indicates per device cloud identity score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the cloudIdentityScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore|null $value Value to set for the cloudIdentityScore property. */ - public function setCloudIdentityScore(?float $value): void { + public function setCloudIdentityScore(?UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore $value): void { $this->getBackingStore()->set('cloudIdentityScore', $value); } /** * Sets the cloudManagementScore property value. Indicates per device cloud management score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the cloudManagementScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore|null $value Value to set for the cloudManagementScore property. */ - public function setCloudManagementScore(?float $value): void { + public function setCloudManagementScore(?UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore $value): void { $this->getBackingStore()->set('cloudManagementScore', $value); } /** * Sets the cloudProvisioningScore property value. Indicates per device cloud provisioning score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the cloudProvisioningScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore|null $value Value to set for the cloudProvisioningScore property. */ - public function setCloudProvisioningScore(?float $value): void { + public function setCloudProvisioningScore(?UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore $value): void { $this->getBackingStore()->set('cloudProvisioningScore', $value); } @@ -779,17 +779,17 @@ public function setUpgradeEligibility(?OperatingSystemUpgradeEligibility $value) /** * Sets the windowsScore property value. Indicates per device windows score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the windowsScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore|null $value Value to set for the windowsScore property. */ - public function setWindowsScore(?float $value): void { + public function setWindowsScore(?UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore $value): void { $this->getBackingStore()->set('windowsScore', $value); } /** * Sets the workFromAnywhereScore property value. Indicates work from anywhere per device overall score. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the workFromAnywhereScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore|null $value Value to set for the workFromAnywhereScore property. */ - public function setWorkFromAnywhereScore(?float $value): void { + public function setWorkFromAnywhereScore(?UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore $value): void { $this->getBackingStore()->set('workFromAnywhereScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore.php new file mode 100644 index 00000000000..9436a20ef26 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore.php new file mode 100644 index 00000000000..eefafba5085 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore.php new file mode 100644 index 00000000000..7eee41e9afc --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore.php new file mode 100644 index 00000000000..a0fd96600ba --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore.php new file mode 100644 index 00000000000..6ec4950af93 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.php index 60fa8b1bbc7..47524d5011c 100644 --- a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.php +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.php @@ -34,27 +34,27 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): UserE public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'osCheckFailedPercentage' => fn(ParseNode $n) => $o->setOsCheckFailedPercentage($n->getFloatValue()), - 'processor64BitCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessor64BitCheckFailedPercentage($n->getFloatValue()), - 'processorCoreCountCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessorCoreCountCheckFailedPercentage($n->getFloatValue()), - 'processorFamilyCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessorFamilyCheckFailedPercentage($n->getFloatValue()), - 'processorSpeedCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessorSpeedCheckFailedPercentage($n->getFloatValue()), - 'ramCheckFailedPercentage' => fn(ParseNode $n) => $o->setRamCheckFailedPercentage($n->getFloatValue()), - 'secureBootCheckFailedPercentage' => fn(ParseNode $n) => $o->setSecureBootCheckFailedPercentage($n->getFloatValue()), - 'storageCheckFailedPercentage' => fn(ParseNode $n) => $o->setStorageCheckFailedPercentage($n->getFloatValue()), + 'osCheckFailedPercentage' => fn(ParseNode $n) => $o->setOsCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), + 'processor64BitCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessor64BitCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), + 'processorCoreCountCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessorCoreCountCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), + 'processorFamilyCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessorFamilyCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), + 'processorSpeedCheckFailedPercentage' => fn(ParseNode $n) => $o->setProcessorSpeedCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), + 'ramCheckFailedPercentage' => fn(ParseNode $n) => $o->setRamCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), + 'secureBootCheckFailedPercentage' => fn(ParseNode $n) => $o->setSecureBootCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), + 'storageCheckFailedPercentage' => fn(ParseNode $n) => $o->setStorageCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), 'totalDeviceCount' => fn(ParseNode $n) => $o->setTotalDeviceCount($n->getIntegerValue()), - 'tpmCheckFailedPercentage' => fn(ParseNode $n) => $o->setTpmCheckFailedPercentage($n->getFloatValue()), + 'tpmCheckFailedPercentage' => fn(ParseNode $n) => $o->setTpmCheckFailedPercentage($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::class, 'createFromDiscriminatorValue'])), 'upgradeEligibleDeviceCount' => fn(ParseNode $n) => $o->setUpgradeEligibleDeviceCount($n->getIntegerValue()), ]); } /** * Gets the osCheckFailedPercentage property value. The percentage of devices for which OS check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage|null */ - public function getOsCheckFailedPercentage(): ?float { + public function getOsCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage { $val = $this->getBackingStore()->get('osCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'osCheckFailedPercentage'"); @@ -62,11 +62,11 @@ public function getOsCheckFailedPercentage(): ?float { /** * Gets the processor64BitCheckFailedPercentage property value. The percentage of devices for which processor hardware 64-bit architecture check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage|null */ - public function getProcessor64BitCheckFailedPercentage(): ?float { + public function getProcessor64BitCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage { $val = $this->getBackingStore()->get('processor64BitCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'processor64BitCheckFailedPercentage'"); @@ -74,11 +74,11 @@ public function getProcessor64BitCheckFailedPercentage(): ?float { /** * Gets the processorCoreCountCheckFailedPercentage property value. The percentage of devices for which processor hardware core count check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage|null */ - public function getProcessorCoreCountCheckFailedPercentage(): ?float { + public function getProcessorCoreCountCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage { $val = $this->getBackingStore()->get('processorCoreCountCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'processorCoreCountCheckFailedPercentage'"); @@ -86,11 +86,11 @@ public function getProcessorCoreCountCheckFailedPercentage(): ?float { /** * Gets the processorFamilyCheckFailedPercentage property value. The percentage of devices for which processor hardware family check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage|null */ - public function getProcessorFamilyCheckFailedPercentage(): ?float { + public function getProcessorFamilyCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage { $val = $this->getBackingStore()->get('processorFamilyCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'processorFamilyCheckFailedPercentage'"); @@ -98,11 +98,11 @@ public function getProcessorFamilyCheckFailedPercentage(): ?float { /** * Gets the processorSpeedCheckFailedPercentage property value. The percentage of devices for which processor hardware speed check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage|null */ - public function getProcessorSpeedCheckFailedPercentage(): ?float { + public function getProcessorSpeedCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage { $val = $this->getBackingStore()->get('processorSpeedCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'processorSpeedCheckFailedPercentage'"); @@ -110,11 +110,11 @@ public function getProcessorSpeedCheckFailedPercentage(): ?float { /** * Gets the ramCheckFailedPercentage property value. The percentage of devices for which RAM hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage|null */ - public function getRamCheckFailedPercentage(): ?float { + public function getRamCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage { $val = $this->getBackingStore()->get('ramCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'ramCheckFailedPercentage'"); @@ -122,11 +122,11 @@ public function getRamCheckFailedPercentage(): ?float { /** * Gets the secureBootCheckFailedPercentage property value. The percentage of devices for which secure boot hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage|null */ - public function getSecureBootCheckFailedPercentage(): ?float { + public function getSecureBootCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage { $val = $this->getBackingStore()->get('secureBootCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'secureBootCheckFailedPercentage'"); @@ -134,11 +134,11 @@ public function getSecureBootCheckFailedPercentage(): ?float { /** * Gets the storageCheckFailedPercentage property value. The percentage of devices for which storage hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage|null */ - public function getStorageCheckFailedPercentage(): ?float { + public function getStorageCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage { $val = $this->getBackingStore()->get('storageCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'storageCheckFailedPercentage'"); @@ -158,11 +158,11 @@ public function getTotalDeviceCount(): ?int { /** * Gets the tpmCheckFailedPercentage property value. The percentage of devices for which Trusted Platform Module (TPM) hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage|null */ - public function getTpmCheckFailedPercentage(): ?float { + public function getTpmCheckFailedPercentage(): ?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage { $val = $this->getBackingStore()->get('tpmCheckFailedPercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'tpmCheckFailedPercentage'"); @@ -186,80 +186,80 @@ public function getUpgradeEligibleDeviceCount(): ?int { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('osCheckFailedPercentage', $this->getOsCheckFailedPercentage()); - $writer->writeFloatValue('processor64BitCheckFailedPercentage', $this->getProcessor64BitCheckFailedPercentage()); - $writer->writeFloatValue('processorCoreCountCheckFailedPercentage', $this->getProcessorCoreCountCheckFailedPercentage()); - $writer->writeFloatValue('processorFamilyCheckFailedPercentage', $this->getProcessorFamilyCheckFailedPercentage()); - $writer->writeFloatValue('processorSpeedCheckFailedPercentage', $this->getProcessorSpeedCheckFailedPercentage()); - $writer->writeFloatValue('ramCheckFailedPercentage', $this->getRamCheckFailedPercentage()); - $writer->writeFloatValue('secureBootCheckFailedPercentage', $this->getSecureBootCheckFailedPercentage()); - $writer->writeFloatValue('storageCheckFailedPercentage', $this->getStorageCheckFailedPercentage()); + $writer->writeObjectValue('osCheckFailedPercentage', $this->getOsCheckFailedPercentage()); + $writer->writeObjectValue('processor64BitCheckFailedPercentage', $this->getProcessor64BitCheckFailedPercentage()); + $writer->writeObjectValue('processorCoreCountCheckFailedPercentage', $this->getProcessorCoreCountCheckFailedPercentage()); + $writer->writeObjectValue('processorFamilyCheckFailedPercentage', $this->getProcessorFamilyCheckFailedPercentage()); + $writer->writeObjectValue('processorSpeedCheckFailedPercentage', $this->getProcessorSpeedCheckFailedPercentage()); + $writer->writeObjectValue('ramCheckFailedPercentage', $this->getRamCheckFailedPercentage()); + $writer->writeObjectValue('secureBootCheckFailedPercentage', $this->getSecureBootCheckFailedPercentage()); + $writer->writeObjectValue('storageCheckFailedPercentage', $this->getStorageCheckFailedPercentage()); $writer->writeIntegerValue('totalDeviceCount', $this->getTotalDeviceCount()); - $writer->writeFloatValue('tpmCheckFailedPercentage', $this->getTpmCheckFailedPercentage()); + $writer->writeObjectValue('tpmCheckFailedPercentage', $this->getTpmCheckFailedPercentage()); $writer->writeIntegerValue('upgradeEligibleDeviceCount', $this->getUpgradeEligibleDeviceCount()); } /** * Sets the osCheckFailedPercentage property value. The percentage of devices for which OS check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the osCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage|null $value Value to set for the osCheckFailedPercentage property. */ - public function setOsCheckFailedPercentage(?float $value): void { + public function setOsCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage $value): void { $this->getBackingStore()->set('osCheckFailedPercentage', $value); } /** * Sets the processor64BitCheckFailedPercentage property value. The percentage of devices for which processor hardware 64-bit architecture check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the processor64BitCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage|null $value Value to set for the processor64BitCheckFailedPercentage property. */ - public function setProcessor64BitCheckFailedPercentage(?float $value): void { + public function setProcessor64BitCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage $value): void { $this->getBackingStore()->set('processor64BitCheckFailedPercentage', $value); } /** * Sets the processorCoreCountCheckFailedPercentage property value. The percentage of devices for which processor hardware core count check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the processorCoreCountCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage|null $value Value to set for the processorCoreCountCheckFailedPercentage property. */ - public function setProcessorCoreCountCheckFailedPercentage(?float $value): void { + public function setProcessorCoreCountCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage $value): void { $this->getBackingStore()->set('processorCoreCountCheckFailedPercentage', $value); } /** * Sets the processorFamilyCheckFailedPercentage property value. The percentage of devices for which processor hardware family check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the processorFamilyCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage|null $value Value to set for the processorFamilyCheckFailedPercentage property. */ - public function setProcessorFamilyCheckFailedPercentage(?float $value): void { + public function setProcessorFamilyCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage $value): void { $this->getBackingStore()->set('processorFamilyCheckFailedPercentage', $value); } /** * Sets the processorSpeedCheckFailedPercentage property value. The percentage of devices for which processor hardware speed check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the processorSpeedCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage|null $value Value to set for the processorSpeedCheckFailedPercentage property. */ - public function setProcessorSpeedCheckFailedPercentage(?float $value): void { + public function setProcessorSpeedCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage $value): void { $this->getBackingStore()->set('processorSpeedCheckFailedPercentage', $value); } /** * Sets the ramCheckFailedPercentage property value. The percentage of devices for which RAM hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the ramCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage|null $value Value to set for the ramCheckFailedPercentage property. */ - public function setRamCheckFailedPercentage(?float $value): void { + public function setRamCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage $value): void { $this->getBackingStore()->set('ramCheckFailedPercentage', $value); } /** * Sets the secureBootCheckFailedPercentage property value. The percentage of devices for which secure boot hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the secureBootCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage|null $value Value to set for the secureBootCheckFailedPercentage property. */ - public function setSecureBootCheckFailedPercentage(?float $value): void { + public function setSecureBootCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage $value): void { $this->getBackingStore()->set('secureBootCheckFailedPercentage', $value); } /** * Sets the storageCheckFailedPercentage property value. The percentage of devices for which storage hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the storageCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage|null $value Value to set for the storageCheckFailedPercentage property. */ - public function setStorageCheckFailedPercentage(?float $value): void { + public function setStorageCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage $value): void { $this->getBackingStore()->set('storageCheckFailedPercentage', $value); } @@ -273,9 +273,9 @@ public function setTotalDeviceCount(?int $value): void { /** * Sets the tpmCheckFailedPercentage property value. The percentage of devices for which Trusted Platform Module (TPM) hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the tpmCheckFailedPercentage property. + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage|null $value Value to set for the tpmCheckFailedPercentage property. */ - public function setTpmCheckFailedPercentage(?float $value): void { + public function setTpmCheckFailedPercentage(?UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage $value): void { $this->getBackingStore()->set('tpmCheckFailedPercentage', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage.php new file mode 100644 index 00000000000..fbc70e63fa0 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage.php new file mode 100644 index 00000000000..2ce68ac76b5 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage.php new file mode 100644 index 00000000000..071f97bf6e1 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage.php new file mode 100644 index 00000000000..caedc3caaba --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage.php new file mode 100644 index 00000000000..99c638f0517 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage.php new file mode 100644 index 00000000000..94b5eceb53a --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage.php new file mode 100644 index 00000000000..b8509bf103a --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage.php new file mode 100644 index 00000000000..2219e53ea80 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage.php new file mode 100644 index 00000000000..8b516ae4937 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage { + $result = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance.php index 393e55e2dd1..3fbcf3a6a77 100644 --- a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance.php +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance.php @@ -29,11 +29,11 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): UserE /** * Gets the cloudIdentityScore property value. The cloud identity score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore|null */ - public function getCloudIdentityScore(): ?float { + public function getCloudIdentityScore(): ?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore { $val = $this->getBackingStore()->get('cloudIdentityScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudIdentityScore'"); @@ -41,11 +41,11 @@ public function getCloudIdentityScore(): ?float { /** * Gets the cloudManagementScore property value. The cloud management score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore|null */ - public function getCloudManagementScore(): ?float { + public function getCloudManagementScore(): ?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore { $val = $this->getBackingStore()->get('cloudManagementScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudManagementScore'"); @@ -53,11 +53,11 @@ public function getCloudManagementScore(): ?float { /** * Gets the cloudProvisioningScore property value. The cloud provisioning score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore|null */ - public function getCloudProvisioningScore(): ?float { + public function getCloudProvisioningScore(): ?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore { $val = $this->getBackingStore()->get('cloudProvisioningScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudProvisioningScore'"); @@ -70,15 +70,15 @@ public function getCloudProvisioningScore(): ?float { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'cloudIdentityScore' => fn(ParseNode $n) => $o->setCloudIdentityScore($n->getFloatValue()), - 'cloudManagementScore' => fn(ParseNode $n) => $o->setCloudManagementScore($n->getFloatValue()), - 'cloudProvisioningScore' => fn(ParseNode $n) => $o->setCloudProvisioningScore($n->getFloatValue()), + 'cloudIdentityScore' => fn(ParseNode $n) => $o->setCloudIdentityScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::class, 'createFromDiscriminatorValue'])), + 'cloudManagementScore' => fn(ParseNode $n) => $o->setCloudManagementScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::class, 'createFromDiscriminatorValue'])), + 'cloudProvisioningScore' => fn(ParseNode $n) => $o->setCloudProvisioningScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::class, 'createFromDiscriminatorValue'])), 'healthStatus' => fn(ParseNode $n) => $o->setHealthStatus($n->getEnumValue(UserExperienceAnalyticsHealthState::class)), 'manufacturer' => fn(ParseNode $n) => $o->setManufacturer($n->getStringValue()), 'model' => fn(ParseNode $n) => $o->setModel($n->getStringValue()), 'modelDeviceCount' => fn(ParseNode $n) => $o->setModelDeviceCount($n->getIntegerValue()), - 'windowsScore' => fn(ParseNode $n) => $o->setWindowsScore($n->getFloatValue()), - 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getFloatValue()), + 'windowsScore' => fn(ParseNode $n) => $o->setWindowsScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::class, 'createFromDiscriminatorValue'])), + 'workFromAnywhereScore' => fn(ParseNode $n) => $o->setWorkFromAnywhereScore($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::class, 'createFromDiscriminatorValue'])), ]); } @@ -132,11 +132,11 @@ public function getModelDeviceCount(): ?int { /** * Gets the windowsScore property value. The window score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore|null */ - public function getWindowsScore(): ?float { + public function getWindowsScore(): ?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore { $val = $this->getBackingStore()->get('windowsScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'windowsScore'"); @@ -144,11 +144,11 @@ public function getWindowsScore(): ?float { /** * Gets the workFromAnywhereScore property value. The work from anywhere score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @return float|null + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore|null */ - public function getWorkFromAnywhereScore(): ?float { + public function getWorkFromAnywhereScore(): ?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore { $val = $this->getBackingStore()->get('workFromAnywhereScore'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'workFromAnywhereScore'"); @@ -160,38 +160,38 @@ public function getWorkFromAnywhereScore(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeFloatValue('cloudIdentityScore', $this->getCloudIdentityScore()); - $writer->writeFloatValue('cloudManagementScore', $this->getCloudManagementScore()); - $writer->writeFloatValue('cloudProvisioningScore', $this->getCloudProvisioningScore()); + $writer->writeObjectValue('cloudIdentityScore', $this->getCloudIdentityScore()); + $writer->writeObjectValue('cloudManagementScore', $this->getCloudManagementScore()); + $writer->writeObjectValue('cloudProvisioningScore', $this->getCloudProvisioningScore()); $writer->writeEnumValue('healthStatus', $this->getHealthStatus()); $writer->writeStringValue('manufacturer', $this->getManufacturer()); $writer->writeStringValue('model', $this->getModel()); $writer->writeIntegerValue('modelDeviceCount', $this->getModelDeviceCount()); - $writer->writeFloatValue('windowsScore', $this->getWindowsScore()); - $writer->writeFloatValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); + $writer->writeObjectValue('windowsScore', $this->getWindowsScore()); + $writer->writeObjectValue('workFromAnywhereScore', $this->getWorkFromAnywhereScore()); } /** * Sets the cloudIdentityScore property value. The cloud identity score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the cloudIdentityScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore|null $value Value to set for the cloudIdentityScore property. */ - public function setCloudIdentityScore(?float $value): void { + public function setCloudIdentityScore(?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore $value): void { $this->getBackingStore()->set('cloudIdentityScore', $value); } /** * Sets the cloudManagementScore property value. The cloud management score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the cloudManagementScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore|null $value Value to set for the cloudManagementScore property. */ - public function setCloudManagementScore(?float $value): void { + public function setCloudManagementScore(?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore $value): void { $this->getBackingStore()->set('cloudManagementScore', $value); } /** * Sets the cloudProvisioningScore property value. The cloud provisioning score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the cloudProvisioningScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore|null $value Value to set for the cloudProvisioningScore property. */ - public function setCloudProvisioningScore(?float $value): void { + public function setCloudProvisioningScore(?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore $value): void { $this->getBackingStore()->set('cloudProvisioningScore', $value); } @@ -229,17 +229,17 @@ public function setModelDeviceCount(?int $value): void { /** * Sets the windowsScore property value. The window score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the windowsScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore|null $value Value to set for the windowsScore property. */ - public function setWindowsScore(?float $value): void { + public function setWindowsScore(?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore $value): void { $this->getBackingStore()->set('windowsScore', $value); } /** * Sets the workFromAnywhereScore property value. The work from anywhere score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 - * @param float|null $value Value to set for the workFromAnywhereScore property. + * @param UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore|null $value Value to set for the workFromAnywhereScore property. */ - public function setWorkFromAnywhereScore(?float $value): void { + public function setWorkFromAnywhereScore(?UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore $value): void { $this->getBackingStore()->set('workFromAnywhereScore', $value); } diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore.php new file mode 100644 index 00000000000..ed2bc7093a7 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore.php new file mode 100644 index 00000000000..e8f10e5f1ed --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore.php new file mode 100644 index 00000000000..abf1f7a6de1 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore.php new file mode 100644 index 00000000000..d64eed7c9b6 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore.php b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore.php new file mode 100644 index 00000000000..665bcbff2f4 --- /dev/null +++ b/src/Generated/Models/UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore { + $result = new UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/UserTrainingContentEventInfo.php b/src/Generated/Models/UserTrainingContentEventInfo.php index b5aa27865bd..b1260a6bf36 100644 --- a/src/Generated/Models/UserTrainingContentEventInfo.php +++ b/src/Generated/Models/UserTrainingContentEventInfo.php @@ -92,7 +92,7 @@ public function getFieldDeserializers(): array { 'ipAddress' => fn(ParseNode $n) => $o->setIpAddress($n->getStringValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'osPlatformDeviceDetails' => fn(ParseNode $n) => $o->setOsPlatformDeviceDetails($n->getStringValue()), - 'potentialScoreImpact' => fn(ParseNode $n) => $o->setPotentialScoreImpact($n->getFloatValue()), + 'potentialScoreImpact' => fn(ParseNode $n) => $o->setPotentialScoreImpact($n->getObjectValue([UserTrainingContentEventInfo_potentialScoreImpact::class, 'createFromDiscriminatorValue'])), ]; } @@ -134,11 +134,11 @@ public function getOsPlatformDeviceDetails(): ?string { /** * Gets the potentialScoreImpact property value. Potential improvement in the tenant security posture after completion of the training by the user. - * @return float|null + * @return UserTrainingContentEventInfo_potentialScoreImpact|null */ - public function getPotentialScoreImpact(): ?float { + public function getPotentialScoreImpact(): ?UserTrainingContentEventInfo_potentialScoreImpact { $val = $this->getBackingStore()->get('potentialScoreImpact'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof UserTrainingContentEventInfo_potentialScoreImpact) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'potentialScoreImpact'"); @@ -154,7 +154,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('ipAddress', $this->getIpAddress()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeStringValue('osPlatformDeviceDetails', $this->getOsPlatformDeviceDetails()); - $writer->writeFloatValue('potentialScoreImpact', $this->getPotentialScoreImpact()); + $writer->writeObjectValue('potentialScoreImpact', $this->getPotentialScoreImpact()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -216,9 +216,9 @@ public function setOsPlatformDeviceDetails(?string $value): void { /** * Sets the potentialScoreImpact property value. Potential improvement in the tenant security posture after completion of the training by the user. - * @param float|null $value Value to set for the potentialScoreImpact property. + * @param UserTrainingContentEventInfo_potentialScoreImpact|null $value Value to set for the potentialScoreImpact property. */ - public function setPotentialScoreImpact(?float $value): void { + public function setPotentialScoreImpact(?UserTrainingContentEventInfo_potentialScoreImpact $value): void { $this->getBackingStore()->set('potentialScoreImpact', $value); } diff --git a/src/Generated/Models/UserTrainingContentEventInfo_potentialScoreImpact.php b/src/Generated/Models/UserTrainingContentEventInfo_potentialScoreImpact.php new file mode 100644 index 00000000000..babf6e26e02 --- /dev/null +++ b/src/Generated/Models/UserTrainingContentEventInfo_potentialScoreImpact.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UserTrainingContentEventInfo_potentialScoreImpact + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserTrainingContentEventInfo_potentialScoreImpact { + $result = new UserTrainingContentEventInfo_potentialScoreImpact(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/Video.php b/src/Generated/Models/Video.php index 512e996f375..03a2a877ae9 100644 --- a/src/Generated/Models/Video.php +++ b/src/Generated/Models/Video.php @@ -141,7 +141,7 @@ public function getFieldDeserializers(): array { 'bitrate' => fn(ParseNode $n) => $o->setBitrate($n->getIntegerValue()), 'duration' => fn(ParseNode $n) => $o->setDuration($n->getIntegerValue()), 'fourCC' => fn(ParseNode $n) => $o->setFourCC($n->getStringValue()), - 'frameRate' => fn(ParseNode $n) => $o->setFrameRate($n->getFloatValue()), + 'frameRate' => fn(ParseNode $n) => $o->setFrameRate($n->getObjectValue([Video_frameRate::class, 'createFromDiscriminatorValue'])), 'height' => fn(ParseNode $n) => $o->setHeight($n->getIntegerValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'width' => fn(ParseNode $n) => $o->setWidth($n->getIntegerValue()), @@ -162,11 +162,11 @@ public function getFourCC(): ?string { /** * Gets the frameRate property value. Frame rate of the video. - * @return float|null + * @return Video_frameRate|null */ - public function getFrameRate(): ?float { + public function getFrameRate(): ?Video_frameRate { $val = $this->getBackingStore()->get('frameRate'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof Video_frameRate) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'frameRate'"); @@ -220,7 +220,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('bitrate', $this->getBitrate()); $writer->writeIntegerValue('duration', $this->getDuration()); $writer->writeStringValue('fourCC', $this->getFourCC()); - $writer->writeFloatValue('frameRate', $this->getFrameRate()); + $writer->writeObjectValue('frameRate', $this->getFrameRate()); $writer->writeIntegerValue('height', $this->getHeight()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeIntegerValue('width', $this->getWidth()); @@ -301,9 +301,9 @@ public function setFourCC(?string $value): void { /** * Sets the frameRate property value. Frame rate of the video. - * @param float|null $value Value to set for the frameRate property. + * @param Video_frameRate|null $value Value to set for the frameRate property. */ - public function setFrameRate(?float $value): void { + public function setFrameRate(?Video_frameRate $value): void { $this->getBackingStore()->set('frameRate', $value); } diff --git a/src/Generated/Models/Video_frameRate.php b/src/Generated/Models/Video_frameRate.php new file mode 100644 index 00000000000..d3de206b2e3 --- /dev/null +++ b/src/Generated/Models/Video_frameRate.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Video_frameRate + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Video_frameRate { + $result = new Video_frameRate(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WebPartPosition.php b/src/Generated/Models/WebPartPosition.php index de63edf352f..7c0ddd38fe6 100644 --- a/src/Generated/Models/WebPartPosition.php +++ b/src/Generated/Models/WebPartPosition.php @@ -57,11 +57,11 @@ public function getBackingStore(): BackingStore { /** * Gets the columnId property value. Indicates the identifier of the column where the web part is located. - * @return float|null + * @return WebPartPosition_columnId|null */ - public function getColumnId(): ?float { + public function getColumnId(): ?WebPartPosition_columnId { $val = $this->getBackingStore()->get('columnId'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WebPartPosition_columnId) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'columnId'"); @@ -74,21 +74,21 @@ public function getColumnId(): ?float { public function getFieldDeserializers(): array { $o = $this; return [ - 'columnId' => fn(ParseNode $n) => $o->setColumnId($n->getFloatValue()), - 'horizontalSectionId' => fn(ParseNode $n) => $o->setHorizontalSectionId($n->getFloatValue()), + 'columnId' => fn(ParseNode $n) => $o->setColumnId($n->getObjectValue([WebPartPosition_columnId::class, 'createFromDiscriminatorValue'])), + 'horizontalSectionId' => fn(ParseNode $n) => $o->setHorizontalSectionId($n->getObjectValue([WebPartPosition_horizontalSectionId::class, 'createFromDiscriminatorValue'])), 'isInVerticalSection' => fn(ParseNode $n) => $o->setIsInVerticalSection($n->getBooleanValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'webPartIndex' => fn(ParseNode $n) => $o->setWebPartIndex($n->getFloatValue()), + 'webPartIndex' => fn(ParseNode $n) => $o->setWebPartIndex($n->getObjectValue([WebPartPosition_webPartIndex::class, 'createFromDiscriminatorValue'])), ]; } /** * Gets the horizontalSectionId property value. Indicates the horizontal section where the web part is located. - * @return float|null + * @return WebPartPosition_horizontalSectionId|null */ - public function getHorizontalSectionId(): ?float { + public function getHorizontalSectionId(): ?WebPartPosition_horizontalSectionId { $val = $this->getBackingStore()->get('horizontalSectionId'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WebPartPosition_horizontalSectionId) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'horizontalSectionId'"); @@ -120,11 +120,11 @@ public function getOdataType(): ?string { /** * Gets the webPartIndex property value. Index of the current web part. Represents the order of the web part in this column or section. - * @return float|null + * @return WebPartPosition_webPartIndex|null */ - public function getWebPartIndex(): ?float { + public function getWebPartIndex(): ?WebPartPosition_webPartIndex { $val = $this->getBackingStore()->get('webPartIndex'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WebPartPosition_webPartIndex) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'webPartIndex'"); @@ -135,11 +135,11 @@ public function getWebPartIndex(): ?float { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeFloatValue('columnId', $this->getColumnId()); - $writer->writeFloatValue('horizontalSectionId', $this->getHorizontalSectionId()); + $writer->writeObjectValue('columnId', $this->getColumnId()); + $writer->writeObjectValue('horizontalSectionId', $this->getHorizontalSectionId()); $writer->writeBooleanValue('isInVerticalSection', $this->getIsInVerticalSection()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeFloatValue('webPartIndex', $this->getWebPartIndex()); + $writer->writeObjectValue('webPartIndex', $this->getWebPartIndex()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -161,17 +161,17 @@ public function setBackingStore(BackingStore $value): void { /** * Sets the columnId property value. Indicates the identifier of the column where the web part is located. - * @param float|null $value Value to set for the columnId property. + * @param WebPartPosition_columnId|null $value Value to set for the columnId property. */ - public function setColumnId(?float $value): void { + public function setColumnId(?WebPartPosition_columnId $value): void { $this->getBackingStore()->set('columnId', $value); } /** * Sets the horizontalSectionId property value. Indicates the horizontal section where the web part is located. - * @param float|null $value Value to set for the horizontalSectionId property. + * @param WebPartPosition_horizontalSectionId|null $value Value to set for the horizontalSectionId property. */ - public function setHorizontalSectionId(?float $value): void { + public function setHorizontalSectionId(?WebPartPosition_horizontalSectionId $value): void { $this->getBackingStore()->set('horizontalSectionId', $value); } @@ -193,9 +193,9 @@ public function setOdataType(?string $value): void { /** * Sets the webPartIndex property value. Index of the current web part. Represents the order of the web part in this column or section. - * @param float|null $value Value to set for the webPartIndex property. + * @param WebPartPosition_webPartIndex|null $value Value to set for the webPartIndex property. */ - public function setWebPartIndex(?float $value): void { + public function setWebPartIndex(?WebPartPosition_webPartIndex $value): void { $this->getBackingStore()->set('webPartIndex', $value); } diff --git a/src/Generated/Models/WebPartPosition_columnId.php b/src/Generated/Models/WebPartPosition_columnId.php new file mode 100644 index 00000000000..c0864b885a1 --- /dev/null +++ b/src/Generated/Models/WebPartPosition_columnId.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WebPartPosition_columnId + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WebPartPosition_columnId { + $result = new WebPartPosition_columnId(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WebPartPosition_horizontalSectionId.php b/src/Generated/Models/WebPartPosition_horizontalSectionId.php new file mode 100644 index 00000000000..f5d39148fa9 --- /dev/null +++ b/src/Generated/Models/WebPartPosition_horizontalSectionId.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WebPartPosition_horizontalSectionId + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WebPartPosition_horizontalSectionId { + $result = new WebPartPosition_horizontalSectionId(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WebPartPosition_webPartIndex.php b/src/Generated/Models/WebPartPosition_webPartIndex.php new file mode 100644 index 00000000000..2443a3c170d --- /dev/null +++ b/src/Generated/Models/WebPartPosition_webPartIndex.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WebPartPosition_webPartIndex + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WebPartPosition_webPartIndex { + $result = new WebPartPosition_webPartIndex(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookChart.php b/src/Generated/Models/WorkbookChart.php index 2a3006854d9..8cdfd85ba9d 100644 --- a/src/Generated/Models/WorkbookChart.php +++ b/src/Generated/Models/WorkbookChart.php @@ -59,14 +59,14 @@ public function getFieldDeserializers(): array { 'axes' => fn(ParseNode $n) => $o->setAxes($n->getObjectValue([WorkbookChartAxes::class, 'createFromDiscriminatorValue'])), 'dataLabels' => fn(ParseNode $n) => $o->setDataLabels($n->getObjectValue([WorkbookChartDataLabels::class, 'createFromDiscriminatorValue'])), 'format' => fn(ParseNode $n) => $o->setFormat($n->getObjectValue([WorkbookChartAreaFormat::class, 'createFromDiscriminatorValue'])), - 'height' => fn(ParseNode $n) => $o->setHeight($n->getFloatValue()), - 'left' => fn(ParseNode $n) => $o->setLeft($n->getFloatValue()), + 'height' => fn(ParseNode $n) => $o->setHeight($n->getObjectValue([WorkbookChart_height::class, 'createFromDiscriminatorValue'])), + 'left' => fn(ParseNode $n) => $o->setLeft($n->getObjectValue([WorkbookChart_left::class, 'createFromDiscriminatorValue'])), 'legend' => fn(ParseNode $n) => $o->setLegend($n->getObjectValue([WorkbookChartLegend::class, 'createFromDiscriminatorValue'])), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), 'series' => fn(ParseNode $n) => $o->setSeries($n->getCollectionOfObjectValues([WorkbookChartSeries::class, 'createFromDiscriminatorValue'])), 'title' => fn(ParseNode $n) => $o->setTitle($n->getObjectValue([WorkbookChartTitle::class, 'createFromDiscriminatorValue'])), - 'top' => fn(ParseNode $n) => $o->setTop($n->getFloatValue()), - 'width' => fn(ParseNode $n) => $o->setWidth($n->getFloatValue()), + 'top' => fn(ParseNode $n) => $o->setTop($n->getObjectValue([WorkbookChart_top::class, 'createFromDiscriminatorValue'])), + 'width' => fn(ParseNode $n) => $o->setWidth($n->getObjectValue([WorkbookChart_width::class, 'createFromDiscriminatorValue'])), 'worksheet' => fn(ParseNode $n) => $o->setWorksheet($n->getObjectValue([WorkbookWorksheet::class, 'createFromDiscriminatorValue'])), ]); } @@ -85,11 +85,11 @@ public function getFormat(): ?WorkbookChartAreaFormat { /** * Gets the height property value. Represents the height, in points, of the chart object. - * @return float|null + * @return WorkbookChart_height|null */ - public function getHeight(): ?float { + public function getHeight(): ?WorkbookChart_height { $val = $this->getBackingStore()->get('height'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookChart_height) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'height'"); @@ -97,11 +97,11 @@ public function getHeight(): ?float { /** * Gets the left property value. The distance, in points, from the left side of the chart to the worksheet origin. - * @return float|null + * @return WorkbookChart_left|null */ - public function getLeft(): ?float { + public function getLeft(): ?WorkbookChart_left { $val = $this->getBackingStore()->get('left'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookChart_left) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'left'"); @@ -159,11 +159,11 @@ public function getTitle(): ?WorkbookChartTitle { /** * Gets the top property value. Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). - * @return float|null + * @return WorkbookChart_top|null */ - public function getTop(): ?float { + public function getTop(): ?WorkbookChart_top { $val = $this->getBackingStore()->get('top'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookChart_top) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'top'"); @@ -171,11 +171,11 @@ public function getTop(): ?float { /** * Gets the width property value. Represents the width, in points, of the chart object. - * @return float|null + * @return WorkbookChart_width|null */ - public function getWidth(): ?float { + public function getWidth(): ?WorkbookChart_width { $val = $this->getBackingStore()->get('width'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookChart_width) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'width'"); @@ -202,14 +202,14 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('axes', $this->getAxes()); $writer->writeObjectValue('dataLabels', $this->getDataLabels()); $writer->writeObjectValue('format', $this->getFormat()); - $writer->writeFloatValue('height', $this->getHeight()); - $writer->writeFloatValue('left', $this->getLeft()); + $writer->writeObjectValue('height', $this->getHeight()); + $writer->writeObjectValue('left', $this->getLeft()); $writer->writeObjectValue('legend', $this->getLegend()); $writer->writeStringValue('name', $this->getName()); $writer->writeCollectionOfObjectValues('series', $this->getSeries()); $writer->writeObjectValue('title', $this->getTitle()); - $writer->writeFloatValue('top', $this->getTop()); - $writer->writeFloatValue('width', $this->getWidth()); + $writer->writeObjectValue('top', $this->getTop()); + $writer->writeObjectValue('width', $this->getWidth()); $writer->writeObjectValue('worksheet', $this->getWorksheet()); } @@ -239,17 +239,17 @@ public function setFormat(?WorkbookChartAreaFormat $value): void { /** * Sets the height property value. Represents the height, in points, of the chart object. - * @param float|null $value Value to set for the height property. + * @param WorkbookChart_height|null $value Value to set for the height property. */ - public function setHeight(?float $value): void { + public function setHeight(?WorkbookChart_height $value): void { $this->getBackingStore()->set('height', $value); } /** * Sets the left property value. The distance, in points, from the left side of the chart to the worksheet origin. - * @param float|null $value Value to set for the left property. + * @param WorkbookChart_left|null $value Value to set for the left property. */ - public function setLeft(?float $value): void { + public function setLeft(?WorkbookChart_left $value): void { $this->getBackingStore()->set('left', $value); } @@ -287,17 +287,17 @@ public function setTitle(?WorkbookChartTitle $value): void { /** * Sets the top property value. Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). - * @param float|null $value Value to set for the top property. + * @param WorkbookChart_top|null $value Value to set for the top property. */ - public function setTop(?float $value): void { + public function setTop(?WorkbookChart_top $value): void { $this->getBackingStore()->set('top', $value); } /** * Sets the width property value. Represents the width, in points, of the chart object. - * @param float|null $value Value to set for the width property. + * @param WorkbookChart_width|null $value Value to set for the width property. */ - public function setWidth(?float $value): void { + public function setWidth(?WorkbookChart_width $value): void { $this->getBackingStore()->set('width', $value); } diff --git a/src/Generated/Models/WorkbookChartFont.php b/src/Generated/Models/WorkbookChartFont.php index bd2e8a18447..f2ece740f41 100644 --- a/src/Generated/Models/WorkbookChartFont.php +++ b/src/Generated/Models/WorkbookChartFont.php @@ -59,7 +59,7 @@ public function getFieldDeserializers(): array { 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), 'italic' => fn(ParseNode $n) => $o->setItalic($n->getBooleanValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'size' => fn(ParseNode $n) => $o->setSize($n->getFloatValue()), + 'size' => fn(ParseNode $n) => $o->setSize($n->getObjectValue([WorkbookChartFont_size::class, 'createFromDiscriminatorValue'])), 'underline' => fn(ParseNode $n) => $o->setUnderline($n->getStringValue()), ]); } @@ -90,11 +90,11 @@ public function getName(): ?string { /** * Gets the size property value. The size of the font. For example, 11. - * @return float|null + * @return WorkbookChartFont_size|null */ - public function getSize(): ?float { + public function getSize(): ?WorkbookChartFont_size { $val = $this->getBackingStore()->get('size'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookChartFont_size) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); @@ -122,7 +122,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('color', $this->getColor()); $writer->writeBooleanValue('italic', $this->getItalic()); $writer->writeStringValue('name', $this->getName()); - $writer->writeFloatValue('size', $this->getSize()); + $writer->writeObjectValue('size', $this->getSize()); $writer->writeStringValue('underline', $this->getUnderline()); } @@ -160,9 +160,9 @@ public function setName(?string $value): void { /** * Sets the size property value. The size of the font. For example, 11. - * @param float|null $value Value to set for the size property. + * @param WorkbookChartFont_size|null $value Value to set for the size property. */ - public function setSize(?float $value): void { + public function setSize(?WorkbookChartFont_size $value): void { $this->getBackingStore()->set('size', $value); } diff --git a/src/Generated/Models/WorkbookChartFont_size.php b/src/Generated/Models/WorkbookChartFont_size.php new file mode 100644 index 00000000000..67897c94cea --- /dev/null +++ b/src/Generated/Models/WorkbookChartFont_size.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookChartFont_size + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookChartFont_size { + $result = new WorkbookChartFont_size(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookChart_height.php b/src/Generated/Models/WorkbookChart_height.php new file mode 100644 index 00000000000..608c428c428 --- /dev/null +++ b/src/Generated/Models/WorkbookChart_height.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookChart_height + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookChart_height { + $result = new WorkbookChart_height(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookChart_left.php b/src/Generated/Models/WorkbookChart_left.php new file mode 100644 index 00000000000..bf69e94c85d --- /dev/null +++ b/src/Generated/Models/WorkbookChart_left.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookChart_left + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookChart_left { + $result = new WorkbookChart_left(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookChart_top.php b/src/Generated/Models/WorkbookChart_top.php new file mode 100644 index 00000000000..a5f9698e5a7 --- /dev/null +++ b/src/Generated/Models/WorkbookChart_top.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookChart_top + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookChart_top { + $result = new WorkbookChart_top(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookChart_width.php b/src/Generated/Models/WorkbookChart_width.php new file mode 100644 index 00000000000..dd35aa7ded3 --- /dev/null +++ b/src/Generated/Models/WorkbookChart_width.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookChart_width + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookChart_width { + $result = new WorkbookChart_width(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookRangeFont.php b/src/Generated/Models/WorkbookRangeFont.php index c4f2a92dd2a..161d52b148e 100644 --- a/src/Generated/Models/WorkbookRangeFont.php +++ b/src/Generated/Models/WorkbookRangeFont.php @@ -59,7 +59,7 @@ public function getFieldDeserializers(): array { 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), 'italic' => fn(ParseNode $n) => $o->setItalic($n->getBooleanValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), - 'size' => fn(ParseNode $n) => $o->setSize($n->getFloatValue()), + 'size' => fn(ParseNode $n) => $o->setSize($n->getObjectValue([WorkbookRangeFont_size::class, 'createFromDiscriminatorValue'])), 'underline' => fn(ParseNode $n) => $o->setUnderline($n->getStringValue()), ]); } @@ -90,11 +90,11 @@ public function getName(): ?string { /** * Gets the size property value. The font size. - * @return float|null + * @return WorkbookRangeFont_size|null */ - public function getSize(): ?float { + public function getSize(): ?WorkbookRangeFont_size { $val = $this->getBackingStore()->get('size'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookRangeFont_size) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); @@ -122,7 +122,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('color', $this->getColor()); $writer->writeBooleanValue('italic', $this->getItalic()); $writer->writeStringValue('name', $this->getName()); - $writer->writeFloatValue('size', $this->getSize()); + $writer->writeObjectValue('size', $this->getSize()); $writer->writeStringValue('underline', $this->getUnderline()); } @@ -160,9 +160,9 @@ public function setName(?string $value): void { /** * Sets the size property value. The font size. - * @param float|null $value Value to set for the size property. + * @param WorkbookRangeFont_size|null $value Value to set for the size property. */ - public function setSize(?float $value): void { + public function setSize(?WorkbookRangeFont_size $value): void { $this->getBackingStore()->set('size', $value); } diff --git a/src/Generated/Models/WorkbookRangeFont_size.php b/src/Generated/Models/WorkbookRangeFont_size.php new file mode 100644 index 00000000000..25fa24374b3 --- /dev/null +++ b/src/Generated/Models/WorkbookRangeFont_size.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookRangeFont_size + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookRangeFont_size { + $result = new WorkbookRangeFont_size(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookRangeFormat.php b/src/Generated/Models/WorkbookRangeFormat.php index 9d11d5e79be..7936dba8f40 100644 --- a/src/Generated/Models/WorkbookRangeFormat.php +++ b/src/Generated/Models/WorkbookRangeFormat.php @@ -41,11 +41,11 @@ public function getBorders(): ?array { /** * Gets the columnWidth property value. The width of all columns within the range. If the column widths aren't uniform, null will be returned. - * @return float|null + * @return WorkbookRangeFormat_columnWidth|null */ - public function getColumnWidth(): ?float { + public function getColumnWidth(): ?WorkbookRangeFormat_columnWidth { $val = $this->getBackingStore()->get('columnWidth'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookRangeFormat_columnWidth) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'columnWidth'"); @@ -59,12 +59,12 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'borders' => fn(ParseNode $n) => $o->setBorders($n->getCollectionOfObjectValues([WorkbookRangeBorder::class, 'createFromDiscriminatorValue'])), - 'columnWidth' => fn(ParseNode $n) => $o->setColumnWidth($n->getFloatValue()), + 'columnWidth' => fn(ParseNode $n) => $o->setColumnWidth($n->getObjectValue([WorkbookRangeFormat_columnWidth::class, 'createFromDiscriminatorValue'])), 'fill' => fn(ParseNode $n) => $o->setFill($n->getObjectValue([WorkbookRangeFill::class, 'createFromDiscriminatorValue'])), 'font' => fn(ParseNode $n) => $o->setFont($n->getObjectValue([WorkbookRangeFont::class, 'createFromDiscriminatorValue'])), 'horizontalAlignment' => fn(ParseNode $n) => $o->setHorizontalAlignment($n->getStringValue()), 'protection' => fn(ParseNode $n) => $o->setProtection($n->getObjectValue([WorkbookFormatProtection::class, 'createFromDiscriminatorValue'])), - 'rowHeight' => fn(ParseNode $n) => $o->setRowHeight($n->getFloatValue()), + 'rowHeight' => fn(ParseNode $n) => $o->setRowHeight($n->getObjectValue([WorkbookRangeFormat_rowHeight::class, 'createFromDiscriminatorValue'])), 'verticalAlignment' => fn(ParseNode $n) => $o->setVerticalAlignment($n->getStringValue()), 'wrapText' => fn(ParseNode $n) => $o->setWrapText($n->getBooleanValue()), ]); @@ -120,11 +120,11 @@ public function getProtection(): ?WorkbookFormatProtection { /** * Gets the rowHeight property value. The height of all rows in the range. If the row heights aren't uniform null will be returned. - * @return float|null + * @return WorkbookRangeFormat_rowHeight|null */ - public function getRowHeight(): ?float { + public function getRowHeight(): ?WorkbookRangeFormat_rowHeight { $val = $this->getBackingStore()->get('rowHeight'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof WorkbookRangeFormat_rowHeight) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'rowHeight'"); @@ -161,12 +161,12 @@ public function getWrapText(): ?bool { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfObjectValues('borders', $this->getBorders()); - $writer->writeFloatValue('columnWidth', $this->getColumnWidth()); + $writer->writeObjectValue('columnWidth', $this->getColumnWidth()); $writer->writeObjectValue('fill', $this->getFill()); $writer->writeObjectValue('font', $this->getFont()); $writer->writeStringValue('horizontalAlignment', $this->getHorizontalAlignment()); $writer->writeObjectValue('protection', $this->getProtection()); - $writer->writeFloatValue('rowHeight', $this->getRowHeight()); + $writer->writeObjectValue('rowHeight', $this->getRowHeight()); $writer->writeStringValue('verticalAlignment', $this->getVerticalAlignment()); $writer->writeBooleanValue('wrapText', $this->getWrapText()); } @@ -181,9 +181,9 @@ public function setBorders(?array $value): void { /** * Sets the columnWidth property value. The width of all columns within the range. If the column widths aren't uniform, null will be returned. - * @param float|null $value Value to set for the columnWidth property. + * @param WorkbookRangeFormat_columnWidth|null $value Value to set for the columnWidth property. */ - public function setColumnWidth(?float $value): void { + public function setColumnWidth(?WorkbookRangeFormat_columnWidth $value): void { $this->getBackingStore()->set('columnWidth', $value); } @@ -221,9 +221,9 @@ public function setProtection(?WorkbookFormatProtection $value): void { /** * Sets the rowHeight property value. The height of all rows in the range. If the row heights aren't uniform null will be returned. - * @param float|null $value Value to set for the rowHeight property. + * @param WorkbookRangeFormat_rowHeight|null $value Value to set for the rowHeight property. */ - public function setRowHeight(?float $value): void { + public function setRowHeight(?WorkbookRangeFormat_rowHeight $value): void { $this->getBackingStore()->set('rowHeight', $value); } diff --git a/src/Generated/Models/WorkbookRangeFormat_columnWidth.php b/src/Generated/Models/WorkbookRangeFormat_columnWidth.php new file mode 100644 index 00000000000..c97f01f4e5c --- /dev/null +++ b/src/Generated/Models/WorkbookRangeFormat_columnWidth.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookRangeFormat_columnWidth + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookRangeFormat_columnWidth { + $result = new WorkbookRangeFormat_columnWidth(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Models/WorkbookRangeFormat_rowHeight.php b/src/Generated/Models/WorkbookRangeFormat_rowHeight.php new file mode 100644 index 00000000000..fe8beef55b2 --- /dev/null +++ b/src/Generated/Models/WorkbookRangeFormat_rowHeight.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return WorkbookRangeFormat_rowHeight + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): WorkbookRangeFormat_rowHeight { + $result = new WorkbookRangeFormat_rowHeight(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php index 319b02c2e3d..f2a5a2103ea 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?BannerLogoRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 Find more info here */ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?BannerLogoRequestBuilderDeleteReques } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index 7b3508bdb1f..fce821c0172 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -117,11 +117,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -166,7 +166,7 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php index 4f144e8136a..8c22067b457 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php index ffa340b7fe4..9553a58e1a3 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php @@ -61,12 +61,12 @@ public function get(?IdentitySynchronizationRequestBuilderGetRequestConfiguratio } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param CrossTenantIdentitySyncPolicyPartner $body The request body * @param IdentitySynchronizationRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 Find more info here */ public function put(CrossTenantIdentitySyncPolicyPartner $body, ?IdentitySynchronizationRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -116,7 +116,7 @@ public function toGetRequestInformation(?IdentitySynchronizationRequestBuilderGe } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param CrossTenantIdentitySyncPolicyPartner $body The request body * @param IdentitySynchronizationRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index 3d7f8acc4b4..5762865a54b 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -83,11 +83,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 Find more info here */ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,7 +98,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php index 66d728ca0a9..8e8b1c7a645 100644 --- a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 437b474e198..a110dbbb245 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Delete a conversationMember from a channel. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index 9845f3499db..420a1a12039 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 50c3a1db2a8..a39872e4882 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index 28ab59e9c4d..f33efbab085 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 3e46e11ab23..7bc8336a819 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php index 77987d85afb..43c61fba84c 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index fbdbbb5227c..8e5daf17bfc 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index d2894fd1f06..0d780b90788 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 6b72e2d1073..48057daefbd 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index 0afa9f69a8d..43f500f2230 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 87ee2125925..b40922d2629 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index d8d2761575b..a2215804756 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 1c4f46d3dca..58de798395d 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php index ea912f9dee8..2abc4972dc7 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php @@ -62,12 +62,12 @@ public function get(?MultiTenantOrganizationRequestBuilderGetRequestConfiguratio } /** - * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + * Update the properties of a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 Find more info here */ public function patch(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MultiTenantOrganizationRequestBuilderGe } /** - * Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + * Update the properties of a multitenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php index 7afc301771b..983265379c7 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index fe757048987..6052a862d54 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index c30e1ee3682..939b065584f 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 137a65f171d..a1ccb7d7bab 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.php b/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.php index b97769b4020..7dd23d5eac1 100644 --- a/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.php +++ b/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody.php @@ -86,7 +86,7 @@ public function getFieldDeserializers(): array { 'locationConstraint' => fn(ParseNode $n) => $o->setLocationConstraint($n->getObjectValue([LocationConstraint::class, 'createFromDiscriminatorValue'])), 'maxCandidates' => fn(ParseNode $n) => $o->setMaxCandidates($n->getIntegerValue()), 'meetingDuration' => fn(ParseNode $n) => $o->setMeetingDuration($n->getDateIntervalValue()), - 'minimumAttendeePercentage' => fn(ParseNode $n) => $o->setMinimumAttendeePercentage($n->getFloatValue()), + 'minimumAttendeePercentage' => fn(ParseNode $n) => $o->setMinimumAttendeePercentage($n->getObjectValue([FindMeetingTimesPostRequestBody_minimumAttendeePercentage::class, 'createFromDiscriminatorValue'])), 'returnSuggestionReasons' => fn(ParseNode $n) => $o->setReturnSuggestionReasons($n->getBooleanValue()), 'timeConstraint' => fn(ParseNode $n) => $o->setTimeConstraint($n->getObjectValue([TimeConstraint::class, 'createFromDiscriminatorValue'])), ]; @@ -142,11 +142,11 @@ public function getMeetingDuration(): ?DateInterval { /** * Gets the minimumAttendeePercentage property value. The minimumAttendeePercentage property - * @return float|null + * @return FindMeetingTimesPostRequestBody_minimumAttendeePercentage|null */ - public function getMinimumAttendeePercentage(): ?float { + public function getMinimumAttendeePercentage(): ?FindMeetingTimesPostRequestBody_minimumAttendeePercentage { $val = $this->getBackingStore()->get('minimumAttendeePercentage'); - if (is_null($val) || is_float($val)) { + if (is_null($val) || $val instanceof FindMeetingTimesPostRequestBody_minimumAttendeePercentage) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'minimumAttendeePercentage'"); @@ -186,7 +186,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('locationConstraint', $this->getLocationConstraint()); $writer->writeIntegerValue('maxCandidates', $this->getMaxCandidates()); $writer->writeDateIntervalValue('meetingDuration', $this->getMeetingDuration()); - $writer->writeFloatValue('minimumAttendeePercentage', $this->getMinimumAttendeePercentage()); + $writer->writeObjectValue('minimumAttendeePercentage', $this->getMinimumAttendeePercentage()); $writer->writeBooleanValue('returnSuggestionReasons', $this->getReturnSuggestionReasons()); $writer->writeObjectValue('timeConstraint', $this->getTimeConstraint()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -250,9 +250,9 @@ public function setMeetingDuration(?DateInterval $value): void { /** * Sets the minimumAttendeePercentage property value. The minimumAttendeePercentage property - * @param float|null $value Value to set for the minimumAttendeePercentage property. + * @param FindMeetingTimesPostRequestBody_minimumAttendeePercentage|null $value Value to set for the minimumAttendeePercentage property. */ - public function setMinimumAttendeePercentage(?float $value): void { + public function setMinimumAttendeePercentage(?FindMeetingTimesPostRequestBody_minimumAttendeePercentage $value): void { $this->getBackingStore()->set('minimumAttendeePercentage', $value); } diff --git a/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody_minimumAttendeePercentage.php b/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody_minimumAttendeePercentage.php new file mode 100644 index 00000000000..153a3620849 --- /dev/null +++ b/src/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesPostRequestBody_minimumAttendeePercentage.php @@ -0,0 +1,146 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return FindMeetingTimesPostRequestBody_minimumAttendeePercentage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): FindMeetingTimesPostRequestBody_minimumAttendeePercentage { + $result = new FindMeetingTimesPostRequestBody_minimumAttendeePercentage(); + if ($parseNode->getEnumValue(ReferenceNumeric::class) !== null) { + $result->setReferenceNumeric($parseNode->getEnumValue(ReferenceNumeric::class)); + } else if ($parseNode->getFloatValue() !== null) { + $result->setDouble($parseNode->getFloatValue()); + } else if ($parseNode->getStringValue() !== null) { + $result->setString($parseNode->getStringValue()); + } + return $result; + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the double property value. Composed type representation for type float + * @return float|null + */ + public function getDouble(): ?float { + $val = $this->getBackingStore()->get('double'); + if (is_null($val) || is_float($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'double'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + return []; + } + + /** + * Gets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @return ReferenceNumeric|null + */ + public function getReferenceNumeric(): ?ReferenceNumeric { + $val = $this->getBackingStore()->get('referenceNumeric'); + if (is_null($val) || $val instanceof ReferenceNumeric) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'referenceNumeric'"); + } + + /** + * Gets the string property value. Composed type representation for type string + * @return string|null + */ + public function getString(): ?string { + $val = $this->getBackingStore()->get('string'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'string'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + if ($this->getReferenceNumeric() !== null) { + $writer->writeEnumValue(null, $this->getReferenceNumeric()); + } else if ($this->getDouble() !== null) { + $writer->writeFloatValue(null, $this->getDouble()); + } else if ($this->getString() !== null) { + $writer->writeStringValue(null, $this->getString()); + } + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the double property value. Composed type representation for type float + * @param float|null $value Value to set for the double property. + */ + public function setDouble(?float $value): void { + $this->getBackingStore()->set('double', $value); + } + + /** + * Sets the ReferenceNumeric property value. Composed type representation for type ReferenceNumeric + * @param ReferenceNumeric|null $value Value to set for the ReferenceNumeric property. + */ + public function setReferenceNumeric(?ReferenceNumeric $value): void { + $this->getBackingStore()->set('referenceNumeric', $value); + } + + /** + * Sets the string property value. Composed type representation for type string + * @param string|null $value Value to set for the string property. + */ + public function setString(?string $value): void { + $this->getBackingStore()->set('string', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php index 23ade0c8a02..ff795ef0fd4 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 5d66c2494a3..16cd4e2355c 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index ccc3fe54a16..25196f2b499 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index 9534ca68f92..95ea14cb09d 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php index 1285b1bb7cf..7f4b3e813cf 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 35f1f9c799b..5ea0eda39b2 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php index cc48403723a..c5f65214f94 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php index c65596b5537..489f3dce9ca 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. + * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php index 9c186779947..3e93ab4cda2 100644 --- a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\DeviceCategory; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Generated\Users\Item\ManagedDevices\Item\DeviceCategory\Ref\RefRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -16,6 +17,13 @@ */ class DeviceCategoryRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the collection of user entities. + */ + public function ref(): RefRequestBuilder { + return new RefRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new DeviceCategoryRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php new file mode 100644 index 00000000000..272cb786d86 --- /dev/null +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilder.php @@ -0,0 +1,143 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/deviceCategory/$ref'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete ref of navigation property deviceCategory for users + * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Device category + * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'string', $errorMappings); + return $result; + } + + /** + * Update the ref of navigation property deviceCategory in users + * @param ReferenceUpdate $body The request body + * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Delete ref of navigation property deviceCategory for users + * @param RefRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?RefRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Device category + * @param RefRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the ref of navigation property deviceCategory in users + * @param ReferenceUpdate $body The request body + * @param RefRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(ReferenceUpdate $body, ?RefRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RefRequestBuilder + */ + public function withUrl(string $rawUrl): RefRequestBuilder { + return new RefRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..685bca2822c --- /dev/null +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9332b224781 --- /dev/null +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..b6692af7250 --- /dev/null +++ b/src/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/Ref/RefRequestBuilderPutRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 08e35ed8229..f650bb836ca 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -625,11 +625,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a user. + * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -650,11 +650,11 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ } /** - * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + * Read properties and relationships of the user object. * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 Find more info here */ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -670,7 +670,7 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -691,7 +691,7 @@ public function reminderViewWithStartDateTimeWithEndDateTime(string $endDateTime } /** - * Deletes a user. + * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -709,7 +709,7 @@ public function toDeleteRequestInformation(?UserItemRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + * Read properties and relationships of the user object. * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php index 02898a7be9e..4ffb975bcb1 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + * Read properties and relationships of the user object. */ class UserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index 05db42372c5..33430e928a9 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,12 +99,12 @@ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 Find more info here */ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $r } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -136,7 +136,7 @@ public function toGetRequestInformation(?UsersRequestBuilderGetRequestConfigurat } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param User $body The request body * @param UsersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php index 1e989d3b59e..3e762ac4482 100644 --- a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 222a756372c..e050f4c1e23 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -19982,6 +19982,7 @@ Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.De Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|Get(requestConfiguration?:DeviceCategoryRequestBuilderGetRequestConfiguration):DeviceCategory Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|Patch(body:DeviceCategory; requestConfiguration?:DeviceCategoryRequestBuilderPatchRequestConfiguration):DeviceCategory Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|Ref:RefRequestBuilder Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DeviceCategoryRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeviceCategoryRequestBuilderGetRequestConfiguration):RequestInformation @@ -19999,6 +20000,24 @@ Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.de Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.deviceCategoryRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DeviceCategoryRequestBuilderGetQueryParameters Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.deviceCategoryRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.deviceCategoryRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|Delete(requestConfiguration?:RefRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|Get(requestConfiguration?:RefRequestBuilderGetRequestConfiguration):string +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|Put(body:ReferenceUpdate; requestConfiguration?:RefRequestBuilderPutRequestConfiguration):void +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:RefRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RefRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|ToPutRequestInformation(body:ReferenceUpdate; requestConfiguration?:RefRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):RefRequestBuilder +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCategory.ref.RefRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.deviceManagement.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -33292,13 +33311,26 @@ Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody: Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|getPage():string -Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|getZoom():float +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|getZoom():PreviewPostRequestBody_zoom Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|setPage(value?:string):void -Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|setZoom(value?:float):void +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|public|setZoom(value?:PreviewPostRequestBody_zoom):void Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PreviewPostRequestBody +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|constructor():void +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|getDouble():float +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|getString():string +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|public|setString(value?:string):void +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PreviewPostRequestBody_zoom +Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody_zoom~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.drives.item.items.item.preview.previewPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.drives.item.items.item.preview.PreviewRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.drives.item.items.item.preview.PreviewRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -114757,18 +114789,31 @@ Microsoft\Graph\Generated.models.availabilityItem::|static|public|CreateFromDisc Microsoft\Graph\Generated.models.availabilityItem~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.averageComparativeScore::|public|constructor():void Microsoft\Graph\Generated.models.averageComparativeScore::|public|getAdditionalData():array -Microsoft\Graph\Generated.models.averageComparativeScore::|public|getAverageScore():float +Microsoft\Graph\Generated.models.averageComparativeScore::|public|getAverageScore():AverageComparativeScore_averageScore Microsoft\Graph\Generated.models.averageComparativeScore::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.averageComparativeScore::|public|getBasis():string Microsoft\Graph\Generated.models.averageComparativeScore::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.averageComparativeScore::|public|getOdataType():string Microsoft\Graph\Generated.models.averageComparativeScore::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.averageComparativeScore::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Generated.models.averageComparativeScore::|public|setAverageScore(value?:float):void +Microsoft\Graph\Generated.models.averageComparativeScore::|public|setAverageScore(value?:AverageComparativeScore_averageScore):void Microsoft\Graph\Generated.models.averageComparativeScore::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.averageComparativeScore::|public|setBasis(value?:string):void Microsoft\Graph\Generated.models.averageComparativeScore::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.averageComparativeScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AverageComparativeScore +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|constructor():void +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|getDouble():float +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|getString():string +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AverageComparativeScore_averageScore +Microsoft\Graph\Generated.models.averageComparativeScore_averageScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.averageComparativeScore~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.azureActiveDirectoryTenant-->IdentitySource Microsoft\Graph\Generated.models.azureActiveDirectoryTenant::|public|constructor():void @@ -115129,7 +115174,7 @@ Microsoft\Graph\Generated.models.bookingAppointment::|public|getMaximumAttendees Microsoft\Graph\Generated.models.bookingAppointment::|public|getOptOutOfCustomerEmail():bool Microsoft\Graph\Generated.models.bookingAppointment::|public|getPostBuffer():DateInterval Microsoft\Graph\Generated.models.bookingAppointment::|public|getPreBuffer():DateInterval -Microsoft\Graph\Generated.models.bookingAppointment::|public|getPrice():float +Microsoft\Graph\Generated.models.bookingAppointment::|public|getPrice():BookingAppointment_price Microsoft\Graph\Generated.models.bookingAppointment::|public|getPriceType():BookingPriceType Microsoft\Graph\Generated.models.bookingAppointment::|public|getReminders():array Microsoft\Graph\Generated.models.bookingAppointment::|public|getSelfServiceAppointmentId():string @@ -115163,7 +115208,7 @@ Microsoft\Graph\Generated.models.bookingAppointment::|public|setMaximumAttendees Microsoft\Graph\Generated.models.bookingAppointment::|public|setOptOutOfCustomerEmail(value?:bool):void Microsoft\Graph\Generated.models.bookingAppointment::|public|setPostBuffer(value?:DateInterval):void Microsoft\Graph\Generated.models.bookingAppointment::|public|setPreBuffer(value?:DateInterval):void -Microsoft\Graph\Generated.models.bookingAppointment::|public|setPrice(value?:float):void +Microsoft\Graph\Generated.models.bookingAppointment::|public|setPrice(value?:BookingAppointment_price):void Microsoft\Graph\Generated.models.bookingAppointment::|public|setPriceType(value?:BookingPriceType):void Microsoft\Graph\Generated.models.bookingAppointment::|public|setReminders(value?:array):void Microsoft\Graph\Generated.models.bookingAppointment::|public|setSelfServiceAppointmentId(value?:string):void @@ -115182,6 +115227,19 @@ Microsoft\Graph\Generated.models.bookingAppointmentCollectionResponse::|public|g Microsoft\Graph\Generated.models.bookingAppointmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.bookingAppointmentCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.bookingAppointmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BookingAppointmentCollectionResponse +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|constructor():void +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|getDouble():float +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|getString():string +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.bookingAppointment_price::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.bookingAppointment_price::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BookingAppointment_price +Microsoft\Graph\Generated.models.bookingAppointment_price~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.bookingBusiness-->Entity Microsoft\Graph\Generated.models.bookingBusiness::|public|constructor():void Microsoft\Graph\Generated.models.bookingBusiness::|public|getAddress():PhysicalAddress @@ -115509,7 +115567,7 @@ Microsoft\Graph\Generated.models.bookingService::|public|getCreatedDateTime():Da Microsoft\Graph\Generated.models.bookingService::|public|getCustomQuestions():array Microsoft\Graph\Generated.models.bookingService::|public|getDefaultDuration():DateInterval Microsoft\Graph\Generated.models.bookingService::|public|getDefaultLocation():Location -Microsoft\Graph\Generated.models.bookingService::|public|getDefaultPrice():float +Microsoft\Graph\Generated.models.bookingService::|public|getDefaultPrice():BookingService_defaultPrice Microsoft\Graph\Generated.models.bookingService::|public|getDefaultPriceType():BookingPriceType Microsoft\Graph\Generated.models.bookingService::|public|getDefaultReminders():array Microsoft\Graph\Generated.models.bookingService::|public|getDescription():string @@ -115536,7 +115594,7 @@ Microsoft\Graph\Generated.models.bookingService::|public|setCreatedDateTime(valu Microsoft\Graph\Generated.models.bookingService::|public|setCustomQuestions(value?:array):void Microsoft\Graph\Generated.models.bookingService::|public|setDefaultDuration(value?:DateInterval):void Microsoft\Graph\Generated.models.bookingService::|public|setDefaultLocation(value?:Location):void -Microsoft\Graph\Generated.models.bookingService::|public|setDefaultPrice(value?:float):void +Microsoft\Graph\Generated.models.bookingService::|public|setDefaultPrice(value?:BookingService_defaultPrice):void Microsoft\Graph\Generated.models.bookingService::|public|setDefaultPriceType(value?:BookingPriceType):void Microsoft\Graph\Generated.models.bookingService::|public|setDefaultReminders(value?:array):void Microsoft\Graph\Generated.models.bookingService::|public|setDescription(value?:string):void @@ -115563,6 +115621,19 @@ Microsoft\Graph\Generated.models.bookingServiceCollectionResponse::|public|getVa Microsoft\Graph\Generated.models.bookingServiceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.bookingServiceCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.bookingServiceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BookingServiceCollectionResponse +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|constructor():void +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|getDouble():float +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|getString():string +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.bookingService_defaultPrice::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BookingService_defaultPrice +Microsoft\Graph\Generated.models.bookingService_defaultPrice~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.bookingsServiceAvailabilityType::0000-bookWhenStaffAreFree Microsoft\Graph\Generated.models.bookingsServiceAvailabilityType::0001-notBookable Microsoft\Graph\Generated.models.bookingsServiceAvailabilityType::0002-customWeeklyHours @@ -116407,53 +116478,209 @@ Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getAdditionalDa Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getCaptureDeviceDriver():string Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getCaptureDeviceName():string -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getCaptureNotFunctioningEventRatio():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getCpuInsufficentEventRatio():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getDeviceClippingEventRatio():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getDeviceGlitchEventRatio():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getCaptureNotFunctioningEventRatio():DeviceInfo_captureNotFunctioningEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getCpuInsufficentEventRatio():DeviceInfo_cpuInsufficentEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getDeviceClippingEventRatio():DeviceInfo_deviceClippingEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getDeviceGlitchEventRatio():DeviceInfo_deviceGlitchEventRatio Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getHowlingEventCount():int -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getInitialSignalLevelRootMeanSquare():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getLowSpeechLevelEventRatio():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getLowSpeechToNoiseEventRatio():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getMicGlitchRate():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getInitialSignalLevelRootMeanSquare():DeviceInfo_initialSignalLevelRootMeanSquare +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getLowSpeechLevelEventRatio():DeviceInfo_lowSpeechLevelEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getLowSpeechToNoiseEventRatio():DeviceInfo_lowSpeechToNoiseEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getMicGlitchRate():DeviceInfo_micGlitchRate Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getOdataType():string Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getReceivedNoiseLevel():int Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getReceivedSignalLevel():int Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderDeviceDriver():string Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderDeviceName():string -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderMuteEventRatio():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderNotFunctioningEventRatio():float -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderZeroVolumeEventRatio():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderMuteEventRatio():DeviceInfo_renderMuteEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderNotFunctioningEventRatio():DeviceInfo_renderNotFunctioningEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getRenderZeroVolumeEventRatio():DeviceInfo_renderZeroVolumeEventRatio Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getSentNoiseLevel():int Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getSentSignalLevel():int -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getSpeakerGlitchRate():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|getSpeakerGlitchRate():DeviceInfo_speakerGlitchRate Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setCaptureDeviceDriver(value?:string):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setCaptureDeviceName(value?:string):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setCaptureNotFunctioningEventRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setCpuInsufficentEventRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setDeviceClippingEventRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setDeviceGlitchEventRatio(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setCaptureNotFunctioningEventRatio(value?:DeviceInfo_captureNotFunctioningEventRatio):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setCpuInsufficentEventRatio(value?:DeviceInfo_cpuInsufficentEventRatio):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setDeviceClippingEventRatio(value?:DeviceInfo_deviceClippingEventRatio):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setDeviceGlitchEventRatio(value?:DeviceInfo_deviceGlitchEventRatio):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setHowlingEventCount(value?:int):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setInitialSignalLevelRootMeanSquare(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setLowSpeechLevelEventRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setLowSpeechToNoiseEventRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setMicGlitchRate(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setInitialSignalLevelRootMeanSquare(value?:DeviceInfo_initialSignalLevelRootMeanSquare):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setLowSpeechLevelEventRatio(value?:DeviceInfo_lowSpeechLevelEventRatio):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setLowSpeechToNoiseEventRatio(value?:DeviceInfo_lowSpeechToNoiseEventRatio):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setMicGlitchRate(value?:DeviceInfo_micGlitchRate):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setReceivedNoiseLevel(value?:int):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setReceivedSignalLevel(value?:int):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderDeviceDriver(value?:string):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderDeviceName(value?:string):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderMuteEventRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderNotFunctioningEventRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderZeroVolumeEventRatio(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderMuteEventRatio(value?:DeviceInfo_renderMuteEventRatio):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderNotFunctioningEventRatio(value?:DeviceInfo_renderNotFunctioningEventRatio):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setRenderZeroVolumeEventRatio(value?:DeviceInfo_renderZeroVolumeEventRatio):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setSentNoiseLevel(value?:int):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setSentSignalLevel(value?:int):void -Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setSpeakerGlitchRate(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo::|public|setSpeakerGlitchRate(value?:DeviceInfo_speakerGlitchRate):void Microsoft\Graph\Generated.models.callRecords.deviceInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_captureNotFunctioningEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_captureNotFunctioningEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_cpuInsufficentEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_cpuInsufficentEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_deviceClippingEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceClippingEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_deviceGlitchEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_deviceGlitchEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_initialSignalLevelRootMeanSquare +Microsoft\Graph\Generated.models.callRecords.deviceInfo_initialSignalLevelRootMeanSquare~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_lowSpeechLevelEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechLevelEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_lowSpeechToNoiseEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_lowSpeechToNoiseEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_micGlitchRate +Microsoft\Graph\Generated.models.callRecords.deviceInfo_micGlitchRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_renderMuteEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderMuteEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_renderNotFunctioningEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderNotFunctioningEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_renderZeroVolumeEventRatio +Microsoft\Graph\Generated.models.callRecords.deviceInfo_renderZeroVolumeEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo_speakerGlitchRate +Microsoft\Graph\Generated.models.callRecords.deviceInfo_speakerGlitchRate~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.callRecords.deviceInfo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.callRecords.directRoutingLogRow::|public|constructor():void Microsoft\Graph\Generated.models.callRecords.directRoutingLogRow::|public|getAdditionalData():array @@ -116576,32 +116803,32 @@ Microsoft\Graph\Generated.models.callRecords.media::|static|public|CreateFromDis Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|constructor():void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAdditionalData():array Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAudioCodec():AudioCodec -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageAudioDegradation():float +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageAudioDegradation():MediaStream_averageAudioDegradation Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageAudioNetworkJitter():DateInterval Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageBandwidthEstimate():int Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageFreezeDuration():DateInterval Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageJitter():DateInterval -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAveragePacketLossRate():float -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageRatioOfConcealedSamples():float -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageReceivedFrameRate():float +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAveragePacketLossRate():MediaStream_averagePacketLossRate +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageRatioOfConcealedSamples():MediaStream_averageRatioOfConcealedSamples +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageReceivedFrameRate():MediaStream_averageReceivedFrameRate Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageRoundTripTime():DateInterval -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageVideoFrameLossPercentage():float -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageVideoFrameRate():float -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageVideoPacketLossRate():float +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageVideoFrameLossPercentage():MediaStream_averageVideoFrameLossPercentage +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageVideoFrameRate():MediaStream_averageVideoFrameRate +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getAverageVideoPacketLossRate():MediaStream_averageVideoPacketLossRate Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getEndDateTime():DateTime Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getIsAudioForwardErrorCorrectionUsed():bool -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getLowFrameRateRatio():float -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getLowVideoProcessingCapabilityRatio():float +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getLowFrameRateRatio():MediaStream_lowFrameRateRatio +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getLowVideoProcessingCapabilityRatio():MediaStream_lowVideoProcessingCapabilityRatio Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getMaxAudioNetworkJitter():DateInterval Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getMaxJitter():DateInterval -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getMaxPacketLossRate():float -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getMaxRatioOfConcealedSamples():float +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getMaxPacketLossRate():MediaStream_maxPacketLossRate +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getMaxRatioOfConcealedSamples():MediaStream_maxRatioOfConcealedSamples Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getMaxRoundTripTime():DateInterval Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getOdataType():string Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getPacketUtilization():int -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getPostForwardErrorCorrectionPacketLossRate():float +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getPostForwardErrorCorrectionPacketLossRate():MediaStream_postForwardErrorCorrectionPacketLossRate Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getRmsFreezeDuration():DateInterval Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getStartDateTime():DateTime Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getStreamDirection():MediaStreamDirection @@ -116611,31 +116838,31 @@ Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|getWasMediaByp Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAudioCodec(value?:AudioCodec):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageAudioDegradation(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageAudioDegradation(value?:MediaStream_averageAudioDegradation):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageAudioNetworkJitter(value?:DateInterval):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageBandwidthEstimate(value?:int):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageFreezeDuration(value?:DateInterval):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageJitter(value?:DateInterval):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAveragePacketLossRate(value?:float):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageRatioOfConcealedSamples(value?:float):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageReceivedFrameRate(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAveragePacketLossRate(value?:MediaStream_averagePacketLossRate):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageRatioOfConcealedSamples(value?:MediaStream_averageRatioOfConcealedSamples):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageReceivedFrameRate(value?:MediaStream_averageReceivedFrameRate):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageRoundTripTime(value?:DateInterval):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageVideoFrameLossPercentage(value?:float):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageVideoFrameRate(value?:float):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageVideoPacketLossRate(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageVideoFrameLossPercentage(value?:MediaStream_averageVideoFrameLossPercentage):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageVideoFrameRate(value?:MediaStream_averageVideoFrameRate):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setAverageVideoPacketLossRate(value?:MediaStream_averageVideoPacketLossRate):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setEndDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setIsAudioForwardErrorCorrectionUsed(value?:bool):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setLowFrameRateRatio(value?:float):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setLowVideoProcessingCapabilityRatio(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setLowFrameRateRatio(value?:MediaStream_lowFrameRateRatio):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setLowVideoProcessingCapabilityRatio(value?:MediaStream_lowVideoProcessingCapabilityRatio):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setMaxAudioNetworkJitter(value?:DateInterval):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setMaxJitter(value?:DateInterval):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setMaxPacketLossRate(value?:float):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setMaxRatioOfConcealedSamples(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setMaxPacketLossRate(value?:MediaStream_maxPacketLossRate):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setMaxRatioOfConcealedSamples(value?:MediaStream_maxRatioOfConcealedSamples):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setMaxRoundTripTime(value?:DateInterval):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setPacketUtilization(value?:int):void -Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setPostForwardErrorCorrectionPacketLossRate(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setPostForwardErrorCorrectionPacketLossRate(value?:MediaStream_postForwardErrorCorrectionPacketLossRate):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setRmsFreezeDuration(value?:DateInterval):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setStartDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setStreamDirection(value?:MediaStreamDirection):void @@ -116645,6 +116872,162 @@ Microsoft\Graph\Generated.models.callRecords.mediaStream::|public|setWasMediaByp Microsoft\Graph\Generated.models.callRecords.mediaStream::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream Microsoft\Graph\Generated.models.callRecords.mediaStreamDirection::0000-callerToCallee Microsoft\Graph\Generated.models.callRecords.mediaStreamDirection::0001-calleeToCaller +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_averageAudioDegradation +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageAudioDegradation~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_averagePacketLossRate +Microsoft\Graph\Generated.models.callRecords.mediaStream_averagePacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_averageRatioOfConcealedSamples +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageRatioOfConcealedSamples~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_averageReceivedFrameRate +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageReceivedFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_averageVideoFrameLossPercentage +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameLossPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_averageVideoFrameRate +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_averageVideoPacketLossRate +Microsoft\Graph\Generated.models.callRecords.mediaStream_averageVideoPacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_lowFrameRateRatio +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowFrameRateRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_lowVideoProcessingCapabilityRatio +Microsoft\Graph\Generated.models.callRecords.mediaStream_lowVideoProcessingCapabilityRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_maxPacketLossRate +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxPacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_maxRatioOfConcealedSamples +Microsoft\Graph\Generated.models.callRecords.mediaStream_maxRatioOfConcealedSamples~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MediaStream_postForwardErrorCorrectionPacketLossRate +Microsoft\Graph\Generated.models.callRecords.mediaStream_postForwardErrorCorrectionPacketLossRate~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.callRecords.mediaStream~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.callRecords.media~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.callRecords.modality::0000-audio @@ -116662,10 +117045,10 @@ Microsoft\Graph\Generated.models.callRecords.networkConnectionType::0005-unknown Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|constructor():void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getAdditionalData():array Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getBackingStore():BackingStore -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getBandwidthLowEventRatio():float +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getBandwidthLowEventRatio():NetworkInfo_bandwidthLowEventRatio Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getBasicServiceSetIdentifier():string Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getConnectionType():NetworkConnectionType -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getDelayEventRatio():float +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getDelayEventRatio():NetworkInfo_delayEventRatio Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getDnsSuffix():string Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getIpAddress():string @@ -116674,11 +117057,11 @@ Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getMacAddress( Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getNetworkTransportProtocol():NetworkTransportProtocol Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getOdataType():string Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getPort():int -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getReceivedQualityEventRatio():float +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getReceivedQualityEventRatio():NetworkInfo_receivedQualityEventRatio Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getReflexiveIPAddress():string Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getRelayIPAddress():string Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getRelayPort():int -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getSentQualityEventRatio():float +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getSentQualityEventRatio():NetworkInfo_sentQualityEventRatio Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getSubnet():string Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getTraceRouteHops():array Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getWifiBand():WifiBand @@ -116693,10 +117076,10 @@ Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|getWifiVendorD Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setBandwidthLowEventRatio(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setBandwidthLowEventRatio(value?:NetworkInfo_bandwidthLowEventRatio):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setBasicServiceSetIdentifier(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setConnectionType(value?:NetworkConnectionType):void -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setDelayEventRatio(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setDelayEventRatio(value?:NetworkInfo_delayEventRatio):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setDnsSuffix(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setIpAddress(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setLinkSpeed(value?:int):void @@ -116704,11 +117087,11 @@ Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setMacAddress( Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setNetworkTransportProtocol(value?:NetworkTransportProtocol):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setPort(value?:int):void -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setReceivedQualityEventRatio(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setReceivedQualityEventRatio(value?:NetworkInfo_receivedQualityEventRatio):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setReflexiveIPAddress(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setRelayIPAddress(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setRelayPort(value?:int):void -Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setSentQualityEventRatio(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setSentQualityEventRatio(value?:NetworkInfo_sentQualityEventRatio):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setSubnet(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setTraceRouteHops(value?:array):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setWifiBand(value?:WifiBand):void @@ -116721,6 +117104,58 @@ Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setWifiSignalS Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setWifiVendorDriver(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|public|setWifiVendorDriverVersion(value?:string):void Microsoft\Graph\Generated.models.callRecords.networkInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NetworkInfo +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NetworkInfo_bandwidthLowEventRatio +Microsoft\Graph\Generated.models.callRecords.networkInfo_bandwidthLowEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NetworkInfo_delayEventRatio +Microsoft\Graph\Generated.models.callRecords.networkInfo_delayEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NetworkInfo_receivedQualityEventRatio +Microsoft\Graph\Generated.models.callRecords.networkInfo_receivedQualityEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|constructor():void +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|getFloat():float +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|getString():string +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NetworkInfo_sentQualityEventRatio +Microsoft\Graph\Generated.models.callRecords.networkInfo_sentQualityEventRatio~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.callRecords.networkInfo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.callRecords.networkTransportProtocol::0000-unknown Microsoft\Graph\Generated.models.callRecords.networkTransportProtocol::0001-udp @@ -119735,7 +120170,7 @@ Microsoft\Graph\Generated.models.controlScore::|public|getControlName():string Microsoft\Graph\Generated.models.controlScore::|public|getDescription():string Microsoft\Graph\Generated.models.controlScore::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.controlScore::|public|getOdataType():string -Microsoft\Graph\Generated.models.controlScore::|public|getScore():float +Microsoft\Graph\Generated.models.controlScore::|public|getScore():ControlScore_score Microsoft\Graph\Generated.models.controlScore::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.controlScore::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.controlScore::|public|setBackingStore(value:BackingStore):void @@ -119743,8 +120178,21 @@ Microsoft\Graph\Generated.models.controlScore::|public|setControlCategory(value? Microsoft\Graph\Generated.models.controlScore::|public|setControlName(value?:string):void Microsoft\Graph\Generated.models.controlScore::|public|setDescription(value?:string):void Microsoft\Graph\Generated.models.controlScore::|public|setOdataType(value?:string):void -Microsoft\Graph\Generated.models.controlScore::|public|setScore(value?:float):void +Microsoft\Graph\Generated.models.controlScore::|public|setScore(value?:ControlScore_score):void Microsoft\Graph\Generated.models.controlScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ControlScore +Microsoft\Graph\Generated.models.controlScore_score::|public|constructor():void +Microsoft\Graph\Generated.models.controlScore_score::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.controlScore_score::|public|getDouble():float +Microsoft\Graph\Generated.models.controlScore_score::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.controlScore_score::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.controlScore_score::|public|getString():string +Microsoft\Graph\Generated.models.controlScore_score::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.controlScore_score::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.controlScore_score::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.controlScore_score::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.controlScore_score::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.controlScore_score::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ControlScore_score +Microsoft\Graph\Generated.models.controlScore_score~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.controlScore~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.conversation-->Entity Microsoft\Graph\Generated.models.conversation::|public|constructor():void @@ -120354,7 +120802,7 @@ Microsoft\Graph\Generated.models.dataPolicyOperation-->Entity Microsoft\Graph\Generated.models.dataPolicyOperation::|public|constructor():void Microsoft\Graph\Generated.models.dataPolicyOperation::|public|getCompletedDateTime():DateTime Microsoft\Graph\Generated.models.dataPolicyOperation::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.dataPolicyOperation::|public|getProgress():float +Microsoft\Graph\Generated.models.dataPolicyOperation::|public|getProgress():DataPolicyOperation_progress Microsoft\Graph\Generated.models.dataPolicyOperation::|public|getStatus():DataPolicyOperationStatus Microsoft\Graph\Generated.models.dataPolicyOperation::|public|getStorageLocation():string Microsoft\Graph\Generated.models.dataPolicyOperation::|public|getSubmittedDateTime():DateTime @@ -120362,7 +120810,7 @@ Microsoft\Graph\Generated.models.dataPolicyOperation::|public|getUserId():string Microsoft\Graph\Generated.models.dataPolicyOperation::|public|OdataType:string Microsoft\Graph\Generated.models.dataPolicyOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.dataPolicyOperation::|public|setCompletedDateTime(value?:DateTime):void -Microsoft\Graph\Generated.models.dataPolicyOperation::|public|setProgress(value?:float):void +Microsoft\Graph\Generated.models.dataPolicyOperation::|public|setProgress(value?:DataPolicyOperation_progress):void Microsoft\Graph\Generated.models.dataPolicyOperation::|public|setStatus(value?:DataPolicyOperationStatus):void Microsoft\Graph\Generated.models.dataPolicyOperation::|public|setStorageLocation(value?:string):void Microsoft\Graph\Generated.models.dataPolicyOperation::|public|setSubmittedDateTime(value?:DateTime):void @@ -120380,6 +120828,19 @@ Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0001-running Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0002-complete Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0003-failed Microsoft\Graph\Generated.models.dataPolicyOperationStatus::0004-unknownFutureValue +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|constructor():void +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|getDouble():float +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|getString():string +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.dataPolicyOperation_progress::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DataPolicyOperation_progress +Microsoft\Graph\Generated.models.dataPolicyOperation_progress~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.dataSubject::|public|constructor():void Microsoft\Graph\Generated.models.dataSubject::|public|getAdditionalData():array Microsoft\Graph\Generated.models.dataSubject::|public|getBackingStore():BackingStore @@ -121877,30 +122338,121 @@ Microsoft\Graph\Generated.models.deviceExchangeAccessStateSummary::|static|publi Microsoft\Graph\Generated.models.deviceExchangeAccessStateSummary~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.deviceGeoLocation::|public|constructor():void Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getAdditionalData():array -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getAltitude():float +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getAltitude():DeviceGeoLocation_altitude Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.deviceGeoLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getHeading():float -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getHorizontalAccuracy():float +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getHeading():DeviceGeoLocation_heading +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getHorizontalAccuracy():DeviceGeoLocation_horizontalAccuracy Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getLastCollectedDateTime():DateTime -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getLatitude():float -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getLongitude():float +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getLatitude():DeviceGeoLocation_latitude +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getLongitude():DeviceGeoLocation_longitude Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getOdataType():string -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getSpeed():float -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getVerticalAccuracy():float +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getSpeed():DeviceGeoLocation_speed +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|getVerticalAccuracy():DeviceGeoLocation_verticalAccuracy Microsoft\Graph\Generated.models.deviceGeoLocation::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setAltitude(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setAltitude(value?:DeviceGeoLocation_altitude):void Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setHeading(value?:float):void -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setHorizontalAccuracy(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setHeading(value?:DeviceGeoLocation_heading):void +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setHorizontalAccuracy(value?:DeviceGeoLocation_horizontalAccuracy):void Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setLastCollectedDateTime(value?:DateTime):void -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setLatitude(value?:float):void -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setLongitude(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setLatitude(value?:DeviceGeoLocation_latitude):void +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setLongitude(value?:DeviceGeoLocation_longitude):void Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setOdataType(value?:string):void -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setSpeed(value?:float):void -Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setVerticalAccuracy(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setSpeed(value?:DeviceGeoLocation_speed):void +Microsoft\Graph\Generated.models.deviceGeoLocation::|public|setVerticalAccuracy(value?:DeviceGeoLocation_verticalAccuracy):void Microsoft\Graph\Generated.models.deviceGeoLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|constructor():void +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|getString():string +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation_altitude +Microsoft\Graph\Generated.models.deviceGeoLocation_altitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|constructor():void +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|getString():string +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceGeoLocation_heading::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation_heading +Microsoft\Graph\Generated.models.deviceGeoLocation_heading~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|constructor():void +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|getString():string +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation_horizontalAccuracy +Microsoft\Graph\Generated.models.deviceGeoLocation_horizontalAccuracy~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|constructor():void +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|getString():string +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation_latitude +Microsoft\Graph\Generated.models.deviceGeoLocation_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|constructor():void +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|getString():string +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation_longitude +Microsoft\Graph\Generated.models.deviceGeoLocation_longitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|constructor():void +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|getString():string +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceGeoLocation_speed::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation_speed +Microsoft\Graph\Generated.models.deviceGeoLocation_speed~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|constructor():void +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|getString():string +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceGeoLocation_verticalAccuracy +Microsoft\Graph\Generated.models.deviceGeoLocation_verticalAccuracy~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.deviceGeoLocation~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.deviceHealthAttestationState::|public|constructor():void Microsoft\Graph\Generated.models.deviceHealthAttestationState::|public|getAdditionalData():array @@ -122050,7 +122602,7 @@ Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|getInitiat Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|getManagedDeviceId():string Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|getReceivedDateTimeUTC():DateTime Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|getRequestedDateTimeUTC():DateTime -Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|getSizeInKB():float +Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|getSizeInKB():DeviceLogCollectionResponse_sizeInKB Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|getStatus():AppLogUploadState Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|OdataType:string Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -122060,7 +122612,7 @@ Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|setInitiat Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|setManagedDeviceId(value?:string):void Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|setReceivedDateTimeUTC(value?:DateTime):void Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|setRequestedDateTimeUTC(value?:DateTime):void -Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|setSizeInKB(value?:float):void +Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|setSizeInKB(value?:DeviceLogCollectionResponse_sizeInKB):void Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|public|setStatus(value?:AppLogUploadState):void Microsoft\Graph\Generated.models.deviceLogCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceLogCollectionResponse Microsoft\Graph\Generated.models.deviceLogCollectionResponseCollectionResponse-->BaseCollectionPaginationCountResponse @@ -122070,6 +122622,19 @@ Microsoft\Graph\Generated.models.deviceLogCollectionResponseCollectionResponse:: Microsoft\Graph\Generated.models.deviceLogCollectionResponseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.deviceLogCollectionResponseCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.deviceLogCollectionResponseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceLogCollectionResponseCollectionResponse +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|constructor():void +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|getDouble():float +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|getString():string +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceLogCollectionResponse_sizeInKB +Microsoft\Graph\Generated.models.deviceLogCollectionResponse_sizeInKB~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.deviceManagement-->Entity Microsoft\Graph\Generated.models.deviceManagement::|public|constructor():void Microsoft\Graph\Generated.models.deviceManagement::|public|getApplePushNotificationCertificate():ApplePushNotificationCertificate @@ -123463,19 +124028,45 @@ Microsoft\Graph\Generated.models.educationAssignmentIndividualRecipient::|static Microsoft\Graph\Generated.models.educationAssignmentPointsGrade-->EducationAssignmentGrade Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|constructor():void Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|getPoints():float +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|getPoints():EducationAssignmentPointsGrade_points Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|OdataType:string Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|setPoints(value?:float):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|public|setPoints(value?:EducationAssignmentPointsGrade_points):void Microsoft\Graph\Generated.models.educationAssignmentPointsGrade::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAssignmentPointsGrade Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType-->EducationAssignmentGradeType Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|constructor():void Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|getMaxPoints():float +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|getMaxPoints():EducationAssignmentPointsGradeType_maxPoints Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|OdataType:string Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|setMaxPoints(value?:float):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|public|setMaxPoints(value?:EducationAssignmentPointsGradeType_maxPoints):void Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAssignmentPointsGradeType +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|constructor():void +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|getFloat():float +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|getString():string +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAssignmentPointsGradeType_maxPoints +Microsoft\Graph\Generated.models.educationAssignmentPointsGradeType_maxPoints~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|constructor():void +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|getFloat():float +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|getString():string +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAssignmentPointsGrade_points +Microsoft\Graph\Generated.models.educationAssignmentPointsGrade_points~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.educationAssignmentRecipient::|public|constructor():void Microsoft\Graph\Generated.models.educationAssignmentRecipient::|public|getAdditionalData():array Microsoft\Graph\Generated.models.educationAssignmentRecipient::|public|getBackingStore():BackingStore @@ -126041,20 +126632,59 @@ Microsoft\Graph\Generated.models.genericError::|static|public|CreateFromDiscrimi Microsoft\Graph\Generated.models.genericError~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.geoCoordinates::|public|constructor():void Microsoft\Graph\Generated.models.geoCoordinates::|public|getAdditionalData():array -Microsoft\Graph\Generated.models.geoCoordinates::|public|getAltitude():float +Microsoft\Graph\Generated.models.geoCoordinates::|public|getAltitude():GeoCoordinates_altitude Microsoft\Graph\Generated.models.geoCoordinates::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.geoCoordinates::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.geoCoordinates::|public|getLatitude():float -Microsoft\Graph\Generated.models.geoCoordinates::|public|getLongitude():float +Microsoft\Graph\Generated.models.geoCoordinates::|public|getLatitude():GeoCoordinates_latitude +Microsoft\Graph\Generated.models.geoCoordinates::|public|getLongitude():GeoCoordinates_longitude Microsoft\Graph\Generated.models.geoCoordinates::|public|getOdataType():string Microsoft\Graph\Generated.models.geoCoordinates::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.geoCoordinates::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Generated.models.geoCoordinates::|public|setAltitude(value?:float):void +Microsoft\Graph\Generated.models.geoCoordinates::|public|setAltitude(value?:GeoCoordinates_altitude):void Microsoft\Graph\Generated.models.geoCoordinates::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.geoCoordinates::|public|setLatitude(value?:float):void -Microsoft\Graph\Generated.models.geoCoordinates::|public|setLongitude(value?:float):void +Microsoft\Graph\Generated.models.geoCoordinates::|public|setLatitude(value?:GeoCoordinates_latitude):void +Microsoft\Graph\Generated.models.geoCoordinates::|public|setLongitude(value?:GeoCoordinates_longitude):void Microsoft\Graph\Generated.models.geoCoordinates::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.geoCoordinates::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GeoCoordinates +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|constructor():void +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|getDouble():float +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|getString():string +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.geoCoordinates_altitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GeoCoordinates_altitude +Microsoft\Graph\Generated.models.geoCoordinates_altitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|constructor():void +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|getDouble():float +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|getString():string +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.geoCoordinates_latitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GeoCoordinates_latitude +Microsoft\Graph\Generated.models.geoCoordinates_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|constructor():void +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|getDouble():float +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|getString():string +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.geoCoordinates_longitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GeoCoordinates_longitude +Microsoft\Graph\Generated.models.geoCoordinates_longitude~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.geoCoordinates~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.geolocationColumn::|public|constructor():void Microsoft\Graph\Generated.models.geolocationColumn::|public|getAdditionalData():array @@ -127368,11 +127998,11 @@ Microsoft\Graph\Generated.models.identityUserFlow-->Entity Microsoft\Graph\Generated.models.identityUserFlow::|public|constructor():void Microsoft\Graph\Generated.models.identityUserFlow::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.identityUserFlow::|public|getUserFlowType():UserFlowType -Microsoft\Graph\Generated.models.identityUserFlow::|public|getUserFlowTypeVersion():float +Microsoft\Graph\Generated.models.identityUserFlow::|public|getUserFlowTypeVersion():IdentityUserFlow_userFlowTypeVersion Microsoft\Graph\Generated.models.identityUserFlow::|public|OdataType:string Microsoft\Graph\Generated.models.identityUserFlow::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.identityUserFlow::|public|setUserFlowType(value?:UserFlowType):void -Microsoft\Graph\Generated.models.identityUserFlow::|public|setUserFlowTypeVersion(value?:float):void +Microsoft\Graph\Generated.models.identityUserFlow::|public|setUserFlowTypeVersion(value?:IdentityUserFlow_userFlowTypeVersion):void Microsoft\Graph\Generated.models.identityUserFlow::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IdentityUserFlow Microsoft\Graph\Generated.models.identityUserFlowAttribute-->Entity Microsoft\Graph\Generated.models.identityUserFlowAttribute::|public|constructor():void @@ -127436,6 +128066,19 @@ Microsoft\Graph\Generated.models.identityUserFlowAttributeType::0000-builtIn Microsoft\Graph\Generated.models.identityUserFlowAttributeType::0001-custom Microsoft\Graph\Generated.models.identityUserFlowAttributeType::0002-required Microsoft\Graph\Generated.models.identityUserFlowAttributeType::0003-unknownFutureValue +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|constructor():void +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|getFloat():float +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|getString():string +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IdentityUserFlow_userFlowTypeVersion +Microsoft\Graph\Generated.models.identityUserFlow_userFlowTypeVersion~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.identity~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.idleSessionSignOut::|public|constructor():void Microsoft\Graph\Generated.models.idleSessionSignOut::|public|getAdditionalData():array @@ -127752,11 +128395,24 @@ Microsoft\Graph\Generated.models.insightsSettings::|static|public|CreateFromDisc Microsoft\Graph\Generated.models.insightValueDouble-->UserExperienceAnalyticsInsightValue Microsoft\Graph\Generated.models.insightValueDouble::|public|constructor():void Microsoft\Graph\Generated.models.insightValueDouble::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.insightValueDouble::|public|getValue():float +Microsoft\Graph\Generated.models.insightValueDouble::|public|getValue():InsightValueDouble_value Microsoft\Graph\Generated.models.insightValueDouble::|public|OdataType:string Microsoft\Graph\Generated.models.insightValueDouble::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.insightValueDouble::|public|setValue(value?:float):void +Microsoft\Graph\Generated.models.insightValueDouble::|public|setValue(value?:InsightValueDouble_value):void Microsoft\Graph\Generated.models.insightValueDouble::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):InsightValueDouble +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|constructor():void +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|getDouble():float +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|getString():string +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.insightValueDouble_value::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.insightValueDouble_value::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):InsightValueDouble_value +Microsoft\Graph\Generated.models.insightValueDouble_value~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.insightValueInt-->UserExperienceAnalyticsInsightValue Microsoft\Graph\Generated.models.insightValueInt::|public|constructor():void Microsoft\Graph\Generated.models.insightValueInt::|public|GetFieldDeserializers():array @@ -131348,7 +132004,7 @@ Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|constructor():vo Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|getAdditionalData():array Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|getAttendeeAvailability():array Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|getBackingStore():BackingStore -Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|getConfidence():float +Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|getConfidence():MeetingTimeSuggestion_confidence Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|getLocations():array Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|getMeetingTimeSlot():TimeSlot @@ -131360,7 +132016,7 @@ Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|Serialize(writer Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setAttendeeAvailability(value?:array):void Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setConfidence(value?:float):void +Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setConfidence(value?:MeetingTimeSuggestion_confidence):void Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setLocations(value?:array):void Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setMeetingTimeSlot(value?:TimeSlot):void Microsoft\Graph\Generated.models.meetingTimeSuggestion::|public|setOdataType(value?:string):void @@ -131383,6 +132039,19 @@ Microsoft\Graph\Generated.models.meetingTimeSuggestionsResult::|public|setMeetin Microsoft\Graph\Generated.models.meetingTimeSuggestionsResult::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.meetingTimeSuggestionsResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MeetingTimeSuggestionsResult Microsoft\Graph\Generated.models.meetingTimeSuggestionsResult~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|constructor():void +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|getDouble():float +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|getString():string +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MeetingTimeSuggestion_confidence +Microsoft\Graph\Generated.models.meetingTimeSuggestion_confidence~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.meetingTimeSuggestion~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.membersAddedEventMessageDetail-->EventMessageDetail Microsoft\Graph\Generated.models.membersAddedEventMessageDetail::|public|constructor():void @@ -132570,18 +133239,44 @@ Microsoft\Graph\Generated.models.numberColumn::|public|getBackingStore():Backing Microsoft\Graph\Generated.models.numberColumn::|public|getDecimalPlaces():string Microsoft\Graph\Generated.models.numberColumn::|public|getDisplayAs():string Microsoft\Graph\Generated.models.numberColumn::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.numberColumn::|public|getMaximum():float -Microsoft\Graph\Generated.models.numberColumn::|public|getMinimum():float +Microsoft\Graph\Generated.models.numberColumn::|public|getMaximum():NumberColumn_maximum +Microsoft\Graph\Generated.models.numberColumn::|public|getMinimum():NumberColumn_minimum Microsoft\Graph\Generated.models.numberColumn::|public|getOdataType():string Microsoft\Graph\Generated.models.numberColumn::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.numberColumn::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.numberColumn::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.numberColumn::|public|setDecimalPlaces(value?:string):void Microsoft\Graph\Generated.models.numberColumn::|public|setDisplayAs(value?:string):void -Microsoft\Graph\Generated.models.numberColumn::|public|setMaximum(value?:float):void -Microsoft\Graph\Generated.models.numberColumn::|public|setMinimum(value?:float):void +Microsoft\Graph\Generated.models.numberColumn::|public|setMaximum(value?:NumberColumn_maximum):void +Microsoft\Graph\Generated.models.numberColumn::|public|setMinimum(value?:NumberColumn_minimum):void Microsoft\Graph\Generated.models.numberColumn::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.numberColumn::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NumberColumn +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|constructor():void +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|getDouble():float +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|getString():string +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.numberColumn_maximum::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.numberColumn_maximum::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NumberColumn_maximum +Microsoft\Graph\Generated.models.numberColumn_maximum~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|constructor():void +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|getDouble():float +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|getString():string +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.numberColumn_minimum::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.numberColumn_minimum::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NumberColumn_minimum +Microsoft\Graph\Generated.models.numberColumn_minimum~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.numberColumn~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.oAuth2PermissionGrant-->Entity Microsoft\Graph\Generated.models.oAuth2PermissionGrant::|public|constructor():void @@ -132884,11 +133579,24 @@ Microsoft\Graph\Generated.models.omaSettingDateTime::|static|public|CreateFromDi Microsoft\Graph\Generated.models.omaSettingFloatingPoint-->OmaSetting Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|constructor():void Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|getValue():float +Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|getValue():OmaSettingFloatingPoint_value Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|OdataType:string Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|setValue(value?:float):void +Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|public|setValue(value?:OmaSettingFloatingPoint_value):void Microsoft\Graph\Generated.models.omaSettingFloatingPoint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OmaSettingFloatingPoint +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|constructor():void +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|getFloat():float +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|getString():string +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OmaSettingFloatingPoint_value +Microsoft\Graph\Generated.models.omaSettingFloatingPoint_value~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.omaSettingInteger-->OmaSetting Microsoft\Graph\Generated.models.omaSettingInteger::|public|constructor():void Microsoft\Graph\Generated.models.omaSettingInteger::|public|GetFieldDeserializers():array @@ -134022,25 +134730,90 @@ Microsoft\Graph\Generated.models.outlookCategoryCollectionResponse::|public|Seri Microsoft\Graph\Generated.models.outlookCategoryCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.outlookCategoryCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OutlookCategoryCollectionResponse Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|constructor():void -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getAccuracy():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getAccuracy():OutlookGeoCoordinates_accuracy Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getAdditionalData():array -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getAltitude():float -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getAltitudeAccuracy():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getAltitude():OutlookGeoCoordinates_altitude +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getAltitudeAccuracy():OutlookGeoCoordinates_altitudeAccuracy Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getLatitude():float -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getLongitude():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getLatitude():OutlookGeoCoordinates_latitude +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getLongitude():OutlookGeoCoordinates_longitude Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|getOdataType():string Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setAccuracy(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setAccuracy(value?:OutlookGeoCoordinates_accuracy):void Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setAltitude(value?:float):void -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setAltitudeAccuracy(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setAltitude(value?:OutlookGeoCoordinates_altitude):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setAltitudeAccuracy(value?:OutlookGeoCoordinates_altitudeAccuracy):void Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setLatitude(value?:float):void -Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setLongitude(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setLatitude(value?:OutlookGeoCoordinates_latitude):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setLongitude(value?:OutlookGeoCoordinates_longitude):void Microsoft\Graph\Generated.models.outlookGeoCoordinates::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.outlookGeoCoordinates::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OutlookGeoCoordinates +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|constructor():void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|getDouble():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|getString():string +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OutlookGeoCoordinates_accuracy +Microsoft\Graph\Generated.models.outlookGeoCoordinates_accuracy~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|constructor():void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|getDouble():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|getString():string +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OutlookGeoCoordinates_altitude +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|constructor():void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|getDouble():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|getString():string +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OutlookGeoCoordinates_altitudeAccuracy +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitudeAccuracy~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.outlookGeoCoordinates_altitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|constructor():void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|getDouble():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|getString():string +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OutlookGeoCoordinates_latitude +Microsoft\Graph\Generated.models.outlookGeoCoordinates_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|constructor():void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|getDouble():float +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|getString():string +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OutlookGeoCoordinates_longitude +Microsoft\Graph\Generated.models.outlookGeoCoordinates_longitude~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.outlookGeoCoordinates~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.outlookItem-->Entity Microsoft\Graph\Generated.models.outlookItem::|public|constructor():void @@ -134514,7 +135287,7 @@ Microsoft\Graph\Generated.models.payload::|public|getLastModifiedBy():EmailIdent Microsoft\Graph\Generated.models.payload::|public|getLastModifiedDateTime():DateTime Microsoft\Graph\Generated.models.payload::|public|getPayloadTags():array Microsoft\Graph\Generated.models.payload::|public|getPlatform():PayloadDeliveryPlatform -Microsoft\Graph\Generated.models.payload::|public|getPredictedCompromiseRate():float +Microsoft\Graph\Generated.models.payload::|public|getPredictedCompromiseRate():Payload_predictedCompromiseRate Microsoft\Graph\Generated.models.payload::|public|getSimulationAttackType():SimulationAttackType Microsoft\Graph\Generated.models.payload::|public|getSource():SimulationContentSource Microsoft\Graph\Generated.models.payload::|public|getStatus():SimulationContentStatus @@ -134538,7 +135311,7 @@ Microsoft\Graph\Generated.models.payload::|public|setLastModifiedBy(value?:Email Microsoft\Graph\Generated.models.payload::|public|setLastModifiedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.payload::|public|setPayloadTags(value?:array):void Microsoft\Graph\Generated.models.payload::|public|setPlatform(value?:PayloadDeliveryPlatform):void -Microsoft\Graph\Generated.models.payload::|public|setPredictedCompromiseRate(value?:float):void +Microsoft\Graph\Generated.models.payload::|public|setPredictedCompromiseRate(value?:Payload_predictedCompromiseRate):void Microsoft\Graph\Generated.models.payload::|public|setSimulationAttackType(value?:SimulationAttackType):void Microsoft\Graph\Generated.models.payload::|public|setSource(value?:SimulationContentSource):void Microsoft\Graph\Generated.models.payload::|public|setStatus(value?:SimulationContentStatus):void @@ -134677,6 +135450,19 @@ Microsoft\Graph\Generated.models.payloadTheme::0028-voicemail Microsoft\Graph\Generated.models.payloadTheme::0029-advertisement Microsoft\Graph\Generated.models.payloadTheme::0030-employeeEngagement Microsoft\Graph\Generated.models.payloadTheme::0031-unknownFutureValue +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|constructor():void +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|getDouble():float +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|getString():string +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Payload_predictedCompromiseRate +Microsoft\Graph\Generated.models.payload_predictedCompromiseRate~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.pendingContentUpdate::|public|constructor():void Microsoft\Graph\Generated.models.pendingContentUpdate::|public|getAdditionalData():array Microsoft\Graph\Generated.models.pendingContentUpdate::|public|getBackingStore():BackingStore @@ -134978,11 +135764,11 @@ Microsoft\Graph\Generated.models.photo::|public|getAdditionalData():array Microsoft\Graph\Generated.models.photo::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.photo::|public|getCameraMake():string Microsoft\Graph\Generated.models.photo::|public|getCameraModel():string -Microsoft\Graph\Generated.models.photo::|public|getExposureDenominator():float -Microsoft\Graph\Generated.models.photo::|public|getExposureNumerator():float +Microsoft\Graph\Generated.models.photo::|public|getExposureDenominator():Photo_exposureDenominator +Microsoft\Graph\Generated.models.photo::|public|getExposureNumerator():Photo_exposureNumerator Microsoft\Graph\Generated.models.photo::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.photo::|public|getFNumber():float -Microsoft\Graph\Generated.models.photo::|public|getFocalLength():float +Microsoft\Graph\Generated.models.photo::|public|getFNumber():Photo_fNumber +Microsoft\Graph\Generated.models.photo::|public|getFocalLength():Photo_focalLength Microsoft\Graph\Generated.models.photo::|public|getIso():int Microsoft\Graph\Generated.models.photo::|public|getOdataType():string Microsoft\Graph\Generated.models.photo::|public|getOrientation():int @@ -134992,15 +135778,67 @@ Microsoft\Graph\Generated.models.photo::|public|setAdditionalData(value?:array): Microsoft\Graph\Generated.models.photo::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.photo::|public|setCameraMake(value?:string):void Microsoft\Graph\Generated.models.photo::|public|setCameraModel(value?:string):void -Microsoft\Graph\Generated.models.photo::|public|setExposureDenominator(value?:float):void -Microsoft\Graph\Generated.models.photo::|public|setExposureNumerator(value?:float):void -Microsoft\Graph\Generated.models.photo::|public|setFNumber(value?:float):void -Microsoft\Graph\Generated.models.photo::|public|setFocalLength(value?:float):void +Microsoft\Graph\Generated.models.photo::|public|setExposureDenominator(value?:Photo_exposureDenominator):void +Microsoft\Graph\Generated.models.photo::|public|setExposureNumerator(value?:Photo_exposureNumerator):void +Microsoft\Graph\Generated.models.photo::|public|setFNumber(value?:Photo_fNumber):void +Microsoft\Graph\Generated.models.photo::|public|setFocalLength(value?:Photo_focalLength):void Microsoft\Graph\Generated.models.photo::|public|setIso(value?:int):void Microsoft\Graph\Generated.models.photo::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.photo::|public|setOrientation(value?:int):void Microsoft\Graph\Generated.models.photo::|public|setTakenDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.photo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Photo +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|constructor():void +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|getDouble():float +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|getString():string +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.photo_exposureDenominator::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.photo_exposureDenominator::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Photo_exposureDenominator +Microsoft\Graph\Generated.models.photo_exposureDenominator~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|constructor():void +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|getDouble():float +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|getString():string +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.photo_exposureNumerator::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.photo_exposureNumerator::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Photo_exposureNumerator +Microsoft\Graph\Generated.models.photo_exposureNumerator~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.photo_fNumber::|public|constructor():void +Microsoft\Graph\Generated.models.photo_fNumber::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.photo_fNumber::|public|getDouble():float +Microsoft\Graph\Generated.models.photo_fNumber::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.photo_fNumber::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.photo_fNumber::|public|getString():string +Microsoft\Graph\Generated.models.photo_fNumber::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.photo_fNumber::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.photo_fNumber::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.photo_fNumber::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.photo_fNumber::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.photo_fNumber::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Photo_fNumber +Microsoft\Graph\Generated.models.photo_fNumber~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.photo_focalLength::|public|constructor():void +Microsoft\Graph\Generated.models.photo_focalLength::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.photo_focalLength::|public|getDouble():float +Microsoft\Graph\Generated.models.photo_focalLength::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.photo_focalLength::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.photo_focalLength::|public|getString():string +Microsoft\Graph\Generated.models.photo_focalLength::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.photo_focalLength::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.photo_focalLength::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.photo_focalLength::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.photo_focalLength::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.photo_focalLength::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Photo_focalLength +Microsoft\Graph\Generated.models.photo_focalLength~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.photo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.physicalAddress::|public|constructor():void Microsoft\Graph\Generated.models.physicalAddress::|public|getAdditionalData():array @@ -135910,8 +136748,8 @@ Microsoft\Graph\Generated.models.printerLocation::|public|getCountryOrRegion():s Microsoft\Graph\Generated.models.printerLocation::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.printerLocation::|public|getFloor():string Microsoft\Graph\Generated.models.printerLocation::|public|getFloorDescription():string -Microsoft\Graph\Generated.models.printerLocation::|public|getLatitude():float -Microsoft\Graph\Generated.models.printerLocation::|public|getLongitude():float +Microsoft\Graph\Generated.models.printerLocation::|public|getLatitude():PrinterLocation_latitude +Microsoft\Graph\Generated.models.printerLocation::|public|getLongitude():PrinterLocation_longitude Microsoft\Graph\Generated.models.printerLocation::|public|getOdataType():string Microsoft\Graph\Generated.models.printerLocation::|public|getOrganization():array Microsoft\Graph\Generated.models.printerLocation::|public|getPostalCode():string @@ -135931,8 +136769,8 @@ Microsoft\Graph\Generated.models.printerLocation::|public|setCity(value?:string) Microsoft\Graph\Generated.models.printerLocation::|public|setCountryOrRegion(value?:string):void Microsoft\Graph\Generated.models.printerLocation::|public|setFloor(value?:string):void Microsoft\Graph\Generated.models.printerLocation::|public|setFloorDescription(value?:string):void -Microsoft\Graph\Generated.models.printerLocation::|public|setLatitude(value?:float):void -Microsoft\Graph\Generated.models.printerLocation::|public|setLongitude(value?:float):void +Microsoft\Graph\Generated.models.printerLocation::|public|setLatitude(value?:PrinterLocation_latitude):void +Microsoft\Graph\Generated.models.printerLocation::|public|setLongitude(value?:PrinterLocation_longitude):void Microsoft\Graph\Generated.models.printerLocation::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.printerLocation::|public|setOrganization(value?:array):void Microsoft\Graph\Generated.models.printerLocation::|public|setPostalCode(value?:string):void @@ -135944,6 +136782,32 @@ Microsoft\Graph\Generated.models.printerLocation::|public|setStreetAddress(value Microsoft\Graph\Generated.models.printerLocation::|public|setSubdivision(value?:array):void Microsoft\Graph\Generated.models.printerLocation::|public|setSubunit(value?:array):void Microsoft\Graph\Generated.models.printerLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PrinterLocation +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|constructor():void +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|getDouble():float +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|getString():string +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.printerLocation_latitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.printerLocation_latitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PrinterLocation_latitude +Microsoft\Graph\Generated.models.printerLocation_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|constructor():void +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|getDouble():float +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|getString():string +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.printerLocation_longitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.printerLocation_longitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PrinterLocation_longitude +Microsoft\Graph\Generated.models.printerLocation_longitude~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.printerLocation~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.printerProcessingState::0000-unknown Microsoft\Graph\Generated.models.printerProcessingState::0001-idle @@ -138297,16 +139161,29 @@ Microsoft\Graph\Generated.models.recommendedAction::|public|getAdditionalData(): Microsoft\Graph\Generated.models.recommendedAction::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.recommendedAction::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.recommendedAction::|public|getOdataType():string -Microsoft\Graph\Generated.models.recommendedAction::|public|getPotentialScoreImpact():float +Microsoft\Graph\Generated.models.recommendedAction::|public|getPotentialScoreImpact():RecommendedAction_potentialScoreImpact Microsoft\Graph\Generated.models.recommendedAction::|public|getTitle():string Microsoft\Graph\Generated.models.recommendedAction::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.recommendedAction::|public|setActionWebUrl(value?:string):void Microsoft\Graph\Generated.models.recommendedAction::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.recommendedAction::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.recommendedAction::|public|setOdataType(value?:string):void -Microsoft\Graph\Generated.models.recommendedAction::|public|setPotentialScoreImpact(value?:float):void +Microsoft\Graph\Generated.models.recommendedAction::|public|setPotentialScoreImpact(value?:RecommendedAction_potentialScoreImpact):void Microsoft\Graph\Generated.models.recommendedAction::|public|setTitle(value?:string):void Microsoft\Graph\Generated.models.recommendedAction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RecommendedAction +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|constructor():void +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|getDouble():float +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|getString():string +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RecommendedAction_potentialScoreImpact +Microsoft\Graph\Generated.models.recommendedAction_potentialScoreImpact~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.recommendedAction~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.recordingInfo::|public|constructor():void Microsoft\Graph\Generated.models.recordingInfo::|public|getAdditionalData():array @@ -138440,6 +139317,9 @@ Microsoft\Graph\Generated.models.referencedObject::|public|setReferencedObjectNa Microsoft\Graph\Generated.models.referencedObject::|public|setReferencedProperty(value?:string):void Microsoft\Graph\Generated.models.referencedObject::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ReferencedObject Microsoft\Graph\Generated.models.referencedObject~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.ReferenceNumeric::0000-minus_INF +Microsoft\Graph\Generated.models.ReferenceNumeric::0001-INF +Microsoft\Graph\Generated.models.ReferenceNumeric::0002-NaN Microsoft\Graph\Generated.models.ReferenceUpdate::|public|constructor():void Microsoft\Graph\Generated.models.ReferenceUpdate::|public|getAdditionalData():array Microsoft\Graph\Generated.models.ReferenceUpdate::|public|getBackingStore():BackingStore @@ -138559,7 +139439,7 @@ Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getRelying Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getRelyingPartyName():string Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getReplyUrls():array Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getServiceId():string -Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getSignInSuccessRate():float +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getSignInSuccessRate():RelyingPartyDetailedSummary_signInSuccessRate Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getSuccessfulSignInCount():int Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getTotalSignInCount():int Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|getUniqueUserCount():int @@ -138572,11 +139452,24 @@ Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setRelying Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setRelyingPartyName(value?:string):void Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setReplyUrls(value?:array):void Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setServiceId(value?:string):void -Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setSignInSuccessRate(value?:float):void +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setSignInSuccessRate(value?:RelyingPartyDetailedSummary_signInSuccessRate):void Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setSuccessfulSignInCount(value?:int):void Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setTotalSignInCount(value?:int):void Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|public|setUniqueUserCount(value?:int):void Microsoft\Graph\Generated.models.relyingPartyDetailedSummary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RelyingPartyDetailedSummary +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|constructor():void +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|getDouble():float +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|getString():string +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RelyingPartyDetailedSummary_signInSuccessRate +Microsoft\Graph\Generated.models.relyingPartyDetailedSummary_signInSuccessRate~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.remindBeforeTimeInMinutesType::0000-mins15 Microsoft\Graph\Generated.models.remindBeforeTimeInMinutesType::0001-unknownFutureValue Microsoft\Graph\Generated.models.reminder::|public|constructor():void @@ -139660,7 +140553,7 @@ Microsoft\Graph\Generated.models.rubricQuality::|public|getDisplayName():string Microsoft\Graph\Generated.models.rubricQuality::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.rubricQuality::|public|getOdataType():string Microsoft\Graph\Generated.models.rubricQuality::|public|getQualityId():string -Microsoft\Graph\Generated.models.rubricQuality::|public|getWeight():float +Microsoft\Graph\Generated.models.rubricQuality::|public|getWeight():RubricQuality_weight Microsoft\Graph\Generated.models.rubricQuality::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.rubricQuality::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.rubricQuality::|public|setBackingStore(value:BackingStore):void @@ -139669,7 +140562,7 @@ Microsoft\Graph\Generated.models.rubricQuality::|public|setDescription(value?:Ed Microsoft\Graph\Generated.models.rubricQuality::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.rubricQuality::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.rubricQuality::|public|setQualityId(value?:string):void -Microsoft\Graph\Generated.models.rubricQuality::|public|setWeight(value?:float):void +Microsoft\Graph\Generated.models.rubricQuality::|public|setWeight(value?:RubricQuality_weight):void Microsoft\Graph\Generated.models.rubricQuality::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RubricQuality Microsoft\Graph\Generated.models.rubricQualityFeedbackModel::|public|constructor():void Microsoft\Graph\Generated.models.rubricQualityFeedbackModel::|public|getAdditionalData():array @@ -139701,6 +140594,19 @@ Microsoft\Graph\Generated.models.rubricQualitySelectedColumnModel::|public|setOd Microsoft\Graph\Generated.models.rubricQualitySelectedColumnModel::|public|setQualityId(value?:string):void Microsoft\Graph\Generated.models.rubricQualitySelectedColumnModel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RubricQualitySelectedColumnModel Microsoft\Graph\Generated.models.rubricQualitySelectedColumnModel~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|constructor():void +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|getFloat():float +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|getString():string +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|setFloat(value?:float):void +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.rubricQuality_weight::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.rubricQuality_weight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RubricQuality_weight +Microsoft\Graph\Generated.models.rubricQuality_weight~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.rubricQuality~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.runAsAccountType::0000-system Microsoft\Graph\Generated.models.runAsAccountType::0001-user @@ -139975,7 +140881,7 @@ Microsoft\Graph\Generated.models.scoredEmailAddress::|public|getBackingStore():B Microsoft\Graph\Generated.models.scoredEmailAddress::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.scoredEmailAddress::|public|getItemId():string Microsoft\Graph\Generated.models.scoredEmailAddress::|public|getOdataType():string -Microsoft\Graph\Generated.models.scoredEmailAddress::|public|getRelevanceScore():float +Microsoft\Graph\Generated.models.scoredEmailAddress::|public|getRelevanceScore():ScoredEmailAddress_relevanceScore Microsoft\Graph\Generated.models.scoredEmailAddress::|public|getSelectionLikelihood():SelectionLikelihoodInfo Microsoft\Graph\Generated.models.scoredEmailAddress::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setAdditionalData(value?:array):void @@ -139983,9 +140889,22 @@ Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setAddress(value?:s Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setItemId(value?:string):void Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setOdataType(value?:string):void -Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setRelevanceScore(value?:float):void +Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setRelevanceScore(value?:ScoredEmailAddress_relevanceScore):void Microsoft\Graph\Generated.models.scoredEmailAddress::|public|setSelectionLikelihood(value?:SelectionLikelihoodInfo):void Microsoft\Graph\Generated.models.scoredEmailAddress::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ScoredEmailAddress +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|constructor():void +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|getDouble():float +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|getString():string +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ScoredEmailAddress_relevanceScore +Microsoft\Graph\Generated.models.scoredEmailAddress_relevanceScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.scoredEmailAddress~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.screenSharingRole::0000-viewer Microsoft\Graph\Generated.models.screenSharingRole::0001-sharer @@ -140428,11 +141347,11 @@ Microsoft\Graph\Generated.models.secureScore::|public|getAverageComparativeScore Microsoft\Graph\Generated.models.secureScore::|public|getAzureTenantId():string Microsoft\Graph\Generated.models.secureScore::|public|getControlScores():array Microsoft\Graph\Generated.models.secureScore::|public|getCreatedDateTime():DateTime -Microsoft\Graph\Generated.models.secureScore::|public|getCurrentScore():float +Microsoft\Graph\Generated.models.secureScore::|public|getCurrentScore():SecureScore_currentScore Microsoft\Graph\Generated.models.secureScore::|public|getEnabledServices():array Microsoft\Graph\Generated.models.secureScore::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.secureScore::|public|getLicensedUserCount():int -Microsoft\Graph\Generated.models.secureScore::|public|getMaxScore():float +Microsoft\Graph\Generated.models.secureScore::|public|getMaxScore():SecureScore_maxScore Microsoft\Graph\Generated.models.secureScore::|public|getVendorInformation():SecurityVendorInformation Microsoft\Graph\Generated.models.secureScore::|public|OdataType:string Microsoft\Graph\Generated.models.secureScore::|public|Serialize(writer:ISerializationWriter):void @@ -140441,10 +141360,10 @@ Microsoft\Graph\Generated.models.secureScore::|public|setAverageComparativeScore Microsoft\Graph\Generated.models.secureScore::|public|setAzureTenantId(value?:string):void Microsoft\Graph\Generated.models.secureScore::|public|setControlScores(value?:array):void Microsoft\Graph\Generated.models.secureScore::|public|setCreatedDateTime(value?:DateTime):void -Microsoft\Graph\Generated.models.secureScore::|public|setCurrentScore(value?:float):void +Microsoft\Graph\Generated.models.secureScore::|public|setCurrentScore(value?:SecureScore_currentScore):void Microsoft\Graph\Generated.models.secureScore::|public|setEnabledServices(value?:array):void Microsoft\Graph\Generated.models.secureScore::|public|setLicensedUserCount(value?:int):void -Microsoft\Graph\Generated.models.secureScore::|public|setMaxScore(value?:float):void +Microsoft\Graph\Generated.models.secureScore::|public|setMaxScore(value?:SecureScore_maxScore):void Microsoft\Graph\Generated.models.secureScore::|public|setVendorInformation(value?:SecurityVendorInformation):void Microsoft\Graph\Generated.models.secureScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SecureScore Microsoft\Graph\Generated.models.secureScoreCollectionResponse-->BaseCollectionPaginationCountResponse @@ -140466,7 +141385,7 @@ Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getDeprecate Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getImplementationCost():string Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getLastModifiedDateTime():DateTime -Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getMaxScore():float +Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getMaxScore():SecureScoreControlProfile_maxScore Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getRank():int Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getRemediation():string Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|getRemediationImpact():string @@ -140487,7 +141406,7 @@ Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setControlSt Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setDeprecated(value?:bool):void Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setImplementationCost(value?:string):void Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setLastModifiedDateTime(value?:DateTime):void -Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setMaxScore(value?:float):void +Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setMaxScore(value?:SecureScoreControlProfile_maxScore):void Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setRank(value?:int):void Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setRemediation(value?:string):void Microsoft\Graph\Generated.models.secureScoreControlProfile::|public|setRemediationImpact(value?:string):void @@ -140505,6 +141424,19 @@ Microsoft\Graph\Generated.models.secureScoreControlProfileCollectionResponse::|p Microsoft\Graph\Generated.models.secureScoreControlProfileCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.secureScoreControlProfileCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.secureScoreControlProfileCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SecureScoreControlProfileCollectionResponse +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|constructor():void +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|getDouble():float +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|getString():string +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SecureScoreControlProfile_maxScore +Microsoft\Graph\Generated.models.secureScoreControlProfile_maxScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.secureScoreControlStateUpdate::|public|constructor():void Microsoft\Graph\Generated.models.secureScoreControlStateUpdate::|public|getAdditionalData():array Microsoft\Graph\Generated.models.secureScoreControlStateUpdate::|public|getAssignedTo():string @@ -140526,6 +141458,32 @@ Microsoft\Graph\Generated.models.secureScoreControlStateUpdate::|public|setUpdat Microsoft\Graph\Generated.models.secureScoreControlStateUpdate::|public|setUpdatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.secureScoreControlStateUpdate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SecureScoreControlStateUpdate Microsoft\Graph\Generated.models.secureScoreControlStateUpdate~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|constructor():void +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|getDouble():float +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|getString():string +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.secureScore_currentScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.secureScore_currentScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SecureScore_currentScore +Microsoft\Graph\Generated.models.secureScore_currentScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|constructor():void +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|getDouble():float +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|getString():string +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.secureScore_maxScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.secureScore_maxScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SecureScore_maxScore +Microsoft\Graph\Generated.models.secureScore_maxScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.security.actionAfterRetentionPeriod::0000-none Microsoft\Graph\Generated.models.security.actionAfterRetentionPeriod::0001-delete Microsoft\Graph\Generated.models.security.actionAfterRetentionPeriod::0002-startDispositionReview @@ -141073,17 +142031,30 @@ Microsoft\Graph\Generated.models.security.cvssSummary::|public|getAdditionalData Microsoft\Graph\Generated.models.security.cvssSummary::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.security.cvssSummary::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.security.cvssSummary::|public|getOdataType():string -Microsoft\Graph\Generated.models.security.cvssSummary::|public|getScore():float +Microsoft\Graph\Generated.models.security.cvssSummary::|public|getScore():CvssSummary_score Microsoft\Graph\Generated.models.security.cvssSummary::|public|getSeverity():VulnerabilitySeverity Microsoft\Graph\Generated.models.security.cvssSummary::|public|getVectorString():string Microsoft\Graph\Generated.models.security.cvssSummary::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.security.cvssSummary::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.security.cvssSummary::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.security.cvssSummary::|public|setOdataType(value?:string):void -Microsoft\Graph\Generated.models.security.cvssSummary::|public|setScore(value?:float):void +Microsoft\Graph\Generated.models.security.cvssSummary::|public|setScore(value?:CvssSummary_score):void Microsoft\Graph\Generated.models.security.cvssSummary::|public|setSeverity(value?:VulnerabilitySeverity):void Microsoft\Graph\Generated.models.security.cvssSummary::|public|setVectorString(value?:string):void Microsoft\Graph\Generated.models.security.cvssSummary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CvssSummary +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|constructor():void +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|getDouble():float +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|getString():string +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.security.cvssSummary_score::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.security.cvssSummary_score::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CvssSummary_score +Microsoft\Graph\Generated.models.security.cvssSummary_score~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.security.cvssSummary~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.security.dataSet-->Entity Microsoft\Graph\Generated.models.security.dataSet::|public|constructor():void @@ -141915,8 +142886,8 @@ Microsoft\Graph\Generated.models.security.geoLocation::|public|getBackingStore() Microsoft\Graph\Generated.models.security.geoLocation::|public|getCity():string Microsoft\Graph\Generated.models.security.geoLocation::|public|getCountryName():string Microsoft\Graph\Generated.models.security.geoLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.security.geoLocation::|public|getLatitude():float -Microsoft\Graph\Generated.models.security.geoLocation::|public|getLongitude():float +Microsoft\Graph\Generated.models.security.geoLocation::|public|getLatitude():GeoLocation_latitude +Microsoft\Graph\Generated.models.security.geoLocation::|public|getLongitude():GeoLocation_longitude Microsoft\Graph\Generated.models.security.geoLocation::|public|getOdataType():string Microsoft\Graph\Generated.models.security.geoLocation::|public|getState():string Microsoft\Graph\Generated.models.security.geoLocation::|public|Serialize(writer:ISerializationWriter):void @@ -141924,11 +142895,37 @@ Microsoft\Graph\Generated.models.security.geoLocation::|public|setAdditionalData Microsoft\Graph\Generated.models.security.geoLocation::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.security.geoLocation::|public|setCity(value?:string):void Microsoft\Graph\Generated.models.security.geoLocation::|public|setCountryName(value?:string):void -Microsoft\Graph\Generated.models.security.geoLocation::|public|setLatitude(value?:float):void -Microsoft\Graph\Generated.models.security.geoLocation::|public|setLongitude(value?:float):void +Microsoft\Graph\Generated.models.security.geoLocation::|public|setLatitude(value?:GeoLocation_latitude):void +Microsoft\Graph\Generated.models.security.geoLocation::|public|setLongitude(value?:GeoLocation_longitude):void Microsoft\Graph\Generated.models.security.geoLocation::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.security.geoLocation::|public|setState(value?:string):void Microsoft\Graph\Generated.models.security.geoLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GeoLocation +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|constructor():void +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|getDouble():float +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|getString():string +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.security.geoLocation_latitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GeoLocation_latitude +Microsoft\Graph\Generated.models.security.geoLocation_latitude~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|constructor():void +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|getDouble():float +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|getString():string +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.security.geoLocation_longitude::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GeoLocation_longitude +Microsoft\Graph\Generated.models.security.geoLocation_longitude~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.security.geoLocation~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.security.gitHubOrganizationEvidence-->AlertEvidence Microsoft\Graph\Generated.models.security.gitHubOrganizationEvidence::|public|constructor():void @@ -145460,17 +146457,30 @@ Microsoft\Graph\Generated.models.simulationEvent::|static|public|CreateFromDiscr Microsoft\Graph\Generated.models.simulationEventsContent::|public|constructor():void Microsoft\Graph\Generated.models.simulationEventsContent::|public|getAdditionalData():array Microsoft\Graph\Generated.models.simulationEventsContent::|public|getBackingStore():BackingStore -Microsoft\Graph\Generated.models.simulationEventsContent::|public|getCompromisedRate():float +Microsoft\Graph\Generated.models.simulationEventsContent::|public|getCompromisedRate():SimulationEventsContent_compromisedRate Microsoft\Graph\Generated.models.simulationEventsContent::|public|getEvents():array Microsoft\Graph\Generated.models.simulationEventsContent::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.simulationEventsContent::|public|getOdataType():string Microsoft\Graph\Generated.models.simulationEventsContent::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.simulationEventsContent::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.simulationEventsContent::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.simulationEventsContent::|public|setCompromisedRate(value?:float):void +Microsoft\Graph\Generated.models.simulationEventsContent::|public|setCompromisedRate(value?:SimulationEventsContent_compromisedRate):void Microsoft\Graph\Generated.models.simulationEventsContent::|public|setEvents(value?:array):void Microsoft\Graph\Generated.models.simulationEventsContent::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.simulationEventsContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SimulationEventsContent +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|constructor():void +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|getDouble():float +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|getString():string +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SimulationEventsContent_compromisedRate +Microsoft\Graph\Generated.models.simulationEventsContent_compromisedRate~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.simulationEventsContent~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.simulationEvent~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.simulationNotification-->BaseEndUserNotification @@ -147765,10 +148775,10 @@ Microsoft\Graph\Generated.models.teleconferenceDeviceAudioQuality::|static|publi Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|constructor():void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAdditionalData():array Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageInboundJitter():DateInterval -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageInboundPacketLossRateInPercentage():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageInboundPacketLossRateInPercentage():TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageInboundRoundTripDelay():DateInterval Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageOutboundJitter():DateInterval -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageOutboundPacketLossRateInPercentage():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageOutboundPacketLossRateInPercentage():TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getAverageOutboundRoundTripDelay():DateInterval Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getChannelIndex():int @@ -147777,10 +148787,10 @@ Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getIn Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getLocalIPAddress():string Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getLocalPort():int Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumInboundJitter():DateInterval -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumInboundPacketLossRateInPercentage():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumInboundPacketLossRateInPercentage():TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumInboundRoundTripDelay():DateInterval Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumOutboundJitter():DateInterval -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumOutboundPacketLossRateInPercentage():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumOutboundPacketLossRateInPercentage():TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMaximumOutboundRoundTripDelay():DateInterval Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getMediaDuration():DateInterval Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getNetworkLinkSpeedInBytes():int @@ -147791,10 +148801,10 @@ Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|getRe Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageInboundJitter(value?:DateInterval):void -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageInboundPacketLossRateInPercentage(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageInboundPacketLossRateInPercentage(value?:TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageInboundRoundTripDelay(value?:DateInterval):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageOutboundJitter(value?:DateInterval):void -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageOutboundPacketLossRateInPercentage(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageOutboundPacketLossRateInPercentage(value?:TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setAverageOutboundRoundTripDelay(value?:DateInterval):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setChannelIndex(value?:int):void @@ -147802,10 +148812,10 @@ Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setIn Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setLocalIPAddress(value?:string):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setLocalPort(value?:int):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumInboundJitter(value?:DateInterval):void -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumInboundPacketLossRateInPercentage(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumInboundPacketLossRateInPercentage(value?:TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumInboundRoundTripDelay(value?:DateInterval):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumOutboundJitter(value?:DateInterval):void -Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumOutboundPacketLossRateInPercentage(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumOutboundPacketLossRateInPercentage(value?:TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMaximumOutboundRoundTripDelay(value?:DateInterval):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setMediaDuration(value?:DateInterval):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setNetworkLinkSpeedInBytes(value?:int):void @@ -147814,6 +148824,58 @@ Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setOu Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setRemoteIPAddress(value?:string):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|public|setRemotePort(value?:int):void Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceMediaQuality +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageInboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_averageOutboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumInboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage +Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality_maximumOutboundPacketLossRateInPercentage~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.teleconferenceDeviceMediaQuality~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.teleconferenceDeviceQuality::|public|constructor():void Microsoft\Graph\Generated.models.teleconferenceDeviceQuality::|public|getAdditionalData():array @@ -147854,18 +148916,70 @@ Microsoft\Graph\Generated.models.teleconferenceDeviceScreenSharingQuality::|publ Microsoft\Graph\Generated.models.teleconferenceDeviceScreenSharingQuality::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceScreenSharingQuality Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality-->TeleconferenceDeviceMediaQuality Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|constructor():void -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageInboundBitRate():float -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageInboundFrameRate():float -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageOutboundBitRate():float -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageOutboundFrameRate():float +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageInboundBitRate():TeleconferenceDeviceVideoQuality_averageInboundBitRate +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageInboundFrameRate():TeleconferenceDeviceVideoQuality_averageInboundFrameRate +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageOutboundBitRate():TeleconferenceDeviceVideoQuality_averageOutboundBitRate +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|getAverageOutboundFrameRate():TeleconferenceDeviceVideoQuality_averageOutboundFrameRate Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|OdataType:string Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageInboundBitRate(value?:float):void -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageInboundFrameRate(value?:float):void -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageOutboundBitRate(value?:float):void -Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageOutboundFrameRate(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageInboundBitRate(value?:TeleconferenceDeviceVideoQuality_averageInboundBitRate):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageInboundFrameRate(value?:TeleconferenceDeviceVideoQuality_averageInboundFrameRate):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageOutboundBitRate(value?:TeleconferenceDeviceVideoQuality_averageOutboundBitRate):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|public|setAverageOutboundFrameRate(value?:TeleconferenceDeviceVideoQuality_averageOutboundFrameRate):void Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceVideoQuality +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceVideoQuality_averageInboundBitRate +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundBitRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceVideoQuality_averageInboundFrameRate +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageInboundFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceVideoQuality_averageOutboundBitRate +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundBitRate~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|constructor():void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|getDouble():float +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|getString():string +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeleconferenceDeviceVideoQuality_averageOutboundFrameRate +Microsoft\Graph\Generated.models.teleconferenceDeviceVideoQuality_averageOutboundFrameRate~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.templateApplicationLevel::0000-none Microsoft\Graph\Generated.models.templateApplicationLevel::0001-newPartners Microsoft\Graph\Generated.models.templateApplicationLevel::0002-existingPartners @@ -148956,14 +150070,14 @@ Microsoft\Graph\Generated.models.trending::|public|getLastModifiedDateTime():Dat Microsoft\Graph\Generated.models.trending::|public|getResource():Entity Microsoft\Graph\Generated.models.trending::|public|getResourceReference():ResourceReference Microsoft\Graph\Generated.models.trending::|public|getResourceVisualization():ResourceVisualization -Microsoft\Graph\Generated.models.trending::|public|getWeight():float +Microsoft\Graph\Generated.models.trending::|public|getWeight():Trending_weight Microsoft\Graph\Generated.models.trending::|public|OdataType:string Microsoft\Graph\Generated.models.trending::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.trending::|public|setLastModifiedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.trending::|public|setResource(value?:Entity):void Microsoft\Graph\Generated.models.trending::|public|setResourceReference(value?:ResourceReference):void Microsoft\Graph\Generated.models.trending::|public|setResourceVisualization(value?:ResourceVisualization):void -Microsoft\Graph\Generated.models.trending::|public|setWeight(value?:float):void +Microsoft\Graph\Generated.models.trending::|public|setWeight(value?:Trending_weight):void Microsoft\Graph\Generated.models.trending::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Trending Microsoft\Graph\Generated.models.trendingCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.trendingCollectionResponse::|public|constructor():void @@ -148972,6 +150086,19 @@ Microsoft\Graph\Generated.models.trendingCollectionResponse::|public|getValue(): Microsoft\Graph\Generated.models.trendingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.trendingCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.trendingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TrendingCollectionResponse +Microsoft\Graph\Generated.models.trending_weight::|public|constructor():void +Microsoft\Graph\Generated.models.trending_weight::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.trending_weight::|public|getDouble():float +Microsoft\Graph\Generated.models.trending_weight::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.trending_weight::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.trending_weight::|public|getString():string +Microsoft\Graph\Generated.models.trending_weight::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.trending_weight::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.trending_weight::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.trending_weight::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.trending_weight::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.trending_weight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Trending_weight +Microsoft\Graph\Generated.models.trending_weight~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.unifiedApprovalStage::|public|constructor():void Microsoft\Graph\Generated.models.unifiedApprovalStage::|public|getAdditionalData():array Microsoft\Graph\Generated.models.unifiedApprovalStage::|public|getApprovalStageTimeOutInDays():int @@ -150039,7 +151166,7 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerf Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppCrashCount():int Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppDisplayName():string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppHangCount():int -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppHealthScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppHealthScore():UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppName():string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppPublisher():string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|getAppUsageDuration():int @@ -150051,7 +151178,7 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerf Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppCrashCount(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppDisplayName(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppHangCount(value?:int):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppHealthScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppHealthScore(value?:UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppName(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppPublisher(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance::|public|setAppUsageDuration(value?:int):void @@ -150064,6 +151191,19 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerf Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthApplicationPerformance_appHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails::|public|getAppCrashCount():int @@ -150161,7 +151301,7 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerf Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|getHealthStatus():UserExperienceAnalyticsHealthState Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|getMeanTimeToFailureInMinutes():int -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|getModelAppHealthScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|getModelAppHealthScore():UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|setActiveDeviceCount(value?:int):void @@ -150169,7 +151309,7 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerf Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|setDeviceModel(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|setHealthStatus(value?:UserExperienceAnalyticsHealthState):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|setMeanTimeToFailureInMinutes(value?:int):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|setModelAppHealthScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|public|setModelAppHealthScore(value?:UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthDeviceModelPerformance Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse::|public|constructor():void @@ -150178,12 +151318,25 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerf Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDeviceModelPerformance_modelAppHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getAppCrashCount():int Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getAppHangCount():int Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getCrashedAppCount():int -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getDeviceAppHealthScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getDeviceAppHealthScore():UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getDeviceDisplayName():string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getDeviceId():string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|getDeviceManufacturer():string @@ -150197,7 +151350,7 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerforman Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setAppCrashCount(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setAppHangCount(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setCrashedAppCount(value?:int):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setDeviceAppHealthScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setDeviceAppHealthScore(value?:UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setDeviceDisplayName(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setDeviceId(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance::|public|setDeviceManufacturer(value?:string):void @@ -150240,6 +151393,19 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerforman Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthDevicePerformance_deviceAppHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|getActiveDeviceCount():int @@ -150247,14 +151413,14 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerfor Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|getMeanTimeToFailureInMinutes():int Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|getOsBuildNumber():string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|getOsVersion():string -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|getOsVersionAppHealthScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|getOsVersionAppHealthScore():UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|setActiveDeviceCount(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|setMeanTimeToFailureInMinutes(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|setOsBuildNumber(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|setOsVersion(value?:string):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|setOsVersionAppHealthScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|public|setOsVersionAppHealthScore(value?:UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthOSVersionPerformance Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse::|public|constructor():void @@ -150263,6 +151429,19 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerfor Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsAppHealthOSVersionPerformance_osVersionAppHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsAutopilotDevicesSummary::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsAutopilotDevicesSummary::|public|getAdditionalData():array Microsoft\Graph\Generated.models.userExperienceAnalyticsAutopilotDevicesSummary::|public|getBackingStore():BackingStore @@ -150362,8 +151541,8 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsCloudManagementDevicesSu Microsoft\Graph\Generated.models.userExperienceAnalyticsCloudManagementDevicesSummary~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|constructor():void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getAverageBlueScreens():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getAverageRestarts():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getAverageBlueScreens():UserExperienceAnalyticsDevicePerformance_averageBlueScreens +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getAverageRestarts():UserExperienceAnalyticsDevicePerformance_averageRestarts Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getBlueScreenCount():int Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getBootScore():int Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getCoreBootTimeInMs():int @@ -150378,15 +151557,15 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|publ Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getLoginScore():int Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getManufacturer():string Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getModel():string -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getModelStartupPerformanceScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getModelStartupPerformanceScore():UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getOperatingSystemVersion():string Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getResponsiveDesktopTimeInMs():int Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getRestartCount():int -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getStartupPerformanceScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|getStartupPerformanceScore():UserExperienceAnalyticsDevicePerformance_startupPerformanceScore Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setAverageBlueScreens(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setAverageRestarts(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setAverageBlueScreens(value?:UserExperienceAnalyticsDevicePerformance_averageBlueScreens):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setAverageRestarts(value?:UserExperienceAnalyticsDevicePerformance_averageRestarts):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setBlueScreenCount(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setBootScore(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setCoreBootTimeInMs(value?:int):void @@ -150400,11 +151579,11 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|publ Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setLoginScore(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setManufacturer(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setModel(value?:string):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setModelStartupPerformanceScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setModelStartupPerformanceScore(value?:UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setOperatingSystemVersion(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setResponsiveDesktopTimeInMs(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setRestartCount(value?:int):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setStartupPerformanceScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|public|setStartupPerformanceScore(value?:UserExperienceAnalyticsDevicePerformance_startupPerformanceScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDevicePerformance Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformanceCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformanceCollectionResponse::|public|constructor():void @@ -150413,29 +151592,81 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformanceCollect Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformanceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformanceCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformanceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDevicePerformanceCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDevicePerformance_averageBlueScreens +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageBlueScreens~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDevicePerformance_averageRestarts +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_averageRestarts~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_modelStartupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDevicePerformance_startupPerformanceScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDevicePerformance_startupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|constructor():void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getAppReliabilityScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getBatteryHealthScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getAppReliabilityScore():UserExperienceAnalyticsDeviceScores_appReliabilityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getBatteryHealthScore():UserExperienceAnalyticsDeviceScores_batteryHealthScore Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getDeviceName():string -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getEndpointAnalyticsScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getEndpointAnalyticsScore():UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getHealthStatus():UserExperienceAnalyticsHealthState Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getManufacturer():string Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getModel():string -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getStartupPerformanceScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getWorkFromAnywhereScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getStartupPerformanceScore():UserExperienceAnalyticsDeviceScores_startupPerformanceScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|getWorkFromAnywhereScore():UserExperienceAnalyticsDeviceScores_workFromAnywhereScore Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setAppReliabilityScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setBatteryHealthScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setAppReliabilityScore(value?:UserExperienceAnalyticsDeviceScores_appReliabilityScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setBatteryHealthScore(value?:UserExperienceAnalyticsDeviceScores_batteryHealthScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setDeviceName(value?:string):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setEndpointAnalyticsScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setEndpointAnalyticsScore(value?:UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setHealthStatus(value?:UserExperienceAnalyticsHealthState):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setManufacturer(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setModel(value?:string):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setStartupPerformanceScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setWorkFromAnywhereScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setStartupPerformanceScore(value?:UserExperienceAnalyticsDeviceScores_startupPerformanceScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|public|setWorkFromAnywhereScore(value?:UserExperienceAnalyticsDeviceScores_workFromAnywhereScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDeviceScores Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScoresCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScoresCollectionResponse::|public|constructor():void @@ -150444,6 +151675,71 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScoresCollectionRe Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScoresCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScoresCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScoresCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDeviceScoresCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDeviceScores_appReliabilityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_appReliabilityScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDeviceScores_batteryHealthScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_batteryHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDeviceScores_endpointAnalyticsScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_endpointAnalyticsScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDeviceScores_startupPerformanceScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_startupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsDeviceScores_workFromAnywhereScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceScores_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceStartupHistory-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceStartupHistory::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsDeviceStartupHistory::|public|getCoreBootTimeInMs():int @@ -150581,11 +151877,11 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|getUnit():string -Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|getValue():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|getValue():UserExperienceAnalyticsMetric_value Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|setUnit(value?:string):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|setValue(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|public|setValue(value?:UserExperienceAnalyticsMetric_value):void Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsMetric Microsoft\Graph\Generated.models.userExperienceAnalyticsMetricCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsMetricCollectionResponse::|public|constructor():void @@ -150613,29 +151909,42 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsMetricHistoryCollectionR Microsoft\Graph\Generated.models.userExperienceAnalyticsMetricHistoryCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsMetricHistoryCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsMetricHistoryCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsMetricHistoryCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsMetric_value +Microsoft\Graph\Generated.models.userExperienceAnalyticsMetric_value~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|constructor():void -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getAppReliabilityScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getBatteryHealthScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getEndpointAnalyticsScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getAppReliabilityScore():UserExperienceAnalyticsModelScores_appReliabilityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getBatteryHealthScore():UserExperienceAnalyticsModelScores_batteryHealthScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getEndpointAnalyticsScore():UserExperienceAnalyticsModelScores_endpointAnalyticsScore Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getHealthStatus():UserExperienceAnalyticsHealthState Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getManufacturer():string Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getModel():string Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getModelDeviceCount():int -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getStartupPerformanceScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getWorkFromAnywhereScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getStartupPerformanceScore():UserExperienceAnalyticsModelScores_startupPerformanceScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|getWorkFromAnywhereScore():UserExperienceAnalyticsModelScores_workFromAnywhereScore Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setAppReliabilityScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setBatteryHealthScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setEndpointAnalyticsScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setAppReliabilityScore(value?:UserExperienceAnalyticsModelScores_appReliabilityScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setBatteryHealthScore(value?:UserExperienceAnalyticsModelScores_batteryHealthScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setEndpointAnalyticsScore(value?:UserExperienceAnalyticsModelScores_endpointAnalyticsScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setHealthStatus(value?:UserExperienceAnalyticsHealthState):void Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setManufacturer(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setModel(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setModelDeviceCount(value?:int):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setStartupPerformanceScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setWorkFromAnywhereScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setStartupPerformanceScore(value?:UserExperienceAnalyticsModelScores_startupPerformanceScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|public|setWorkFromAnywhereScore(value?:UserExperienceAnalyticsModelScores_workFromAnywhereScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsModelScores Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScoresCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScoresCollectionResponse::|public|constructor():void @@ -150644,6 +151953,71 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScoresCollectionRes Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScoresCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScoresCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScoresCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsModelScoresCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsModelScores_appReliabilityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_appReliabilityScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsModelScores_batteryHealthScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_batteryHealthScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsModelScores_endpointAnalyticsScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_endpointAnalyticsScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsModelScores_startupPerformanceScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_startupPerformanceScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsModelScores_workFromAnywhereScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsModelScores_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsOperatingSystemRestartCategory::0000-unknown Microsoft\Graph\Generated.models.userExperienceAnalyticsOperatingSystemRestartCategory::0001-restartWithUpdate Microsoft\Graph\Generated.models.userExperienceAnalyticsOperatingSystemRestartCategory::0002-restartWithoutUpdate @@ -150710,9 +152084,9 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice:: Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getAzureAdDeviceId():string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getAzureAdJoinType():string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getAzureAdRegistered():bool -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getCloudIdentityScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getCloudManagementScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getCloudProvisioningScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getCloudIdentityScore():UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getCloudManagementScore():UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getCloudProvisioningScore():UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getCompliancePolicySetToIntune():bool Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getDeviceId():string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getDeviceName():string @@ -150738,8 +152112,8 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice:: Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getTenantAttached():bool Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getTpmCheckFailed():bool Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getUpgradeEligibility():OperatingSystemUpgradeEligibility -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getWindowsScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getWorkFromAnywhereScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getWindowsScore():UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|getWorkFromAnywhereScore():UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setAutoPilotProfileAssigned(value?:bool):void @@ -150747,9 +152121,9 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice:: Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setAzureAdDeviceId(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setAzureAdJoinType(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setAzureAdRegistered(value?:bool):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setCloudIdentityScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setCloudManagementScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setCloudProvisioningScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setCloudIdentityScore(value?:UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setCloudManagementScore(value?:UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setCloudProvisioningScore(value?:UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setCompliancePolicySetToIntune(value?:bool):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setDeviceId(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setDeviceName(value?:string):void @@ -150774,8 +152148,8 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice:: Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setTenantAttached(value?:bool):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setTpmCheckFailed(value?:bool):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setUpgradeEligibility(value?:OperatingSystemUpgradeEligibility):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setWindowsScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setWorkFromAnywhereScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setWindowsScore(value?:UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|public|setWorkFromAnywhereScore(value?:UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDeviceCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDeviceCollectionResponse::|public|constructor():void @@ -150823,34 +152197,216 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevicesS Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevicesSummary::|public|setWindows10DevicesWithoutTenantAttach(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevicesSummary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevicesSummary Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevicesSummary~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudIdentityScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudManagementScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_cloudProvisioningScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_windowsScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_windowsScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereDevice_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getOsCheckFailedPercentage():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessor64BitCheckFailedPercentage():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessorCoreCountCheckFailedPercentage():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessorFamilyCheckFailedPercentage():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessorSpeedCheckFailedPercentage():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getRamCheckFailedPercentage():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getSecureBootCheckFailedPercentage():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getStorageCheckFailedPercentage():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getOsCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessor64BitCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessorCoreCountCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessorFamilyCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getProcessorSpeedCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getRamCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getSecureBootCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getStorageCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getTotalDeviceCount():int -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getTpmCheckFailedPercentage():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getTpmCheckFailedPercentage():UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|getUpgradeEligibleDeviceCount():int Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setOsCheckFailedPercentage(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessor64BitCheckFailedPercentage(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessorCoreCountCheckFailedPercentage(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessorFamilyCheckFailedPercentage(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessorSpeedCheckFailedPercentage(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setRamCheckFailedPercentage(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setSecureBootCheckFailedPercentage(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setStorageCheckFailedPercentage(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setOsCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessor64BitCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessorCoreCountCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessorFamilyCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setProcessorSpeedCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setRamCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setSecureBootCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setStorageCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setTotalDeviceCount(value?:int):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setTpmCheckFailedPercentage(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setTpmCheckFailedPercentage(value?:UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|public|setUpgradeEligibleDeviceCount(value?:int):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_osCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processor64BitCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorCoreCountCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorFamilyCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_processorSpeedCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_ramCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_secureBootCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_storageCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric_tpmCheckFailedPercentage~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereMetric-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereMetric::|public|constructor():void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereMetric::|public|GetFieldDeserializers():array @@ -150868,27 +152424,27 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereMetricCo Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereMetricCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereMetricCollectionResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance-->Entity Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|constructor():void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getCloudIdentityScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getCloudManagementScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getCloudProvisioningScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getCloudIdentityScore():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getCloudManagementScore():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getCloudProvisioningScore():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getHealthStatus():UserExperienceAnalyticsHealthState Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getManufacturer():string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getModel():string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getModelDeviceCount():int -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getWindowsScore():float -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getWorkFromAnywhereScore():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getWindowsScore():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|getWorkFromAnywhereScore():UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|OdataType:string Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setCloudIdentityScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setCloudManagementScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setCloudProvisioningScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setCloudIdentityScore(value?:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setCloudManagementScore(value?:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setCloudProvisioningScore(value?:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setHealthStatus(value?:UserExperienceAnalyticsHealthState):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setManufacturer(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setModel(value?:string):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setModelDeviceCount(value?:int):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setWindowsScore(value?:float):void -Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setWorkFromAnywhereScore(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setWindowsScore(value?:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|public|setWorkFromAnywhereScore(value?:UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|public|constructor():void @@ -150897,6 +152453,71 @@ Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPer Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudIdentityScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudManagementScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_cloudProvisioningScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_windowsScore~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|constructor():void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|getDouble():float +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|getString():string +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore +Microsoft\Graph\Generated.models.userExperienceAnalyticsWorkFromAnywhereModelPerformance_workFromAnywhereScore~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userFlowApiConnectorConfiguration::|public|constructor():void Microsoft\Graph\Generated.models.userFlowApiConnectorConfiguration::|public|getAdditionalData():array Microsoft\Graph\Generated.models.userFlowApiConnectorConfiguration::|public|getBackingStore():BackingStore @@ -151309,7 +152930,7 @@ Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|GetFieldD Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|getIpAddress():string Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|getOdataType():string Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|getOsPlatformDeviceDetails():string -Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|getPotentialScoreImpact():float +Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|getPotentialScoreImpact():UserTrainingContentEventInfo_potentialScoreImpact Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setBackingStore(value:BackingStore):void @@ -151318,8 +152939,21 @@ Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setConten Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setIpAddress(value?:string):void Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setOsPlatformDeviceDetails(value?:string):void -Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setPotentialScoreImpact(value?:float):void +Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|public|setPotentialScoreImpact(value?:UserTrainingContentEventInfo_potentialScoreImpact):void Microsoft\Graph\Generated.models.userTrainingContentEventInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserTrainingContentEventInfo +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|constructor():void +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|getDouble():float +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|getString():string +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserTrainingContentEventInfo_potentialScoreImpact +Microsoft\Graph\Generated.models.userTrainingContentEventInfo_potentialScoreImpact~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.userTrainingContentEventInfo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.userTrainingEventInfo::|public|constructor():void Microsoft\Graph\Generated.models.userTrainingEventInfo::|public|getAdditionalData():array @@ -151423,7 +153057,7 @@ Microsoft\Graph\Generated.models.video::|public|getBitrate():int Microsoft\Graph\Generated.models.video::|public|getDuration():int Microsoft\Graph\Generated.models.video::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.video::|public|getFourCC():string -Microsoft\Graph\Generated.models.video::|public|getFrameRate():float +Microsoft\Graph\Generated.models.video::|public|getFrameRate():Video_frameRate Microsoft\Graph\Generated.models.video::|public|getHeight():int Microsoft\Graph\Generated.models.video::|public|getOdataType():string Microsoft\Graph\Generated.models.video::|public|getWidth():int @@ -151437,11 +153071,24 @@ Microsoft\Graph\Generated.models.video::|public|setBackingStore(value:BackingSto Microsoft\Graph\Generated.models.video::|public|setBitrate(value?:int):void Microsoft\Graph\Generated.models.video::|public|setDuration(value?:int):void Microsoft\Graph\Generated.models.video::|public|setFourCC(value?:string):void -Microsoft\Graph\Generated.models.video::|public|setFrameRate(value?:float):void +Microsoft\Graph\Generated.models.video::|public|setFrameRate(value?:Video_frameRate):void Microsoft\Graph\Generated.models.video::|public|setHeight(value?:int):void Microsoft\Graph\Generated.models.video::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.video::|public|setWidth(value?:int):void Microsoft\Graph\Generated.models.video::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Video +Microsoft\Graph\Generated.models.video_frameRate::|public|constructor():void +Microsoft\Graph\Generated.models.video_frameRate::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.video_frameRate::|public|getDouble():float +Microsoft\Graph\Generated.models.video_frameRate::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.video_frameRate::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.video_frameRate::|public|getString():string +Microsoft\Graph\Generated.models.video_frameRate::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.video_frameRate::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.video_frameRate::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.video_frameRate::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.video_frameRate::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.video_frameRate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Video_frameRate +Microsoft\Graph\Generated.models.video_frameRate~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.video~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.virtualAppointmentMessageType::0000-confirmation Microsoft\Graph\Generated.models.virtualAppointmentMessageType::0001-reschedule @@ -151974,21 +153621,60 @@ Microsoft\Graph\Generated.models.webPartData~~>AdditionalDataHolder; BackedModel Microsoft\Graph\Generated.models.webPartPosition::|public|constructor():void Microsoft\Graph\Generated.models.webPartPosition::|public|getAdditionalData():array Microsoft\Graph\Generated.models.webPartPosition::|public|getBackingStore():BackingStore -Microsoft\Graph\Generated.models.webPartPosition::|public|getColumnId():float +Microsoft\Graph\Generated.models.webPartPosition::|public|getColumnId():WebPartPosition_columnId Microsoft\Graph\Generated.models.webPartPosition::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.webPartPosition::|public|getHorizontalSectionId():float +Microsoft\Graph\Generated.models.webPartPosition::|public|getHorizontalSectionId():WebPartPosition_horizontalSectionId Microsoft\Graph\Generated.models.webPartPosition::|public|getIsInVerticalSection():bool Microsoft\Graph\Generated.models.webPartPosition::|public|getOdataType():string -Microsoft\Graph\Generated.models.webPartPosition::|public|getWebPartIndex():float +Microsoft\Graph\Generated.models.webPartPosition::|public|getWebPartIndex():WebPartPosition_webPartIndex Microsoft\Graph\Generated.models.webPartPosition::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.webPartPosition::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.webPartPosition::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.webPartPosition::|public|setColumnId(value?:float):void -Microsoft\Graph\Generated.models.webPartPosition::|public|setHorizontalSectionId(value?:float):void +Microsoft\Graph\Generated.models.webPartPosition::|public|setColumnId(value?:WebPartPosition_columnId):void +Microsoft\Graph\Generated.models.webPartPosition::|public|setHorizontalSectionId(value?:WebPartPosition_horizontalSectionId):void Microsoft\Graph\Generated.models.webPartPosition::|public|setIsInVerticalSection(value?:bool):void Microsoft\Graph\Generated.models.webPartPosition::|public|setOdataType(value?:string):void -Microsoft\Graph\Generated.models.webPartPosition::|public|setWebPartIndex(value?:float):void +Microsoft\Graph\Generated.models.webPartPosition::|public|setWebPartIndex(value?:WebPartPosition_webPartIndex):void Microsoft\Graph\Generated.models.webPartPosition::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WebPartPosition +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|constructor():void +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|getDouble():float +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|getString():string +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.webPartPosition_columnId::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.webPartPosition_columnId::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WebPartPosition_columnId +Microsoft\Graph\Generated.models.webPartPosition_columnId~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|constructor():void +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|getDouble():float +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|getString():string +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WebPartPosition_horizontalSectionId +Microsoft\Graph\Generated.models.webPartPosition_horizontalSectionId~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|constructor():void +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|getDouble():float +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|getString():string +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WebPartPosition_webPartIndex +Microsoft\Graph\Generated.models.webPartPosition_webPartIndex~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.webPartPosition~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.website::|public|constructor():void Microsoft\Graph\Generated.models.website::|public|getAdditionalData():array @@ -154361,28 +156047,28 @@ Microsoft\Graph\Generated.models.workbookChart::|public|getAxes():WorkbookChartA Microsoft\Graph\Generated.models.workbookChart::|public|getDataLabels():WorkbookChartDataLabels Microsoft\Graph\Generated.models.workbookChart::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.workbookChart::|public|getFormat():WorkbookChartAreaFormat -Microsoft\Graph\Generated.models.workbookChart::|public|getHeight():float -Microsoft\Graph\Generated.models.workbookChart::|public|getLeft():float +Microsoft\Graph\Generated.models.workbookChart::|public|getHeight():WorkbookChart_height +Microsoft\Graph\Generated.models.workbookChart::|public|getLeft():WorkbookChart_left Microsoft\Graph\Generated.models.workbookChart::|public|getLegend():WorkbookChartLegend Microsoft\Graph\Generated.models.workbookChart::|public|getName():string Microsoft\Graph\Generated.models.workbookChart::|public|getSeries():array Microsoft\Graph\Generated.models.workbookChart::|public|getTitle():WorkbookChartTitle -Microsoft\Graph\Generated.models.workbookChart::|public|getTop():float -Microsoft\Graph\Generated.models.workbookChart::|public|getWidth():float +Microsoft\Graph\Generated.models.workbookChart::|public|getTop():WorkbookChart_top +Microsoft\Graph\Generated.models.workbookChart::|public|getWidth():WorkbookChart_width Microsoft\Graph\Generated.models.workbookChart::|public|getWorksheet():WorkbookWorksheet Microsoft\Graph\Generated.models.workbookChart::|public|OdataType:string Microsoft\Graph\Generated.models.workbookChart::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.workbookChart::|public|setAxes(value?:WorkbookChartAxes):void Microsoft\Graph\Generated.models.workbookChart::|public|setDataLabels(value?:WorkbookChartDataLabels):void Microsoft\Graph\Generated.models.workbookChart::|public|setFormat(value?:WorkbookChartAreaFormat):void -Microsoft\Graph\Generated.models.workbookChart::|public|setHeight(value?:float):void -Microsoft\Graph\Generated.models.workbookChart::|public|setLeft(value?:float):void +Microsoft\Graph\Generated.models.workbookChart::|public|setHeight(value?:WorkbookChart_height):void +Microsoft\Graph\Generated.models.workbookChart::|public|setLeft(value?:WorkbookChart_left):void Microsoft\Graph\Generated.models.workbookChart::|public|setLegend(value?:WorkbookChartLegend):void Microsoft\Graph\Generated.models.workbookChart::|public|setName(value?:string):void Microsoft\Graph\Generated.models.workbookChart::|public|setSeries(value?:array):void Microsoft\Graph\Generated.models.workbookChart::|public|setTitle(value?:WorkbookChartTitle):void -Microsoft\Graph\Generated.models.workbookChart::|public|setTop(value?:float):void -Microsoft\Graph\Generated.models.workbookChart::|public|setWidth(value?:float):void +Microsoft\Graph\Generated.models.workbookChart::|public|setTop(value?:WorkbookChart_top):void +Microsoft\Graph\Generated.models.workbookChart::|public|setWidth(value?:WorkbookChart_width):void Microsoft\Graph\Generated.models.workbookChart::|public|setWorksheet(value?:WorkbookWorksheet):void Microsoft\Graph\Generated.models.workbookChart::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChart Microsoft\Graph\Generated.models.workbookChartAreaFormat-->Entity @@ -154505,7 +156191,7 @@ Microsoft\Graph\Generated.models.workbookChartFont::|public|getColor():string Microsoft\Graph\Generated.models.workbookChartFont::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.workbookChartFont::|public|getItalic():bool Microsoft\Graph\Generated.models.workbookChartFont::|public|getName():string -Microsoft\Graph\Generated.models.workbookChartFont::|public|getSize():float +Microsoft\Graph\Generated.models.workbookChartFont::|public|getSize():WorkbookChartFont_size Microsoft\Graph\Generated.models.workbookChartFont::|public|getUnderline():string Microsoft\Graph\Generated.models.workbookChartFont::|public|OdataType:string Microsoft\Graph\Generated.models.workbookChartFont::|public|Serialize(writer:ISerializationWriter):void @@ -154513,9 +156199,22 @@ Microsoft\Graph\Generated.models.workbookChartFont::|public|setBold(value?:bool) Microsoft\Graph\Generated.models.workbookChartFont::|public|setColor(value?:string):void Microsoft\Graph\Generated.models.workbookChartFont::|public|setItalic(value?:bool):void Microsoft\Graph\Generated.models.workbookChartFont::|public|setName(value?:string):void -Microsoft\Graph\Generated.models.workbookChartFont::|public|setSize(value?:float):void +Microsoft\Graph\Generated.models.workbookChartFont::|public|setSize(value?:WorkbookChartFont_size):void Microsoft\Graph\Generated.models.workbookChartFont::|public|setUnderline(value?:string):void Microsoft\Graph\Generated.models.workbookChartFont::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChartFont +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|constructor():void +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|getString():string +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookChartFont_size::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookChartFont_size::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChartFont_size +Microsoft\Graph\Generated.models.workbookChartFont_size~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.workbookChartGridlines-->Entity Microsoft\Graph\Generated.models.workbookChartGridlines::|public|constructor():void Microsoft\Graph\Generated.models.workbookChartGridlines::|public|GetFieldDeserializers():array @@ -154642,6 +156341,58 @@ Microsoft\Graph\Generated.models.workbookChartTitleFormat::|public|Serialize(wri Microsoft\Graph\Generated.models.workbookChartTitleFormat::|public|setFill(value?:WorkbookChartFill):void Microsoft\Graph\Generated.models.workbookChartTitleFormat::|public|setFont(value?:WorkbookChartFont):void Microsoft\Graph\Generated.models.workbookChartTitleFormat::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChartTitleFormat +Microsoft\Graph\Generated.models.workbookChart_height::|public|constructor():void +Microsoft\Graph\Generated.models.workbookChart_height::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookChart_height::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookChart_height::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookChart_height::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookChart_height::|public|getString():string +Microsoft\Graph\Generated.models.workbookChart_height::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookChart_height::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookChart_height::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookChart_height::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookChart_height::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookChart_height::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChart_height +Microsoft\Graph\Generated.models.workbookChart_height~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.workbookChart_left::|public|constructor():void +Microsoft\Graph\Generated.models.workbookChart_left::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookChart_left::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookChart_left::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookChart_left::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookChart_left::|public|getString():string +Microsoft\Graph\Generated.models.workbookChart_left::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookChart_left::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookChart_left::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookChart_left::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookChart_left::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookChart_left::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChart_left +Microsoft\Graph\Generated.models.workbookChart_left~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.workbookChart_top::|public|constructor():void +Microsoft\Graph\Generated.models.workbookChart_top::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookChart_top::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookChart_top::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookChart_top::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookChart_top::|public|getString():string +Microsoft\Graph\Generated.models.workbookChart_top::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookChart_top::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookChart_top::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookChart_top::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookChart_top::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookChart_top::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChart_top +Microsoft\Graph\Generated.models.workbookChart_top~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.workbookChart_width::|public|constructor():void +Microsoft\Graph\Generated.models.workbookChart_width::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookChart_width::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookChart_width::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookChart_width::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookChart_width::|public|getString():string +Microsoft\Graph\Generated.models.workbookChart_width::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookChart_width::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookChart_width::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookChart_width::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookChart_width::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookChart_width::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookChart_width +Microsoft\Graph\Generated.models.workbookChart_width~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.workbookComment-->Entity Microsoft\Graph\Generated.models.workbookComment::|public|constructor():void Microsoft\Graph\Generated.models.workbookComment::|public|getContent():string @@ -154893,7 +156644,7 @@ Microsoft\Graph\Generated.models.workbookRangeFont::|public|getColor():string Microsoft\Graph\Generated.models.workbookRangeFont::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.workbookRangeFont::|public|getItalic():bool Microsoft\Graph\Generated.models.workbookRangeFont::|public|getName():string -Microsoft\Graph\Generated.models.workbookRangeFont::|public|getSize():float +Microsoft\Graph\Generated.models.workbookRangeFont::|public|getSize():WorkbookRangeFont_size Microsoft\Graph\Generated.models.workbookRangeFont::|public|getUnderline():string Microsoft\Graph\Generated.models.workbookRangeFont::|public|OdataType:string Microsoft\Graph\Generated.models.workbookRangeFont::|public|Serialize(writer:ISerializationWriter):void @@ -154901,33 +156652,72 @@ Microsoft\Graph\Generated.models.workbookRangeFont::|public|setBold(value?:bool) Microsoft\Graph\Generated.models.workbookRangeFont::|public|setColor(value?:string):void Microsoft\Graph\Generated.models.workbookRangeFont::|public|setItalic(value?:bool):void Microsoft\Graph\Generated.models.workbookRangeFont::|public|setName(value?:string):void -Microsoft\Graph\Generated.models.workbookRangeFont::|public|setSize(value?:float):void +Microsoft\Graph\Generated.models.workbookRangeFont::|public|setSize(value?:WorkbookRangeFont_size):void Microsoft\Graph\Generated.models.workbookRangeFont::|public|setUnderline(value?:string):void Microsoft\Graph\Generated.models.workbookRangeFont::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookRangeFont +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|constructor():void +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|getString():string +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookRangeFont_size::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookRangeFont_size::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookRangeFont_size +Microsoft\Graph\Generated.models.workbookRangeFont_size~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.workbookRangeFormat-->Entity Microsoft\Graph\Generated.models.workbookRangeFormat::|public|constructor():void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getBorders():array -Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getColumnWidth():float +Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getColumnWidth():WorkbookRangeFormat_columnWidth Microsoft\Graph\Generated.models.workbookRangeFormat::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getFill():WorkbookRangeFill Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getFont():WorkbookRangeFont Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getHorizontalAlignment():string Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getProtection():WorkbookFormatProtection -Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getRowHeight():float +Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getRowHeight():WorkbookRangeFormat_rowHeight Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getVerticalAlignment():string Microsoft\Graph\Generated.models.workbookRangeFormat::|public|getWrapText():bool Microsoft\Graph\Generated.models.workbookRangeFormat::|public|OdataType:string Microsoft\Graph\Generated.models.workbookRangeFormat::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setBorders(value?:array):void -Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setColumnWidth(value?:float):void +Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setColumnWidth(value?:WorkbookRangeFormat_columnWidth):void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setFill(value?:WorkbookRangeFill):void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setFont(value?:WorkbookRangeFont):void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setHorizontalAlignment(value?:string):void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setProtection(value?:WorkbookFormatProtection):void -Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setRowHeight(value?:float):void +Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setRowHeight(value?:WorkbookRangeFormat_rowHeight):void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setVerticalAlignment(value?:string):void Microsoft\Graph\Generated.models.workbookRangeFormat::|public|setWrapText(value?:bool):void Microsoft\Graph\Generated.models.workbookRangeFormat::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookRangeFormat +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|constructor():void +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|getString():string +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookRangeFormat_columnWidth +Microsoft\Graph\Generated.models.workbookRangeFormat_columnWidth~~>BackedModel; ComposedTypeWrapper; Parsable +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|constructor():void +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|getDouble():float +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|getString():string +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|public|setString(value?:string):void +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkbookRangeFormat_rowHeight +Microsoft\Graph\Generated.models.workbookRangeFormat_rowHeight~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.models.workbookRangeSort-->Entity Microsoft\Graph\Generated.models.workbookRangeSort::|public|constructor():void Microsoft\Graph\Generated.models.workbookRangeSort::|public|GetFieldDeserializers():array @@ -211224,7 +213014,7 @@ Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostReques Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|getLocationConstraint():LocationConstraint Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|getMaxCandidates():int Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|getMeetingDuration():DateInterval -Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|getMinimumAttendeePercentage():float +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|getMinimumAttendeePercentage():FindMeetingTimesPostRequestBody_minimumAttendeePercentage Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|getReturnSuggestionReasons():bool Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|getTimeConstraint():TimeConstraint Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|Serialize(writer:ISerializationWriter):void @@ -211235,10 +213025,23 @@ Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostReques Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|setLocationConstraint(value?:LocationConstraint):void Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|setMaxCandidates(value?:int):void Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|setMeetingDuration(value?:DateInterval):void -Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|setMinimumAttendeePercentage(value?:float):void +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|setMinimumAttendeePercentage(value?:FindMeetingTimesPostRequestBody_minimumAttendeePercentage):void Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|setReturnSuggestionReasons(value?:bool):void Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|public|setTimeConstraint(value?:TimeConstraint):void Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FindMeetingTimesPostRequestBody +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|constructor():void +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|getDouble():float +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|getReferenceNumeric():ReferenceNumeric +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|getString():string +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|setDouble(value?:float):void +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|setReferenceNumeric(value?:ReferenceNumeric):void +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|public|setString(value?:string):void +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FindMeetingTimesPostRequestBody_minimumAttendeePercentage +Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody_minimumAttendeePercentage~~>BackedModel; ComposedTypeWrapper; Parsable Microsoft\Graph\Generated.users.item.findMeetingTimes.findMeetingTimesPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.users.item.findMeetingTimes.FindMeetingTimesRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.findMeetingTimes.FindMeetingTimesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -217035,6 +218838,7 @@ Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCa Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|Get(requestConfiguration?:DeviceCategoryRequestBuilderGetRequestConfiguration):DeviceCategory Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|Patch(body:DeviceCategory; requestConfiguration?:DeviceCategoryRequestBuilderPatchRequestConfiguration):DeviceCategory Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|Ref:RefRequestBuilder Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DeviceCategoryRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.DeviceCategoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeviceCategoryRequestBuilderGetRequestConfiguration):RequestInformation @@ -217052,6 +218856,24 @@ Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.deviceCa Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.deviceCategoryRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DeviceCategoryRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.deviceCategoryRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.deviceCategoryRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|Delete(requestConfiguration?:RefRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|Get(requestConfiguration?:RefRequestBuilderGetRequestConfiguration):string +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|Put(body:ReferenceUpdate; requestConfiguration?:RefRequestBuilderPutRequestConfiguration):void +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:RefRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RefRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|ToPutRequestInformation(body:ReferenceUpdate; requestConfiguration?:RefRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):RefRequestBuilder +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCategory.ref.RefRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.managedDevices.item.deviceCompliancePolicyStates.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 60af1fd8810..a2554b597f4 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "98EF62C7D00E0055EEF293516CE37164005556511054A4427B000658699E347C690A7914DA6986ED3BCA9369BD022680E8BB97C60642CD30589F657BDC7C2504", + "descriptionHash": "66A7CD3DBE416BD966B7AAB03F4B437A253FB7010CB15368DBD331DFDFEB9DDA51DA03438C025A1BCA0D859692CDB14909AC8EB48857711571CC4ABCD64404B8", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.19.0", + "kiotaVersion": "1.20.0", "clientClassName": "BaseGraphClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft\\Graph\\Generated",